AfmTrackKerning Struct
A track of an AFM file (the TrackKern key): a degree of tightness, and the change of the space between characters as a linear function of the point size (Adobe Technical Note #5004, section 9.1).
public readonly struct AfmTrackKerning : IEquatable<AfmTrackKerning>Remarks
Unlike the other metrics of the file, the kerning amounts of a track are in points.
- Implements
Constructors
| Name | Description |
|---|---|
| AfmTrackKerning(int, double, double, double, double) | A track of an AFM file (the TrackKern key): a degree of tightness, and the change of the space between characters as a linear function of the point size (Adobe Technical Note #5004, section 9.1). |
AfmTrackKerning(int, double, double, double, double)
A track of an AFM file (the TrackKern key): a degree of tightness, and the change of the space between characters as a linear function of the point size (Adobe Technical Note #5004, section 9.1).
public AfmTrackKerning(int Degree, double MinPointSize, double MinKern, double MaxPointSize, double MaxKern)Parameters
Degreeint- The degree of tightness: negative values are tighter, positive values looser.
MinPointSizedouble- The point size below which the kerning is
MinKern. MinKerndouble- The kerning, in points, at
MinPointSize. MaxPointSizedouble- The point size above which the kerning is
MaxKern. MaxKerndouble- The kerning, in points, at
MaxPointSize.
Remarks
Unlike the other metrics of the file, the kerning amounts of a track are in points.
Properties
| Name | Description |
|---|---|
| Degree | The degree of tightness: negative values are tighter, positive values looser. |
| MaxKern | The kerning, in points, at MaxPointSize. |
| MaxPointSize | The point size above which the kerning is MaxKern. |
| MinKern | The kerning, in points, at MinPointSize. |
| MinPointSize | The point size below which the kerning is MinKern. |
Degree
AfmTrackKerning.csMaxKern
AfmTrackKerning.csMaxPointSize
AfmTrackKerning.csMinKern
AfmTrackKerning.csMinPointSize
AfmTrackKerning.csMethods
| Name | Description |
|---|---|
| Deconstruct(int, double, double, double, double) | |
| Equals(AfmTrackKerning) | |
| Equals(object) | |
| GetHashCode() | |
| GetKerning(double) | Gets the kerning of the track at a point size. |
| ToString() |
Deconstruct(int, double, double, double, double)
Equals overloads
Equals(AfmTrackKerning)
public bool Equals(AfmTrackKerning other)No documentation is available.
Equals(object)
GetHashCode()
GetKerning(double)
AfmTrackKerning.csToString()
Operators
| Name | Description |
|---|---|
| operator ==(AfmTrackKerning, AfmTrackKerning) | |
| operator !=(AfmTrackKerning, AfmTrackKerning) |
operator ==(AfmTrackKerning, AfmTrackKerning)
public static bool operator ==(AfmTrackKerning left, AfmTrackKerning right)No documentation is available.
operator !=(AfmTrackKerning, AfmTrackKerning)
public static bool operator !=(AfmTrackKerning left, AfmTrackKerning right)No documentation is available.