Top Fields Constructors Methods
com.sun.javafx.sg.prism

public Class NGEllipse

extends NGShape
Class Inheritance
Imports
com.sun.javafx.geom.Ellipse2D, .RectBounds, .Shape, com.sun.prism.Graphics, com.sun.prism.shape.ShapeRep

Field Summary

Modifier and TypeField and Description
private float
private float
private Ellipse2D
Inherited from com.sun.javafx.sg.prism.NGShape:
drawPaintdrawStrokefillPaintmodeshapeRepTHRESHOLD

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected RectBounds
computeOpaqueRegion(RectBounds opaqueRegion)

Overrides com.sun.javafx.sg.prism.NGNode.computeOpaqueRegion.

Computes and returns the opaque region for this node.

protected ShapeRep
public final Shape
protected boolean
hasOpaqueRegion()

Overrides com.sun.javafx.sg.prism.NGShape.hasOpaqueRegion.

Called only on NGNode subclasses which override supportsOpaqueRegions() to return true, this method will return whether or not this NGNode is in a state where it has an opaque region to actually return.

protected boolean
supportsOpaqueRegions()

Overrides com.sun.javafx.sg.prism.NGNode.supportsOpaqueRegions.

Gets whether this NGNode supports opaque regions at all.

public void
updateEllipse(float cx, float cy, float rx, float ry)

Inherited from com.sun.javafx.sg.prism.NGShape:
geometryChangedgetFillPaintgetModegetStrokeShapehasOverlappingContentsisSmoothrenderContentrenderContent2DsetDrawPaintsetDrawStrokesetDrawStrokesetFillPaintsetModesetSmoothvisualsChanged

Field Detail

cxback to summary
private float cx
cyback to summary
private float cy
ellipseback to summary
private Ellipse2D ellipse

Constructor Detail

NGEllipseback to summary
public NGEllipse()

Method Detail

computeOpaqueRegionback to summary
protected RectBounds computeOpaqueRegion(RectBounds opaqueRegion)

Overrides com.sun.javafx.sg.prism.NGNode.computeOpaqueRegion.

Doc from com.sun.javafx.sg.prism.NGNode.computeOpaqueRegion.

Computes and returns the opaque region for this node. This method

Annotations
@Override
createShapeRepback to summary
protected ShapeRep createShapeRep(Graphics g)

Overrides com.sun.javafx.sg.prism.NGShape.createShapeRep.

Annotations
@Override
getShapeback to summary
public final Shape getShape()

Implements abstract com.sun.javafx.sg.prism.NGShape.getShape.

Annotations
@Override
hasOpaqueRegionback to summary
protected boolean hasOpaqueRegion()

Overrides com.sun.javafx.sg.prism.NGShape.hasOpaqueRegion.

Doc from com.sun.javafx.sg.prism.NGNode.hasOpaqueRegion.

Called only on NGNode subclasses which override supportsOpaqueRegions() to return true, this method will return whether or not this NGNode is in a state where it has an opaque region to actually return. If this method returns true, a subsequent call to computeOpaqueRegion(com.sun.javafx.geom.RectBounds) must return a non-null result. Any state used in the computation of this method, when it changes, must result in a call to invalidateOpaqueRegion().

Annotations
@Override
supportsOpaqueRegionsback to summary
protected boolean supportsOpaqueRegions()

Overrides com.sun.javafx.sg.prism.NGNode.supportsOpaqueRegions.

Doc from com.sun.javafx.sg.prism.NGNode.supportsOpaqueRegions.

Gets whether this NGNode supports opaque regions at all. Most node types do not, but some do. If an NGNode subclass is written to support opaque regions, it must override this method to return true. The subclass must then also override the computeDirtyRegion method to return the dirty region, or null if the node in its current state doesn't have one. This method is intended to be immutable.

Annotations
@Override
updateEllipseback to summary
public void updateEllipse(float cx, float cy, float rx, float ry)