AfmBox Struct
A bounding box of an AFM file, in units of 1/1000 of the point size, with the y axis up.
public readonly struct AfmBox : IEquatable<AfmBox>Remarks
The numbers can be reals, unlike the font units of GlyphBox.
- Implements
Constructors
| Name | Description |
|---|---|
| AfmBox(double, double, double, double) | A bounding box of an AFM file, in units of 1/1000 of the point size, with the y axis up. |
AfmBox(double, double, double, double)
A bounding box of an AFM file, in units of 1/1000 of the point size, with the y axis up.
Parameters
Leftdouble- The x coordinate of the lower left corner (llx).
Bottomdouble- The y coordinate of the lower left corner (lly).
Rightdouble- The x coordinate of the upper right corner (urx).
Topdouble- The y coordinate of the upper right corner (ury).
Remarks
The numbers can be reals, unlike the font units of GlyphBox.
Properties
| Name | Description |
|---|---|
| Bottom | The y coordinate of the lower left corner (lly). |
| Left | The x coordinate of the lower left corner (llx). |
| Right | The x coordinate of the upper right corner (urx). |
| Top | The y coordinate of the upper right corner (ury). |
Bottom
AfmBox.csLeft
AfmBox.csRight
AfmBox.csTop
AfmBox.csMethods
| Name | Description |
|---|---|
| Deconstruct(double, double, double, double) | |
| Equals(AfmBox) | |
| Equals(object) | |
| GetHashCode() | |
| ToString() |
Deconstruct(double, double, double, double)
Equals overloads
Equals(AfmBox)
Equals(object)
GetHashCode()
ToString()
Operators
| Name | Description |
|---|---|
| operator ==(AfmBox, AfmBox) | |
| operator !=(AfmBox, AfmBox) |