Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF
  • Page:
  • 1

TOPIC:

Setting Blend Mode when drawing a ResImage 6 years 11 months ago #12296

  • AnypadDev
  • AnypadDev's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 14
  • Thank you received: 0
Hi, Is there a way to set the blend mode when drawing a ResImage onto a PageContent?

i.e. pageContent.DrawImage(resImage);

Thanks

Please Log in or Create an account to join the conversation.

Setting Blend Mode when drawing a ResImage 6 years 11 months ago #12298

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
Unfortunately, this feature is not supported.
And it's not currently planned.

Please Log in or Create an account to join the conversation.

Setting Blend Mode when drawing a ResImage 6 years 11 months ago #12347

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
Please check the new version 3.13 , it has a new method:
GState.SetBlendMode()     
/**
 * set blend mode to graphic state.
 * @param bmode 2:Multipy<br/>
 *              3:Screen<br/>
 *              4:Overlay<br/>
 *              5:Darken<br/>
 *              6:Lighten<br/>
 *              7:ColorDodge<br/>
 *              8:ColorBurn<br/>
 *              9:Difference<br/>
 *              10:Exclusion<br/>
 *              11:Hue<br/>
 *              12:Saturation<br/>
 *              13:Color<br/>
 *              14:Luminosity<br/>
 *              others:Normal
 * @return true or false.
 */
For example, check PDFTestAct.NewPage in RDPDFReader module
The following user(s) said Thank You: AnypadDev

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum