Android Graphics Utilities / it.czerwinski.android.graphics / AdvancedPath / addCircleSector

addCircleSector

open fun addCircleSector(cx: Float = 0f, cy: Float = 0f, radius: Float, startAngle: Float, sweepAngle: Float, inset: Float = 0f): Unit

Adds a closed circle 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.

inset - Inset measured from radii enclosing the circle sector.