Struct Padding
- Namespace
- KernSmith
- Assembly
- KernSmith.dll
Padding around each glyph in the atlas, in pixels.
public readonly record struct Padding : IEquatable<Padding>
- Implements
- Inherited Members
Constructors
Padding(int)
Same padding on all four sides.
public Padding(int all)
Parameters
allint
Padding(int, int, int, int)
Padding around each glyph in the atlas, in pixels.
public Padding(int Up, int Right, int Down, int Left)
Parameters
Properties
Down
public int Down { get; init; }
Property Value
Left
public int Left { get; init; }
Property Value
Right
public int Right { get; init; }
Property Value
Up
public int Up { get; init; }
Property Value
Zero
No padding on any side.
public static Padding Zero { get; }