IGraphics {Microsoft.VisualBasic.Imaging} | .NET clr documentation |
Encapsulates a GDI+(bitmap, wmf)/SVG etc drawing surface. This class must be inherited.
# namespace Microsoft.VisualBasic.Imaging
export class IGraphics {
# set background via @M:Microsoft.VisualBasic.Imaging.IGraphics.Clear(System.Drawing.Color)
method.
Background: Color;
# Gets a value that specifies how composited images are drawn to this System.Drawing.Graphics.
CompositingMode: CompositingMode;
# Gets or sets the rendering quality of composited images drawn to this System.Drawing.Graphics.
CompositingQuality: CompositingQuality;
# max value of the [DpiX, DpiY]
Dpi: double;
# Gets the horizontal resolution of this System.Drawing.Graphics.
DpiX: double;
# Gets the vertical resolution of this System.Drawing.Graphics.
DpiY: double;
# Default font value for text drawing
Font: Font;
InterpolationMode: InterpolationMode;
IsClipEmpty: boolean;
IsVisibleClipEmpty: boolean;
PageScale: double;
PageUnit: GraphicsUnit;
PixelOffsetMode: PixelOffsetMode;
RenderingOrigin: Point;
# the current canvas size in pixels: [width, height]
Size: Size;
SmoothingMode: SmoothingMode;
# Default pen for drawing
Stroke: Pen;
TextContrast: integer;
TextRenderingHint: TextRenderingHint;
}
Background
: ColorCompositingMode
: CompositingModeCompositingQuality
: CompositingQualityFont
: FontInterpolationMode
: InterpolationModePageUnit
: GraphicsUnitPixelOffsetMode
: PixelOffsetModeRenderingOrigin
: PointSize
: SizeSmoothingMode
: SmoothingModeStroke
: PenTextRenderingHint
: TextRenderingHint