Skip to content

Terminology

carefree0910 edited this page May 4, 2023 · 19 revisions

Node

Every object on the drawboard is a Node. Typical Nodes are:

  • ImageNode, which represents an image.
  • TextNode, which represents a piece of text.
  • PathNode, which represents the path you draw (with the help of the Brush plugin) on the drawboard 🎨.
  • Group, which represents a group of Node.

SingleNode

In the context of carefree-drawboard 🎨, a SingleNode represents one single Node which is not a Group. Which means:

  • Multiple Nodes is NOT SingleNode.
  • ImageNode is SingleNode.
  • TextNode is SingleNode.
  • Group is NOT SingleNode.

Pivot

Pivot is an important concept when we need to position our plugins. All supported Pivots are:

  • lt: left top corner.
  • top: top center.
  • rt: right top corner.
  • left: middle left.
  • center: middle center.
  • right: middle right.
  • lb: left bottom corner.
  • bottom: bottom center.
  • rb: right bottom corner.
Clone this wiki locally