SetBKColor Statement:
Set background color. New images will be filled with current background color.
The method can be used to create transparent images
Object.SetBKColor
red, green, blue, alpha
|
Parametrs:
red-has integer type. Possible values: [0-255]. Red color value
green-has integer type. Possible values: [0-255]. Green color value
blue-has integer type. Possible values: [0-255]. Blue color value
alpha-has integer type. Possible values: [0-255]. Color alpha channel
value
|
Sample: object.SetBKColor
255, 255, 0, 0
This method sets current background color. All new images will be filled with
current background color. The method can be used to create transparent images.
0 alpha channel value creates transparent image.
See also
SetBKColor,SetImageIndex,
Create,
Destroy, DestroyALL
More samples:
Brush
Circle,
Arc, Ellipse,
Brush,
Polygon, Pie
Copy Resize Merge
Cat,
Copy, Copy,
Copy with transparent, Files,
Photo,
Merge, Merge cat,
Merge cat,
Resize, Resize photo
Database
Read,
Write
Diagram
Chart,
Pie
Effect
Gray
Fill
Fill
Get info
Get pixel
Gradient
Arc,
Besier, Circle,
Ellipse,
Gradient, Pie,
Polygon,
Rectangle, Unclosed
polygon
Load file
Load BMP,
Load GIF, Load Jpeg,
Load PNG,
Load Tiff
Primitive
Arc,
Beziers, Circle,
Ellipse,
Line, Pie,
Rectangle, Unclosed
polygon, Unclosed
polygon
Region
Region
Rotate
Horizontal,
Mirror, Rotate,
Vertical,
Stream
Stream
Text
Antialias,
Exist font, Font,
Fonts, Rotate text,
Style,
Text gradient, Text in
rectangle
Thumbnail
Thumbnail
Transparent
Transparent
Variant
Variant
|
|