public class TextureBrush extends Brush
Represents texture brush.
Constructor and Description |
---|
TextureBrush()
Initializes a new instance of the TextureBrush class with default values.
|
TextureBrush(InputStream imageStream)
Initializes a new instance of the TextureBrush class with image stream option.
|
TextureBrush(String imageGuid)
Initializes a new instance of the TextureBrush class with image guid option.
|
Modifier and Type | Method and Description |
---|---|
String |
getImageGuid()
Gets or sets the texture image file Guid.
|
InputStream |
getImageStream()
Gets or sets the texture image stream.
|
void |
setImageGuid(String value)
Gets or sets the texture image file Guid.
|
void |
setImageStream(InputStream value)
Gets or sets the texture image stream.
|
public TextureBrush()
Initializes a new instance of the TextureBrush class with default values.
public TextureBrush(InputStream imageStream)
Initializes a new instance of the TextureBrush class with image stream option.
imageStream
- Image stream.public TextureBrush(String imageGuid)
Initializes a new instance of the TextureBrush class with image guid option.
imageGuid
- Image file Guid.public final String getImageGuid()
Gets or sets the texture image file Guid. This property is used only if ImageStream is not specified.
public final InputStream getImageStream()
Gets or sets the texture image stream. If this property is specified it is always used instead ImageGuid.
public final void setImageGuid(String value)
Gets or sets the texture image file Guid. This property is used only if ImageStream is not specified.
public final void setImageStream(InputStream value)
Gets or sets the texture image stream. If this property is specified it is always used instead ImageGuid.
Copyright © 2019. All rights reserved.