CanvasPanel - SirePi/duality-ui GitHub Wiki

The CanvasPanel is the simplest ControlContainer, and requires that each child Control to define its own Size and Position. No overlapping checks are made. Derives from ControlsContainer.

In addition to the ControlsContainer's base properties and delegates, it also exposes:

  • Property Offset - A Vector2 that can be used to offset all the child Controls' positions by the same value.