internal static RectangleF ConvertRect(java.awt.geom.Rectangle2D rect) { return new RectangleF((float)rect.getX(), (float)rect.getY(), (float)rect.getWidth(), (float)rect.getHeight()); }
internal RectangleF (java.awt.geom.RectangularShape r2d) { this.x = (float) r2d.getX (); this.y = (float) r2d.getY (); this.width = (float) r2d.getWidth (); this.height = (float) r2d.getHeight (); }
internal static PointF ConvertPoint(java.awt.geom.Point2D point) { return new PointF((float)point.getX(), (float)point.getY()); }