drawColoredPolygon(points:color:uvs:texture:)

    Draws a colored polygon of any number of points, convex or concave. Unlike drawPolygon(points:colors:uvs:texture:), a single color must be specified for the whole polygon.

    CanvasItem.swift:1739
    final func drawColoredPolygon(points: PackedVector2Array, color: Color, uvs: PackedVector2Array = PackedVector2Array(), texture: Texture2D? = nil)

    Other members in extension

    Types

    Type members

    Instance members

    Show implementation details (1)

    Hide implementation details