Graphics2D {Microsoft.VisualBasic.Imaging} | .NET clr documentation |
GDI+ device handle for encapsulates a GDI+ drawing surface. (GDI+绘图设备句柄,这个对象其实是为了将gdi+绘图与图形模块的SVG绘图操作统一起来的)
# namespace Microsoft.VisualBasic.Imaging
export class Graphics2D extends GDICanvas {
Background: Color;
# 在图象上面的中心的位置点
Center: Point;
CompositingMode: CompositingMode;
CompositingQuality: CompositingQuality;
Dpi: double;
DpiX: double;
DpiY: double;
Font: Font;
Graphics: Graphics;
Height: integer;
# GDI+ device handle memory.(GDI+设备之中的图像数据)
ImageResource: Image;
InterpolationMode: InterpolationMode;
IsClipEmpty: boolean;
IsVisibleClipEmpty: boolean;
PageScale: double;
PageUnit: GraphicsUnit;
PixelOffsetMode: PixelOffsetMode;
RenderingOrigin: Point;
# Gets the width and height, in pixels, of this Graphics2D.ImageResource.(图像的大小)
Size: Size;
SmoothingMode: SmoothingMode;
Stroke: Pen;
TextContrast: integer;
TextRenderingHint: TextRenderingHint;
Width: integer;
}
Background
: ColorCenter
: PointCompositingMode
: CompositingModeCompositingQuality
: CompositingQualityFont
: FontGraphics
: GraphicsImageResource
: ImageInterpolationMode
: InterpolationModePageUnit
: GraphicsUnitPixelOffsetMode
: PixelOffsetModeRenderingOrigin
: PointSize
: SizeSmoothingMode
: SmoothingModeStroke
: PenTextRenderingHint
: TextRenderingHint