DioDocs for PDF
GcGraphics クラス メンバ
プロパティ  メソッド 

GrapeCity.Documents.Imaging アセンブリ > GrapeCity.Documents.Drawing 名前空間 : GcGraphics クラス

GcGraphicsデータ型で公開されるメンバを以下の表に示します。

パブリック プロパティ
 名前解説
Public プロパティGets or sets the current blend mode.  
Public プロパティGets a value indicating whether this instance of GcGraphics has been disposed and cannot be used anymore.  
Public プロパティ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.  
Public プロパティFor internal use. Gets the features supported by this graphics.  
Public プロパティGets or sets a GrapeCity.Documents.Text.FontCollection used by MeasureString and DrawString methods.  
Public プロパティstatic (Shared in Visual Basic)For internal use. Gets or sets the scale factor used to create glyphs' path.  
Public プロパティFor internal use.  
Public プロパティGets or sets the resolution of the current graphics (pixels per inch).  
Public プロパティGets the resolution of the underlying drawing surface (pixels per inch).  
Public プロパティGets or sets the transformation matrix of the current graphics.  
トップ
パブリック メソッド
 名前解説
Public メソッドFor internal use.  
Public メソッドFor internal use. Composites this GcGraphics and the IGcTransparencyGroup created with the CreateTransparencyGroup method.  
Public メソッドオーバーロードされます。 Creates a clip region from a graphics path.

Use PushClip(IClipRegion) and PopClip to set/remove clipping.

 
Public メソッドオーバーロードされます。 For internal use only.  
Public メソッドCreates a graphics path.  
Public メソッドCreates IPath object representing round border.  
Public メソッド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.

 
Public メソッドFor internal use. Creates a IGcTransparencyGroup compatible with this graphics. This group can be used later for: 1) Compose with graphics using the Composite method 2) Create a transparency mask from this group using the CreateTransparencyMask method Note! If the transparency group supports System.IDisposable interface it will be automatically disposed after usage.  
Public メソッドFor internal use. Creates a transparency mask from a IGcTransparencyGroup, this mask can be specified for this graphics using SetTransparencyMask method. Note! If the transparency mask supports System.IDisposable interface it will be automatically disposed after usage.  
Public メソッドオーバーロードされます。 For internal use only.  
Public メソッドReleases all resources used by the current GcGraphics.  
Public メソッドオーバーロードされます。 Draws an ellipse using a specified line color, width and style.

If the value of lineStyle parameter is not DashStyle.Solid, the ellipse is drawn with a Pen having Pen.LineCap set to PenLineCap.Square instead of PenLineCap.Flat.

 
Public メソッドオーバーロードされます。 For internal use only.  
Public メソッドオーバーロードされます。 Draws an image using specified bounds, clipping and image alignment.  
Public メソッドオーバーロードされます。 Draws a line between two points, using a specified line color, width and style.

If the value of lineStyle parameter is not DashStyle.Solid, the line is drawn with a Pen having Pen.LineCap set to PenLineCap.Square instead of PenLineCap.Flat.

 
Public メソッドオーバーロードされます。 Draws a series of connected lines, using a specified line color, width and style.

If the value of lineStyle parameter is not DashStyle.Solid, the lines are drawn with a Pen having Pen.LineCap set to PenLineCap.Square instead of PenLineCap.Flat.

 
Public メソッドオーバーロードされます。 Draws a path using a specified line color, width and style.

If the value of lineStyle parameter is not DashStyle.Solid, the path is drawn with a Pen having Pen.LineCap set to PenLineCap.Square instead of PenLineCap.Flat.

 
Public メソッドオーバーロードされます。 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 DashStyle.Solid, the polygon is drawn with a Pen having Pen.LineCap set to PenLineCap.Square instead of PenLineCap.Flat.

 
Public メソッドオーバーロードされます。 Draws a rectangle using a specified line color, width and style.

If the value of lineStyle parameter is not DashStyle.Solid, the rectangle is drawn with a Pen having Pen.LineCap set to PenLineCap.Square instead of PenLineCap.Flat.

 
Public メソッドオーバーロードされます。 Draws a rounded border defined by four Pen objects and CornerRadius structure.  
Public メソッドオーバーロードされます。 Draws a string using a specified GrapeCity.Documents.Text.TextFormat at a specified location.  
Public メソッドオーバーロードされます。 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).

 
Public メソッドオーバーロードされます。 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).

 
Public メソッド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.

 
Public メソッドオーバーロードされます。 For internal use only.  
Public メソッドFor internal use.  
Public メソッドオーバーロードされます。 Fills an ellipse with a specified brush.  
Public メソッドオーバーロードされます。 Fills a path using a specified brush.  
Public メソッドオーバーロードされます。 Fills a polygon specified by an array of points, using a specified color and fill mode.  
Public メソッドオーバーロードされます。 Fills a rectangle using a specified brush.  
Public メソッドオーバーロードされます。 Fills a rounded rectangle using a specified brush.  
Public メソッドReturns the size of an image in pixels using the resolution of the current graphics.  
Public メソッドIndicates whether this graphics implementation supports a specified blend mode.  
Public メソッドMeasures how an image will be drawn using the specified bounds and image alignment.  
Public メソッドオーバーロードされます。 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.  
Public メソッドオーバーロードされます。 Measures a string using a specified font, font size and layout width, taking into account the trailing whitespace at the end of each line.  
Public メソッドCalculates the content bounds of a specified SVG document when its viewport is drawn at a specified point.  
Public メソッドRemoves the last clip. After this method is called, the clip is no longer applied to subsequent drawing operations.  
Public メソッドStops redirecting drawing operations to the transparency layer that was created by the last PushTransparencyLayer call.  
Public メソッドオーバーロードされます。 Specifies a rectangle to which all subsequent drawing operations are clipped. Clipping is applied only if containerRect does not contain clipRect.

The 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.  
Public メソッドAdds a transparency layer to the current graphics. That layer receives all subsequent drawing operations until PopTransparencyLayer is called.  
Public メソッドFor internal use. Sets a transparency mask for subsequent drawing operations, mask was created with IGcGraphicsLayer.CreateTransparencyMask(). Note! mask can be null, in this case mask should be removed.  
トップ
参照

GcGraphics クラス
GrapeCity.Documents.Drawing 名前空間