MCPcopy Create free account
hub / github.com/JetBrains/skija / addCircle

Method addCircle

shared/java/Path.java:1340–1342  ·  view source on GitHub ↗

Adds circle centered at (x, y) of size radius to Path, appending PathVerb#MOVE, four PathVerb#CONIC, and PathVerb#CLOSE. Circle begins at: (x + radius, y) Has no effect if radius is zero or negative. @param x center of circle @param y center of cir

(float x, float y, float radius)

Source from the content-addressed store, hash-verified

1338 * @return reference to Path
1339 */
1340 public Path addCircle(float x, float y, float radius) {
1341 return addCircle(x, y, radius, PathDirection.CLOCKWISE);
1342 }
1343
1344 /**
1345 * <p>Adds circle centered at (x, y) of size radius to Path, appending {@link PathVerb#MOVE},

Callers 8

BitmapSceneMethod · 0.95
isShapeMethod · 0.80
FigmaSceneMethod · 0.80
drawMethod · 0.80
drawAddsMethod · 0.80
drawMeasureMethod · 0.80
drawRSXformMethod · 0.80

Calls 2

onNativeCallMethod · 0.95
_nAddCircleMethod · 0.95

Tested by 1

isShapeMethod · 0.64