Trait embedded_graphics::primitives::OffsetOutline[][src]

pub trait OffsetOutline {
    fn offset(&self, offset: i32) -> Self;
}
Expand description

Offset outline trait.

Required methods

Offsets the outline of the shape.

The offset is applied perpendicular to each element of the outline. Offset values greater than zero will expand the shape and values less than zero will shrink the shape.

Implementors