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

public Class NGLine

extends NGShape
Class Inheritance
Imports
com.sun.javafx.geom.Line2D, .Shape, com.sun.prism.BasicStroke, .Graphics

Field Summary

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

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public final Shape
protected void
renderContent2D(Graphics
The graphics object to render with
g
,
boolean printing)

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

Renders the content as though it is 2D in all cases.

public void
updateLine(float x1, float y1, float x2, float y2)

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

Field Detail

lineback to summary
private Line2D line

Constructor Detail

NGLineback to summary
public NGLine()

Method Detail

getShapeback to summary
public final Shape getShape()

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

Annotations
@Override
renderContent2Dback to summary
protected void renderContent2D(Graphics g, boolean printing)

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

Doc from com.sun.javafx.sg.prism.NGShape.renderContent2D.

Renders the content as though it is 2D in all cases. In the case that a 3D transform is in use at the time an NGShape is rendered, it will render as 2D into a texture and then transform in 3D that texture.

Parameters
g:Graphics

The graphics object to render with

Annotations
@Override
updateLineback to summary
public void updateLine(float x1, float y1, float x2, float y2)