Package | Description |
---|---|
com.aspose.imaging | |
com.aspose.imaging.extensions | |
com.aspose.imaging.shapes |
Modifier and Type | Method and Description |
---|---|
Font |
Font.deepClone()
Creates an exact deep copy of this
Font . |
static Font |
Font.makeFontWithGraphUnit(String fontName,
float emSize,
int unit)
Initializes a new
T:Aspose.Imaging.Font using a specified size and unit. |
Modifier and Type | Method and Description |
---|---|
void |
Graphics.drawString(String s,
Font font,
Brush brush,
float x,
float y)
Draws the specified text string at the specified location with the specified
Aspose.Imaging.Brush and Aspose.Imaging.Font objects. |
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
Aspose.Imaging.Brush and Aspose.Imaging.Font objects using the formatting attributes of the specified Aspose.Imaging.StringFormat . |
void |
Graphics.drawString(String s,
Font font,
Brush brush,
PointF point)
Draws the specified text string at the specified location with the specified
Aspose.Imaging.Brush and Aspose.Imaging.Font objects. |
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
Aspose.Imaging.Brush and Aspose.Imaging.Font objects using the formatting attributes of the specified Aspose.Imaging.StringFormat . |
void |
Graphics.drawString(String s,
Font font,
Brush brush,
RectangleF layoutRectangle)
Draws the specified text string in the specified rectangle with the specified
Aspose.Imaging.Brush and Aspose.Imaging.Font objects. |
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
Aspose.Imaging.Brush and Aspose.Imaging.Font objects using the formatting attributes of the specified Aspose.Imaging.StringFormat . |
Constructor and Description |
---|
Font(Font prototype,
int newStyle)
Initializes a new
T:Aspose.Imaging.Font that uses the specified existing T:Aspose.Imaging.Font and T:Aspose.Imaging.FontStyle enumeration. |
Modifier and Type | Method and Description |
---|---|
static Font |
FontExtensions.toGdiFont(Font font)
Converts the
Font to the System.Drawing.Font . |
Modifier and Type | Method and Description |
---|---|
Font |
TextShape.getFont()
Gets or sets the font used to draw the text.
|
Modifier and Type | Method and Description |
---|---|
void |
TextShape.setFont(Font value) |
Constructor and Description |
---|
TextShape(String text,
RectangleF rectangle,
Font font,
StringFormat stringFormat)
Initializes a new instance of the
TextShape class. |
Copyright (c) 2008-2016 Aspose Pty Ltd. All Rights Reserved.