Class XYDrawableAnnotation

    • Constructor Detail

      • XYDrawableAnnotation

        public XYDrawableAnnotation​(double x,
                                    double y,
                                    double width,
                                    double height,
                                    org.jfree.ui.Drawable drawable)
        Creates a new annotation to be displayed within the given area.
        Parameters:
        x - the x-coordinate for the area.
        y - the y-coordinate for the area.
        width - the width of the area.
        height - the height of the area.
        drawable - the drawable object (null not permitted).
      • XYDrawableAnnotation

        public XYDrawableAnnotation​(double x,
                                    double y,
                                    double displayWidth,
                                    double displayHeight,
                                    double drawScaleFactor,
                                    org.jfree.ui.Drawable drawable)
        Creates a new annotation to be displayed within the given area. If you specify a drawScaleFactor of 2.0, the drawable will be drawn at twice the requested display size then scaled down to fit the space.
        Parameters:
        x - the x-coordinate for the area.
        y - the y-coordinate for the area.
        displayWidth - the width of the area.
        displayHeight - the height of the area.
        drawScaleFactor - the scaling factor for drawing.
        drawable - the drawable object (null not permitted).
        Since:
        1.0.11