ICanvasContext class
ICanvasContext class
Represents the context of an HTML canvas 2D drawing.
The ICanvasContext type exposes the following members:
Properties
Property | Description |
---|---|
shadow_offset_x | Gets or sets the horizontal offset of the shadow. |
shadow_offset_y | Gets or sets the vertical offset of the shadow. |
shadow_blur | Gets or sets the blur level of the shadow. |
shadow_color | Gets or sets the color of the shadow. |
shadow_color_string | Gets or sets the string representation of the shadow color. |
text_align | Gets or sets the alignment of text. |
text_baseline | Gets or sets the baseline alignment of text. |
global_alpha | Gets or sets the global alpha value. |
image_smoothing_enabled | Gets or sets a value indicating whether image smoothing is enabled. |
global_composite_operation | Gets or sets the global composite operation. |
letter_spacing | Gets or sets the letter spacing. |
font_value | Gets or sets the font value. |
character_spacing | Gets or sets the character spacing. |
fill_brush | Gets or sets the fill brush. See IBrush . |
font | Gets or sets the font. See ITrueTypeFont . |
font_size | Gets or sets the font size. |
font_style | Gets or sets the font style. |
line_cap | Gets or sets the line cap style. See StrokeLineCap . |
line_dash_offset | Gets or sets the line dash offset. |
line_dash_pattern | Gets or sets the line dash pattern. Can be set to null or an empty array to be disabled. |
line_join | Gets or sets the line join style. See StrokeLineJoin . |
line_width | Gets or sets the line width. |
miter_limit | Gets or sets the miter limit. |
stroke_brush | Gets or sets the stroke brush. See IBrush . |
text_info | Gets the text information. See ICanvasContext.text_info . |
transformation_matrix | Gets or sets the transformation matrix. See IMatrix . |
Methods
Method | Description |
---|---|
transform | Applies a transformation matrix to the context. See IMatrix . |
See Also
- module
aspose.svg.rendering
- class
IBrush
- class
IMatrix
- class
ITrueTypeFont
- class
StrokeLineCap
- class
StrokeLineJoin