Package | Description |
---|---|
com.sun.javafx.font | |
com.sun.javafx.font.coretext | |
com.sun.javafx.font.directwrite | |
com.sun.javafx.font.freetype | |
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.javafx.webkit.prism | |
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 | |
com.sun.prism.sw | |
javafx.scene.layout |
Provides classes to support user interface layout.
|
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 |
CompositeStrike.getOutline(GlyphList gl,
BaseTransform transform) |
Shape |
PrismFontStrike.getOutline(GlyphList gl,
BaseTransform transform) |
Shape |
FontStrike.getOutline(GlyphList gl,
BaseTransform transform) |
Shape |
Glyph.getShape() |
Modifier and Type | Method and Description |
---|---|
Shape |
CTGlyph.getShape() |
Modifier and Type | Method and Description |
---|---|
Shape |
DWGlyph.getShape() |
Modifier and Type | Method and Description |
---|---|
Shape |
FTGlyph.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. |
(package private) static class |
TransformedShape.General |
(package private) static class |
TransformedShape.Translate |
Modifier and Type | Field and Description |
---|---|
private Shape |
TransformedShape.cachedTransformedShape |
protected Shape |
TransformedShape.delegate |
private Shape |
GeneralShapePair.inner |
private Shape |
ConcentricShapePair.inner |
private Shape |
GeneralShapePair.outer |
private Shape |
ConcentricShapePair.outer |
Modifier and Type | Method and Description |
---|---|
abstract Shape |
Shape.copy()
Returns a new copy of this
Shape instance. |
Shape |
TransformedShape.copy() |
Shape |
GeneralShapePair.copy() |
Shape |
ConcentricShapePair.copy() |
Shape |
Path2D.createTransformedShape(BaseTransform tx)
Returns a new
Shape representing a transformed version
of this Path2D . |
private Shape |
TransformedShape.getCachedTransformedShape() |
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) |
General(Shape delegate,
BaseTransform transform) |
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) |
Translate(Shape delegate,
float tx,
float ty) |
Modifier and Type | Method and Description |
---|---|
Shape |
Identity.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. |
Shape |
Translate2D.createTransformedShape(Shape s) |
abstract Shape |
BaseTransform.createTransformedShape(Shape s) |
Modifier and Type | Method and Description |
---|---|
Shape |
Identity.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. |
Shape |
Translate2D.createTransformedShape(Shape s) |
abstract Shape |
BaseTransform.createTransformedShape(Shape s) |
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 | Class and Description |
---|---|
private static class |
ShapeEvaluator.MorphedShape |
Modifier and Type | Field and Description |
---|---|
private Shape |
NGSVGPath.path |
private Shape |
ShapeEvaluator.savedv0 |
private Shape |
ShapeEvaluator.savedv1 |
(package private) Shape |
RegionImageCache.CachedImage.shape |
private Shape |
NGRegion.shape
The shape of the region.
|
(package private) Shape |
NGCanvas.untransformedPath |
Modifier and Type | Method and Description |
---|---|
Shape |
ShapeEvaluator.MorphedShape.copy() |
Shape |
ShapeEvaluator.evaluate(Shape v0,
Shape v1,
float fraction) |
Shape |
NGCircle.getShape() |
Shape |
NGLine.getShape() |
Shape |
NGSVGPath.getShape() |
Shape |
NGArc.getShape() |
Shape |
NGText.getShape() |
Shape |
NGPolyline.getShape() |
Shape |
NGPolygon.getShape() |
Shape |
NGEllipse.getShape() |
Shape |
NGCubicCurve.getShape() |
Shape |
NGRectangle.getShape() |
Shape |
NGQuadCurve.getShape() |
abstract Shape |
NGShape.getShape() |
Shape |
NGPath.getShape() |
private Shape |
ShapeEvaluator.getShape(float fraction) |
protected Shape |
NGShape.getStrokeShape() |
private Shape |
NGRegion.resizeShape(float topOffset,
float rightOffset,
float bottomOffset,
float leftOffset)
Create a bigger or smaller version of shape.
|
Modifier and Type | Method and Description |
---|---|
boolean |
RegionImageCache.CachedImage.equals(int width,
int height,
Background background,
Shape shape) |
Shape |
ShapeEvaluator.evaluate(Shape v0,
Shape v1,
float fraction) |
(package private) boolean |
RegionImageCache.getImageLocation(java.lang.Integer key,
Rectangle rect,
Background background,
Shape shape,
Graphics g)
Search the cache for a background image representing the arguments.
|
private void |
ShapeEvaluator.recalculate(Shape v0,
Shape v1) |
private void |
NGCanvas.renderClip(Shape clippath) |
private static void |
NGCanvas.shapebounds(Shape shape,
RectBounds bounds,
BaseTransform transform) |
private static void |
NGCanvas.strokebounds(BasicStroke stroke,
Shape shape,
RectBounds bounds,
BaseTransform transform) |
Constructor and Description |
---|
CachedImage(Rectangle rect,
Background background,
Shape shape) |
Geometry(Shape s) |
Modifier and Type | Field and Description |
---|---|
private Shape |
PrismTextLayout.shape |
Modifier and Type | Method and Description |
---|---|
Shape |
PrismTextLayout.getShape(int type,
TextSpan filter) |
Modifier and Type | Method and Description |
---|---|
Shape |
DummyToolkit.createStrokedShape(Shape shape,
StrokeType pgtype,
double strokewidth,
StrokeLineCap pgcap,
StrokeLineJoin pgjoin,
float miterLimit,
float[] dashArray,
float dashOffset) |
abstract Shape |
Toolkit.createStrokedShape(Shape shape,
StrokeType type,
double strokewidth,
StrokeLineCap cap,
StrokeLineJoin join,
float miterLimit,
float[] dashArray,
float dashOffset) |
Modifier and Type | Method and Description |
---|---|
void |
DummyToolkit.accumulateStrokeBounds(Shape shape,
float[] bbox,
StrokeType type,
double strokewidth,
StrokeLineCap cap,
StrokeLineJoin join,
float miterLimit,
BaseTransform tx) |
abstract void |
Toolkit.accumulateStrokeBounds(Shape shape,
float[] bbox,
StrokeType type,
double strokewidth,
StrokeLineCap cap,
StrokeLineJoin join,
float miterLimit,
BaseTransform tx) |
Shape |
DummyToolkit.createStrokedShape(Shape shape,
StrokeType pgtype,
double strokewidth,
StrokeLineCap pgcap,
StrokeLineJoin pgjoin,
float miterLimit,
float[] dashArray,
float dashOffset) |
abstract Shape |
Toolkit.createStrokedShape(Shape shape,
StrokeType type,
double strokewidth,
StrokeLineCap cap,
StrokeLineJoin join,
float miterLimit,
float[] dashArray,
float dashOffset) |
boolean |
DummyToolkit.strokeContains(Shape shape,
double x,
double y,
StrokeType type,
double strokewidth,
StrokeLineCap cap,
StrokeLineJoin join,
float miterLimit) |
abstract boolean |
Toolkit.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 |
---|---|
protected boolean |
WCGraphicsPrismContext.shouldRenderShape(Shape shape,
DropShadow shadow,
BasicStroke stroke) |
protected boolean |
WCBufferedContext.shouldRenderShape(Shape shape,
DropShadow shadow,
BasicStroke stroke) |
Modifier and Type | Class and Description |
---|---|
(package private) static class |
BasicStroke.CAGShapePair |
Modifier and Type | Field and Description |
---|---|
private Shape |
BasicStroke.CAGShapePair.cagshape |
Modifier and Type | Method and Description |
---|---|
Shape |
BasicStroke.createCenteredStrokedShape(Shape s) |
Shape |
BasicStroke.createStrokedShape(Shape s) |
(package private) static Shape |
BasicStroke.makeBeveledRect(float rx,
float ry,
float rw,
float rh,
float d) |
protected Shape |
BasicStroke.makeIntersectedShape(Shape outer,
Shape inner) |
protected Shape |
BasicStroke.makeSubtractedShape(Shape outer,
Shape inner) |
(package private) Shape |
BasicStroke.strokeRoundRectangle(RoundRectangle2D rr) |
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) |
Constructor and Description |
---|
CAGShapePair(Shape outer,
Shape inner,
int type) |
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 | Field and Description |
---|---|
(package private) Shape |
CachingShapeRepState.CacheEntry.shape |
Modifier and Type | Method and Description |
---|---|
void |
CachingShapeRep.draw(Graphics g,
Shape shape,
BaseBounds bounds) |
(package private) void |
CachingShapeRepState.drawNoCache(Graphics g,
Shape shape) |
(package private) void |
CachingRoundRectRepState.drawNoCache(Graphics g,
Shape shape) |
(package private) void |
CachingEllipseRepState.drawNoCache(Graphics g,
Shape shape) |
(package private) boolean |
CachingShapeRepState.MaskCache.entryMatches(CachingShapeRepState.CacheEntry entry,
Shape shape,
BasicStroke stroke,
BaseTransform xform,
boolean antialiasedShape) |
void |
CachingShapeRep.fill(Graphics g,
Shape shape,
BaseBounds bounds) |
(package private) void |
CachingShapeRepState.fillNoCache(Graphics g,
Shape shape) |
(package private) void |
CachingRoundRectRepState.fillNoCache(Graphics g,
Shape shape) |
(package private) void |
CachingEllipseRepState.fillNoCache(Graphics g,
Shape shape) |
(package private) void |
CachingShapeRepState.MaskCache.get(BaseShaderContext context,
CachingShapeRepState.MaskTexData texData,
Shape shape,
BasicStroke stroke,
BaseTransform xform,
RectBounds xformBounds,
boolean xformBoundsIsACopy,
boolean antialiasedShape) |
(package private) void |
CachingShapeRepState.render(Graphics g,
Shape shape,
RectBounds shapeBounds,
BasicStroke stroke) |
protected void |
BaseShaderGraphics.renderShape(Shape shape,
BasicStroke stroke,
float bx,
float by,
float bw,
float bh) |
private void |
BaseShaderGraphics.renderWithComplexPaint(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 |
BasicEllipseRep.draw(Graphics g,
Shape shape,
BaseBounds bounds) |
void |
BasicRoundRectRep.draw(Graphics g,
Shape shape,
BaseBounds bounds) |
void |
BasicShapeRep.fill(Graphics g,
Shape shape,
BaseBounds bounds) |
void |
BasicEllipseRep.fill(Graphics g,
Shape shape,
BaseBounds bounds) |
void |
BasicRoundRectRep.fill(Graphics g,
Shape shape,
BaseBounds bounds) |
MaskData |
NativePiscesRasterizer.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 |
ShapeRasterizer.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 | Field and Description |
---|---|
private Shape |
J2DPrismGraphics.AdaptorShape.prshape |
Modifier and Type | Method and Description |
---|---|
void |
J2DPrismGraphics.draw(Shape shape) |
void |
J2DPrismGraphics.fill(Shape shape) |
void |
J2DPrismGraphics.AdaptorShape.setShape(Shape prshape) |
private static java.awt.Shape |
J2DPrismGraphics.tmpShape(Shape s) |
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 |
---|---|
private void |
SWPaint.computePaintBounds(Paint p,
Shape shape,
RectBounds nodeBounds,
float localX,
float localY,
float localWidth,
float localHeight) |
void |
SWGraphics.draw(Shape shape) |
void |
SWGraphics.fill(Shape shape) |
private void |
SWGraphics.paintShape(Shape shape,
BasicStroke st,
BaseTransform tr) |
private void |
SWGraphics.paintShapePaintAlreadySet(Shape shape,
BasicStroke st,
BaseTransform tr) |
(package private) void |
SWContext.renderShape(PiscesRenderer pr,
Shape shape,
BasicStroke stroke,
BaseTransform tr,
Rectangle clip,
boolean antialiasedShape) |
void |
SWContext.ShapeRenderer.renderShape(PiscesRenderer pr,
Shape shape,
BasicStroke stroke,
BaseTransform tr,
Rectangle clip,
boolean antialiasedShape) |
void |
SWContext.NativeShapeRenderer.renderShape(PiscesRenderer pr,
Shape shape,
BasicStroke stroke,
BaseTransform tr,
Rectangle clip,
boolean antialiasedShape) |
void |
SWContext.JavaShapeRenderer.renderShape(PiscesRenderer pr,
Shape shape,
BasicStroke stroke,
BaseTransform tr,
Rectangle clip,
boolean antialiasedShape) |
(package private) void |
SWPaint.setPaintFromShape(Paint p,
BaseTransform tx,
Shape shape,
RectBounds nodeBounds,
float localX,
float localY,
float localWidth,
float localHeight) |
Modifier and Type | Method and Description |
---|---|
private boolean |
Region.shapeContains(Shape shape,
double x,
double y,
double topOffset,
double rightOffset,
double bottomOffset,
double leftOffset)
Transform x, y in local Region coordinates to local coordinates of scaled/centered shape and
check if the shape contains the coordinates.
|
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 |
---|---|
(package private) BaseBounds |
Shape.computeShapeBounds(BaseBounds bounds,
BaseTransform tx,
Shape s) |
(package private) boolean |
Shape.computeShapeContains(double localX,
double localY,
Shape s) |
private static Path |
Shape.createFromGeomShape(Shape geomShape) |
private static Area |
Shape.createTransformedArea(Shape geomShape,
BaseTransform transform) |
Modifier and Type | Method and Description |
---|---|
private Shape |
Text.getShape() |
Shape |
Text.impl_configShape()
Deprecated.
This is an internal API that is not intended
for use and will be removed in the next version
|