Struct swash::scale::outline::LayerMut [−][src]
pub struct LayerMut<'a> { /* fields omitted */ }
Mutable reference to a layer in a scaled outline.
Implementations
impl<'a> LayerMut<'a>
[src]
impl<'a> LayerMut<'a>
[src]pub fn points(&'a self) -> &'a [Point]ⓘ
[src]
Returns the sequence of points for the layer.
pub fn points_mut(&'a mut self) -> &'a mut [Point]ⓘ
[src]
Returns a mutable reference the sequence of points for the layer.
pub fn verbs(&self) -> &'a [Verb]ⓘ
[src]
Returns the sequence of verbs for the layer.
pub fn path(&'a self) -> impl PathData + 'a
[src]
Returns path data for the layer.
pub fn bounds(&self) -> Bounds
[src]
Computes the bounding box of the layer.
pub fn color_index(&self) -> Option<u16>
[src]
Returns the color index for the layer.
pub fn transform(&'a mut self, transform: &Transform)
[src]
Transforms this layer by the specified matrix.
pub fn embolden(&mut self, x_strength: f32, y_strength: f32)
[src]
Applies a faux bold to this layer with the specified strengths in the x and y directions.
Auto Trait Implementations
impl<'a> RefUnwindSafe for LayerMut<'a>
impl<'a> RefUnwindSafe for LayerMut<'a>
impl<'a> !UnwindSafe for LayerMut<'a>
impl<'a> !UnwindSafe for LayerMut<'a>