|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.imaging.DisposableObject
com.aspose.imaging.Brush
com.aspose.imaging.brushes.TransformBrush
com.aspose.imaging.brushes.TextureBrush
public final class TextureBrush
Each property of the Brushes.TextureBrush
class is a Brush
object that uses an image to fill the interior of a shape. This class cannot be inherited.
Constructor Summary | |
---|---|
TextureBrush(Image image)
Initializes a new instance of the Brushes.TextureBrush class that uses the specified image. |
|
TextureBrush(Image image,
int wrapMode)
Initializes a new instance of the Brushes.TextureBrush class that uses the specified image and wrap mode. |
|
TextureBrush(Image image,
int wrapMode,
Rectangle destinationRectangle)
Initializes a new instance of the Brushes.TextureBrush class that uses the specified image, wrap mode, and bounding rectangle. |
|
TextureBrush(Image image,
int wrapMode,
RectangleF destinationRectangle)
Initializes a new instance of the Brushes.TextureBrush class that uses the specified image, wrap mode, and bounding rectangle. |
|
TextureBrush(Image image,
Rectangle destinationRectangle)
Initializes a new instance of the Brushes.TextureBrush class that uses the specified image and bounding rectangle. |
|
TextureBrush(Image image,
RectangleF destinationRectangle)
Initializes a new instance of the Brushes.TextureBrush class that uses the specified image and bounding rectangle. |
|
TextureBrush(Image image,
RectangleF destinationRectangle,
ImageAttributes imageAttributes)
Initializes a new instance of the Brushes.TextureBrush class that uses the specified image, bounding rectangle, and image attributes. |
|
TextureBrush(Image image,
Rectangle destinationRectangle,
ImageAttributes imageAttributes)
Initializes a new instance of the Brushes.TextureBrush class that uses the specified image, bounding rectangle, and image attributes. |
Method Summary | |
---|---|
Image |
getImage()
Gets the Image object associated with this Brushes.TextureBrush object. |
ImageAttributes |
getImageAttributes()
Gets the ImageAttributes associated with this TextureBrush . |
RectangleF |
getImageRectangle()
Gets the Rectangle associated with this TextureBrush . |
Methods inherited from class com.aspose.imaging.brushes.TransformBrush |
---|
getTransform, getWrapMode, isTransformChanged, multiplyTransform, multiplyTransform, resetTransform, rotateTransform, rotateTransform, scaleTransform, scaleTransform, setTransform, setWrapMode, translateTransform, translateTransform |
Methods inherited from class com.aspose.imaging.Brush |
---|
deepClone, getOpacity, setOpacity |
Methods inherited from class com.aspose.imaging.DisposableObject |
---|
dispose, getDisposed, releaseManagedResources, releaseUnmanagedResources, verifyNotDisposed |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TextureBrush(Image image)
Initializes a new instance of the Brushes.TextureBrush
class that uses the specified image.
image
- The Image
object with which this Brushes.TextureBrush
object fills interiors.public TextureBrush(Image image, int wrapMode)
Initializes a new instance of the Brushes.TextureBrush
class that uses the specified image and wrap mode.
image
- The Image
object with which this Brushes.TextureBrush
object fills interiors.wrapMode
- A WrapMode
enumeration that specifies how this Brushes.TextureBrush
object is tiled.public TextureBrush(Image image, int wrapMode, Rectangle destinationRectangle)
Initializes a new instance of the Brushes.TextureBrush
class that uses the specified image, wrap mode, and bounding rectangle.
image
- The Image
object with which this Brushes.TextureBrush
object fills interiors.wrapMode
- A WrapMode
enumeration that specifies how this Brushes.TextureBrush
object is tiled.destinationRectangle
- A Rectangle
structure that represents the bounding rectangle for this Brushes.TextureBrush
object.public TextureBrush(Image image, int wrapMode, RectangleF destinationRectangle)
Initializes a new instance of the Brushes.TextureBrush
class that uses the specified image, wrap mode, and bounding rectangle.
image
- The Image
object with which this Brushes.TextureBrush
object fills interiors.wrapMode
- A WrapMode
enumeration that specifies how this Brushes.TextureBrush
object is tiled.destinationRectangle
- A RectangleF
structure that represents the bounding rectangle for this Brushes.TextureBrush
object.public TextureBrush(Image image, Rectangle destinationRectangle)
Initializes a new instance of the Brushes.TextureBrush
class that uses the specified image and bounding rectangle.
image
- The Image
object with which this Brushes.TextureBrush
object fills interiors.destinationRectangle
- A Rectangle
structure that represents the bounding rectangle for this Brushes.TextureBrush
object.public TextureBrush(Image image, RectangleF destinationRectangle)
Initializes a new instance of the Brushes.TextureBrush
class that uses the specified image and bounding rectangle.
image
- The Image
object with which this Brushes.TextureBrush
object fills interiors.destinationRectangle
- A RectangleF
structure that represents the bounding rectangle for this Brushes.TextureBrush
object.public TextureBrush(Image image, RectangleF destinationRectangle, ImageAttributes imageAttributes)
Initializes a new instance of the Brushes.TextureBrush
class that uses the specified image, bounding rectangle, and image attributes.
image
- The Image
object with which this Brushes.TextureBrush
object fills interiors.destinationRectangle
- A RectangleF
structure that represents the bounding rectangle for this Brushes.TextureBrush
object.imageAttributes
- An ImageAttributes
object that contains additional information about the image used by this Brushes.TextureBrush
object.public TextureBrush(Image image, Rectangle destinationRectangle, ImageAttributes imageAttributes)
Initializes a new instance of the Brushes.TextureBrush
class that uses the specified image, bounding rectangle, and image attributes.
image
- The Image
object with which this Brushes.TextureBrush
object fills interiors.destinationRectangle
- A Rectangle
structure that represents the bounding rectangle for this Brushes.TextureBrush
object.imageAttributes
- An ImageAttributes
object that contains additional information about the image used by this Brushes.TextureBrush
object.Method Detail |
---|
public Image getImage()
Gets the Image
object associated with this Brushes.TextureBrush
object.
Image
object that represents the image with which this Brushes.TextureBrush
object fills shapes.
public ImageAttributes getImageAttributes()
Gets the ImageAttributes
associated with this TextureBrush
.
ImageAttributes
.
public RectangleF getImageRectangle()
Gets the Rectangle
associated with this TextureBrush
.
Rectangle
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |