java.awt.geom
36 classes of the module java.desktop.
Load them with:
using {
"java.awt.geom"
}
AffineTransform#
class · extends Object · java.awt.geom.AffineTransform
Implements: Cloneable, Serializable
Constructors
new AffineTransform() |
new AffineTransform(float[] flatmatrix) |
new AffineTransform(double[] flatmatrix) |
new AffineTransform(AffineTransform Tx) |
new AffineTransform(float m00, float m10, float m01, float m11, float m02, float m12) |
new AffineTransform(double m00, double m10, double m01, double m11, double m02, double m12) |
Ring: new AffineTransform(args) uses the constructor with the fewest parameters (at least one); new AffineTransform makes the object with the constructor without parameters; the others: (new AffineTransform).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
TYPE_IDENTITY | int | constant · static | o.TYPE_IDENTITY |
TYPE_TRANSLATION | int | constant · static | o.TYPE_TRANSLATION |
TYPE_UNIFORM_SCALE | int | constant · static | o.TYPE_UNIFORM_SCALE |
TYPE_GENERAL_SCALE | int | constant · static | o.TYPE_GENERAL_SCALE |
TYPE_MASK_SCALE | int | constant · static | o.TYPE_MASK_SCALE |
TYPE_FLIP | int | constant · static | o.TYPE_FLIP |
TYPE_QUADRANT_ROTATION | int | constant · static | o.TYPE_QUADRANT_ROTATION |
TYPE_GENERAL_ROTATION | int | constant · static | o.TYPE_GENERAL_ROTATION |
TYPE_MASK_ROTATION | int | constant · static | o.TYPE_MASK_ROTATION |
TYPE_GENERAL_TRANSFORM | int | constant · static | o.TYPE_GENERAL_TRANSFORM |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
clone | clone() | Object clone() |
concatenate | concatenate(Tx) | void concatenate(AffineTransform Tx) |
createInverse | createInverse() | AffineTransform createInverse() |
createTransformedShape | createTransformedShape(pSrc) | Shape createTransformedShape(Shape pSrc) |
deltaTransform | deltaTransform([ptSrc,ptDst])deltaTransform([ :ptSrc = v, :ptDst = v ])deltaTransform([srcPts,srcOff,dstPts,dstOff,numPts])deltaTransform([ :srcPts = v, :srcOff = v, :dstPts = v, :dstOff = v, :numPts = v ]) | Point2D deltaTransform(Point2D ptSrc, Point2D ptDst)void deltaTransform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts) |
getDeterminant | getDeterminant() | double getDeterminant() |
getMatrix | getMatrix(flatmatrix) | void getMatrix(double[] flatmatrix) |
getQuadrantRotateInstance | getQuadrantRotateInstance(numquadrants)getQuadrantRotateInstance([numquadrants,anchorx,anchory])getQuadrantRotateInstance([ :numquadrants = v, :anchorx = v, :anchory = v ]) | static AffineTransform getQuadrantRotateInstance(int numquadrants)static AffineTransform getQuadrantRotateInstance(int numquadrants, double anchorx, double anchory) |
getRotateInstance | getRotateInstance(theta)getRotateInstance([vecx,vecy])getRotateInstance([ :vecx = v, :vecy = v ])getRotateInstance([theta,anchorx,anchory])getRotateInstance([ :theta = v, :anchorx = v, :anchory = v ])getRotateInstance([vecx,vecy,anchorx,anchory])getRotateInstance([ :vecx = v, :vecy = v, :anchorx = v, :anchory = v ]) | static AffineTransform getRotateInstance(double theta)static AffineTransform getRotateInstance(double vecx, double vecy)static AffineTransform getRotateInstance(double theta, double anchorx, double anchory)static AffineTransform getRotateInstance(double vecx, double vecy, double anchorx, double anchory) |
getScaleInstance | getScaleInstance(sx,sy) | static AffineTransform getScaleInstance(double sx, double sy) |
getScaleX | getScaleX() | double getScaleX() |
getScaleY | getScaleY() | double getScaleY() |
getShearInstance | getShearInstance(shx,shy) | static AffineTransform getShearInstance(double shx, double shy) |
getShearX | getShearX() | double getShearX() |
getShearY | getShearY() | double getShearY() |
getTranslateInstance | getTranslateInstance(tx,ty) | static AffineTransform getTranslateInstance(double tx, double ty) |
getTranslateX | getTranslateX() | double getTranslateX() |
getTranslateY | getTranslateY() | double getTranslateY() |
getType | getType() | int getType() |
inverseTransform | inverseTransform([ptSrc,ptDst])inverseTransform([ :ptSrc = v, :ptDst = v ])inverseTransform([srcPts,srcOff,dstPts,dstOff,numPts])inverseTransform([ :srcPts = v, :srcOff = v, :dstPts = v, :dstOff = v, :numPts = v ]) | Point2D inverseTransform(Point2D ptSrc, Point2D ptDst)void inverseTransform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts) |
invert | invert() | void invert() |
isIdentity | isIdentity() | boolean isIdentity() |
preConcatenate | preConcatenate(Tx) | void preConcatenate(AffineTransform Tx) |
quadrantRotate | quadrantRotate(numquadrants)quadrantRotate([numquadrants,anchorx,anchory])quadrantRotate([ :numquadrants = v, :anchorx = v, :anchory = v ]) | void quadrantRotate(int numquadrants)void quadrantRotate(int numquadrants, double anchorx, double anchory) |
rotate | rotate(theta)rotate([vecx,vecy])rotate([ :vecx = v, :vecy = v ])rotate([theta,anchorx,anchory])rotate([ :theta = v, :anchorx = v, :anchory = v ])rotate([vecx,vecy,anchorx,anchory])rotate([ :vecx = v, :vecy = v, :anchorx = v, :anchory = v ]) | void rotate(double theta)void rotate(double vecx, double vecy)void rotate(double theta, double anchorx, double anchory)void rotate(double vecx, double vecy, double anchorx, double anchory) |
scale | scale(sx,sy) | void scale(double sx, double sy) |
setToIdentity | setToIdentity() | void setToIdentity() |
setToQuadrantRotation | setToQuadrantRotation(numquadrants)setToQuadrantRotation([numquadrants,anchorx,anchory])setToQuadrantRotation([ :numquadrants = v, :anchorx = v, :anchory = v ]) | void setToQuadrantRotation(int numquadrants)void setToQuadrantRotation(int numquadrants, double anchorx, double anchory) |
setToRotation | setToRotation(theta)setToRotation([vecx,vecy])setToRotation([ :vecx = v, :vecy = v ])setToRotation([theta,anchorx,anchory])setToRotation([ :theta = v, :anchorx = v, :anchory = v ])setToRotation([vecx,vecy,anchorx,anchory])setToRotation([ :vecx = v, :vecy = v, :anchorx = v, :anchory = v ]) | void setToRotation(double theta)void setToRotation(double vecx, double vecy)void setToRotation(double theta, double anchorx, double anchory)void setToRotation(double vecx, double vecy, double anchorx, double anchory) |
setToScale | setToScale(sx,sy) | void setToScale(double sx, double sy) |
setToShear | setToShear(shx,shy) | void setToShear(double shx, double shy) |
setToTranslation | setToTranslation(tx,ty) | void setToTranslation(double tx, double ty) |
setTransform | setTransform(Tx)setTransform([m00,m10,m01,m11,m02,m12])setTransform([ :m00 = v, :m10 = v, :m01 = v, :m11 = v, :m02 = v, :m12 = v ]) | void setTransform(AffineTransform Tx)void setTransform(double m00, double m10, double m01, double m11, double m02, double m12) |
shear | shear(shx,shy) | void shear(double shx, double shy) |
transform | transform([ptSrc,ptDst])transform([ :ptSrc = v, :ptDst = v ])transform([srcPts,srcOff,dstPts,dstOff,numPts])transform([ :srcPts = v, :srcOff = v, :dstPts = v, :dstOff = v, :numPts = v ]) | Point2D transform(Point2D ptSrc, Point2D ptDst)void transform(float[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)void transform(float[] srcPts, int srcOff, float[] dstPts, int dstOff, int numPts)void transform(Point2D[] ptSrc, int srcOff, Point2D[] ptDst, int dstOff, int numPts)void transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)void transform(double[] srcPts, int srcOff, float[] dstPts, int dstOff, int numPts) |
translate | translate(tx,ty) | void translate(double tx, double ty) |
The methods and fields of Object are inherited.
Arc2D#
abstract · extends RectangularShape · java.awt.geom.Arc2D
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
OPEN | int | constant · static | o.OPEN |
CHORD | int | constant · static | o.CHORD |
PIE | int | constant · static | o.PIE |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
containsAngle | containsAngle(angle) | boolean containsAngle(double angle) |
getAngleExtent | getAngleExtent() | double getAngleExtent() |
getAngleStart | getAngleStart() | double getAngleStart() |
getArcType | getArcType() | int getArcType() |
getEndPoint | getEndPoint() | Point2D getEndPoint() |
getStartPoint | getStartPoint() | Point2D getStartPoint() |
setAngleExtent | setAngleExtent(angExt) | void setAngleExtent(double angExt) |
setAngles | setAngles([p1,p2])setAngles([ :p1 = v, :p2 = v ])setAngles([x1,y1,x2,y2])setAngles([ :x1 = v, :y1 = v, :x2 = v, :y2 = v ]) | void setAngles(Point2D p1, Point2D p2)void setAngles(double x1, double y1, double x2, double y2) |
setAngleStart | setAngleStart(angSt) | void setAngleStart(double angSt)void setAngleStart(Point2D p) |
setArc | setArc(a)setArc([rect,angSt,angExt,closure])setArc([ :rect = v, :angSt = v, :angExt = v, :closure = v ])setArc([loc,size,angSt,angExt,closure])setArc([ :loc = v, :size = v, :angSt = v, :angExt = v, :closure = v ])setArc([x,y,w,h,angSt,angExt,closure])setArc([ :x = v, :y = v, :w = v, :h = v, :angSt = v, :angExt = v, :closure = v ]) | void setArc(Arc2D a)void setArc(Rectangle2D rect, double angSt, double angExt, int closure)void setArc(Point2D loc, Dimension2D size, double angSt, double angExt, int closure)void setArc(double x, double y, double w, double h, double angSt, double angExt, int closure) |
setArcByCenter | setArcByCenter(x,y,radius,angSt,angExt,closure) | void setArcByCenter(double x, double y, double radius, double angSt, double angExt, int closure) |
setArcByTangent | setArcByTangent(p1,p2,p3,radius) | void setArcByTangent(Point2D p1, Point2D p2, Point2D p3, double radius) |
setArcType | setArcType(type) | void setArcType(int type) |
The methods and fields of RectangularShape are inherited.
Arc2DDouble#
class · extends Arc2D · java.awt.geom.Arc2D$Double
Implements: Serializable
Constructors
new Arc2DDouble() |
new Arc2DDouble(int type) |
new Arc2DDouble(Rectangle2D ellipseBounds, double start, double extent, int type) |
new Arc2DDouble(double x, double y, double w, double h, double start, double extent, int type) |
Ring: new Arc2DDouble(args) uses the constructor with the fewest parameters (at least one); new Arc2DDouble makes the object with the constructor without parameters; the others: (new Arc2DDouble).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
start | double | read, write | o.start o.start = v |
extent | double | read, write | o.extent o.extent = v |
The methods and fields of Arc2D are inherited.
Arc2DFloat#
class · extends Arc2D · java.awt.geom.Arc2D$Float
Implements: Serializable
Constructors
new Arc2DFloat() |
new Arc2DFloat(int type) |
new Arc2DFloat(Rectangle2D ellipseBounds, float start, float extent, int type) |
new Arc2DFloat(float x, float y, float w, float h, float start, float extent, int type) |
Ring: new Arc2DFloat(args) uses the constructor with the fewest parameters (at least one); new Arc2DFloat makes the object with the constructor without parameters; the others: (new Arc2DFloat).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
start | float | read, write | o.start o.start = v |
extent | float | read, write | o.extent o.extent = v |
The methods and fields of Arc2D are inherited.
Area#
class · extends Object · java.awt.geom.Area
Constructors
new Area() |
new Area(Shape s) |
Ring: new Area(args) uses the constructor with the fewest parameters (at least one); new Area makes the object with the constructor without parameters; the others: (new Area).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
add | add(rhs) | void add(Area rhs) |
clone | clone() | Object clone() |
contains | contains(r)contains([x,y])contains([ :x = v, :y = v ])contains([x,y,w,h])contains([ :x = v, :y = v, :w = v, :h = v ]) | boolean contains(Rectangle2D r)boolean contains(Point2D p)boolean contains(double x, double y)boolean contains(double x, double y, double w, double h) |
createTransformedArea | createTransformedArea(t) | Area createTransformedArea(AffineTransform t) |
exclusiveOr | exclusiveOr(rhs) | void exclusiveOr(Area rhs) |
getBounds | getBounds() | Rectangle getBounds() |
getBounds2D | getBounds2D() | Rectangle2D getBounds2D() |
getPathIterator | getPathIterator(at)getPathIterator([at,flatness])getPathIterator([ :at = v, :flatness = v ]) | PathIterator getPathIterator(AffineTransform at)PathIterator getPathIterator(AffineTransform at, double flatness) |
intersect | intersect(rhs) | void intersect(Area rhs) |
intersects | intersects(r)intersects([x,y,w,h])intersects([ :x = v, :y = v, :w = v, :h = v ]) | boolean intersects(Rectangle2D r)boolean intersects(double x, double y, double w, double h) |
isEmpty | isEmpty() | boolean isEmpty() |
isPolygonal | isPolygonal() | boolean isPolygonal() |
isRectangular | isRectangular() | boolean isRectangular() |
isSingular | isSingular() | boolean isSingular() |
reset | reset() | void reset() |
subtract | subtract(rhs) | void subtract(Area rhs) |
transform | transform(t) | void transform(AffineTransform t) |
The methods and fields of Object are inherited.
CubicCurve2D#
abstract · extends Object · java.awt.geom.CubicCurve2D
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@getFlatness | @getFlatness([coords,offset])@getFlatness([ :coords = v, :offset = v ])@getFlatness([x1,y1,ctrlx1,ctrly1,ctrlx2,ctrly2,x2,y2])@getFlatness([ :x1 = v, :y1 = v, :ctrlx1 = v, :ctrly1 = v, :ctrlx2 = v, :ctrly2 = v, :x2 = v, :y2 = v ]) | static double getFlatness(double[] coords, int offset)static double getFlatness(double x1, double y1, double ctrlx1, double ctrly1, double ctrlx2, double ctrly2, double x2, double y2) |
@getFlatnessSq | @getFlatnessSq([coords,offset])@getFlatnessSq([ :coords = v, :offset = v ])@getFlatnessSq([x1,y1,ctrlx1,ctrly1,ctrlx2,ctrly2,x2,y2])@getFlatnessSq([ :x1 = v, :y1 = v, :ctrlx1 = v, :ctrly1 = v, :ctrlx2 = v, :ctrly2 = v, :x2 = v, :y2 = v ]) | static double getFlatnessSq(double[] coords, int offset)static double getFlatnessSq(double x1, double y1, double ctrlx1, double ctrly1, double ctrlx2, double ctrly2, double x2, double y2) |
clone | clone() | Object clone() |
contains | contains(p)contains([x,y])contains([ :x = v, :y = v ])contains([x,y,w,h])contains([ :x = v, :y = v, :w = v, :h = v ]) | boolean contains(Point2D p)boolean contains(Rectangle2D r)boolean contains(double x, double y)boolean contains(double x, double y, double w, double h) |
getBounds | getBounds() | Rectangle getBounds() |
getBounds2D | getBounds2D() | Rectangle2D getBounds2D() |
getCtrlP1 | getCtrlP1() | Point2D getCtrlP1() |
getCtrlP2 | getCtrlP2() | Point2D getCtrlP2() |
getCtrlX1 | getCtrlX1() | double getCtrlX1() |
getCtrlX2 | getCtrlX2() | double getCtrlX2() |
getCtrlY1 | getCtrlY1() | double getCtrlY1() |
getCtrlY2 | getCtrlY2() | double getCtrlY2() |
getFlatness | getFlatness() | double getFlatness() |
getFlatnessSq | getFlatnessSq() | double getFlatnessSq() |
getP1 | getP1() | Point2D getP1() |
getP2 | getP2() | Point2D getP2() |
getPathIterator | getPathIterator(at)getPathIterator([at,flatness])getPathIterator([ :at = v, :flatness = v ]) | PathIterator getPathIterator(AffineTransform at)PathIterator getPathIterator(AffineTransform at, double flatness) |
getX1 | getX1() | double getX1() |
getX2 | getX2() | double getX2() |
getY1 | getY1() | double getY1() |
getY2 | getY2() | double getY2() |
intersects | intersects(r)intersects([x,y,w,h])intersects([ :x = v, :y = v, :w = v, :h = v ]) | boolean intersects(Rectangle2D r)boolean intersects(double x, double y, double w, double h) |
setCurve | setCurve(c)setCurve([pts,offset])setCurve([ :pts = v, :offset = v ])setCurve([p1,cp1,cp2,p2])setCurve([ :p1 = v, :cp1 = v, :cp2 = v, :p2 = v ])setCurve([x1,y1,ctrlx1,ctrly1,ctrlx2,ctrly2,x2,y2])setCurve([ :x1 = v, :y1 = v, :ctrlx1 = v, :ctrly1 = v, :ctrlx2 = v, :ctrly2 = v, :x2 = v, :y2 = v ]) | void setCurve(CubicCurve2D c)void setCurve(Point2D[] pts, int offset)void setCurve(double[] coords, int offset)void setCurve(Point2D p1, Point2D cp1, Point2D cp2, Point2D p2)void setCurve(double x1, double y1, double ctrlx1, double ctrly1, double ctrlx2, double ctrly2, double x2, double y2) |
solveCubic | solveCubic(eqn)solveCubic([eqn,res])solveCubic([ :eqn = v, :res = v ]) | static int solveCubic(double[] eqn)static int solveCubic(double[] eqn, double[] res) |
subdivide | subdivide([left,right])subdivide([ :left = v, :right = v ])subdivide([src,left,right])subdivide([ :src = v, :left = v, :right = v ])subdivide([src,srcoff,left,leftoff,right,rightoff])subdivide([ :src = v, :srcoff = v, :left = v, :leftoff = v, :right = v, :rightoff = v ]) | void subdivide(CubicCurve2D left, CubicCurve2D right)static void subdivide(CubicCurve2D src, CubicCurve2D left, CubicCurve2D right)static void subdivide(double[] src, int srcoff, double[] left, int leftoff, double[] right, int rightoff) |
The methods and fields of Object are inherited.
CubicCurve2DDouble#
class · extends CubicCurve2D · java.awt.geom.CubicCurve2D$Double
Implements: Serializable
Constructors
new CubicCurve2DDouble() |
new CubicCurve2DDouble(double x1, double y1, double ctrlx1, double ctrly1, double ctrlx2, double ctrly2, double x2, double y2) |
Ring: new CubicCurve2DDouble(args) uses the constructor with the fewest parameters (at least one); new CubicCurve2DDouble makes the object with the constructor without parameters; the others: (new CubicCurve2DDouble).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of CubicCurve2D are inherited.
CubicCurve2DFloat#
class · extends CubicCurve2D · java.awt.geom.CubicCurve2D$Float
Implements: Serializable
Constructors
new CubicCurve2DFloat() |
new CubicCurve2DFloat(float x1, float y1, float ctrlx1, float ctrly1, float ctrlx2, float ctrly2, float x2, float y2) |
Ring: new CubicCurve2DFloat(args) uses the constructor with the fewest parameters (at least one); new CubicCurve2DFloat makes the object with the constructor without parameters; the others: (new CubicCurve2DFloat).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of CubicCurve2D are inherited.
Dimension2D#
abstract · extends Object · java.awt.geom.Dimension2D
Implements: Cloneable
Methods
| Method | Ring call | Java overloads |
|---|---|---|
clone | clone() | Object clone() |
getHeight | getHeight() | double getHeight() |
getWidth | getWidth() | double getWidth() |
setSize | setSize(d)setSize([width,height])setSize([ :width = v, :height = v ]) | void setSize(Dimension2D d)void setSize(double width, double height) |
The methods and fields of Object are inherited.
Ellipse2D#
abstract · extends RectangularShape · java.awt.geom.Ellipse2D
The methods and fields of RectangularShape are inherited.
Ellipse2DDouble#
class · extends Ellipse2D · java.awt.geom.Ellipse2D$Double
Implements: Serializable
Constructors
new Ellipse2DDouble() |
new Ellipse2DDouble(double x, double y, double w, double h) |
Ring: new Ellipse2DDouble(args) uses the constructor with the fewest parameters (at least one); new Ellipse2DDouble makes the object with the constructor without parameters; the others: (new Ellipse2DDouble).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of Ellipse2D are inherited.
Ellipse2DFloat#
class · extends Ellipse2D · java.awt.geom.Ellipse2D$Float
Implements: Serializable
Constructors
new Ellipse2DFloat() |
new Ellipse2DFloat(float x, float y, float w, float h) |
Ring: new Ellipse2DFloat(args) uses the constructor with the fewest parameters (at least one); new Ellipse2DFloat makes the object with the constructor without parameters; the others: (new Ellipse2DFloat).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of Ellipse2D are inherited.
FlatteningPathIterator#
class · extends Object · java.awt.geom.FlatteningPathIterator
Implements: PathIterator
Constructors
new FlatteningPathIterator(PathIterator src, double flatness) |
new FlatteningPathIterator(PathIterator src, double flatness, int limit) |
Ring: new FlatteningPathIterator(args) uses the constructor with the fewest parameters (at least one); new FlatteningPathIterator makes the object with the constructor without parameters; the others: (new FlatteningPathIterator).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
WIND_EVEN_ODD | int | constant · static | o.WIND_EVEN_ODD |
WIND_NON_ZERO | int | constant · static | o.WIND_NON_ZERO |
SEG_MOVETO | int | constant · static | o.SEG_MOVETO |
SEG_LINETO | int | constant · static | o.SEG_LINETO |
SEG_QUADTO | int | constant · static | o.SEG_QUADTO |
SEG_CUBICTO | int | constant · static | o.SEG_CUBICTO |
SEG_CLOSE | int | constant · static | o.SEG_CLOSE |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@next | @next() | void next() |
currentSegment | currentSegment(coords) | int currentSegment(float[] coords)int currentSegment(double[] coords) |
getFlatness | getFlatness() | double getFlatness() |
getRecursionLimit | getRecursionLimit() | int getRecursionLimit() |
getWindingRule | getWindingRule() | int getWindingRule() |
isDone | isDone() | boolean isDone() |
The methods and fields of Object are inherited.
GeneralPath#
class final · extends Path2DFloat · java.awt.geom.GeneralPath
Constructors
new GeneralPath() |
new GeneralPath(Shape s) |
new GeneralPath(int rule) |
new GeneralPath(int rule, int initialCapacity) |
Ring: new GeneralPath(args) uses the constructor with the fewest parameters (at least one); new GeneralPath makes the object with the constructor without parameters; the others: (new GeneralPath).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of Path2DFloat are inherited.
IllegalPathStateException#
class · extends RuntimeException · java.awt.geom.IllegalPathStateException
Constructors
new IllegalPathStateException() |
new IllegalPathStateException(String s) |
Ring: new IllegalPathStateException(args) uses the constructor with the fewest parameters (at least one); new IllegalPathStateException makes the object with the constructor without parameters; the others: (new IllegalPathStateException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of RuntimeException are inherited.
Line2D#
abstract · extends Object · java.awt.geom.Line2D
Methods
| Method | Ring call | Java overloads |
|---|---|---|
clone | clone() | Object clone() |
contains | contains(r)contains([x,y])contains([ :x = v, :y = v ])contains([x,y,w,h])contains([ :x = v, :y = v, :w = v, :h = v ]) | boolean contains(Rectangle2D r)boolean contains(Point2D p)boolean contains(double x, double y)boolean contains(double x, double y, double w, double h) |
getBounds | getBounds() | Rectangle getBounds() |
getBounds2D | getBounds2D() | Rectangle2D getBounds2D() |
getP1 | getP1() | Point2D getP1() |
getP2 | getP2() | Point2D getP2() |
getPathIterator | getPathIterator(at)getPathIterator([at,flatness])getPathIterator([ :at = v, :flatness = v ]) | PathIterator getPathIterator(AffineTransform at)PathIterator getPathIterator(AffineTransform at, double flatness) |
getX1 | getX1() | double getX1() |
getX2 | getX2() | double getX2() |
getY1 | getY1() | double getY1() |
getY2 | getY2() | double getY2() |
intersects | intersects(r)intersects([x,y,w,h])intersects([ :x = v, :y = v, :w = v, :h = v ]) | boolean intersects(Rectangle2D r)boolean intersects(double x, double y, double w, double h) |
intersectsLine | intersectsLine(l)intersectsLine([x1,y1,x2,y2])intersectsLine([ :x1 = v, :y1 = v, :x2 = v, :y2 = v ]) | boolean intersectsLine(Line2D l)boolean intersectsLine(double x1, double y1, double x2, double y2) |
linesIntersect | linesIntersect(x1,y1,x2,y2,x3,y3,x4,y4) | static boolean linesIntersect(double x1, double y1, double x2, double y2, double x3, double y3, double x4, double y4) |
ptLineDist | ptLineDist(pt)ptLineDist([px,py])ptLineDist([ :px = v, :py = v ])ptLineDist([x1,y1,x2,y2,px,py])ptLineDist([ :x1 = v, :y1 = v, :x2 = v, :y2 = v, :px = v, :py = v ]) | double ptLineDist(Point2D pt)double ptLineDist(double px, double py)static double ptLineDist(double x1, double y1, double x2, double y2, double px, double py) |
ptLineDistSq | ptLineDistSq(pt)ptLineDistSq([px,py])ptLineDistSq([ :px = v, :py = v ])ptLineDistSq([x1,y1,x2,y2,px,py])ptLineDistSq([ :x1 = v, :y1 = v, :x2 = v, :y2 = v, :px = v, :py = v ]) | double ptLineDistSq(Point2D pt)double ptLineDistSq(double px, double py)static double ptLineDistSq(double x1, double y1, double x2, double y2, double px, double py) |
ptSegDist | ptSegDist(pt)ptSegDist([px,py])ptSegDist([ :px = v, :py = v ])ptSegDist([x1,y1,x2,y2,px,py])ptSegDist([ :x1 = v, :y1 = v, :x2 = v, :y2 = v, :px = v, :py = v ]) | double ptSegDist(Point2D pt)double ptSegDist(double px, double py)static double ptSegDist(double x1, double y1, double x2, double y2, double px, double py) |
ptSegDistSq | ptSegDistSq(pt)ptSegDistSq([px,py])ptSegDistSq([ :px = v, :py = v ])ptSegDistSq([x1,y1,x2,y2,px,py])ptSegDistSq([ :x1 = v, :y1 = v, :x2 = v, :y2 = v, :px = v, :py = v ]) | double ptSegDistSq(Point2D pt)double ptSegDistSq(double px, double py)static double ptSegDistSq(double x1, double y1, double x2, double y2, double px, double py) |
relativeCCW | relativeCCW(p)relativeCCW([px,py])relativeCCW([ :px = v, :py = v ])relativeCCW([x1,y1,x2,y2,px,py])relativeCCW([ :x1 = v, :y1 = v, :x2 = v, :y2 = v, :px = v, :py = v ]) | int relativeCCW(Point2D p)int relativeCCW(double px, double py)static int relativeCCW(double x1, double y1, double x2, double y2, double px, double py) |
setLine | setLine(l)setLine([p1,p2])setLine([ :p1 = v, :p2 = v ])setLine([x1,y1,x2,y2])setLine([ :x1 = v, :y1 = v, :x2 = v, :y2 = v ]) | void setLine(Line2D l)void setLine(Point2D p1, Point2D p2)void setLine(double x1, double y1, double x2, double y2) |
The methods and fields of Object are inherited.
Line2DDouble#
class · extends Line2D · java.awt.geom.Line2D$Double
Implements: Serializable
Constructors
new Line2DDouble() |
new Line2DDouble(Point2D p1, Point2D p2) |
new Line2DDouble(double x1, double y1, double x2, double y2) |
Ring: new Line2DDouble(args) uses the constructor with the fewest parameters (at least one); new Line2DDouble makes the object with the constructor without parameters; the others: (new Line2DDouble).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of Line2D are inherited.
Line2DFloat#
class · extends Line2D · java.awt.geom.Line2D$Float
Implements: Serializable
Constructors
new Line2DFloat() |
new Line2DFloat(Point2D p1, Point2D p2) |
new Line2DFloat(float x1, float y1, float x2, float y2) |
Ring: new Line2DFloat(args) uses the constructor with the fewest parameters (at least one); new Line2DFloat makes the object with the constructor without parameters; the others: (new Line2DFloat).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of Line2D are inherited.
NoninvertibleTransformException#
class · extends Exception · java.awt.geom.NoninvertibleTransformException
Constructors
new NoninvertibleTransformException(String s) |
Ring: new NoninvertibleTransformException(args) uses the constructor with the fewest parameters (at least one); new NoninvertibleTransformException makes the object with the constructor without parameters; the others: (new NoninvertibleTransformException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of Exception are inherited.
Path2D#
abstract · extends Object · java.awt.geom.Path2D
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
WIND_EVEN_ODD | int | constant · static | o.WIND_EVEN_ODD |
WIND_NON_ZERO | int | constant · static | o.WIND_NON_ZERO |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
append | append(s,connect) | void append(Shape s, boolean connect)void append(PathIterator pi, boolean connect) |
clone | clone() | Object clone() |
closePath | closePath() | void closePath() |
contains | contains(p)contains([pi,r])contains([ :pi = v, :r = v ])contains([pi,x,y])contains([ :pi = v, :x = v, :y = v ])contains([x,y,w,h])contains([ :x = v, :y = v, :w = v, :h = v ])contains([pi,x,y,w,h])contains([ :pi = v, :x = v, :y = v, :w = v, :h = v ]) | boolean contains(Point2D p)boolean contains(Rectangle2D r)static boolean contains(PathIterator pi, Rectangle2D r)static boolean contains(PathIterator pi, Point2D p)boolean contains(double x, double y)static boolean contains(PathIterator pi, double x, double y)boolean contains(double x, double y, double w, double h)static boolean contains(PathIterator pi, double x, double y, double w, double h) |
createTransformedShape | createTransformedShape(at) | Shape createTransformedShape(AffineTransform at) |
curveTo | curveTo(x1,y1,x2,y2,x3,y3) | void curveTo(double x1, double y1, double x2, double y2, double x3, double y3) |
getBounds | getBounds() | Rectangle getBounds() |
getBounds2D | getBounds2D() | Rectangle2D getBounds2D() |
getCurrentPoint | getCurrentPoint() | Point2D getCurrentPoint() |
getPathIterator | getPathIterator(at)getPathIterator([at,flatness])getPathIterator([ :at = v, :flatness = v ]) | PathIterator getPathIterator(AffineTransform at)PathIterator getPathIterator(AffineTransform at, double flatness) |
getWindingRule | getWindingRule() | int getWindingRule() |
intersects | intersects(r)intersects([pi,r])intersects([ :pi = v, :r = v ])intersects([x,y,w,h])intersects([ :x = v, :y = v, :w = v, :h = v ])intersects([pi,x,y,w,h])intersects([ :pi = v, :x = v, :y = v, :w = v, :h = v ]) | boolean intersects(Rectangle2D r)static boolean intersects(PathIterator pi, Rectangle2D r)boolean intersects(double x, double y, double w, double h)static boolean intersects(PathIterator pi, double x, double y, double w, double h) |
lineTo | lineTo(x,y) | void lineTo(double x, double y) |
moveTo | moveTo(x,y) | void moveTo(double x, double y) |
quadTo | quadTo(x1,y1,x2,y2) | void quadTo(double x1, double y1, double x2, double y2) |
reset | reset() | void reset() |
setWindingRule | setWindingRule(rule) | void setWindingRule(int rule) |
transform | transform(at) | void transform(AffineTransform at) |
trimToSize | trimToSize() | void trimToSize() |
The methods and fields of Object are inherited.
Path2DDouble#
class · extends Path2D · java.awt.geom.Path2D$Double
Implements: Serializable
Constructors
new Path2DDouble() |
new Path2DDouble(Shape s) |
new Path2DDouble(int rule) |
new Path2DDouble(Shape s, AffineTransform at) |
new Path2DDouble(int rule, int initialCapacity) |
Ring: new Path2DDouble(args) uses the constructor with the fewest parameters (at least one); new Path2DDouble makes the object with the constructor without parameters; the others: (new Path2DDouble).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of Path2D are inherited.
Path2DFloat#
class · extends Path2D · java.awt.geom.Path2D$Float
Implements: Serializable
Constructors
new Path2DFloat() |
new Path2DFloat(Shape s) |
new Path2DFloat(int rule) |
new Path2DFloat(Shape s, AffineTransform at) |
new Path2DFloat(int rule, int initialCapacity) |
Ring: new Path2DFloat(args) uses the constructor with the fewest parameters (at least one); new Path2DFloat makes the object with the constructor without parameters; the others: (new Path2DFloat).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of Path2D are inherited.
PathIterator#
interface · java.awt.geom.PathIterator
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
WIND_EVEN_ODD | int | constant · static | o.WIND_EVEN_ODD |
WIND_NON_ZERO | int | constant · static | o.WIND_NON_ZERO |
SEG_MOVETO | int | constant · static | o.SEG_MOVETO |
SEG_LINETO | int | constant · static | o.SEG_LINETO |
SEG_QUADTO | int | constant · static | o.SEG_QUADTO |
SEG_CUBICTO | int | constant · static | o.SEG_CUBICTO |
SEG_CLOSE | int | constant · static | o.SEG_CLOSE |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@next | @next() | void next() |
currentSegment | currentSegment(coords) | int currentSegment(float[] coords)int currentSegment(double[] coords) |
getWindingRule | getWindingRule() | int getWindingRule() |
isDone | isDone() | boolean isDone() |
Point2D#
abstract · extends Object · java.awt.geom.Point2D
Implements: Cloneable
Methods
| Method | Ring call | Java overloads |
|---|---|---|
clone | clone() | Object clone() |
distance | distance(pt)distance([px,py])distance([ :px = v, :py = v ])distance([x1,y1,x2,y2])distance([ :x1 = v, :y1 = v, :x2 = v, :y2 = v ]) | double distance(Point2D pt)double distance(double px, double py)static double distance(double x1, double y1, double x2, double y2) |
distanceSq | distanceSq(pt)distanceSq([px,py])distanceSq([ :px = v, :py = v ])distanceSq([x1,y1,x2,y2])distanceSq([ :x1 = v, :y1 = v, :x2 = v, :y2 = v ]) | double distanceSq(Point2D pt)double distanceSq(double px, double py)static double distanceSq(double x1, double y1, double x2, double y2) |
getX | getX() | double getX() |
getY | getY() | double getY() |
setLocation | setLocation(p)setLocation([x,y])setLocation([ :x = v, :y = v ]) | void setLocation(Point2D p)void setLocation(double x, double y) |
The methods and fields of Object are inherited.
Point2DDouble#
class · extends Point2D · java.awt.geom.Point2D$Double
Implements: Serializable
Constructors
new Point2DDouble() |
new Point2DDouble(double x, double y) |
Ring: new Point2DDouble(args) uses the constructor with the fewest parameters (at least one); new Point2DDouble makes the object with the constructor without parameters; the others: (new Point2DDouble).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of Point2D are inherited.
Point2DFloat#
class · extends Point2D · java.awt.geom.Point2D$Float
Implements: Serializable
Constructors
new Point2DFloat() |
new Point2DFloat(float x, float y) |
Ring: new Point2DFloat(args) uses the constructor with the fewest parameters (at least one); new Point2DFloat makes the object with the constructor without parameters; the others: (new Point2DFloat).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of Point2D are inherited.
QuadCurve2D#
abstract · extends Object · java.awt.geom.QuadCurve2D
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@getFlatness | @getFlatness([coords,offset])@getFlatness([ :coords = v, :offset = v ])@getFlatness([x1,y1,ctrlx,ctrly,x2,y2])@getFlatness([ :x1 = v, :y1 = v, :ctrlx = v, :ctrly = v, :x2 = v, :y2 = v ]) | static double getFlatness(double[] coords, int offset)static double getFlatness(double x1, double y1, double ctrlx, double ctrly, double x2, double y2) |
@getFlatnessSq | @getFlatnessSq([coords,offset])@getFlatnessSq([ :coords = v, :offset = v ])@getFlatnessSq([x1,y1,ctrlx,ctrly,x2,y2])@getFlatnessSq([ :x1 = v, :y1 = v, :ctrlx = v, :ctrly = v, :x2 = v, :y2 = v ]) | static double getFlatnessSq(double[] coords, int offset)static double getFlatnessSq(double x1, double y1, double ctrlx, double ctrly, double x2, double y2) |
clone | clone() | Object clone() |
contains | contains(p)contains([x,y])contains([ :x = v, :y = v ])contains([x,y,w,h])contains([ :x = v, :y = v, :w = v, :h = v ]) | boolean contains(Point2D p)boolean contains(Rectangle2D r)boolean contains(double x, double y)boolean contains(double x, double y, double w, double h) |
getBounds | getBounds() | Rectangle getBounds() |
getBounds2D | getBounds2D() | Rectangle2D getBounds2D() |
getCtrlPt | getCtrlPt() | Point2D getCtrlPt() |
getCtrlX | getCtrlX() | double getCtrlX() |
getCtrlY | getCtrlY() | double getCtrlY() |
getFlatness | getFlatness() | double getFlatness() |
getFlatnessSq | getFlatnessSq() | double getFlatnessSq() |
getP1 | getP1() | Point2D getP1() |
getP2 | getP2() | Point2D getP2() |
getPathIterator | getPathIterator(at)getPathIterator([at,flatness])getPathIterator([ :at = v, :flatness = v ]) | PathIterator getPathIterator(AffineTransform at)PathIterator getPathIterator(AffineTransform at, double flatness) |
getX1 | getX1() | double getX1() |
getX2 | getX2() | double getX2() |
getY1 | getY1() | double getY1() |
getY2 | getY2() | double getY2() |
intersects | intersects(r)intersects([x,y,w,h])intersects([ :x = v, :y = v, :w = v, :h = v ]) | boolean intersects(Rectangle2D r)boolean intersects(double x, double y, double w, double h) |
setCurve | setCurve(c)setCurve([pts,offset])setCurve([ :pts = v, :offset = v ])setCurve([p1,cp,p2])setCurve([ :p1 = v, :cp = v, :p2 = v ])setCurve([x1,y1,ctrlx,ctrly,x2,y2])setCurve([ :x1 = v, :y1 = v, :ctrlx = v, :ctrly = v, :x2 = v, :y2 = v ]) | void setCurve(QuadCurve2D c)void setCurve(Point2D[] pts, int offset)void setCurve(double[] coords, int offset)void setCurve(Point2D p1, Point2D cp, Point2D p2)void setCurve(double x1, double y1, double ctrlx, double ctrly, double x2, double y2) |
solveQuadratic | solveQuadratic(eqn)solveQuadratic([eqn,res])solveQuadratic([ :eqn = v, :res = v ]) | static int solveQuadratic(double[] eqn)static int solveQuadratic(double[] eqn, double[] res) |
subdivide | subdivide([left,right])subdivide([ :left = v, :right = v ])subdivide([src,left,right])subdivide([ :src = v, :left = v, :right = v ])subdivide([src,srcoff,left,leftoff,right,rightoff])subdivide([ :src = v, :srcoff = v, :left = v, :leftoff = v, :right = v, :rightoff = v ]) | void subdivide(QuadCurve2D left, QuadCurve2D right)static void subdivide(QuadCurve2D src, QuadCurve2D left, QuadCurve2D right)static void subdivide(double[] src, int srcoff, double[] left, int leftoff, double[] right, int rightoff) |
The methods and fields of Object are inherited.
QuadCurve2DDouble#
class · extends QuadCurve2D · java.awt.geom.QuadCurve2D$Double
Implements: Serializable
Constructors
new QuadCurve2DDouble() |
new QuadCurve2DDouble(double x1, double y1, double ctrlx, double ctrly, double x2, double y2) |
Ring: new QuadCurve2DDouble(args) uses the constructor with the fewest parameters (at least one); new QuadCurve2DDouble makes the object with the constructor without parameters; the others: (new QuadCurve2DDouble).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of QuadCurve2D are inherited.
QuadCurve2DFloat#
class · extends QuadCurve2D · java.awt.geom.QuadCurve2D$Float
Implements: Serializable
Constructors
new QuadCurve2DFloat() |
new QuadCurve2DFloat(float x1, float y1, float ctrlx, float ctrly, float x2, float y2) |
Ring: new QuadCurve2DFloat(args) uses the constructor with the fewest parameters (at least one); new QuadCurve2DFloat makes the object with the constructor without parameters; the others: (new QuadCurve2DFloat).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of QuadCurve2D are inherited.
Rectangle2D#
abstract · extends RectangularShape · java.awt.geom.Rectangle2D
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
OUT_LEFT | int | constant · static | o.OUT_LEFT |
OUT_TOP | int | constant · static | o.OUT_TOP |
OUT_RIGHT | int | constant · static | o.OUT_RIGHT |
OUT_BOTTOM | int | constant · static | o.OUT_BOTTOM |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
add | add(pt)add([newx,newy])add([ :newx = v, :newy = v ]) | void add(Point2D pt)void add(Rectangle2D r)void add(double newx, double newy) |
createIntersection | createIntersection(r) | Rectangle2D createIntersection(Rectangle2D r) |
createUnion | createUnion(r) | Rectangle2D createUnion(Rectangle2D r) |
intersect | intersect(src1,src2,dest) | static void intersect(Rectangle2D src1, Rectangle2D src2, Rectangle2D dest) |
intersectsLine | intersectsLine(l)intersectsLine([x1,y1,x2,y2])intersectsLine([ :x1 = v, :y1 = v, :x2 = v, :y2 = v ]) | boolean intersectsLine(Line2D l)boolean intersectsLine(double x1, double y1, double x2, double y2) |
outcode | outcode(p)outcode([x,y])outcode([ :x = v, :y = v ]) | int outcode(Point2D p)int outcode(double x, double y) |
setRect | setRect(r)setRect([x,y,w,h])setRect([ :x = v, :y = v, :w = v, :h = v ]) | void setRect(Rectangle2D r)void setRect(double x, double y, double w, double h) |
union | union(src1,src2,dest) | static void union(Rectangle2D src1, Rectangle2D src2, Rectangle2D dest) |
The methods and fields of RectangularShape are inherited.
Rectangle2DDouble#
class · extends Rectangle2D · java.awt.geom.Rectangle2D$Double
Implements: Serializable
Constructors
new Rectangle2DDouble() |
new Rectangle2DDouble(double x, double y, double w, double h) |
Ring: new Rectangle2DDouble(args) uses the constructor with the fewest parameters (at least one); new Rectangle2DDouble makes the object with the constructor without parameters; the others: (new Rectangle2DDouble).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of Rectangle2D are inherited.
Rectangle2DFloat#
class · extends Rectangle2D · java.awt.geom.Rectangle2D$Float
Implements: Serializable
Constructors
new Rectangle2DFloat() |
new Rectangle2DFloat(float x, float y, float w, float h) |
Ring: new Rectangle2DFloat(args) uses the constructor with the fewest parameters (at least one); new Rectangle2DFloat makes the object with the constructor without parameters; the others: (new Rectangle2DFloat).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of Rectangle2D are inherited.
RectangularShape#
abstract · extends Object · java.awt.geom.RectangularShape
Methods
| Method | Ring call | Java overloads |
|---|---|---|
clone | clone() | Object clone() |
contains | contains(r)contains([x,y])contains([ :x = v, :y = v ])contains([x,y,w,h])contains([ :x = v, :y = v, :w = v, :h = v ]) | boolean contains(Rectangle2D r)boolean contains(Point2D p)boolean contains(double x, double y)boolean contains(double x, double y, double w, double h) |
getBounds | getBounds() | Rectangle getBounds() |
getBounds2D | getBounds2D() | Rectangle2D getBounds2D() |
getCenterX | getCenterX() | double getCenterX() |
getCenterY | getCenterY() | double getCenterY() |
getFrame | getFrame() | Rectangle2D getFrame() |
getHeight | getHeight() | double getHeight() |
getMaxX | getMaxX() | double getMaxX() |
getMaxY | getMaxY() | double getMaxY() |
getMinX | getMinX() | double getMinX() |
getMinY | getMinY() | double getMinY() |
getPathIterator | getPathIterator(at)getPathIterator([at,flatness])getPathIterator([ :at = v, :flatness = v ]) | PathIterator getPathIterator(AffineTransform at)PathIterator getPathIterator(AffineTransform at, double flatness) |
getWidth | getWidth() | double getWidth() |
getX | getX() | double getX() |
getY | getY() | double getY() |
intersects | intersects(r)intersects([x,y,w,h])intersects([ :x = v, :y = v, :w = v, :h = v ]) | boolean intersects(Rectangle2D r)boolean intersects(double x, double y, double w, double h) |
isEmpty | isEmpty() | boolean isEmpty() |
setFrame | setFrame(r)setFrame([loc,size])setFrame([ :loc = v, :size = v ])setFrame([x,y,w,h])setFrame([ :x = v, :y = v, :w = v, :h = v ]) | void setFrame(Rectangle2D r)void setFrame(Point2D loc, Dimension2D size)void setFrame(double x, double y, double w, double h) |
setFrameFromCenter | setFrameFromCenter([center,corner])setFrameFromCenter([ :center = v, :corner = v ])setFrameFromCenter([centerX,centerY,cornerX,cornerY])setFrameFromCenter([ :centerX = v, :centerY = v, :cornerX = v, :cornerY = v ]) | void setFrameFromCenter(Point2D center, Point2D corner)void setFrameFromCenter(double centerX, double centerY, double cornerX, double cornerY) |
setFrameFromDiagonal | setFrameFromDiagonal([p1,p2])setFrameFromDiagonal([ :p1 = v, :p2 = v ])setFrameFromDiagonal([x1,y1,x2,y2])setFrameFromDiagonal([ :x1 = v, :y1 = v, :x2 = v, :y2 = v ]) | void setFrameFromDiagonal(Point2D p1, Point2D p2)void setFrameFromDiagonal(double x1, double y1, double x2, double y2) |
The methods and fields of Object are inherited.
RoundRectangle2D#
abstract · extends RectangularShape · java.awt.geom.RoundRectangle2D
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getArcHeight | getArcHeight() | double getArcHeight() |
getArcWidth | getArcWidth() | double getArcWidth() |
setRoundRect | setRoundRect(rr)setRoundRect([x,y,w,h,arcWidth,arcHeight])setRoundRect([ :x = v, :y = v, :w = v, :h = v, :arcWidth = v, :arcHeight = v ]) | void setRoundRect(RoundRectangle2D rr)void setRoundRect(double x, double y, double w, double h, double arcWidth, double arcHeight) |
The methods and fields of RectangularShape are inherited.
RoundRectangle2DDouble#
class · extends RoundRectangle2D · java.awt.geom.RoundRectangle2D$Double
Implements: Serializable
Constructors
new RoundRectangle2DDouble() |
new RoundRectangle2DDouble(double x, double y, double w, double h, double arcw, double arch) |
Ring: new RoundRectangle2DDouble(args) uses the constructor with the fewest parameters (at least one); new RoundRectangle2DDouble makes the object with the constructor without parameters; the others: (new RoundRectangle2DDouble).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of RoundRectangle2D are inherited.
RoundRectangle2DFloat#
class · extends RoundRectangle2D · java.awt.geom.RoundRectangle2D$Float
Implements: Serializable
Constructors
new RoundRectangle2DFloat() |
new RoundRectangle2DFloat(float x, float y, float w, float h, float arcw, float arch) |
Ring: new RoundRectangle2DFloat(args) uses the constructor with the fewest parameters (at least one); new RoundRectangle2DFloat makes the object with the constructor without parameters; the others: (new RoundRectangle2DFloat).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of RoundRectangle2D are inherited.