Package | Description |
---|---|
com.aspose.imaging |
The package is the core for nested packages and the most basic objects used for Aspose.Imaging processing.
|
com.aspose.imaging.extensions |
The package contains extension methods.
|
com.aspose.imaging.fileformats.cmx.objectmodel.specs |
The namespace handles Tiff file format processing.
|
com.aspose.imaging.fileformats.emf.graphics |
The package contains Emf/Emf+ graphics.
|
com.aspose.imaging.fileformats.psd.layers |
The package contains PSD file format layers.
|
com.aspose.imaging.fileformats.svg.graphics |
The namespace for drawing on Svg.
|
com.aspose.imaging.imageloadoptions |
The package contains different file format load options.
|
com.aspose.imaging.shapes |
The package contains different shapes combined from shape segments.
|
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
com.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
com.aspose.imaging.Brush and com.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
com.aspose.imaging.Brush and com.aspose.imaging.Font objects using the formatting attributes of the specified com.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
com.aspose.imaging.Brush and com.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
com.aspose.imaging.Brush and com.aspose.imaging.Font objects using the formatting attributes of the specified com.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
com.aspose.imaging.Brush and com.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
com.aspose.imaging.Brush and com.aspose.imaging.Font objects using the formatting attributes of the specified com.aspose.imaging.stringFormat . |
Constructor and Description |
---|
Font(Font prototype,
int newStyle)
Initializes a new
com.aspose.imaging.Font that uses the specified existing com.aspose.imaging.Font and com.aspose.imaging.FontStyle enumeration. |
Modifier and Type | Method and Description |
---|---|
static Font |
FontExtensions.toGdiFont(Font font)
Converts the
Imaging.Font to the System.Drawing.Font . |
static Font |
FontExtensions.toGdiFont(Font font,
int fontUnit)
Converts the
Font to the System.Drawing.Font . |
Modifier and Type | Method and Description |
---|---|
Font |
CmxTextBlockSpec.getFont()
Gets the font.
|
Modifier and Type | Method and Description |
---|---|
void |
CmxTextBlockSpec.setFont(Font value)
Sets the font.
|
Modifier and Type | Method and Description |
---|---|
void |
MetafileRecorderGraphics2D.drawString(String string,
Font font,
Color color,
int x,
int y)
Draws the string.
|
void |
MetafileRecorderGraphics2D.drawString(String string,
Font font,
Color color,
int x,
int y,
float angle)
Draws the string.
|
Modifier and Type | Method and Description |
---|---|
Font |
TextLayer.getFont()
Gets the font.
|
Modifier and Type | Method and Description |
---|---|
void |
SvgGraphics2D.drawString(Font font,
String text,
Point origin,
Color textColor)
Draws the text string.
|
Modifier and Type | Method and Description |
---|---|
Font |
CdrLoadOptions.getDefaultFont()
Gets the default font.
|
Modifier and Type | Method and Description |
---|---|
void |
CdrLoadOptions.setDefaultFont(Font value)
Sets the default 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)
Gets or sets the font used to draw the text.
|
Constructor and Description |
---|
TextShape(String text,
RectangleF rectangle,
Font font,
StringFormat stringFormat)
Initializes a new instance of the
TextShape class. |