| Package | Description |
|---|---|
| com.aspose.drawing |
Aspose.Drawing is a graphics API that provides the capability of 2D drawings identical to GDI+ in your .NET applications.
|
| com.aspose.drawing.drawing2d |
| Modifier and Type | Method and Description |
|---|---|
StringFormat |
StringFormat.deepClone()
Creates an exact copy of this
StringFormat object. |
static StringFormat |
StringFormat.getGenericDefault()
Gets a generic default
StringFormat object. |
static StringFormat |
StringFormat.getGenericTypographic()
Gets a generic typographic
StringFormat object. |
| Modifier and Type | Method and Description |
|---|---|
void |
Graphics.drawString(String s,
Font font,
Brush brush,
float x,
float y,
StringFormat format)
Draws the specified text string at the specified location with the specified
Brush and
Font objects using the formatting attributes of the specified StringFormat. |
void |
Graphics.drawString(String s,
Font font,
Brush brush,
PointF point,
StringFormat format)
Draws the specified text string at the specified location with the specified
Brush and
Font objects using the formatting attributes of the specified StringFormat. |
void |
Graphics.drawString(String s,
Font font,
Brush brush,
RectangleF layoutRectangle,
StringFormat format)
Draws the specified text string in the specified rectangle with the specified
Brush
and Font objects using the formatting attributes of the specified StringFormat. |
Region[] |
Graphics.measureCharacterRanges(String text,
Font font,
RectangleF layoutRect,
StringFormat stringFormat)
Gets an array of
Region objects, each of which bounds a range of character positions within the specified string. |
SizeF |
Graphics.measureString(String text,
Font font,
int width,
StringFormat format)
Measures the specified string when drawn with the specified
Font and formatted
with the specified StringFormat. |
SizeF |
Graphics.measureString(String text,
Font font,
PointF origin,
StringFormat stringFormat)
Measures the specified string when drawn with the specified
Font and formatted
with the specified StringFormat. |
SizeF |
Graphics.measureString(String text,
Font font,
SizeF layoutArea,
StringFormat stringFormat)
Measures the specified string when drawn with the specified
Font and formatted
with the specified StringFormat. |
SizeF |
Graphics.measureString(String text,
Font font,
SizeF layoutArea,
StringFormat stringFormat,
int[] charactersFitted,
int[] linesFilled)
Measures the specified string when drawn with the specified
Font and formatted
with the specified StringFormat. |
| Constructor and Description |
|---|
StringFormat(StringFormat format)
Initializes a new instance of the
StringFormat class
from the specified existing StringFormat object. |
| Modifier and Type | Method and Description |
|---|---|
void |
GraphicsPath.addString(String s,
FontFamily family,
int style,
float emSize,
PointF origin,
StringFormat format)
Adds a text string to this path.
|
void |
GraphicsPath.addString(String s,
FontFamily family,
int style,
float emSize,
Point origin,
StringFormat format)
Adds a text string to this path.
|
void |
GraphicsPath.addString(String s,
FontFamily family,
int style,
float emSize,
RectangleF layoutRect,
StringFormat format)
Adds a text string to this path.
|
void |
GraphicsPath.addString(String s,
FontFamily family,
int style,
float emSize,
Rectangle layoutRect,
StringFormat format)
Adds a text string to this path.
|
Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.