Constructor SvgRectF
- Namespace
- SharpVectors.Dom.Svg
- Assembly
- SharpVectors.Core.dll
SvgRectF(float, float, float, float)
Initializes a new instance of the SvgRectF structure with the specified location and size.
public SvgRectF(float x, float y, float width, float height)
Parameters
x
floatThe x-coordinate of the upper-left corner of the rectangle.
y
floatThe y-coordinate of the upper-left corner of the rectangle.
width
floatThe width of the rectangle.
height
floatThe height of the rectangle.
SvgRectF(SvgPointF, SvgSizeF)
Initializes a new instance of the SvgRectF structure with the specified location and size.
public SvgRectF(SvgPointF location, SvgSizeF size)