public class XYImageAnnotation extends Object implements XYAnnotation
Constructor and Description |
---|
XYImageAnnotation(javafx.scene.image.Image image,
double x,
double y)
Constructs an image annotation anchored at the image's top left corner.
|
XYImageAnnotation(javafx.scene.image.Image image,
double x,
double y,
javafx.geometry.Pos anchor)
Constructs an image annotation anchored at the specified anchor point.
|
Modifier and Type | Method and Description |
---|---|
javafx.scene.Node |
getNode()
Gets the Node representation.
|
void |
layoutAnnotation(javafx.scene.chart.ValueAxis xAxis,
javafx.scene.chart.ValueAxis yAxis)
Performs a layout of the image.
|
protected void |
layoutImage() |
public XYImageAnnotation(javafx.scene.image.Image image, double x, double y)
image
- x
- y
- public XYImageAnnotation(javafx.scene.image.Image image, double x, double y, javafx.geometry.Pos anchor)
image
- x
- y
- anchor
- public javafx.scene.Node getNode()
getNode
in interface XYAnnotation
public void layoutAnnotation(javafx.scene.chart.ValueAxis xAxis, javafx.scene.chart.ValueAxis yAxis)
layoutAnnotation
in interface XYAnnotation
xAxis
- yAxis
- protected void layoutImage()
Copyright © 2016 Emxsys. All rights reserved.