| 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.imaging |
| Modifier and Type | Class and Description |
|---|---|
class |
Bitmap
Encapsulates a bitmap, which consists of the pixel data for a graphics image and its attributes.
|
| Modifier and Type | Method and Description |
|---|---|
static Image |
Image.fromFile(String filename)
Creates an
Image from the specified file. |
static Image |
Image.fromStream(InputStream stream)
Creates an
Image from the specified data stream. |
static Image |
Image.fromStream(InputStream stream,
boolean useEmbeddedColorManagement)
Creates an
Image from the specified data stream, optionally using embedded
color management information in that stream. |
Image |
TextureBrush.getImage()
Gets the Image object associated with this TextureBrush object.
|
Image |
Image.getThumbnailImage(int thumbWidth,
int thumbHeight,
Image.GetThumbnailImageAbort callback,
byte[] callbackData)
Returns a thumbnail for this
Image. |
| Modifier and Type | Method and Description |
|---|---|
void |
Graphics.drawImage(Image image,
float x,
float y)
Draws the specified
Image, using its original physical size, at the specified location. |
void |
Graphics.drawImage(Image image,
float x,
float y,
float width,
float height)
Draws the specified
Image, using its original physical size, at the specified location and with the specified size. |
void |
Graphics.drawImage(Image image,
float x,
float y,
RectangleF srcRect,
int srcUnit)
Draws a portion of an image at a specified location.
|
void |
Graphics.drawImage(Image image,
int x,
int y)
Draws the specified image, using its original physical size, at the location specified by a coordinate pair.
|
void |
Graphics.drawImage(Image image,
int x,
int y,
int width,
int height)
Draws the specified Image at the specified location and with the specified size.
|
void |
Graphics.drawImage(Image image,
int x,
int y,
Rectangle srcRect,
int srcUnit)
Draws a portion of an image at a specified location.
|
void |
Graphics.drawImage(Image image,
Point point)
Draws the specified Image, using its original physical size, at the specified location.
|
void |
Graphics.drawImage(Image image,
Point[] destPoints)
Draws the specified
Е:Image at the specified location and with the specified shape and size. |
void |
Graphics.drawImage(Image image,
Point[] destPoints,
Rectangle srcRect,
int srcUnit)
Draws the specified portion of the specified
Image at the specified location and with the specified size. |
void |
Graphics.drawImage(Image image,
Point[] destPoints,
Rectangle srcRect,
int srcUnit,
ImageAttributes imageAttr)
Draws the specified portion of the specified
Image at the specified location and with the specified size. |
void |
Graphics.drawImage(Image image,
PointF point)
Draws the specified
Image, using its original physical size, at the specified location. |
void |
Graphics.drawImage(Image image,
PointF[] destPoints)
Draws the specified
Image at the specified location and with the specified shape and size. |
void |
Graphics.drawImage(Image image,
PointF[] destPoints,
RectangleF srcRect,
int srcUnit)
Draws the specified portion of the specified Image at the specified location and with the specified size.
|
void |
Graphics.drawImage(Image image,
PointF[] destPoints,
RectangleF srcRect,
int srcUnit,
ImageAttributes imageAttr)
Draws the specified portion of the specified Image at the specified location and with the specified size.
|
void |
Graphics.drawImage(Image image,
Rectangle rect)
Draws the specified Image at the specified location and with the specified size.
|
void |
Graphics.drawImage(Image image,
RectangleF rect)
Draws the specified Image at the specified location and with the specified size.
|
void |
Graphics.drawImage(Image image,
Rectangle destRect,
float srcX,
float srcY,
float srcWidth,
float srcHeight,
int srcUnit)
Draws the specified portion of the specified
Image at the specified location and with the specified size. |
void |
Graphics.drawImage(Image image,
Rectangle destRect,
float srcX,
float srcY,
float srcWidth,
float srcHeight,
int srcUnit,
ImageAttributes imageAttrs)
Draws the specified portion of the specified
Image at the specified location and with the specified size. |
void |
Graphics.drawImage(Image image,
RectangleF destRect,
RectangleF srcRect,
int srcUnit)
Draws the specified portion of the specified Image at the specified location and with the specified size.
|
void |
Graphics.drawImage(Image image,
Rectangle destRect,
int srcX,
int srcY,
int srcWidth,
int srcHeight,
int srcUnit)
Draws the specified portion of the specified
Image at the specified location and with the specified size. |
void |
Graphics.drawImage(Image image,
Rectangle destRect,
int srcX,
int srcY,
int srcWidth,
int srcHeight,
int srcUnit,
ImageAttributes imageAttr)
Draws the specified portion of the specified Image at the specified location and with the specified size.
|
void |
Graphics.drawImage(Image image,
Rectangle destRect,
Rectangle srcRect,
int srcUnit)
Draws the specified portion of the specified Image at the specified location and with the specified size.
|
void |
Graphics.drawImageUnscaled(Image image,
int x,
int y)
Draws the specified image using its original physical size at the location specified by a coordinate pair.
|
void |
Graphics.drawImageUnscaled(Image image,
int x,
int y,
int width,
int height)
Draws the specified image using its original physical size at the location specified by a coordinate pair.
|
void |
Graphics.drawImageUnscaled(Image image,
Point point)
Draws a specified image using its original physical size at a specified location.
|
void |
Graphics.drawImageUnscaled(Image image,
Rectangle rect)
Draws a specified image using its original physical size at a specified location.
|
void |
Graphics.drawImageUnscaledAndClipped(Image image,
Rectangle rect)
Draws the specified image without scaling and clips it, if necessary, to fit in the specified rectangle.
|
static Graphics |
Graphics.fromImage(Image image)
Creates a new Graphics from the specified Image.
|
void |
Image.saveAdd(Image image,
EncoderParameters encoderParams)
Adds a frame to the file or stream specified in a previous call to the one of Image.Save(...) methods.
|
| Constructor and Description |
|---|
Bitmap(Image original)
Initializes a new instance of the
Bitmap class from the specified existing image. |
Bitmap(Image original,
int width,
int height)
Initializes a new instance of the
Bitmap class from the specified existing image,
scaled to the specified size. |
Bitmap(Image original,
Size newSize)
Initializes a new instance of the
Bitmap class from the specified existing image, scaled to the specified size. |
TextureBrush(Image bitmap)
Initializes a new instance of the
TextureBrush class that uses the specified image. |
TextureBrush(Image image,
int wrapMode)
Initializes a new instance of the
TextureBrush class that uses the specified image and wrap mode. |
TextureBrush(Image image,
int wrapMode,
RectangleF dstRect)
Initializes a new instance of the
TextureBrush class that uses the specified image, wrap mode, and bounding rectangle. |
TextureBrush(Image image,
RectangleF dstRect)
Initializes a new instance of the
TextureBrush class that uses the specified image, and bounding rectangle. |
TextureBrush(Image image,
RectangleF dstRect,
ImageAttributes imageAttr)
Initializes a new instance of the
TextureBrush class that uses the specified image, bounding rectangle, and image attributes. |
| Modifier and Type | Class and Description |
|---|---|
class |
Metafile
Defines a graphic metafile.
|
Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.