C# Class ImageMagick.DrawableFont

Sets the font family, style, weight and stretch to use when annotating with text.
Inheritance: IDrawable
Show file Open project: dlemstra/Magick.NET

Public Methods

Method Description
DrawableFont ( string family ) : System

Initializes a new instance of the DrawableFont class.

DrawableFont ( string family, FontStyleType style, FontWeight weight, FontStretch stretch ) : System

Initializes a new instance of the DrawableFont class.

Private Methods

Method Description
IDrawable ( IDrawingWand wand ) : void

Draws this instance with the drawing wand.

Method Details

DrawableFont() public method

Initializes a new instance of the DrawableFont class.
public DrawableFont ( string family ) : System
family string The font family or the full path to the font file.
return System

DrawableFont() public method

Initializes a new instance of the DrawableFont class.
public DrawableFont ( string family, FontStyleType style, FontWeight weight, FontStretch stretch ) : System
family string The font family or the full path to the font file.
style FontStyleType The style of the font.
weight FontWeight The weight of the font.
stretch FontStretch The font stretching type.
return System