UnitType

public enum UnitType : Int

Defines values that indicate whether point positions are specified in percentage, or in absolute units relative to the node’s top-left corner.

  • percentage: Point coordinates are specified as percentage of the node’s size.
  • fixed: Point coordinates designate fixed offset from the node’s top-left corner.
  • Undocumented

    Declaration

    Swift

    case percentage = 0
  • Undocumented

    Declaration

    Swift

    case fixed = 1