Skip to content

PDFType3Glyph

Namespace: O2S.Components.PDF4NET.Graphics

Defines a Type3 glyph.

public class PDFType3Glyph : O2S.Components.PDF4NET.PDFContentStreamContainer

Inheritance ObjectPDFContentStreamContainerPDFType3Glyph

Constructors

PDFType3Glyph(Byte)

Initializes a new PDFType3Glyph object.

public PDFType3Glyph(byte code)

Parameters

code Byte
The character code associated with the glyph.


PDFType3Glyph(Byte, PDFSize)

Initializes a new PDFType3Glyph object.

public PDFType3Glyph(byte code, PDFSize size)

Parameters

code Byte
The character code associated with the glyph.

size PDFSize
The size of the glyph. The width must match the value specified in the PDFType3Font.Widths array.


PDFType3Glyph(Byte, PDFSize, PDFStandardRectangle)

Initializes a new PDFType3Glyph object.

public PDFType3Glyph(byte code, PDFSize size, PDFStandardRectangle bbox)

Parameters

code Byte
The character code associated with the glyph.

size PDFSize
The size of the glyph. The width must match the value specified in the PDFType3Font.Widths array.

bbox PDFStandardRectangle
The glyph bounding box.


PDFType3Glyph(Byte, PDFSize, PDFStandardRectangle, Boolean)

Initializes a new PDFType3Glyph object.

public PDFType3Glyph(byte code, PDFSize size, PDFStandardRectangle bbox, bool coloredGlyph)

Parameters

code Byte
The character code associated with the glyph.

size PDFSize
The size of the glyph. The width must match the value specified in the PDFType3Font.Widths array.

bbox PDFStandardRectangle
The glyph bounding box.

coloredGlyph Boolean
True if the glyph describes both its shape and its color. If false the glyph specifies only shape.


Properties

Canvas

Gets the glyph graphics.

public PDFCanvas Canvas { get; }

Property Value

PDFCanvas
The glyph graphics surface.


Size

Gets the glyph size.

public PDFSize Size { get; }

Property Value

PDFSize
The size of the glyph in glyph space.