Anchor

    Control.swift:276
    enum Anchor

    Cases

    • case begin

      Snaps one of the 4 anchor’s sides to the origin of the node’s Rect, in the top left. Use it with one of the anchor_* member variables, like anchorLeft. To change all 4 anchors at once, use setAnchorsPreset(_:keepOffsets:).

    • case end

      Snaps one of the 4 anchor’s sides to the end of the node’s Rect, in the bottom right. Use it with one of the anchor_* member variables, like anchorLeft. To change all 4 anchors at once, use setAnchorsPreset(_:keepOffsets:).

    Other members in extension

    View members

    Hide members

    This section is hidden by default because it contains too many (148) members.

    Types

    Type members

    Instance members

    Show implementation details (9)

    Hide implementation details

    Citizens in SwiftGodot

    Conformances

    Type members

    Instance members

    Type features

    Instance features