GraphicContext Class GraphicContext class Holds current graphics control parameters. These parameters define the global framework within which the graphics operators execute.
Copy public class GraphicContext : ICloneable
Constructors Name Description GraphicContext ()Initializes a new instance of the GraphicContext
class.
Properties Name Description characterSpacing { get; set; }Sets or gets character spacing. fillBrush { get; set; }Sets or gets the brush object that is used to fill the interiors of paths. font { get; set; }Sets or gets the true type font object that is used for rendering text. fontSize { get; set; }Sets or gets text font size. fontStyle { get; set; }Sets or gets text font style. lineCap { get; set; }Sets or gets the code specifying the shape of the endpoints for any open path that is stroked. lineDashOffset { get; set; }Sets or gets the phase offset of the current line dash pattern. lineDashPattern { get; set; }Sets or gets the description of the dash pattern to be used when paths are stroked. lineJoin { get; set; }Sets or gets the code specifying the shape of joints between connected segments of a stroked path. lineWidth { get; set; }Sets or gets the thickness of paths to be stroked. miterLimit { get; set; }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. strokeBrush { get; set; }Sets or gets the brush object that is used for stroked paths. getTextInfo Gets a TextInfo
object which contains information about rendered text.transformationMatrix { get; set; }Sets or gets transformation matrix.
Methods Name Description clone ()Creates a new instance of a GraphicContext class with the same property values as an existing instance. transform (IMatrix)Modify the current transformation matrix by multiplying the specified matrix.
See Also