final case class Polygon(vertices: Batch[Point], fill: Fill, stroke: Stroke, lighting: LightingModel, eventHandlerEnabled: Boolean, eventHandler: ((Polygon, GlobalEvent)) => Option[GlobalEvent], rotation: Radians, scale: Vector2, depth: Depth, ref: Point, flip: Flip, shaderId: Option[ShaderId]) extends Shape[Polygon]
Draws an arbitrary polygon with up to 16 vertices.
- Companion:
- object
trait Serializable
trait Product
trait Equals
trait SpatialModifiers[Polygon]
trait BasicSpatialModifiers[Polygon]
trait Cloneable
trait RenderNode[Polygon]
trait SceneNode
class Object
trait Matchable
class Any