ImageDevice.ImageGraphicContext Class

ImageDevice.ImageGraphicContext class

Holds current graphics control parameters for the ImageDevice. These parameters define the global framework within which the graphics operators execute.

public class ImageGraphicContext : GraphicContext

Constructors

NameDescription
imageGraphicContext()The default constructor.

Properties

NameDescription
[getCharacterSpacing]
[setCharacterSpacing] Sets or gets character spacing.
[getFillBrush]
[setFillBrush] Sets or gets the brush object that is used to fill the interiors of paths.
[getFont]
[setFont] Sets or gets the true type font object that is used for rendering text.
[getFontSize]
[setFontSize] Sets or gets text font size.
[getFontStyle]
[setFontStyle] Sets or gets text font style.
[getLineCap]
[setLineCap] Sets or gets the code specifying the shape of the endpoints for any open path that is stroked.
[getLineDashOffset]
[setLineDashOffset] Sets or gets the phase offset of the current line dash pattern.
[getLineDashPattern]
[setLineDashPattern] Sets or gets the description of the dash pattern to be used when paths are stroked.
[getLineDashStyle]
[setLineDashStyle] Sets of gets the style of dashed lines of a stroked path.
[getLineJoin]
[setLineJoin] Sets or gets the code specifying the shape of joints between connected segments of a stroked path.
[getLineWidth]
[setLineWidth] Sets or gets the thickness of paths to be stroked.
[getMiterLimit]
[setMiterLimit] Sets or gets the maximum length of mitered line joins for stroked paths. This parameter limits the length of “spikes” produced when line segments join at sharp angles.
[getStrokeBrush]
[setStrokeBrush] Sets or gets the brush object that is used for stroked paths.
getTextInfo Gets a TextInfo object which contains information about rendered text.
[getTransformationMatrix]
[setTransformationMatrix] Sets or gets transformation matrix.

Methods

NameDescription
clone()Creates a new instance of a GdiGraphicContext class with the same property values as an existing instance.
transform(Matrix)Modify the current transformation matrix by multiplying the specified matrix.

See Also