Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - paint.setColor(0xFF0000); does not work.

paint.setColor(0xFF0000); does not work.

General topics about the Android-Platform itself.
Coding issues please to the subforum right below.

paint.setColor(0xFF0000); does not work.

Postby sblantipodi » Sun Mar 28, 2010 12:25 am

As title,
can you tell me why if I'm on a canvas and try to draw a line of a different color,
this line does not change the color?

paint.setColor(0xFF0000);

thanks.
sblantipodi
Senior Developer
Senior Developer
 
Posts: 122
Joined: Fri Mar 26, 2010 1:41 pm

Top

Re: paint.setColor(0xFF0000); does not work.

Postby pskink » Sun Mar 28, 2010 6:43 am

sblantipodi wrote:As title,
can you tell me why if I'm on a canvas and try to draw a line of a different color,
this line does not change the color?

paint.setColor(0xFF0000);

thanks.


why do you want do draw red color with alpha channel == 0?

it makes color to be invisible (transparent)
pskink
pskink
Master Developer
Master Developer
 
Posts: 719
Joined: Mon Nov 24, 2008 3:49 pm

Re: paint.setColor(0xFF0000); does not work.

Postby sblantipodi » Sun Mar 28, 2010 5:21 pm

pskink wrote:
sblantipodi wrote:As title,
can you tell me why if I'm on a canvas and try to draw a line of a different color,
this line does not change the color?

paint.setColor(0xFF0000);

thanks.


why do you want do draw red color with alpha channel == 0?

it makes color to be invisible (transparent)


just solved.
sblantipodi
Senior Developer
Senior Developer
 
Posts: 122
Joined: Fri Mar 26, 2010 1:41 pm

Top

Return to General

Who is online

Users browsing this forum: No registered users and 1 guest