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

Method addOval

shared/java/Path.java:1289–1291  ·  view source on GitHub ↗

Adds oval to path, appending PathVerb#MOVE, four PathVerb#CONIC, and PathVerb#CLOSE. Oval is upright ellipse bounded by Rect oval with radii equal to half oval width and half oval height. Oval begins at (oval.fRight, oval.centerY()) and continues clockwise. @p

(Rect oval)

Source from the content-addressed store, hash-verified

1287 */
1288
1289 public Path addOval(Rect oval) {
1290 return addOval(oval, PathDirection.CLOCKWISE, 1);
1291 }
1292
1293 /**
1294 * <p>Adds oval to path, appending {@link PathVerb#MOVE}, four {@link PathVerb#CONIC}, and {@link PathVerb#CLOSE}.</p>

Callers 3

isShapeMethod · 0.80
drawAddsMethod · 0.80

Calls 2

onNativeCallMethod · 0.95
_nAddOvalMethod · 0.95

Tested by 1

isShapeMethod · 0.64