Uses of Class
eu.webtoolkit.jwt.WRectF
Package | Description |
---|---|
eu.webtoolkit.jwt | |
eu.webtoolkit.jwt.chart |
-
Uses of WRectF in eu.webtoolkit.jwt
Methods in eu.webtoolkit.jwt that return WRectF Modifier and Type Method Description WRectF
WRectF. clone()
WRectF
WMeasurePaintDevice. getBoundingRect()
Returns the bounding rectangle of everything painted so far.WRectF
WPainterPath. getControlPointRect()
Returns the bounding box of the control points.WRectF
WPainterPath. getControlPointRect(WTransform transform)
Returns the bounding box of the control points.WRectF
WRectF. getNormalized()
Returns a normalized rectangle.WRectF
WPainter. getViewPort()
Returns the viewport.WRectF
WPainter. getWindow()
Returns the current window.WRectF
WTransform. map(WRectF rect)
Applies the transformation to a rectangle.WRectF
WRectF. united(WRectF other)
Makes the union of to rectangles.Methods in eu.webtoolkit.jwt that return types with arguments of type WRectF Modifier and Type Method Description protected WJavaScriptHandle<WRectF>
WPaintedWidget. createJSRect()
Create aWRectF
that is accessible from JavaScript, associated with this WPaintedWidget.Methods in eu.webtoolkit.jwt with parameters of type WRectF Modifier and Type Method Description void
WPainterPath. addEllipse(WRectF rect)
Draws an ellipse.void
WPainterPath. addRect(WRectF rectangle)
Draws a rectangle.void
WCanvasPaintDevice. drawArc(WRectF rect, double startAngle, double spanAngle)
void
WMeasurePaintDevice. drawArc(WRectF rect, double startAngle, double spanAngle)
void
WPaintDevice. drawArc(WRectF rect, double startAngle, double spanAngle)
Draws an arc.void
WPainter. drawArc(WRectF rectangle, int startAngle, int spanAngle)
Draws an arc.void
WPdfImage. drawArc(WRectF rect, double startAngle, double spanAngle)
void
WRasterPaintDevice. drawArc(WRectF rect, double startAngle, double spanAngle)
void
WSvgImage. drawArc(WRectF rect, double startAngle, double spanAngle)
void
WVmlImage. drawArc(WRectF rect, double startAngle, double spanAngle)
void
WPainter. drawChord(WRectF rectangle, int startAngle, int spanAngle)
Draws a chord.void
WPainter. drawEllipse(WRectF rectangle)
Draws an ellipse.void
WCanvasPaintDevice. drawImage(WRectF rect, java.lang.String imageUri, int imgWidth, int imgHeight, WRectF sourceRect)
void
WMeasurePaintDevice. drawImage(WRectF rect, java.lang.String imageUri, int imgWidth, int imgHeight, WRectF sourceRect)
void
WPaintDevice. drawImage(WRectF rect, java.lang.String imageUri, int imgWidth, int imgHeight, WRectF sourceRect)
Draws an image.void
WPainter. drawImage(WPointF point, WPainter.Image image, WRectF sourceRect)
Draws part of an image.void
WPainter. drawImage(WRectF rect, WPainter.Image image)
Draws an image inside a rectangle.void
WPainter. drawImage(WRectF rect, WPainter.Image image, WRectF sourceRect)
Draws part of an image inside a rectangle.void
WPdfImage. drawImage(WRectF rect, java.lang.String imgUrl, int imgWidth, int imgHeight, WRectF sourceRect)
void
WRasterPaintDevice. drawImage(WRectF rect, java.lang.String imageUri, int imgWidth, int imgHeight, WRectF sourceRect)
void
WSvgImage. drawImage(WRectF rect, java.lang.String imgUri, int imgWidth, int imgHeight, WRectF srect)
void
WVmlImage. drawImage(WRectF rect, java.lang.String imageUri, int imgWidth, int imgHeight, WRectF sourceRect)
void
WPainter. drawPie(WRectF rectangle, int startAngle, int spanAngle)
Draws a pie.void
WCanvasPaintDevice. drawRect(WRectF rectangle)
void
WPainter. drawRect(WRectF rectangle)
Draws a rectangle.void
WPainter. drawRects(WRectF[] rectangles, int rectCount)
Draws a number of rectangles.void
WCanvasPaintDevice. drawText(WRectF rect, java.util.EnumSet<AlignmentFlag> flags, TextFlag textFlag, java.lang.CharSequence text, WPointF clipPoint)
void
WMeasurePaintDevice. drawText(WRectF rect, java.util.EnumSet<AlignmentFlag> flags, TextFlag textFlag, java.lang.CharSequence text, WPointF clipPoint)
void
WPaintDevice. drawText(WRectF rect, java.util.EnumSet<AlignmentFlag> alignmentFlags, TextFlag textFlag, java.lang.CharSequence text, WPointF clipPoint)
Draws text.void
WPainter. drawText(WRectF rectangle, java.util.EnumSet<AlignmentFlag> alignmentFlags, TextFlag textFlag, java.lang.CharSequence text)
Draws text.void
WPainter. drawText(WRectF rectangle, java.util.EnumSet<AlignmentFlag> alignmentFlags, TextFlag textFlag, java.lang.CharSequence text, WPointF clipPoint)
Draws text.void
WPainter. drawText(WRectF rectangle, java.util.EnumSet<AlignmentFlag> flags, java.lang.CharSequence text)
Draws text.void
WPdfImage. drawText(WRectF rect, java.util.EnumSet<AlignmentFlag> flags, TextFlag textFlag, java.lang.CharSequence text, WPointF clipPoint)
void
WRasterPaintDevice. drawText(WRectF rect, java.util.EnumSet<AlignmentFlag> flags, TextFlag textFlag, java.lang.CharSequence text, WPointF clipPoint)
void
WSvgImage. drawText(WRectF rect, java.util.EnumSet<AlignmentFlag> flags, TextFlag textFlag, java.lang.CharSequence text, WPointF clipPoint)
void
WVmlImage. drawText(WRectF rect, java.util.EnumSet<AlignmentFlag> flags, TextFlag textFlag, java.lang.CharSequence text, WPointF clipPoint)
void
WCanvasPaintDevice. drawTextOnPath(WRectF rect, java.util.EnumSet<AlignmentFlag> alignmentFlags, java.util.List<WString> text, WTransform transform, WPainterPath path, double angle, double lineHeight, boolean softClipping)
void
WPainter. drawTextOnPath(WRectF rect, java.util.EnumSet<AlignmentFlag> alignmentFlags, java.util.List<WString> text, WTransform transform, WPainterPath path, double angle, double lineHeight, boolean softClipping)
boolean
WRectF. equals(WRectF rhs)
Indicates whether some other object is "equal to" this one.void
WPainter. fillRect(WRectF rectangle, WBrush b)
Fills a rectangle.boolean
WRectF. intersects(WRectF other)
Tests if two rectangles intersect.WRectF
WTransform. map(WRectF rect)
Applies the transformation to a rectangle.void
WPainter. setViewPort(WRectF viewPort)
Sets the viewport.void
WPainter. setWindow(WRectF window)
Sets the window.WRectF
WRectF. united(WRectF other)
Makes the union of to rectangles.Method parameters in eu.webtoolkit.jwt with type arguments of type WRectF Modifier and Type Method Description void
WPainter. drawRects(java.util.List<WRectF> rectangles)
Draws a number of rectangles. -
Uses of WRectF in eu.webtoolkit.jwt.chart
Methods in eu.webtoolkit.jwt.chart that return WRectF Modifier and Type Method Description protected WRectF
WCartesianChart. chartSegmentArea(WAxis yAxis, int xSegment, int ySegment)
Returns the segment area for a combination of X and Y segments.protected WRectF
WCartesianChart. chartSegmentArea(WAxis xAxis, WAxis yAxis, int xSegment, int ySegment)
Returns the segment area for a combination of X and Y segments.protected WRectF
WCartesianChart. hv(WRectF r)
Conversion between chart and painter coordinates.Methods in eu.webtoolkit.jwt.chart with parameters of type WRectF Modifier and Type Method Description WContainerWidget
WPieChart. createLabelWidget(WWidget textWidget, WPainter painter, WRectF rect, AlignmentFlag alignmentFlag, AlignmentFlag... alignmentFlags)
createLabelWidget possition textWidget where the text would be rendered.WContainerWidget
WPieChart. createLabelWidget(WWidget textWidget, WPainter painter, WRectF rect, java.util.EnumSet<AlignmentFlag> alignmentFlags)
createLabelWidget possition textWidget where the text would be rendered.abstract void
WAbstractColorMap. createStrip(WPainter painter, WRectF area)
Paints the colormap as a colored strip.void
WStandardColorMap. createStrip(WPainter painter, WRectF area)
protected void
WPieChart. drawLabel(WPainter painter, WRectF rect, java.util.EnumSet<AlignmentFlag> alignmentFlags, java.lang.CharSequence text, int row)
drawLabel draw a label on the chart.protected WRectF
WCartesianChart. hv(WRectF r)
Conversion between chart and painter coordinates.boolean
WCartesianChart. initLayout(WRectF rectangle)
Initializes the chart layout.boolean
WCartesianChart. initLayout(WRectF rectangle, WPaintDevice device)
Initializes the chart layout.abstract void
WAbstractChart. paint(WPainter painter, WRectF rectangle)
Paint the chart in a rectangle of the given painter.void
WCartesianChart. paint(WPainter painter, WRectF rectangle)
void
WPieChart. paint(WPainter painter, WRectF rectangle)
abstract void
WAbstractColorMap. paintLegend(WPainter painter, WRectF area)
Paints the colormap as a legend.void
WStandardColorMap. paintLegend(WPainter painter, WRectF area)
protected void
WCartesianChart. render(WPainter painter, WRectF rectangle)
Renders the chart.void
SeriesIterator. startSegment(int currentXSegment, int currentYSegment, WRectF currentSegmentArea)
Start handling a new segment.