SetFillStyleTransparency()
Summary
Creates a new fill style based on the input, with the additional option of transparency.
Syntax
fillstyle = SetFillStyleTransparency(fillstyle style, boolean transparency_flag)
| Argument | Contents |
|---|---|
| style | The fill style from which the new fill style will be created |
| transparency_flag | If "True" the new fill style will be transparent; if "False" it will not be transparent |
Returns
The new fill style.
Notes
-
By default, fill styles are opaque, not transparent. To create a transparent fill style, create the fill style using FillStyle() and then use SetFillStyleTransparency() to make it transparent.
Example
str1 = "X X X X "
str2 = " X X X X"
style = FillStyle({str1, str2, str1, str2, str1, str2, str1, str2})
new_style = SetFillStyleTransparency(style, "True")
See Also
| Function | Summary |
|---|---|
| FillStyle() | Creates a new fill style |
| GetFillStyleTransparency() | Determines whether or not a fill style is transparent |