Sg2.0
CompoundPath
Packages

CompoundPath extends Art

A compound path contains two or more paths, holes are drawn where the paths overlap. All the paths in a compound path take on the style of the backmost path.

Constructors

Parameters:
children: ExtendedList
Parameters:
children: Array of Art
Parameters:
shape: Shape

Functions

Appends the segments of a PathIterator to this CompoundPath. Optionally, the initial java.awt.geom.PathIterator.SEG_MOVETOsegment of the appended path is changed into a java.awt.geom.PathIterator.SEG_LINETOsegment.
Parameters:
iter: PathIterator - the PathIterator specifying which segments shall be appended.
connect: Boolean - true for substituting the initial java.awt.geom.PathIterator.SEG_MOVETOsegment by a java.awt.geom.PathIterator.SEG_LINETO, or false for not performing any substitution. If this GeneralPath is currently empty, connect is assumed to be false, thus leaving the initial java.awt.geom.PathIterator.SEG_MOVETOunchanged.
Appends the segments of a Shape to the path. If connect is true, the new path segments are connected to the existing one with a line. The winding rule of the Shape is ignored.
Parameters:
shape: Shape
connect: Boolean
Parameters:
centerX: Number
centerY: Number
endX: Number
endY: Number
ccw: Number
Parameters:
center: Point
endPoint: Point
ccw: Number
Parameters:
c1x: Number
c1y: Number
c2x: Number
c2y: Number
x: Number
y: Number
Parameters:
c1: Point
c2: Point
pt: Point
Parameters:
x: Number
y: Number
Parameters:
pt: Point
Parameters:
x: Number
y: Number
Parameters:
pt: Point
Parameters:
cx: Number
cy: Number
x: Number
y: Number
Parameters:
c: Point
pt: Point
Returns:
GeneralPath

Inheritance