C# Class SharpVectors.Dom.Svg.SvgRect

Rectangles are defined as consisting of a (x,y) coordinate pair identifying a minimum X value, a minimum Y value, and a width and height, which are usually constrained to be non-negative.
Inheritance: ISvgRect
Show file Open project: codebutler/savagesvg Class Usage Examples

Public Properties

Property Type Description
Empty SvgRect

Public Methods

Method Description
SvgRect ( RectangleF rect ) : System
SvgRect ( double x, double y, double width, double height ) : System
SvgRect ( string str ) : System
ToRectangleF ( ) : RectangleF
ToString ( ) : string

Method Details

SvgRect() public method

public SvgRect ( RectangleF rect ) : System
rect System.Drawing.RectangleF
return System

SvgRect() public method

public SvgRect ( double x, double y, double width, double height ) : System
x double
y double
width double
height double
return System

SvgRect() public method

public SvgRect ( string str ) : System
str string
return System

ToRectangleF() public method

public ToRectangleF ( ) : RectangleF
return System.Drawing.RectangleF

ToString() public method

public ToString ( ) : string
return string

Property Details

Empty public static property

public static SvgRect,SharpVectors.Dom.Svg Empty
return SvgRect