Polygon2D.color

The polygon's fill color. If texture is defined, it will be multiplied by this color. It will also be the default color for vertices not set in vertex_colors.

  1. Color color [@property getter]
  2. Color color [@property setter]
    struct Polygon2D
    @nogc nothrow @property
    void
    color
    (
    Color v
    )

Meta