Class DocDevice.DocGraphicContext
Namespace: Aspose.Html.Rendering.Doc
Assembly: Aspose.HTML.dll (25.2.0)
Holds current graphics control parameters for the DocDevice. These parameters define the global framework within which the graphics operators execute.
public class DocDevice.DocGraphicContext : GraphicContext, ICloneable
Inheritance
object ← GraphicContext ← DocDevice.DocGraphicContext
Implements
Inherited Members
GraphicContext.Transform(IMatrix), GraphicContext.Clone(), GraphicContext.LineCap, GraphicContext.LineDashOffset, GraphicContext.LineDashPattern, GraphicContext.LineJoin, GraphicContext.LineWidth, GraphicContext.MiterLimit, GraphicContext.FillBrush, GraphicContext.StrokeBrush, GraphicContext.Font, GraphicContext.FontSize, GraphicContext.FontStyle, GraphicContext.CharacterSpacing, GraphicContext.TransformationMatrix, GraphicContext.TextInfo, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
DocGraphicContext()
public DocGraphicContext()
Properties
TransformationMatrix
Sets or gets transformation matrix.
public override IMatrix TransformationMatrix { get; set; }
Property Value
Methods
Clone()
Creates a new instance of a Aspose.Html.Rendering.GraphicContext class with the same property values as an existing instance.
public override GraphicContext Clone()
Returns
Instance of a Aspose.Html.Rendering.GraphicContext.
Transform(IMatrix)
Modify the current transformation matrix by multiplying the specified matrix.
public override void Transform(IMatrix matrix)
Parameters
matrix
IMatrix
Transformation matrix.