atelier ~master (2021-08-24T13:35:22Z)
Dub
Repo
Sprite.contain
atelier
render
sprite
Sprite
Set the sprite's size to contain the specified size.
class
Sprite
void
contain
(
Vec2f
size_
)
Meta
Source
See Implementation
atelier
render
sprite
Sprite
constructors
this
functions
contain
draw
drawRotated
drawUnchecked
fit
isInside
opAssign
properties
center
isValid
variables
alpha
anchor
angle
blend
clip
color
drawable
flip
scale
size
Set the sprite's size to contain the specified size.