The class used for specifying edges (padding or margins)
| C# | Visual Basic | Visual C++ |
[SerializableAttribute] public class BorderMetrics : ICloneable
<SerializableAttribute> _ Public Class BorderMetrics _ Implements ICloneable
[SerializableAttribute] public ref class BorderMetrics : ICloneable
| All Members | Constructors | Methods | Properties | Fields | |
| Icon | Member | Description |
|---|---|---|
| BorderMetrics()()()() |
Constructor
| |
| BorderMetrics(Int32) |
Constructor
| |
| BorderMetrics(Int32, Int32, Int32, Int32) |
Constructor
| |
| Bottom |
The value representing the bottom edge
| |
| Clone()()()() |
Creates a new object that is a copy of the current instance.
| |
| Empty |
Zero metrics
| |
| Equals(EdgeMetrics) |
Equality
| |
| Equals(Object) | (Overrides Object.Equals(Object).) | |
| Finalize()()()() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode()()()() | (Overrides Object.GetHashCode()()()().) | |
| GetRenderingHeight()()()() |
Gets the height of the texture needed for pixel-perfect rendering
| |
| GetRenderingWidth()()()() |
Gets the width of the texture needed for pixel-perfect rendering
| |
| GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | |
| Left |
The value representing the left edge
| |
| Maximum |
Returns maximum between all edges
| |
| MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Minimum |
Returns the minimum between all edges
| |
| Right |
The value representing the right edge
| |
| ToGUIStyleBorder()()()() |
Converts to RectOffset
| |
| Top |
The value representing the top edge
| |
| ToString()()()() | (Overrides Object.ToString()()()().) |
Coded by Danko Kozar
| Object | |
| BorderMetrics | |