class Boleite::Shape
- Boleite::Shape
- Reference
- Object
Included Modules
Defined in:
boleite/graphics/shape.crboleite/graphics/shape/vertices.cr
Constructors
Instance Method Summary
- #[](index) : Vector2f32
- #[]=(index, pos)
- #add_vertex(x, y)
- #add_vertex(pos)
- #clear_vertices
- #color : Boleite::VectorImp(Float32, 4)
- #color=(color : Boleite::VectorImp(Float32, 4))
- #custom_shader : Boleite::Shader?
- #custom_shader=(custom_shader : Boleite::Shader | Nil)
- #num_vertices
- #primitive(*args, **options)
- #primitive(*args, **options, &)
- #primitive=(p)
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