Expand description
Text matrix. Text placement is a bit different, but uses the same concepts as a CTM that’s why it’s merged here
Note: TextScale
does not exist. Use layer.set_word_spacing()
and layer.set_character_spacing()
to specify the scaling between words
and characters.
Variants§
Rotate(f64)
Text rotation matrix, used for rotating text
Translate(Mm, Mm)
Text translate matrix, used for indenting (transforming) text (different to regular text placement)
Trait Implementations§
source§impl Clone for TextMatrix
impl Clone for TextMatrix
source§fn clone(&self) -> TextMatrix
fn clone(&self) -> TextMatrix
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more