|
BIFS Tutorial2D Striking and Filling |
|
If Shape.material is empty, the strike shall be done with a 1 pixel
width, 0xFFCCCCCC line color (ARGB) without dashing. The shape shall not be filled.
If a Material2D is present in the material field, there are 2 possibilities:
If a LineProperties is present in the Material2D.lineProps field:
The strike width is LineProperties.width pixels.
Line color is LineProperties.lineColor.
If LineProperties.lineStyle is set, dashing occurs as follows:
lineStyle value
Description
0
No dashing
1
Dash
2
Dot
3
Dash Dot
4
Dash Dash Dot
5
Dash Dot Dot
If Material2D.lineProps is empty (default), striking is done with a width of 1 pixel and line color is Material2D.emissiveColor.
If a Material2D is present and the Material2D.filled field is 'true' , the shape is filled with the Material2D.emissiveColor. with a transparency (reverse alpha/opacity) of Material2D.transparency. Otherwise the shape is not filled.