Last updated 1 year ago
Was this helpful?
The Color property lets you set the color of a Polygon.
The following code shows how to set a Polygon to a color:
If the engine uses premultiplied alpha, then you must provide premultiplied alpha colors if using transparency.
// Assuming PolygonInstance is a valid Polygon PolygonInstance.Color = Color.Red;