AndroidKanvas
Implementation of Kanvas which wraps a native Android Canvas.
It may be pre-scaled by a scalingFactor. If it is, width and height are adjusted to account for this scaling factor.
Properties
Functions
Link copied to clipboard
open override fun drawArc(left: Float, top: Float, right: Float, bottom: Float, startAngle: Float, sweepAngle: Float, paint: Paint)
Draw an arc that fits in the oval defined by the rectangle left, top, right, and bottom, from startAngle (in degrees, with 0 at the right) to startAngle + sweepAngle.
Link copied to clipboard
Link copied to clipboard
Removes the last pushClip or pushTransform operation.
Link copied to clipboard
Link copied to clipboard
Invokes actions inside of a Kanvas.pushClip/Kanvas.pop pair.
Link copied to clipboard
Invokes actions inside of a Kanvas.pushTransform/Kanvas.pop pair.