SystemDrawingAdapter Class
Contents
[
Hide
]Summary:
Module: aspose.gis.painting
Full Name: aspose.gis.painting.SystemDrawingAdapter
Aspose.PSD Version: 25.9.0
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| string_format [static] | System.Drawing.StringFormat | r |
Methods
Method: convert_brush(brush) [static]
convert_brush(brush)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| brush | SolidPainterBrush |
Returns
| Type | Description |
|---|---|
| System.Drawing.Brush |
Method: convert_coordinate(coordinate) [static]
convert_coordinate(coordinate)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| coordinate | Coordinate |
Returns
| Type | Description |
|---|---|
| System.Drawing.PointF |
Method: convert_pen(pen) [static]
convert_pen(pen)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| pen | PainterPen |
Returns
| Type | Description |
|---|---|
| System.Drawing.Pen |
Method: convert_shape(shape) [static]
convert_shape(shape)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| shape | PolylinesShape |
Returns
| Type | Description |
|---|---|
| System.Drawing.Drawing2D.GraphicsPath |
Method: convert_transformation(transformation) [static]
convert_transformation(transformation)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| transformation | MatrixTransformation |
Returns
| Type | Description |
|---|---|
| System.Drawing.Drawing2D.Matrix |
Method: font_design_units_to_pixels(font, value_in_design_units) [static]
font_design_units_to_pixels(font, value_in_design_units)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| font | System.Drawing.Font | |
| value_in_design_units | int |
Returns
| Type | Description |
|---|---|
| double |
Method: get_cell_ascent(font) [static]
get_cell_ascent(font)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| font | System.Drawing.Font |
Returns
| Type | Description |
|---|---|
| double |
Method: get_cell_descent(font) [static]
get_cell_descent(font)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| font | System.Drawing.Font |
Returns
| Type | Description |
|---|---|
| double |
Method: measure_text(graphics, text, font) [static]
measure_text(graphics, text, font)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| graphics | System.Drawing.Graphics | |
| text | string | |
| font | System.Drawing.Font |
Returns
| Type | Description |
|---|---|
| Size |