ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
This is an old revision of the document!
This class is used to fill an area with a image texture.
This class is used to fill an area with a image texture. For example, you may have a small bitmap that looks like marble, which you can then use to fill in an area feature.
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | GeoImage | This is a constructor for the class. | |
![]() | GeoImage, DrawingRectangleF | This is a constructor for the class. | |
![]() | GeoImage, GeoWrapMode | This is a constructor for the class. | |
![]() | GeoImage, GeoWrapMode, DrawingRectangleF | This is a constructor for the class. |
Name | Parameters | DeclaringType | Summary |
---|
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | GeoBrush | Create a copy of GeoBrush using the deep clone process. The default implementation uses serialization. | |
![]() | Object | ||
![]() | Object |
Name | Return | DeclaringType | Summary |
---|---|---|---|
![]() | DrawingRectangleF | This property gets and sets the screen rectangle used to fill the texture. | |
![]() | GeoImage | This property gets and sets the GeoImage used for the texture fill. | |
![]() | GeoWrapMode | This property gets and sets the wrap mode that is used to determine how an area is filled if the area is larger than the texture. | |
![]() | Int64 | GeoBrush | The id of the GeoBrush. This is always used as a key when in the cached brushes. |
Name | Return | DeclaringType | Summary |
---|
Name | Event Arguments | DeclaringType | Summary |
---|
This is a constructor for the class.
This overload allows you to pass in the image for the texture.
You will use this constructor when you want to use the Tile wrap mode and you want the image fill to encompass the entire shape.
Name | Type | Description |
---|---|---|
image | GeoImage | This parameter is the image you want to use as the texture. |
This is a constructor for the class.
This constructor allows you to pass in the image as well as a screen rectangle that determines how much of the area is filled.
This method allows you to pass in a rectangle in screen coordinates to determine how much of the area is textured.
Name | Type | Description |
---|---|---|
image | GeoImage | This parameter is the image you want to use as the texture. |
rectangleF | DrawingRectangleF | This parameter is a rectangle (in screen coordinates) that specifies the area you want to use for the texture. |
This is a constructor for the class.
This constructor allows you to pass in the image and the wrap mode.
Name | Type | Description |
---|---|---|
image | GeoImage | This parameter is the image you want to use as the texture. |
wrapMode | GeoWrapMode | This parameter determines the way the texture wraps when the area to fill is larger than the texture. |
This is a constructor for the class.
This constructor allows you to pass in the image as well as a screen rectangle that determines how much of the area is filled along with the wrap mode.
Name | Type | Description |
---|---|---|
image | GeoImage | This parameter is the image you want to use as the texture. |
wrapMode | GeoWrapMode | This parameter determines the way the texture wraps when the area to fill is larger than the texture. |
rectangleF | DrawingRectangleF | This parameter is a rectangle (in screen coordinates) that specifies the area you want to use for the texture. |
Create a copy of GeoBrush using the deep clone process.
The difference between deep clone and shallow clone is as follows: In shallow cloning, only the object is copied; the objects within it are not. By contrast, deep cloning copies the cloned object as well as all the objects within.
Return Type | Description |
---|---|
GeoBrush | A cloned GeoBrush. |
Name | Type | Description |
---|
Return Type | Description |
---|---|
Boolean |
Name | Type | Description |
---|---|---|
obj | Object |
Return Type | Description |
---|---|
Int32 |
Name | Type | Description |
---|
Return Type | Description |
---|---|
Type |
Name | Type | Description |
---|
Return Type | Description |
---|---|
String |
Name | Type | Description |
---|
Create a copy of GeoBrush using the deep clone process. The default implementation uses serialization.
The difference between deep clone and shallow clone is as follows: In shallow cloning, only the object is copied; the objects within it are not. By contrast, deep cloning copies the cloned object as well as all the objects within.
Return Type | Description |
---|---|
GeoBrush | A cloned GeoBrush. |
Name | Type | Description |
---|
Return Type | Description |
---|---|
Void |
Name | Type | Description |
---|
Return Type | Description |
---|---|
Object |
Name | Type | Description |
---|
This property gets and sets the screen rectangle used to fill the texture.
Return Type |
---|
DrawingRectangleF |
This property gets and sets the GeoImage used for the texture fill.
This property gets and sets the wrap mode that is used to determine how an area is filled if the area is larger than the texture.
This property gets and sets the wrap mode that is used to determine how an area is filled if the area is larger than the texture.
Return Type |
---|
GeoWrapMode |
The id of the GeoBrush. This is always used as a key when in the cached brushes.
Return Type |
---|
Int64 |