indigo.shared.scenegraph.Shape.Polygon
See thePolygon companion object
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.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SpatialModifiers[Polygon]trait BasicSpatialModifiers[Polygon]trait Cloneabletrait RenderNode[Polygon]trait SceneNodeclass Objecttrait Matchableclass AnyShow all
Members list
Type members
Inherited types
Attributes
- Inherited from:
- RenderNode
Value members
Concrete methods
Deprecated methods
Attributes
- Deprecated
- true
Inherited methods
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
In this article