Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Dot

Describes a Dot object for use in the Dots DisplayObject. Consists of a Point and a 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
     }
 }

Hierarchy

  • Dot

Properties

Properties

color: ColorRGB

A ColorRGB object used to describe the color of this Dot.

point: Point

A Point object to describe this Dot's position in 2D space.

Generated using TypeDoc