AfmCompositePart Struct

A part of a composite character of an AFM file (the PCC key).

public readonly struct AfmCompositePart : IEquatable<AfmCompositePart>
Implements

Constructors

NameDescription
AfmCompositePart(string, double, double)A part of a composite character of an AFM file (the PCC key).

AfmCompositePart(string, double, double)

A part of a composite character of an AFM file (the PCC key).

public AfmCompositePart(string Name, double DeltaX, double DeltaY)

Parameters

Name string
The name of the character drawn.
DeltaX double
The x displacement of the character from the origin of the composite.
DeltaY double
The y displacement of the character from the origin of the composite.

Properties

NameDescription
DeltaXThe x displacement of the character from the origin of the composite.
DeltaYThe y displacement of the character from the origin of the composite.
NameThe name of the character drawn.

The x displacement of the character from the origin of the composite.

public double DeltaX { get; init; }

Property value

double

The y displacement of the character from the origin of the composite.

public double DeltaY { get; init; }

Property value

double

The name of the character drawn.

public string Name { get; init; }

Property value

string

Methods

NameDescription
Deconstruct(string, double, double)
Equals(AfmCompositePart)
Equals(object)
GetHashCode()
ToString()

Deconstruct(string, double, double)

public void Deconstruct(out string Name, out double DeltaX, out double DeltaY)

Parameters

Name string
DeltaX double
DeltaY double

No documentation is available.

Equals overloads

Equals(AfmCompositePart)

public bool Equals(AfmCompositePart other)
Parameters
other AfmCompositePart
Returns

bool

No documentation is available.

Equals(object)

public override bool Equals(object obj)
Parameters
obj object
Returns

bool

No documentation is available.

GetHashCode()

public override int GetHashCode()

Returns

int

No documentation is available.

ToString()

public override string ToString()

Returns

string

No documentation is available.

Operators

NameDescription
operator ==(AfmCompositePart, AfmCompositePart)
operator !=(AfmCompositePart, AfmCompositePart)

operator ==(AfmCompositePart, AfmCompositePart)

public static bool operator ==(AfmCompositePart left, AfmCompositePart right)

Parameters

left AfmCompositePart
right AfmCompositePart

Returns

bool

No documentation is available.

operator !=(AfmCompositePart, AfmCompositePart)

public static bool operator !=(AfmCompositePart left, AfmCompositePart right)

Parameters

left AfmCompositePart
right AfmCompositePart

Returns

bool

No documentation is available.