Material2D properties

Description

This test shows how to specify the filling and simple outlining of 2D shapes
It uses the Material2D node. The filled property indicates if the shape is filled or not. The emissiveColor property specifies the fill color if filled or the outline color if not filled. Transparency can be set using the transparency property.
In this simple example, the width and other properties of the outline cannot be set. To set more properties, use the LineProperties or XLineProperties nodes.
See also bifs-2D-painting-lineproperties
See also bifs-2D-painting-xlineproperties-cap
See also bifs-2D-painting-xlineproperties-compositetexture2D
See also bifs-2D-painting-xlineproperties-dash
See also bifs-2D-painting-xlineproperties-imagetexture
See also bifs-2D-painting-xlineproperties-join
See also bifs-2D-painting-xlineproperties-lineargradient
See also bifs-2D-painting-xlineproperties-radialgradient
See also bifs-2D-painting-xlineproperties-scalable
See also bifs-2D-painting-xlineproperties-transparent

GPAC Regression Tests
(C) 2002-2006 GPAC Team

Download