Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Android development and PDF

Annotations transparency

More
IP: 92.172.159.217 3 years 4 months ago #15764 by Raccorder
Hi, How can I make the circle, oval and rectangle transparent (no filling) by default?
Thx
More
IP: 111.196.240.150 3 years 4 months ago - 3 years 4 months ago #15765 by radaee
Replied by radaee on topic Annotations transparency
dear user:
the color are defined in com.radaee.pdf.Global class.

public static int g_annot_highlight_clr = 0xFFFFFF00;//yellow
public static int g_annot_underline_clr = 0xFF0000C0;//dark blue
public static int g_annot_strikeout_clr = 0xFFC00000;//dark red
public static int g_annot_squiggle_clr = 0xFF00C000;//dark green

public static int gridview_icon_color = 0xFFFF9040;
public static int toolbar_icon_color = 0xFFFF9040;
public static int toolbar_bg_color = 0xFF202020;

public static float g_rect_annot_width = 3;
public static int g_rect_annot_color = 0xFFFF0000;//0x80FF0000;
public static int g_rect_annot_fill_color = 0xFF0000FF;//0x800000FF;
public static float g_oval_annot_width = 3;
public static int g_oval_annot_color = 0xFFFF0000;//0x80FF0000;
public static int g_oval_annot_fill_color = 0xFF0000FF;//0x800000FF;

public static float g_line_annot_width = 3;
public static int g_line_annot_style1 = 1;
public static int g_line_annot_style2 = 0;
public static int g_line_annot_color = 0xFFFF0000;//0x80FF0000;
public static int g_line_annot_fill_color = 0xFF0000FF;//0x800000FF;
Last edit: 3 years 4 months ago by radaee.
More
IP: 92.172.159.217 3 years 4 months ago - 3 years 4 months ago #15766 by Raccorder
Replied by Raccorder on topic Annotations transparency
Ok, great...I´ve found that if you set the color to 0x00000000 then is not filling. Thanks
Can you also guide me to how eliminate the box in the edit annotation? The stroke in the box I guess, but I am not able to find any global variable for that
Thanks
Last edit: 3 years 4 months ago by Raccorder. Reason: Solved first issue
More
IP: 111.196.240.150 3 years 4 months ago #15768 by radaee
Replied by radaee on topic Annotations transparency
all variant name include "fill_color", set to 0.
this shall make annotations only has stroke lines.
More
IP: 92.172.159.217 3 years 4 months ago - 3 years 4 months ago #15770 by Raccorder
Replied by Raccorder on topic Annotations transparency
Yes that was accomplish, I was asking in the last post how to remove th box (or the stroke within the box) in the edit tool
Thanks
Last edit: 3 years 4 months ago by Raccorder.
More
IP: 111.196.240.150 3 years 4 months ago #15772 by radaee
Replied by radaee on topic Annotations transparency
OK,
just set variant include "_width" to 0.
i mean set line width to 0, and stroke colors still set a opacity color.
this rule only for oval/rectangle/polygon annotations.
do not apply to ink/line/polyline annotations.
Time to create page: 0.511 seconds
Powered by Kunena Forum