Name | Description | |
---|---|---|
GcSkiaGraphics Constructor | Initializes a new instance of the GcSkiaGraphics. |
The following tables list the members exposed by GcSkiaGraphics.
Name | Description | |
---|---|---|
GcSkiaGraphics Constructor | Initializes a new instance of the GcSkiaGraphics. |
Name | Description | |
---|---|---|
Aliased | Gets or sets a value indicating whether the graphic objects are drawn without anti-aliasing.
The default is false. | |
BlendMode | Gets or sets the current blend mode. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) | |
Disposed | Gets a value indicating whether this instance of GrapeCity.Documents.Drawing.GcGraphics has been disposed and cannot be used anymore. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) | |
DrawTextAsPath | Gets or sets a value indicating if strings and GrapeCity.Documents.Text.TextLayout objects are rendered using the graphic primitives instead of the specialized text drawing services. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) | |
FontCache | Gets or sets the shared instance of a SkiaFontCache object. | |
FontCollection | Gets or sets a GrapeCity.Documents.Text.FontCollection used by MeasureString and DrawString methods. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) | |
Height | Gets the height of the image, in device-independent pixels (1/96 of an inch). | |
InterpolationMode | Gets or sets the sampling mode to use when drawing images with resizing. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) | |
Opaque | Gets a value indicating whether the alpha channel should be ignored. | |
ResizeQuality | Gets or sets the resizing filter quality for images.
The default is ResizeQuality.Medium. | |
Resolution | Overridden. Gets the resolution of the current graphics, which is always 96 for GcSkiaGraphics. | |
SKCanvas | Gets the underlying SkiaSharp.SKCanvas object. | |
SurfaceResolution | Overridden. Gets the resolution of the underlying drawing surface (pixels per inch). | |
Transform | Overridden. Gets or sets the transformation matrix of the current graphics. | |
Width | Gets the width of the image, in device-independent pixels (1/96 of an inch). |
Name | Description | |
---|---|---|
ApplyLicenseKey | Applies a license key to the current instance of GcSkiaGraphics. | |
Clear | Clears the drawing surface with the specified color. | |
CreateClipRegion | Overloaded. Creates a clip region from a graphics path.
Use PushClip(IClipRegion) and PopClip to set/remove clipping. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) | |
CreatePath | Creates a graphics path. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) | |
CreateRoundBordersPath | Creates GrapeCity.Documents.Drawing.IPath object representing round border. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) | |
CreateTextLayout | Creates an instance of GrapeCity.Documents.Text.TextLayout with the same resolution as that of the current graphics.
This is the recommended way to create a TextLayout to use with a graphics. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) | |
Dispose() | Disposes the current graphics. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) | |
DrawEllipse | Overloaded. Draws an ellipse using a specified line color, width and style.
If the value of lineStyle parameter is not GrapeCity.Documents.Drawing.DashStyle.Solid, the ellipse is drawn with a GrapeCity.Documents.Drawing.Pen having GrapeCity.Documents.Drawing.Pen.LineCap set to GrapeCity.Documents.Drawing.PenLineCap.Square instead of GrapeCity.Documents.Drawing.PenLineCap.Flat. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) | |
DrawImage | Overloaded. Draws an image using specified bounds, clipping and image alignment. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) | |
DrawLine | Overloaded. Draws a line between two points, using a specified line color, width and style.
If the value of lineStyle parameter is not GrapeCity.Documents.Drawing.DashStyle.Solid, the line is drawn with a GrapeCity.Documents.Drawing.Pen having GrapeCity.Documents.Drawing.Pen.LineCap set to GrapeCity.Documents.Drawing.PenLineCap.Square instead of GrapeCity.Documents.Drawing.PenLineCap.Flat. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) | |
DrawLines | Overloaded. Draws a series of connected lines, using a specified line color, width and style.
If the value of lineStyle parameter is not GrapeCity.Documents.Drawing.DashStyle.Solid, the lines are drawn with a GrapeCity.Documents.Drawing.Pen having GrapeCity.Documents.Drawing.Pen.LineCap set to GrapeCity.Documents.Drawing.PenLineCap.Square instead of GrapeCity.Documents.Drawing.PenLineCap.Flat. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) | |
DrawPath | Overloaded. Draws a path using a specified line color, width and style.
If the value of lineStyle parameter is not GrapeCity.Documents.Drawing.DashStyle.Solid, the path is drawn with a GrapeCity.Documents.Drawing.Pen having GrapeCity.Documents.Drawing.Pen.LineCap set to GrapeCity.Documents.Drawing.PenLineCap.Square instead of GrapeCity.Documents.Drawing.PenLineCap.Flat. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) | |
DrawPolygon | Overloaded. Draws a polygon specified by an array of points, using a specified line color, width and style.
If the value of lineStyle parameter is not GrapeCity.Documents.Drawing.DashStyle.Solid, the polygon is drawn with a GrapeCity.Documents.Drawing.Pen having GrapeCity.Documents.Drawing.Pen.LineCap set to GrapeCity.Documents.Drawing.PenLineCap.Square instead of GrapeCity.Documents.Drawing.PenLineCap.Flat. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) | |
DrawRectangle | Overloaded. Draws a rectangle using a specified line color, width and style.
If the value of lineStyle parameter is not GrapeCity.Documents.Drawing.DashStyle.Solid, the rectangle is drawn with a GrapeCity.Documents.Drawing.Pen having GrapeCity.Documents.Drawing.Pen.LineCap set to GrapeCity.Documents.Drawing.PenLineCap.Square instead of GrapeCity.Documents.Drawing.PenLineCap.Flat. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) | |
DrawRoundRect | Overloaded. Draws a rounded border defined by four GrapeCity.Documents.Drawing.Pen objects and GrapeCity.Documents.Drawing.CornerRadius structure. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) | |
DrawString | Overloaded. Draws a string using a specified GrapeCity.Documents.Text.TextFormat at a specified location. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) | |
DrawSvg | Overloaded. Draws a specified SVG document at a point specifying the position of the SVG viewport.
To specify the position of the SVG content rather than viewport, see DrawSvgContent(GcSvgDocument,PointF,Single). (Inherited from GrapeCity.Documents.Drawing.GcGraphics) | |
DrawSvgContent | Overloaded. Draws the content of a specified SVG document at a point specifying the top-left corner of the SVG content.
To specify the position of the SVG viewport rather than content, see DrawSvg(GcSvgDocument,PointF,Single). (Inherited from GrapeCity.Documents.Drawing.GcGraphics) | |
DrawTextLayout | Draws a GrapeCity.Documents.Text.TextLayout at a specified location.
If any part of the text does not fit in the layout bounds, it is truncated. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) | |
FillEllipse | Overloaded. Fills an ellipse with a specified brush. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) | |
FillPath | Overloaded. Fills a path using a specified brush. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) | |
FillPolygon | Overloaded. Fills a polygon specified by an array of points, using a specified color and fill mode. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) | |
FillRectangle | Overloaded. Fills a rectangle using a specified brush. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) | |
FillRoundRect | Overloaded. Fills a rounded rectangle using a specified brush. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) | |
GetImageSize | Returns the size of an image in pixels using the resolution of the current graphics. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) | |
IsBlendModeSupported | Overridden. Indicates whether this graphics implementation supports a specified blend mode.
GcSkiaGraphics supports all blend modes, so this method always returns true. | |
IsInterpolationModeSupported | Overridden. Indicates whether this graphics implementation supports a specified interpolation mode.
The following interpolation modes are supported by GcSkiaGraphics: | |
MeasureImage | Measures how an image will be drawn using the specified bounds and image alignment. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) | |
MeasureString | Overloaded. Measures a string using a specified GrapeCity.Documents.Text.TextFormat, available layout size and GrapeCity.Documents.Text.TextSplitOptions. Also calculates and returns in an output parameter the number of chars that fit into the specified size. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) | |
MeasureStringWithTrailingWhitespace | Overloaded. Measures a string using a specified font, font size and layout width, taking into account the trailing whitespace at the end of each line. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) | |
MeasureSvg | Calculates the content bounds of a specified SVG document when its viewport is drawn at a specified point. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) | |
PopClip | Removes the last clip. After this method is called, the clip is no longer applied to subsequent drawing operations. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) | |
PopTransparencyLayer | Overridden. Stops redirecting drawing operations to the transparency layer that was created by the last PushTransparencyLayer call. | |
PushClip | Overloaded. Specifies a rectangle to which all subsequent drawing operations are clipped. Clipping is applied only if containerRect does not contain clipRect.
The GrapeCity.Documents.Drawing.GcGraphics.Clip object returned by this method implements IDisposable, so this method can be used with the 'using' pattern: using (g.PushClip(...)) ... in which case the clipping region will be removed when the returned object is disposed. (Inherited from GrapeCity.Documents.Drawing.GcGraphics) | |
PushTransparencyLayer | Overridden. Adds a transparency layer to the GcSkiaGraphics so that it receives all subsequent drawing operations until PopTransparencyLayer is called. | |
SetLicenseKey | Sets the license key. | |
ToGcBitmap | Overloaded. Creates an instance of the GrapeCity.Documents.Imaging.GcBitmap class from the current GcSkiaGraphics. | |
ToSkiaImage | Creates an instance of the GcSkiaImage class from the current GcSkiaGraphics. |