Module line_2d

Consts

LINE_JOINT_SHARP* = 0'i64
LINE_JOINT_BEVEL* = 1'i64
LINE_JOINT_ROUND* = 2'i64
LINE_CAP_NONE* = 0'i64
LINE_CAP_BOX* = 1'i64
LINE_CAP_ROUND* = 2'i64
LINE_TEXTURE_NONE* = 0'i64
LINE_TEXTURE_TILE* = 1'i64

Procs

proc points*(self: Line2D): PoolVector2Array {.
gcsafe, locks: 0
.}
proc `points =`*(self: Line2D; val: PoolVector2Array) {.
gcsafe, locks: 0
.}
proc width*(self: Line2D): float64 {.
gcsafe, locks: 0
.}
proc `width =`*(self: Line2D; val: float64) {.
gcsafe, locks: 0
.}
proc defaultColor*(self: Line2D): Color {.
gcsafe, locks: 0
.}
proc `defaultColor =`*(self: Line2D; val: Color) {.
gcsafe, locks: 0
.}
proc gradient*(self: Line2D): Gradient {.
gcsafe, locks: 0
.}
proc `gradient =`*(self: Line2D; val: Gradient) {.
gcsafe, locks: 0
.}
proc texture*(self: Line2D): Texture {.
gcsafe, locks: 0
.}
proc `texture =`*(self: Line2D; val: Texture) {.
gcsafe, locks: 0
.}
proc textureMode*(self: Line2D): int64 {.
gcsafe, locks: 0
.}
proc `textureMode =`*(self: Line2D; val: int64) {.
gcsafe, locks: 0
.}
proc jointMode*(self: Line2D): int64 {.
gcsafe, locks: 0
.}
proc `jointMode =`*(self: Line2D; val: int64) {.
gcsafe, locks: 0
.}
proc beginCapMode*(self: Line2D): int64 {.
gcsafe, locks: 0
.}
proc `beginCapMode =`*(self: Line2D; val: int64) {.
gcsafe, locks: 0
.}
proc endCapMode*(self: Line2D): int64 {.
gcsafe, locks: 0
.}
proc `endCapMode =`*(self: Line2D; val: int64) {.
gcsafe, locks: 0
.}
proc sharpLimit*(self: Line2D): float64 {.
gcsafe, locks: 0
.}
proc `sharpLimit =`*(self: Line2D; val: float64) {.
gcsafe, locks: 0
.}
proc roundPrecision*(self: Line2D): int64 {.
gcsafe, locks: 0
.}
proc `roundPrecision =`*(self: Line2D; val: int64) {.
gcsafe, locks: 0
.}
proc setPointPos*(self: Line2D; i: int64; pos: Vector2) {.
gcsafe, locks: 0
.}
proc getPointPos*(self: Line2D; i: int64): Vector2 {.
gcsafe, locks: 0
.}
proc getPointCount*(self: Line2D): int64 {.
gcsafe, locks: 0
.}
proc addPoint*(self: Line2D; pos: Vector2) {.
gcsafe, locks: 0
.}
proc removePoint*(self: Line2D; i: int64) {.
gcsafe, locks: 0
.}

Methods

method gradientChanged*(self: Line2D) {.
gcsafe, locks: 0, base
.}