Skip to main content

Path.offset()

The Path.offset() method returns a new Path that is offset by distance from the original path.

Signature

Path path.offset(float distance)

Example

Example of the Path.offset() method