This is the most recent version of Tekla Open API.
For older versions, please visit Tekla Warehouse.

Color Constructor (Double, Double, Double, Double)

Creates a new color object with the given values.

Namespace:  Tekla.Structures.Model.UI
Assembly:  Tekla.Structures.Model (in Tekla.Structures.Model.dll) Version: 2019.0.0.0 (2019.0.0.0)
Syntax
public Color(
	double Red,
	double Green,
	double Blue,
	double Transparency
)

Parameters

Red
Type: SystemDouble
The red value of the color, between 0.0 and 1.0.
Green
Type: SystemDouble
The green value of the color, between 0.0 and 1.0.
Blue
Type: SystemDouble
The blue value of the color, between 0.0 and 1.0.
Transparency
Type: SystemDouble
The transparency value of the color, between 0.0 (completely see-through) and 1.0 (completely solid).
See Also