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

TOPIC:

If change the Global.Int color is not working 8 years 8 months ago #10986

  • sbettal
  • sbettal's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 20
  • Thank you received: 0
If change the Global.ink color ( trying change the ink color dynamically ) causes removing previous annotations added using with same ink.
The topic has been locked.

If change the Global.Int color is not working 8 years 8 months ago #10987

  • support
  • support's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 695
  • Thank you received: 59
you should save actual annotation before changing new drawing parameters.

May you put your code snippet, please?

Note: what's the platform you are working on?

Please, submit posts in the proper forum area.
The topic has been locked.

If change the Global.Int color is not working 8 years 8 months ago #10989

  • sbettal
  • sbettal's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 20
  • Thank you received: 0
My platform is : Android

Here is the code am using to change the color of the ink.

Global.inkColor = color;
if(m_ink != null)
{
m_status = STA_INK;
if(m_status == STA_INK) {
m_ink = new Ink(Global.inkWidth);
}
}

Here i thought to change the color parameter of the ink object, but color change is not worked. so I re instantiate the ink object.
The topic has been locked.
  • Page:
  • 1
Powered by Kunena Forum