Class RectangleF
Inheritance
System.Object
RectangleF
Assembly: Syncfusion.XlsIO.UWP.dll
Syntax
public sealed class RectangleF : ValueType
Constructors
RectangleF(Point, Size)
Declaration
public RectangleF(Point location, Size size)
Parameters
Type |
Name |
Description |
Point |
location |
|
Size |
size |
|
RectangleF(Double, Double, Double, Double)
Declaration
public RectangleF(double x, double y, double width, double height)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
System.Double |
y |
|
System.Double |
width |
|
System.Double |
height |
|
Fields
Empty
Declaration
public static readonly RectangleF Empty
Field Value
Properties
Bottom
Declaration
public double Bottom { get; }
Property Value
Height
Declaration
public double Height { get; set; }
Property Value
IsEmpty
Declaration
public bool IsEmpty { get; }
Property Value
Left
Declaration
public double Left { get; }
Property Value
Right
Declaration
public double Right { get; }
Property Value
Top
Declaration
public double Top { get; }
Property Value
Width
Declaration
public double Width { get; set; }
Property Value
X
Declaration
public double X { get; set; }
Property Value
Y
Declaration
public double Y { get; set; }
Property Value
Methods
Contains(Point)
Declaration
public bool Contains(Point pt)
Parameters
Type |
Name |
Description |
Point |
pt |
|
Returns
Contains(Rectangle)
Declaration
public bool Contains(Rectangle rect)
Parameters
Returns
Contains(Double, Double)
Declaration
public bool Contains(double x, double y)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
System.Double |
y |
|
Returns
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
FromLTRB(Double, Double, Double, Double)
Declaration
public static RectangleF FromLTRB(double left, double top, double right, double bottom)
Parameters
Type |
Name |
Description |
System.Double |
left |
|
System.Double |
top |
|
System.Double |
right |
|
System.Double |
bottom |
|
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Inflate(Size)
Declaration
public void Inflate(Size size)
Parameters
Type |
Name |
Description |
Size |
size |
|
Inflate(RectangleF, Double, Double)
Declaration
public static RectangleF Inflate(RectangleF rect, double x, double y)
Parameters
Type |
Name |
Description |
RectangleF |
rect |
|
System.Double |
x |
|
System.Double |
y |
|
Returns
Inflate(Double, Double)
Declaration
public void Inflate(double width, double height)
Parameters
Type |
Name |
Description |
System.Double |
width |
|
System.Double |
height |
|
Intersect(RectangleF)
Declaration
public void Intersect(RectangleF rect)
Parameters
Intersect(RectangleF, RectangleF)
Declaration
public static RectangleF Intersect(RectangleF a, RectangleF b)
Parameters
Returns
IntersectsWith(Rectangle)
Declaration
public bool IntersectsWith(Rectangle rect)
Parameters
Returns
Offset(Point)
Declaration
public void Offset(Point pos)
Parameters
Type |
Name |
Description |
Point |
pos |
|
Offset(Int32, Int32)
Declaration
public void Offset(int x, int y)
Parameters
Type |
Name |
Description |
System.Int32 |
x |
|
System.Int32 |
y |
|
ToString()
Declaration
public override string ToString()
Returns
Union(RectangleF, RectangleF)
Declaration
public static RectangleF Union(RectangleF a, RectangleF b)
Parameters
Returns
Operators
Equality(RectangleF, RectangleF)
Declaration
public static bool operator ==(RectangleF left, RectangleF right)
Parameters
Returns
Inequality(RectangleF, RectangleF)
Declaration
public static bool operator !=(RectangleF left, RectangleF right)
Parameters
Returns
Extension Methods