| 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.
|
| Modifier and Type | Method and Description |
|---|---|
static Size |
Size.add(Size sz1,
Size sz2)
|
static Size |
Size.ceiling(SizeF value)
|
Size |
Size.clone() |
Size |
Size.Clone() |
static Size |
Size.getEmpty() |
Size |
Rectangle.getSize()
Gets the size of this
Rectangle. |
Size |
Image.getSize()
Gets the width and height, in pixels, of this image.
|
Size |
Icon.getSize()
Gets the size of this
Icon. |
static Size |
Size.op_Addition(Size sz1,
Size sz2)
|
static Size |
Size.op_Division(Size left,
int right)
|
static Size |
Size.op_Multiply(int left,
Size right)
|
static Size |
Size.op_Multiply(Size left,
int right)
|
static Size |
Size.op_Subtraction(Size sz1,
Size sz2)
|
static Size |
Size.round(SizeF value)
|
static Size |
Size.subtract(Size sz1,
Size sz2)
|
static Size |
Point.to_Size(Point p) |
Size |
SizeF.toSize()
|
static Size |
Size.truncate(SizeF value)
|
| Modifier and Type | Method and Description |
|---|---|
static PointF |
PointF.add(PointF orig,
Size size)
|
static Point |
Point.add(Point pt,
Size sz)
|
static Size |
Size.add(Size sz1,
Size sz2)
|
void |
Size.CloneTo(Size that) |
void |
Graphics.copyFromScreen(int sourceX,
int sourceY,
int destinationX,
int destinationY,
Size blockRegionSize,
int copyPixelOperation)
Performs a bit-block transfer of the color data, corresponding to a rectangle of pixels, from the screen to the drawing surface of the
Graphics. |
void |
Graphics.copyFromScreen(Point upperLeftSource,
Point upperLeftDestination,
Size blockRegionSize)
Performs a bit-block transfer of color data, corresponding to a rectangle of pixels, from the screen to the drawing surface of the
Graphics. |
void |
Graphics.copyFromScreen(Point upperLeftSource,
Point upperLeftDestination,
Size blockRegionSize,
int copyPixelOperation)
Performs a bit-block transfer of color data, corresponding to a rectangle of pixels, from the screen to the drawing surface of the
Graphics. |
boolean |
Size.equals(Size other)
|
void |
Rectangle.inflate(Size size)
Enlarges this
Rectangle by the specified amount. |
static boolean |
Size.isEquals(Size obj1,
Size obj2) |
static PointF |
PointF.op_Addition(PointF pt,
Size sz) |
static Point |
Point.op_Addition(Point pt,
Size sz) |
static Size |
Size.op_Addition(Size sz1,
Size sz2)
|
static SizeF |
Size.op_Division(Size left,
float right)
|
static Size |
Size.op_Division(Size left,
int right)
|
static boolean |
Size.op_Equality(Size sz1,
Size sz2)
Tests whether two
Size structures are equal. |
static boolean |
Size.op_Inequality(Size sz1,
Size sz2)
Tests whether two
Size structures are different. |
static SizeF |
Size.op_Multiply(float left,
Size right)
|
static Size |
Size.op_Multiply(int left,
Size right)
|
static SizeF |
Size.op_Multiply(Size left,
float right)
|
static Size |
Size.op_Multiply(Size left,
int right)
|
static PointF |
PointF.op_Subtraction(PointF pt,
Size sz) |
static Point |
Point.op_Subtraction(Point pt,
Size sz) |
static Size |
Size.op_Subtraction(Size sz1,
Size sz2)
|
void |
Rectangle.setSize(Size value)
Sets the size of this
Rectangle. |
static PointF |
PointF.subtract(PointF pt,
Size sz) |
static Point |
Point.subtract(Point pt,
Size sz) |
static Size |
Size.subtract(Size sz1,
Size sz2)
|
static Point |
Size.to_Point(Size size)
|
static SizeF |
Size.to_SizeF(Size p)
|
| Constructor and Description |
|---|
Bitmap(Image original,
Size newSize)
Initializes a new instance of the
Bitmap class from the specified existing image, scaled to the specified size. |
Icon(Icon original,
Size size)
Initializes a new instance of the
Icon class and attempts to find a version of the icon that matches the requested size. |
Icon(InputStream stream,
Size size)
Initializes a new instance of the
Icon class of the specified size from the specified stream. |
Icon(String fileName,
Size size)
Initializes a new instance of the
Icon class of the specified size from the specified file. |
Point(Size sz) |
Rectangle(Point location,
Size size)
Initializes a new instance of the
Rectangle struct with the specified location and size. |
Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.