Class FontRectangle
Inheritance
System.Object
FontRectangle
Assembly: IronXL.dll
Syntax
public sealed class FontRectangle : ValueType, IEquatable<FontRectangle>
Constructors
FontRectangle(awvuck, awvuck)
Declaration
public FontRectangle(awvuck point, awvuck size)
Parameters
Type |
Name |
Description |
Iron.Excel.Extensions.awvuck |
point |
|
Iron.Excel.Extensions.awvuck |
size |
|
FontRectangle(Single, Single, Single, Single)
Declaration
public FontRectangle(float x, float y, float width, float height)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
System.Single |
y |
|
System.Single |
width |
|
System.Single |
height |
|
Fields
Empty
Declaration
public static readonly FontRectangle Empty
Field Value
Properties
Bottom
Declaration
public float Bottom { get; }
Property Value
Type |
Description |
System.Single |
|
Height
Declaration
public float Height { get; }
Property Value
Type |
Description |
System.Single |
|
Left
Declaration
public float Left { get; }
Property Value
Type |
Description |
System.Single |
|
Right
Declaration
public float Right { get; }
Property Value
Type |
Description |
System.Single |
|
Top
Declaration
public float Top { get; }
Property Value
Type |
Description |
System.Single |
|
Width
Declaration
public float Width { get; }
Property Value
Type |
Description |
System.Single |
|
X
Declaration
Property Value
Type |
Description |
System.Single |
|
Y
Declaration
Property Value
Type |
Description |
System.Single |
|
Methods
Center(FontRectangle)
Declaration
public static awvuck Center(FontRectangle rectangle)
Parameters
Returns
Type |
Description |
Iron.Excel.Extensions.awvuck |
|
Contains(awvuck)
Declaration
public bool Contains(awvuck point)
Parameters
Type |
Name |
Description |
Iron.Excel.Extensions.awvuck |
point |
|
Returns
Type |
Description |
System.Boolean |
|
Contains(FontRectangle)
Declaration
public bool Contains(FontRectangle rectangle)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Contains(Single, Single)
Declaration
public bool Contains(float x, float y)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
System.Single |
y |
|
Returns
Type |
Description |
System.Boolean |
|
Deconstruct(out Single, out Single, out Single, out Single)
Declaration
public void Deconstruct(out float x, out float y, out float width, out float height)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
System.Single |
y |
|
System.Single |
width |
|
System.Single |
height |
|
Equals(FontRectangle)
Declaration
public bool Equals(FontRectangle other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
FromLTRB(Single, Single, Single, Single)
Declaration
public static FontRectangle FromLTRB(float left, float top, float right, float bottom)
Parameters
Type |
Name |
Description |
System.Single |
left |
|
System.Single |
top |
|
System.Single |
right |
|
System.Single |
bottom |
|
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Inflate(awvuck)
Declaration
public FontRectangle Inflate(awvuck size)
Parameters
Type |
Name |
Description |
Iron.Excel.Extensions.awvuck |
size |
|
Returns
Inflate(FontRectangle, Single, Single)
Declaration
public static FontRectangle Inflate(FontRectangle rectangle, float x, float y)
Parameters
Type |
Name |
Description |
FontRectangle |
rectangle |
|
System.Single |
x |
|
System.Single |
y |
|
Returns
Inflate(Single, Single)
Declaration
public FontRectangle Inflate(float width, float height)
Parameters
Type |
Name |
Description |
System.Single |
width |
|
System.Single |
height |
|
Returns
Intersect(FontRectangle)
Declaration
public FontRectangle Intersect(FontRectangle rectangle)
Parameters
Returns
Intersect(FontRectangle, FontRectangle)
Declaration
public static FontRectangle Intersect(FontRectangle a, FontRectangle b)
Parameters
Returns
IntersectsWith(FontRectangle)
Declaration
public bool IntersectsWith(FontRectangle rectangle)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Offset(awvuck)
Declaration
public FontRectangle Offset(awvuck point)
Parameters
Type |
Name |
Description |
Iron.Excel.Extensions.awvuck |
point |
|
Returns
Offset(Single, Single)
Declaration
public FontRectangle Offset(float dx, float dy)
Parameters
Type |
Name |
Description |
System.Single |
dx |
|
System.Single |
dy |
|
Returns
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Declaration
public static FontRectangle Transform(FontRectangle rectangle, awvucg matrix)
Parameters
Type |
Name |
Description |
FontRectangle |
rectangle |
|
Iron.Excel.Extensions.awvucg |
matrix |
|
Returns
Union(FontRectangle, FontRectangle)
Declaration
public static FontRectangle Union(FontRectangle a, FontRectangle b)
Parameters
Returns
Operators
Equality(FontRectangle, FontRectangle)
Declaration
public static bool operator ==(FontRectangle left, FontRectangle right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Inequality(FontRectangle, FontRectangle)
Declaration
public static bool operator !=(FontRectangle left, FontRectangle right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Implements
System.IEquatable<>