class Boleite::Text

Included Modules

Defined in:

boleite/graphics/text.cr
boleite/graphics/text/format_rule.cr
boleite/graphics/text/formatter.cr
boleite/graphics/text/vertices.cr

Constructors

Instance Method Summary

Instance methods inherited from module Boleite::Transformable

move(x, y)
move(offset)
move
, origo origo, origo=(origo) origo=, position position, position=(pos) position=, rotate(rot) rotate, rotation rotation, rotation=(rot) rotation=, scale scale, scale=(scale) scale=, transformation transformation, update_transformation update_transformation

Instance methods inherited from module Boleite::Drawable

render(renderer : Renderer, transform : Matrix44f32) : Void render

Constructor Detail

def self.new(font : Boleite::Font, text : String = "") #

[View source]

Instance Method Detail

def default_color : Boleite::VectorImp(Float32, 4) #

[View source]
def default_color=(val : Boleite::VectorImp(Float32, 4)) #

[View source]
def font : Boleite::Font #

[View source]
def font=(font : Boleite::Font) #

[View source]
def formatter : Boleite::Text::Formatter #

[View source]
def size : UInt32 #

[View source]
def size=(val : UInt32) #

[View source]
def text : String #

[View source]
def text=(val : String) #

[View source]