PdfSharp-WPF  1.31.7289
PdfSharp.Drawing.XFontWeight Class Reference

Defines the density of a typeface, in terms of the lightness or heaviness of the strokes. More...

Inheritance diagram for PdfSharp.Drawing.XFontWeight:

Public Member Functions

bool Equals (XFontWeight obj)
 Determines whether the specified XFontWeight is equal to the current XFontWeight. More...
 
override bool Equals (object obj)
 Determines whether the specified T:System.Object is equal to the current T:System.Object. More...
 
override int GetHashCode ()
 Serves as a hash function for this type. More...
 
override string ToString ()
 Returns a T:System.String that represents the current T:System.Object. More...
 

Static Public Member Functions

static int Compare (XFontWeight left, XFontWeight right)
 Compares the specified font weights. More...
 
static bool operator< (XFontWeight left, XFontWeight right)
 Implements the operator <. More...
 
static bool operator<= (XFontWeight left, XFontWeight right)
 Implements the operator <=. More...
 
static bool operator> (XFontWeight left, XFontWeight right)
 Implements the operator >. More...
 
static bool operator>= (XFontWeight left, XFontWeight right)
 Implements the operator >=. More...
 
static bool operator== (XFontWeight left, XFontWeight right)
 Implements the operator ==. More...
 
static bool operator!= (XFontWeight left, XFontWeight right)
 Implements the operator !=. More...
 

Properties

int Weight [get]
 Gets the weight of the font, a value between 1 and 999. More...
 

Detailed Description

Defines the density of a typeface, in terms of the lightness or heaviness of the strokes.

Member Function Documentation

◆ Compare()

static int PdfSharp.Drawing.XFontWeight.Compare ( XFontWeight  left,
XFontWeight  right 
)
static

Compares the specified font weights.

◆ Equals() [1/2]

override bool PdfSharp.Drawing.XFontWeight.Equals ( object  obj)

Determines whether the specified T:System.Object is equal to the current T:System.Object.

◆ Equals() [2/2]

bool PdfSharp.Drawing.XFontWeight.Equals ( XFontWeight  obj)

Determines whether the specified XFontWeight is equal to the current XFontWeight.

◆ GetHashCode()

override int PdfSharp.Drawing.XFontWeight.GetHashCode ( )

Serves as a hash function for this type.

◆ operator!=()

static bool PdfSharp.Drawing.XFontWeight.operator!= ( XFontWeight  left,
XFontWeight  right 
)
static

Implements the operator !=.

◆ operator<()

static bool PdfSharp.Drawing.XFontWeight.operator< ( XFontWeight  left,
XFontWeight  right 
)
static

Implements the operator <.

◆ operator<=()

static bool PdfSharp.Drawing.XFontWeight.operator<= ( XFontWeight  left,
XFontWeight  right 
)
static

Implements the operator <=.

◆ operator==()

static bool PdfSharp.Drawing.XFontWeight.operator== ( XFontWeight  left,
XFontWeight  right 
)
static

Implements the operator ==.

◆ operator>()

static bool PdfSharp.Drawing.XFontWeight.operator> ( XFontWeight  left,
XFontWeight  right 
)
static

Implements the operator >.

◆ operator>=()

static bool PdfSharp.Drawing.XFontWeight.operator>= ( XFontWeight  left,
XFontWeight  right 
)
static

Implements the operator >=.

◆ ToString()

override string PdfSharp.Drawing.XFontWeight.ToString ( )

Returns a T:System.String that represents the current T:System.Object.

Property Documentation

◆ Weight

int PdfSharp.Drawing.XFontWeight.Weight
get

Gets the weight of the font, a value between 1 and 999.


The documentation for this class was generated from the following file: