Struct Rect
Inherited Members
Namespace: Telerik.WinControls.RichTextEditor.UI
Assembly: Telerik.WinControls.RichTextEditor.dll
Syntax
public struct Rect : IFormattable
Constructors
Rect(Double, Double, Double, Double)
Declaration
public Rect(double x, double y, double width, double height)
Parameters
System.Double
x
|
System.Double
y
|
System.Double
width
|
System.Double
height
|
Rect(Point, Point)
Rect(Point, Size)
Rect(Point, Vector)
Rect(Size)
Properties
Bottom
Declaration
public double Bottom { get; }
Property Value
System.Double
|
BottomLeft
BottomRight
Empty
Height
Declaration
public double Height { get; set; }
Property Value
System.Double
|
IsEmpty
Declaration
public bool IsEmpty { get; }
Property Value
System.Boolean
|
Left
Declaration
public double Left { get; }
Property Value
System.Double
|
Location
Right
Declaration
public double Right { get; }
Property Value
System.Double
|
Size
Top
Declaration
public double Top { get; }
Property Value
System.Double
|
TopLeft
TopRight
Width
Declaration
public double Width { get; set; }
Property Value
System.Double
|
X
Declaration
public double X { get; set; }
Property Value
System.Double
|
Y
Declaration
public double Y { get; set; }
Property Value
System.Double
|
Methods
Contains(Double, Double)
Declaration
public bool Contains(double x, double y)
Parameters
System.Double
x
|
System.Double
y
|
Returns
System.Boolean
|
Contains(Point)
Contains(Rect)
Equals(Object)
Declaration
public override bool Equals(object o)
Parameters
System.Object
o
|
Returns
System.Boolean
|
Overrides
Equals(Rect)
Equals(Rect, Rect)
Declaration
public static bool Equals(Rect rect1, Rect rect2)
Parameters
Rect
rect1
|
Rect
rect2
|
Returns
System.Boolean
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
System.Int32
|
Overrides
Inflate(Double, Double)
Declaration
public void Inflate(double width, double height)
Parameters
System.Double
width
|
System.Double
height
|
Inflate(Rect, Double, Double)
Declaration
public static Rect Inflate(Rect rect, double width, double height)
Parameters
Rect
rect
|
System.Double
width
|
System.Double
height
|
Returns
Rect
|
Inflate(Rect, Size)
Declaration
public static Rect Inflate(Rect rect, Size size)
Parameters
Rect
rect
|
Size
size
|
Returns
Rect
|
Inflate(Size)
Intersect(Rect)
Intersect(Rect, Rect)
Declaration
public static Rect Intersect(Rect rect1, Rect rect2)
Parameters
Rect
rect1
|
Rect
rect2
|
Returns
Rect
|
IntersectsWith(Rect)
Offset(Double, Double)
Declaration
public void Offset(double offsetX, double offsetY)
Parameters
System.Double
offsetX
|
System.Double
offsetY
|
Offset(Rect, Double, Double)
Declaration
public static Rect Offset(Rect rect, double offsetX, double offsetY)
Parameters
Rect
rect
|
System.Double
offsetX
|
System.Double
offsetY
|
Returns
Rect
|
Offset(Rect, Vector)
Declaration
public static Rect Offset(Rect rect, Vector offsetVector)
Parameters
Rect
rect
|
Vector
offsetVector
|
Returns
Rect
|
Offset(Vector)
Parse(String)
Scale(Double, Double)
Declaration
public void Scale(double scaleX, double scaleY)
Parameters
System.Double
scaleX
|
System.Double
scaleY
|
Union(Point)
Union(Rect)
Union(Rect, Point)
Declaration
public static Rect Union(Rect rect, Point point)
Parameters
Rect
rect
|
Point
point
|
Returns
Rect
|
Union(Rect, Rect)
Declaration
public static Rect Union(Rect rect1, Rect rect2)
Parameters
Rect
rect1
|
Rect
rect2
|
Returns
Rect
|
Operators
Equality(Rect, Rect)
Declaration
public static bool operator ==(Rect rect1, Rect rect2)
Parameters
Rect
rect1
|
Rect
rect2
|
Returns
System.Boolean
|
Implicit(RectangleF to Rect)
Declaration
public static implicit operator Rect(RectangleF p)
Parameters
System.Drawing.RectangleF
p
|
Returns
Rect
|
Implicit(Rect to Rectangle)
Declaration
public static implicit operator Rectangle(Rect p)
Parameters
Rect
p
|
Returns
System.Drawing.Rectangle
|
Implicit(Rect to RectangleF)
Declaration
public static implicit operator RectangleF(Rect p)
Parameters
Rect
p
|
Returns
System.Drawing.RectangleF
|
Inequality(Rect, Rect)
Declaration
public static bool operator !=(Rect rect1, Rect rect2)
Parameters
Rect
rect1
|
Rect
rect2
|
Returns
System.Boolean
|
Explicit Interface Implementations
IFormattable.ToString(String, IFormatProvider)
Declaration
string IFormattable.ToString(string format, IFormatProvider provider)
Parameters
System.String
format
|
System.IFormatProvider
provider
|
Returns
System.String
|