Sack Library Documentation
|
|
enum AlphaModifier { ALPHA_TRANSPARENT = 0x100, ALPHA_TRANSPARENT_INVERT = 0x200, ALPHA_TRANSPARENT_MAX = 0x2FF };
Members |
Description |
ALPHA_TRANSPARENT = 0x100 |
Direct alpha copy - whatever the alpha is is what the output will be. Adding a value of 0-255 here will increase the base opacity by that much |
ALPHA_TRANSPARENT_INVERT = 0x200 |
Inverse alpha copy - whatever the alpha is is what the output will be. Adding a value of 0-255 here will decrease the base opacity by that much |
ALPHA_TRANSPARENT_MAX = 0x2FF |
more than this clips to total transparency for line, plot more than 255 will be total opaque... this max only applies to blotted images |
Transparency parameter definition
0 : no transparency - completely opaque
1 (TRUE): 0 colors (absolute transparency) only
2-255 : 0 color transparent, plus transparency factor applied to all 2 - mostly almost completely transparent 255 not transparent (opaque)
257-511 : alpha transparency in pixel plus transparency value - 256 0 pixels will be transparent 257 - slightly more opaquen than the original 511 - image totally opaque - alpha will be totally overriden no addition 511 nearly completely transparent 512-767 ; the low byte of this is subtracted from the alpha of the image ; this allows images to be more transparent than they were originally 512 - no modification alpha imge normal 600 - mid range... more transparent 767 - totally transparent any value of transparent greater than the max will be clipped to max this will make very high values opaque totally...
Copyright (c) 2000+. All rights reserved.
|
What do you think about this topic? Send feedback!
|