Package | Description |
---|---|
com.sun.javafx.font | |
com.sun.javafx.font.directwrite | |
com.sun.javafx.geom | |
com.sun.javafx.geom.transform | |
com.sun.javafx.scene.text | |
com.sun.javafx.sg.prism | |
com.sun.javafx.text | |
com.sun.javafx.tk | |
com.sun.javafx.tk.quantum | |
com.sun.prism | |
com.sun.prism.impl | |
com.sun.prism.impl.ps | |
com.sun.prism.impl.shape | |
com.sun.prism.j2d | |
com.sun.prism.shape | |
javafx.scene.shape |
Provides the set of 2D classes for defining and performing operations on
objects related to two-dimensional geometry.
|
javafx.scene.text |
Provides the set of classes for fonts and renderable Text Node.
|
Modifier and Type | Method and Description |
---|---|
Shape |
PrismFontStrike.getOutline(GlyphList gl,
BaseTransform transform) |
Shape |
FontStrike.getOutline(GlyphList gl,
BaseTransform transform) |
Shape |
CompositeStrike.getOutline(GlyphList gl,
BaseTransform transform) |
Shape |
Glyph.getShape() |
Modifier and Type | Method and Description |
---|---|
Shape |
DWGlyph.getShape() |
Modifier and Type | Class and Description |
---|---|
class |
Arc2D
|
class |
Area
An
Area object stores and manipulates a
resolution-independent description of an enclosed area of
2-dimensional space. |
class |
ConcentricShapePair
An implementation of
ShapePair that represents the space between
two concentric, non-intersecting Shapes. |
class |
CubicCurve2D
The
CubicCurve2D class defines a cubic parametric curve
segment in (x,y) coordinate space. |
class |
Ellipse2D
The
Ellipse2D class describes an ellipse that is defined
by a framing rectangle. |
class |
GeneralShapePair
A concrete implementation of
ShapePair for general shapes
and combination types. |
class |
Line2D
This
Line2D represents a line segment in (x,y)
coordinate space. |
class |
Path2D
The
Path2D class provides a simple, yet flexible
shape which represents an arbitrary geometric path. |
class |
QuadCurve2D
The
QuadCurve2D class defines a quadratic parametric curve
segment in (x,y) coordinate space. |
class |
RectangularShape
RectangularShape is the base class for a number of
Shape objects whose geometry is defined by a rectangular frame. |
class |
RoundRectangle2D
The
RoundRectangle2D class defines a rectangle with
rounded corners defined by a location (x,y) , a
dimension (w x h) , and the width and height of an arc
with which to round the corners. |
class |
ShapePair
|
class |
TransformedShape
TransformedShape objects are transformed "views" onto existing
Shape objects. |
Modifier and Type | Field and Description |
---|---|
protected Shape |
TransformedShape.delegate |
Modifier and Type | Method and Description |
---|---|
Shape |
TransformedShape.copy() |
abstract Shape |
Shape.copy()
Returns a new copy of this
Shape instance. |
Shape |
GeneralShapePair.copy() |
Shape |
ConcentricShapePair.copy() |
Shape |
Path2D.createTransformedShape(BaseTransform tx)
Returns a new
Shape representing a transformed version
of this Path2D . |
Shape |
TransformedShape.getDelegateNoClone() |
abstract Shape |
ShapePair.getInnerShape()
Returns the inner
Shape . |
Shape |
GeneralShapePair.getInnerShape() |
Shape |
ConcentricShapePair.getInnerShape() |
abstract Shape |
ShapePair.getOuterShape()
Returns the outer
Shape . |
Shape |
GeneralShapePair.getOuterShape() |
Shape |
ConcentricShapePair.getOuterShape() |
Modifier and Type | Method and Description |
---|---|
static void |
Shape.accumulate(float[] bbox,
Shape s,
BaseTransform tx) |
void |
Path2D.append(Shape s,
boolean connect)
Appends the geometry of the specified
Shape object to the
path, possibly connecting the new geometry to the existing path
segments with a line segment. |
static TransformedShape |
TransformedShape.transformedShape(Shape original,
BaseTransform tx)
Returns a
Shape object backed by the specified original
but with the indicated transform applied to all of its coordinates. |
static TransformedShape |
TransformedShape.translatedShape(Shape original,
double tx,
double ty)
Returns a
Shape object backed by the specified original
but with the indicated translation applied to all of its coordinates. |
Constructor and Description |
---|
Area(Shape s)
The
Area class creates an area geometry from the
specified Shape object. |
ConcentricShapePair(Shape outer,
Shape inner) |
GeneralShapePair(Shape outer,
Shape inner,
int combinationType) |
Path2D(Shape s)
Constructs a new single precision
Path2D object
from an arbitrary Shape object. |
Path2D(Shape s,
BaseTransform tx)
Constructs a new single precision
Path2D object
from an arbitrary Shape object, transformed by an
BaseTransform object. |
TransformedShape(Shape delegate) |
Modifier and Type | Method and Description |
---|---|
Shape |
Translate2D.createTransformedShape(Shape s) |
Shape |
Identity.createTransformedShape(Shape s) |
abstract Shape |
BaseTransform.createTransformedShape(Shape s) |
Shape |
AffineBase.createTransformedShape(Shape s)
Returns a new
Shape object defined by the geometry of the
specified Shape after it has been transformed by
this transform. |
Modifier and Type | Method and Description |
---|---|
Shape |
Translate2D.createTransformedShape(Shape s) |
Shape |
Identity.createTransformedShape(Shape s) |
abstract Shape |
BaseTransform.createTransformedShape(Shape s) |
Shape |
AffineBase.createTransformedShape(Shape s)
Returns a new
Shape object defined by the geometry of the
specified Shape after it has been transformed by
this transform. |
Modifier and Type | Method and Description |
---|---|
Shape |
TextLayout.getShape(int type,
TextSpan filter)
Returns the shape of the entire text layout relative to the baseline
of the first line.
|
Modifier and Type | Method and Description |
---|---|
Shape |
NGText.getShape() |
abstract Shape |
NGShape.getShape() |
Shape |
NGSVGPath.getShape() |
Shape |
NGRectangle.getShape() |
Shape |
NGQuadCurve.getShape() |
Shape |
NGPolyline.getShape() |
Shape |
NGPolygon.getShape() |
Shape |
NGPath.getShape() |
Shape |
NGLine.getShape() |
Shape |
NGEllipse.getShape() |
Shape |
NGCubicCurve.getShape() |
Shape |
NGCircle.getShape() |
Shape |
NGArc.getShape() |
protected Shape |
NGShape.getStrokeShape() |
Modifier and Type | Method and Description |
---|---|
Shape |
PrismTextLayout.getShape(int type,
TextSpan filter) |
Modifier and Type | Method and Description |
---|---|
abstract Shape |
Toolkit.createStrokedShape(Shape shape,
StrokeType type,
double strokewidth,
StrokeLineCap cap,
StrokeLineJoin join,
float miterLimit,
float[] dashArray,
float dashOffset) |
Shape |
DummyToolkit.createStrokedShape(Shape shape,
StrokeType pgtype,
double strokewidth,
StrokeLineCap pgcap,
StrokeLineJoin pgjoin,
float miterLimit,
float[] dashArray,
float dashOffset) |
Modifier and Type | Method and Description |
---|---|
abstract void |
Toolkit.accumulateStrokeBounds(Shape shape,
float[] bbox,
StrokeType type,
double strokewidth,
StrokeLineCap cap,
StrokeLineJoin join,
float miterLimit,
BaseTransform tx) |
void |
DummyToolkit.accumulateStrokeBounds(Shape shape,
float[] bbox,
StrokeType type,
double strokewidth,
StrokeLineCap cap,
StrokeLineJoin join,
float miterLimit,
BaseTransform tx) |
abstract Shape |
Toolkit.createStrokedShape(Shape shape,
StrokeType type,
double strokewidth,
StrokeLineCap cap,
StrokeLineJoin join,
float miterLimit,
float[] dashArray,
float dashOffset) |
Shape |
DummyToolkit.createStrokedShape(Shape shape,
StrokeType pgtype,
double strokewidth,
StrokeLineCap pgcap,
StrokeLineJoin pgjoin,
float miterLimit,
float[] dashArray,
float dashOffset) |
abstract boolean |
Toolkit.strokeContains(Shape shape,
double x,
double y,
StrokeType type,
double strokewidth,
StrokeLineCap cap,
StrokeLineJoin join,
float miterLimit) |
boolean |
DummyToolkit.strokeContains(Shape shape,
double x,
double y,
StrokeType type,
double strokewidth,
StrokeLineCap cap,
StrokeLineJoin join,
float miterLimit) |
Modifier and Type | Method and Description |
---|---|
Shape |
QuantumToolkit.createStrokedShape(Shape shape,
StrokeType pgtype,
double strokewidth,
StrokeLineCap pgcap,
StrokeLineJoin pgjoin,
float miterLimit,
float[] dashArray,
float dashOffset) |
Modifier and Type | Method and Description |
---|---|
void |
QuantumToolkit.accumulateStrokeBounds(Shape shape,
float[] bbox,
StrokeType pgtype,
double strokewidth,
StrokeLineCap pgcap,
StrokeLineJoin pgjoin,
float miterLimit,
BaseTransform tx) |
Shape |
QuantumToolkit.createStrokedShape(Shape shape,
StrokeType pgtype,
double strokewidth,
StrokeLineCap pgcap,
StrokeLineJoin pgjoin,
float miterLimit,
float[] dashArray,
float dashOffset) |
boolean |
QuantumToolkit.strokeContains(Shape shape,
double x,
double y,
StrokeType pgtype,
double strokewidth,
StrokeLineCap pgcap,
StrokeLineJoin pgjoin,
float miterLimit) |
Modifier and Type | Method and Description |
---|---|
Shape |
BasicStroke.createCenteredStrokedShape(Shape s) |
Shape |
BasicStroke.createStrokedShape(Shape s) |
protected Shape |
BasicStroke.makeIntersectedShape(Shape outer,
Shape inner) |
protected Shape |
BasicStroke.makeSubtractedShape(Shape outer,
Shape inner) |
Modifier and Type | Method and Description |
---|---|
void |
BasicStroke.accumulateShapeBounds(float[] bbox,
Shape shape,
BaseTransform tx) |
Shape |
BasicStroke.createCenteredStrokedShape(Shape s) |
Shape |
BasicStroke.createStrokedShape(Shape s) |
void |
Graphics.draw(Shape shape) |
void |
Graphics.fill(Shape shape) |
protected Shape |
BasicStroke.makeIntersectedShape(Shape outer,
Shape inner) |
protected Shape |
BasicStroke.makeSubtractedShape(Shape outer,
Shape inner) |
Modifier and Type | Method and Description |
---|---|
void |
BaseGraphics.draw(Shape shape) |
void |
BaseGraphics.fill(Shape shape) |
protected abstract void |
BaseGraphics.renderShape(Shape shape,
BasicStroke stroke,
float bx,
float by,
float bw,
float bh) |
Modifier and Type | Method and Description |
---|---|
void |
CachingShapeRep.draw(Graphics g,
Shape shape,
BaseBounds bounds) |
void |
CachingShapeRep.fill(Graphics g,
Shape shape,
BaseBounds bounds) |
protected void |
BaseShaderGraphics.renderShape(Shape shape,
BasicStroke stroke,
float bx,
float by,
float bw,
float bh) |
Modifier and Type | Method and Description |
---|---|
void |
BasicShapeRep.draw(Graphics g,
Shape shape,
BaseBounds bounds) |
void |
BasicRoundRectRep.draw(Graphics g,
Shape shape,
BaseBounds bounds) |
void |
BasicEllipseRep.draw(Graphics g,
Shape shape,
BaseBounds bounds) |
void |
BasicShapeRep.fill(Graphics g,
Shape shape,
BaseBounds bounds) |
void |
BasicRoundRectRep.fill(Graphics g,
Shape shape,
BaseBounds bounds) |
void |
BasicEllipseRep.fill(Graphics g,
Shape shape,
BaseBounds bounds) |
MaskData |
ShapeRasterizer.getMaskData(Shape shape,
BasicStroke stroke,
RectBounds xformBounds,
BaseTransform xform,
boolean close,
boolean antialiasedShape) |
MaskData |
OpenPiscesRasterizer.getMaskData(Shape shape,
BasicStroke stroke,
RectBounds xformBounds,
BaseTransform xform,
boolean close,
boolean antialiasedShape) |
MaskData |
NativePiscesRasterizer.getMaskData(Shape shape,
BasicStroke stroke,
RectBounds xformBounds,
BaseTransform xform,
boolean close,
boolean antialiasedShape) |
static MaskData |
ShapeUtil.rasterizeShape(Shape shape,
BasicStroke stroke,
RectBounds xformBounds,
BaseTransform xform,
boolean close,
boolean antialiasedShape) |
static Renderer |
OpenPiscesPrismUtils.setupRenderer(Shape shape,
BasicStroke stroke,
BaseTransform xform,
Rectangle rclip,
boolean antialiasedShape) |
Modifier and Type | Method and Description |
---|---|
void |
J2DPrismGraphics.draw(Shape shape) |
void |
J2DPrismGraphics.fill(Shape shape) |
Modifier and Type | Method and Description |
---|---|
void |
ShapeRep.draw(Graphics g,
Shape shape,
BaseBounds bounds) |
void |
ShapeRep.fill(Graphics g,
Shape shape,
BaseBounds bounds) |
Modifier and Type | Method and Description |
---|---|
abstract Shape |
Shape.impl_configShape()
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
Modifier and Type | Method and Description |
---|---|
Shape |
Text.impl_configShape()
Deprecated.
This is an internal API that is not intended
for use and will be removed in the next version
|
Copyright © 2020. All rights reserved.