# nodesnim/core/anchor

Dark Mode

Search:
Group by:

# Imports

vector2

# Types

    AnchorObj = object
      x1*, y1*, x2*, y2*: float

    AnchorRef = ref AnchorObj

# Procs

    proc Anchor(x1, y1, x2, y2: float): AnchorRef {...}{.inline, raises: [], tags: [].}

    proc Anchor(vec1, vec2: Vector2Ref): AnchorRef {...}{.inline, raises: [], tags: [].}

    proc isEmpty(a: AnchorRef): bool {...}{.raises: [], tags: [].}

  Returns true, if a is Anchor(0, 0, 0, 0)

    proc `$`(x: AnchorRef): string {...}{.raises: [], tags: [].}