Painter 클래스
내용물
[
숨다
]Summary:
Module: aspose.gis.painting
Full Name: aspose.gis.painting.Painter
Aspose.PSD Version: 25.9.0
Constructors
| Name | Description |
|---|---|
| Painter(engine) | Painter 클래스의 새 인스턴스를 초기화합니다 |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| brush | PainterBrush | r/w | |
| 폰트 | System.Drawing.Font | r/w | |
| pen | PainterPen | r/w | |
| rounded_height | double | r | |
| rounded_width | double | r | |
| tranformation | MatrixTransformation | r/w |
Methods
| Name | Description |
|---|---|
| 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:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| engine | PaintEngine |
Method: measure_text(text, font)
measure_text(text, font)
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| text | string | |
| 폰트 | System.Drawing.Font |
Returns
| 형식 | 설명 |
|---|---|
| Size |
Method: measure_text_characters(text, font)
measure_text_characters(text, font)
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| text | string | |
| 폰트 | System.Drawing.Font |
Returns
| 형식 | 설명 |
|---|---|
| System.Collections.Generic.List<Aspose.Gis.Common.Size> |