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

Offset outline trait.

Required Methods§

source

fn offset(&self, offset: i32) -> Self

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§