Android Graphics Utilities / it.czerwinski.android.graphics / AdvancedPath / addRingSector
addRingSector
open fun addRingSector(cx:
Float
= 0f, cy:
Float
= 0f, radius:
Float
, startAngle:
Float
, sweepAngle:
Float
, thickness:
Float
, inset:
Float
= 0f):
Unit
Adds a closed ring sector (annulus sector) contour to the path.
Parameters
cx
- The x-coordinate of the center of the circle.
cy
- The x-coordinate of the center of the circle.
radius
- The radius of the circle.
startAngle
- Starting angle of the arc measured in degrees.
sweepAngle
- Sweep angle of the arc measured in degrees.
thickness
- Thickness of the ring.
inset
- Inset measured from radii enclosing the ring sector.