Describes a Dot object for use in the Dots DisplayObject. Consists of a Point and a ColorRGB.
Dot
Dots
DisplayObject
Point
ColorRGB
//a dot 400px above the graph origin. This will inherit it's size from the `Dots` owner object's `style`. const myDot = { point: { x: px(0), y: px(400) }, color: { r: 1, g: 0, b: 0 } }
A ColorRGB object used to describe the color of this Dot.
A Point object to describe this Dot's position in 2D space.
Generated using TypeDoc
Describes a
Dot
object for use in theDots
DisplayObject
. Consists of aPoint
and aColorRGB
.