enum Glint::Origin

Defined in:

glint.cr

Enum Members

TopLeft = 0
TopCenter = 1
TopRight = 2
MiddleLeft = 3
MiddleCenter = 4
MiddleRight = 5
BottomLeft = 6
BottomCenter = 7
BottomRight = 8
Center = 9

Other (e.g. aliases)

Instance Method Summary

Instance Method Detail

def bottom_center? #

[View source]
def bottom_left? #

[View source]
def bottom_right? #

[View source]
def center? #

[View source]
def from(extents : Vector2) : Vector2 #

[View source]
def middle_center? #

[View source]
def middle_left? #

[View source]
def middle_right? #

[View source]
def offset #

[View source]
def top_center? #

[View source]
def top_left? #

[View source]
def top_right? #

[View source]