Painter 클래스

Summary:

Module: aspose.gis.painting

Full Name: aspose.gis.painting.Painter

Aspose.PSD Version: 25.9.0

Constructors

NameDescription
Painter(engine)Painter 클래스의 새 인스턴스를 초기화합니다

Properties

NameTypeAccessDescription
brushPainterBrushr/w
폰트System.Drawing.Fontr/w
penPainterPenr/w
rounded_heightdoubler
rounded_widthdoubler
tranformationMatrixTransformationr/w

Methods

NameDescription
draw_characters(path)
draw_ellipse(center, rx, ry)
draw_image(image_path, width, height, opacity)
draw_line(c0, c1)
draw_polyline(polyline)
draw_rectangle(rectangle)
draw_shape(shape)
draw_text(bottom_left, text)
measure_text(text, font)
measure_text_characters(text, font)
rotate(cos, sin)
rotate(degrees)
scale(zoom_x, zoom_y)
start_new_layer(opacity)
start_new_layer(options)
translate(c)
translate(x, y)

Constructor: Painter(engine)

 Painter(engine) 

Painter 클래스의 새 인스턴스를 초기화합니다

Parameters:

매개변수형식설명
enginePaintEngine

Method: measure_text(text, font)

 measure_text(text, font) 

Parameters:

매개변수형식설명
textstring
폰트System.Drawing.Font

Returns

형식설명
Size

Method: measure_text_characters(text, font)

 measure_text_characters(text, font) 

Parameters:

매개변수형식설명
textstring
폰트System.Drawing.Font

Returns

형식설명
System.Collections.Generic.List<Aspose.Gis.Common.Size>