Click or drag to resize

ObjectAttributesDrawColor Method (RhinoDoc, Guid)

Gets an object's draw color, which is based on the object's color source

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
public Color DrawColor(
	RhinoDoc document,
	Guid viewportId
)

Parameters

document
Type: RhinoRhinoDoc
The object's documnt.
viewportId
Type: SystemGuid
The id of the viewport.

Return Value

Type: Color
The draw color.
See Also