Class MFRect
Inheritance
System.Object
MFRect
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: MediaFoundation.Misc
Assembly: MediaFoundation.dll
Syntax
public class MFRect
Constructors
MFRect()
Declaration
public MFRect()
MFRect(Rectangle)
Declaration
public MFRect(Rectangle rectangle)
Parameters
System.Drawing.Rectangle
rectangle
|
MFRect(Int32, Int32, Int32, Int32)
Declaration
public MFRect(int l, int t, int r, int b)
Parameters
System.Int32
l
|
System.Int32
t
|
System.Int32
r
|
System.Int32
b
|
Fields
bottom
Declaration
public int bottom
Field Value
System.Int32
|
left
Declaration
public int left
Field Value
System.Int32
|
right
Declaration
public int right
Field Value
System.Int32
|
top
Declaration
public int top
Field Value
System.Int32
|
Methods
CopyFrom(MFRect)
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
|
Returns
System.Boolean
|
Overrides
System.Object.Equals(System.Object)
FromRectangle(Rectangle)
Declaration
public static MFRect FromRectangle(Rectangle r)
Parameters
System.Drawing.Rectangle
r
|
Returns
MFRect
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
System.Int32
|
Overrides
System.Object.GetHashCode()
IsEmpty()
Declaration
public bool IsEmpty()
Returns
System.Boolean
|
ToRectangle()
Declaration
public Rectangle ToRectangle()
Returns
System.Drawing.Rectangle
|
ToString()
Declaration
public override string ToString()
Returns
System.String
|
Overrides
System.Object.ToString()
Operators
Implicit(MFRect to Rectangle)
Declaration
public static implicit operator Rectangle(MFRect r)
Parameters
MFRect
r
|
Returns
System.Drawing.Rectangle
|
Implicit(Rectangle to MFRect)
Declaration
public static implicit operator MFRect(Rectangle r)
Parameters
System.Drawing.Rectangle
r
|
Returns
MFRect
|