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
Syntaxpublic Color DrawColor(
RhinoDoc document,
Guid viewportId
)
Public Function DrawColor (
document As RhinoDoc,
viewportId As Guid
) As Color
Parameters
- document
- Type: RhinoRhinoDoc
The object's documnt. - viewportId
- Type: SystemGuid
The id of the viewport.
Return Value
Type:
ColorThe draw color.
See Also