color
Gets or sets the inner color of the point. The red, green, blue, and alpha values are indicated by value
's red
, green
, blue
, and alpha
properties as shown in Example 1. These components range from 0.0
(no intensity) to 1.0
(full intensity).
// Example 1. Assign yellow.
p.color = Color.YELLOW;
Content copied to clipboard
// Example 2. Make a pointPrimitive 50% translucent.
p.color = new Color(1.0, 1.0, 1.0, 0.5);
Content copied to clipboard