IGraphics {Microsoft.VisualBasic.Imaging} | .NET clr documentation |
Encapsulates a GDI+(bitmap, wmf)/SVG etc drawing surface. This class must be inherited.
an default interface wrapper of the .NET gdi+ Graphics object
# namespace Microsoft.VisualBasic.Imaging
export class IGraphics {
# set background via @M:Microsoft.VisualBasic.Imaging.IGraphics.Clear(Microsoft.VisualBasic.Imaging.Brush)
method.
Background: Color;
# max value of the [DpiX, DpiY]
Dpi: double;
# Get graphics driver code
Driver: Drivers;
# Default font value for text drawing
Font: Font;
# the image graphics height
Height: integer;
# Gets or sets the rendering origin of this System.Drawing.Graphics for dithering
# and for hatch brushes.
RenderingOrigin: Point;
# the current canvas size in pixels: [width, height]
Size: Size;
# Default pen for drawing
Stroke: Pen;
# Gets or sets the gamma correction value for rendering text.
TextContrast: integer;
# the image graphics width
Width: integer;
}
Background
: ColorDriver
: DriversFont
: FontRenderingOrigin
: PointSize
: SizeStroke
: Pen