Instantiates a new color defined in a binary STL file.

Namespace:  ceometric.ComputationalGeometry
Assembly:  ceometric.ComputationalGeometry (in ceometric.ComputationalGeometry.dll) Version: 2.4.0.0 (2.4.0.0)

Syntax

C#
public STLColor(
	ushort colorAttribute,
	BinarySTL..::.ColorEncoding colorEncodingMethod
)
Visual Basic (Declaration)
Public Sub New ( _
	colorAttribute As UShort, _
	colorEncodingMethod As BinarySTL..::.ColorEncoding _
)
Visual C++
public:
STLColor(
	unsigned short colorAttribute, 
	BinarySTL..::.ColorEncoding colorEncodingMethod
)

Parameters

colorAttribute
Type: System..::.UInt16
The color attribute (2 bytes)
colorEncodingMethod
Type: ceometric.ComputationalGeometry..::.BinarySTL..::.ColorEncoding
The color encoding method (R-G-B or B-G-R).

See Also