IBMCirclesAndRectangles
IBMCirclesAndRectangles.mp4
Description
Circles on the top row and rectangles on the bottom row using combinations of filled and lineProperties.
A background blue color has been set so that the default lineProperties color can be seen clearly.
The Material2D emissiveColor is set to red. From left to right the filled and lineProperties fields are as follows:
- Filled=FALSE; lineProperties={default}
- Filled=FALSE; lineProperties: color is white
- Filled=TRUE; lineProperties={default}
- Filled=TRUE; lineProperties: color is white
Note: First shape, in row, has filled=FALSE and since there is only a default lineProperties it is drawn
using the Material2D emissiveColor but with the lineStyle and width of default lineProperties (we do not
use default lineProperties lineColor for this default case - just its style and width).
Third shape has filled=TRUE, but since it has default lineProperties (null) the outline is not drawn.
Screenshot
Snapshot of rendered output.
Back to main index