This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
thinkgeo.mapsuite.core.geotexturebrush [2015/09/17 10:30] admin |
thinkgeo.mapsuite.core.geotexturebrush [2017/03/16 21:59] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== ThinkGeo.MapSuite.Core.GeoTextureBrush ====== | ====== ThinkGeo.MapSuite.Core.GeoTextureBrush ====== | ||
+ | |||
+ | {{section>upgrade_map_suite_to_10.0}} | ||
+ | |||
This class is used to fill an area with a image texture. | This class is used to fill an area with a image texture. | ||
===== Inheritance Hierarchy ===== | ===== Inheritance Hierarchy ===== | ||
Line 6: | Line 9: | ||
***ThinkGeo.MapSuite.Core.GeoTextureBrush** | ***ThinkGeo.MapSuite.Core.GeoTextureBrush** | ||
===== Members Summary ===== | ===== Members Summary ===== | ||
- | === Public Constructors === | + | ==== Public Constructors ==== |
- | <div class_table> | + | ** {{wiki:PublicMethod.gif|}} GeoTextureBrush(GeoImage) ** |
- | **{{wiki:PublicMethod.gif|}}[[#GeoTextureBrush(GeoImage)|GeoTextureBrush]]** | + | |
- | * **Parameters**:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] | + | |
- | * **DeclaringType**:N/A | + | |
- | * **Summary**:This is a constructor for the class. | + | |
- | </div> | + | |
- | <div class_table> | + | * //This is a constructor for the class.// |
- | **{{wiki:PublicMethod.gif|}}[[#GeoTextureBrush(GeoImage,DrawingRectangleF)|GeoTextureBrush]]** | + | == Remarks == |
- | * **Parameters**:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]],[[ThinkGeo.MapSuite.Core.DrawingRectangleF|DrawingRectangleF]] | + | * //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.// |
- | * **DeclaringType**:N/A | + | == Parameters == |
- | * **Summary**:This is a constructor for the class. | + | * //image// |
- | </div> | + | * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] |
+ | * Description:This parameter is the image you want to use as the texture. | ||
- | <div class_table> | + | <div newline></div> |
- | **{{wiki:PublicMethod.gif|}}[[#GeoTextureBrush(GeoImage,GeoWrapMode)|GeoTextureBrush]]** | + | ** {{wiki:PublicMethod.gif|}} GeoTextureBrush(GeoImage,DrawingRectangleF) ** |
- | * **Parameters**:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]],[[ThinkGeo.MapSuite.Core.GeoWrapMode|GeoWrapMode]] | + | |
- | * **DeclaringType**:N/A | + | |
- | * **Summary**:This is a constructor for the class. | + | |
- | </div> | + | |
- | <div class_table> | + | * //This is a constructor for the class.// |
- | **{{wiki:PublicMethod.gif|}}[[#GeoTextureBrush(GeoImage,GeoWrapMode,DrawingRectangleF)|GeoTextureBrush]]** | + | == Remarks == |
- | * **Parameters**:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]],[[ThinkGeo.MapSuite.Core.GeoWrapMode|GeoWrapMode]],[[ThinkGeo.MapSuite.Core.DrawingRectangleF|DrawingRectangleF]] | + | * //This method allows you to pass in a rectangle in screen coordinates to determine how much of the area is textured.// |
- | * **DeclaringType**:N/A | + | == Parameters == |
- | * **Summary**:This is a constructor for the class. | + | * //image// |
- | </div> | + | * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] |
+ | * Description:This parameter is the image you want to use as the texture. | ||
- | === Protected Constructors === | + | * //rectangleF// |
- | === Public Methods === | + | * Type:[[ThinkGeo.MapSuite.Core.DrawingRectangleF|DrawingRectangleF]] |
- | <div class_table> | + | * Description:This parameter is a rectangle (in screen coordinates) that specifies the area you want to use for the texture. |
- | **{{wiki:PublicMethod.gif|}}[[#CloneDeep()|CloneDeep]]** | + | |
- | * **Parameters**:N/A | + | |
- | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]] | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | <div newline></div> |
- | **{{wiki:PublicMethod.gif|}}[[#Equals(Object)|Equals]]** | + | ** {{wiki:PublicMethod.gif|}} GeoTextureBrush(GeoImage,GeoWrapMode) ** |
- | * **Parameters**:Object | + | |
- | * **DeclaringType**:Object | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | * //This is a constructor for the class.// |
- | **{{wiki:PublicMethod.gif|}}[[#GetHashCode()|GetHashCode]]** | + | == Remarks == |
- | * **Parameters**:N/A | + | * //None// |
- | * **DeclaringType**:Object | + | == Parameters == |
- | * **Summary**:N/A | + | * //image// |
- | </div> | + | * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] |
+ | * Description:This parameter is the image you want to use as the texture. | ||
- | <div class_table> | + | * //wrapMode// |
- | **{{wiki:PublicMethod.gif|}}[[#GetType()|GetType]]** | + | * Type:[[ThinkGeo.MapSuite.Core.GeoWrapMode|GeoWrapMode]] |
- | * **Parameters**:N/A | + | * Description:This parameter determines the way the texture wraps when the area to fill is larger than the texture. |
- | * **DeclaringType**:Object | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | <div newline></div> |
- | **{{wiki:PublicMethod.gif|}}[[#ToString()|ToString]]** | + | ** {{wiki:PublicMethod.gif|}} GeoTextureBrush(GeoImage,GeoWrapMode,DrawingRectangleF) ** |
- | * **Parameters**:N/A | + | |
- | * **DeclaringType**:Object | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | === Protected Methods === | + | * //This is a constructor for the class.// |
- | <div class_table> | + | == Remarks == |
- | **{{wiki:ProtectedMethod.gif|}}[[#CloneDeepCore()|CloneDeepCore]]** | + | * //None// |
- | * **Parameters**:N/A | + | == Parameters == |
- | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]] | + | * //image// |
- | * **Summary**:N/A | + | * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] |
- | </div> | + | * Description:This parameter is the image you want to use as the texture. |
- | <div class_table> | + | * //wrapMode// |
- | **{{wiki:ProtectedMethod.gif|}}[[#Finalize()|Finalize]]** | + | * Type:[[ThinkGeo.MapSuite.Core.GeoWrapMode|GeoWrapMode]] |
- | * **Parameters**:N/A | + | * Description:This parameter determines the way the texture wraps when the area to fill is larger than the texture. |
- | * **DeclaringType**:Object | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | * //rectangleF// |
- | **{{wiki:ProtectedMethod.gif|}}[[#MemberwiseClone()|MemberwiseClone]]** | + | * Type:[[ThinkGeo.MapSuite.Core.DrawingRectangleF|DrawingRectangleF]] |
- | * **Parameters**:N/A | + | * Description:This parameter is a rectangle (in screen coordinates) that specifies the area you want to use for the texture. |
- | * **DeclaringType**:Object | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | === Public Properties === | + | <div newline></div> |
- | **{{wiki:PublicProperty.gif|}}[[#DrawingRectangleF|DrawingRectangleF]]** | + | ==== Protected Constructors ==== |
- | * **Return**:[[ThinkGeo.MapSuite.Core.DrawingRectangleF|DrawingRectangleF]] | + | ==== Public Methods ==== |
- | * **Summary**:This property gets and sets the screen rectangle used to fill the texture. | + | ** {{wiki:PublicMethod.gif|}} CloneDeep() ** |
- | **{{wiki:PublicProperty.gif|}}[[#GeoImage|GeoImage]]** | + | * //N/A// |
- | * **Return**:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] | + | == Remarks == |
- | * **Summary**:This property gets and sets the GeoImage used for the texture fill. | + | * //N/A// |
- | **{{wiki:PublicProperty.gif|}}[[#GeoWrapMode|GeoWrapMode]]** | + | == Return Value == |
- | * **Return**:[[ThinkGeo.MapSuite.Core.GeoWrapMode|GeoWrapMode]] | + | * Type:[[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]] |
- | * **Summary**: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. | + | * Description:N/A |
- | **{{wiki:PublicProperty.gif|}}[[#Id|Id]]** | + | == Parameters == |
- | * **Return**:Int64 | + | <div newline></div> |
- | * **Summary**:N/A | + | ** {{wiki:PublicMethod.gif|}} ToString() ** |
- | === Protected Properties === | + | * //N/A// |
- | === Public Events === | + | == Remarks == |
- | ===== Public Constructors ===== | + | * //N/A// |
- | === GeoTextureBrush(GeoImage) === | + | |
- | This is a constructor for the class. | + | |
- | ==== Remarks ==== | + | |
- | 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. | + | |
- | ==== Parameters ==== | + | |
- | **image** | + | |
- | * **Type**:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] | + | |
- | * **Description:This parameter is the image you want to use as the texture. | + | |
- | [[#Public Constructors|Go Back]] | + | == Return Value == |
- | === GeoTextureBrush(GeoImage,DrawingRectangleF) === | + | * Type:String |
- | This is a constructor for the class. | + | * Description:N/A |
- | ==== Remarks ==== | + | |
- | This method allows you to pass in a rectangle in screen coordinates to determine how much of the area is textured. | + | |
- | ==== Parameters ==== | + | |
- | **image** | + | |
- | * **Type**:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] | + | |
- | * **Description:This parameter is the image you want to use as the texture. | + | |
- | **rectangleF** | + | == Parameters == |
- | * **Type**:[[ThinkGeo.MapSuite.Core.DrawingRectangleF|DrawingRectangleF]] | + | <div newline></div> |
- | * **Description:This parameter is a rectangle (in screen coordinates) that specifies the area you want to use for the texture. | + | ** {{wiki:PublicMethod.gif|}} Equals(Object) ** |
- | [[#Public Constructors|Go Back]] | + | * //N/A// |
- | === GeoTextureBrush(GeoImage,GeoWrapMode) === | + | == Remarks == |
- | This is a constructor for the class. | + | * //N/A// |
- | ==== Remarks ==== | + | |
- | None | + | |
- | ==== Parameters ==== | + | |
- | **image** | + | |
- | * **Type**:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] | + | |
- | * **Description:This parameter is the image you want to use as the texture. | + | |
- | **wrapMode** | + | == Return Value == |
- | * **Type**:[[ThinkGeo.MapSuite.Core.GeoWrapMode|GeoWrapMode]] | + | * Type:Boolean |
- | * **Description:This parameter determines the way the texture wraps when the area to fill is larger than the texture. | + | * Description:N/A |
- | [[#Public Constructors|Go Back]] | + | == Parameters == |
- | === GeoTextureBrush(GeoImage,GeoWrapMode,DrawingRectangleF) === | + | * //obj// |
- | This is a constructor for the class. | + | * Type:Object |
- | ==== Remarks ==== | + | * Description:N/A |
- | None | + | |
- | ==== Parameters ==== | + | |
- | **image** | + | |
- | * **Type**:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] | + | |
- | * **Description:This parameter is the image you want to use as the texture. | + | |
- | **wrapMode** | + | <div newline></div> |
- | * **Type**:[[ThinkGeo.MapSuite.Core.GeoWrapMode|GeoWrapMode]] | + | ** {{wiki:PublicMethod.gif|}} GetHashCode() ** |
- | * **Description:This parameter determines the way the texture wraps when the area to fill is larger than the texture. | + | |
- | **rectangleF** | + | * //N/A// |
- | * **Type**:[[ThinkGeo.MapSuite.Core.DrawingRectangleF|DrawingRectangleF]] | + | == Remarks == |
- | * **Description:This parameter is a rectangle (in screen coordinates) that specifies the area you want to use for the texture. | + | * //N/A// |
- | [[#Public Constructors|Go Back]] | + | == Return Value == |
- | ===== Protected Constructors ===== | + | * Type:Int32 |
- | ===== Public Methods ===== | + | * Description:N/A |
- | === CloneDeep() === | + | |
- | N/A | + | |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | == Parameters == |
- | * **Return Type**:[[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]] | + | <div newline></div> |
- | * **Description**:N/A | + | ** {{wiki:PublicMethod.gif|}} GetType() ** |
- | ==== Parameters ==== | + | * //N/A// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | === Equals(Object) === | + | * //N/A// |
- | N/A | + | |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | == Return Value == |
- | * **Return Type**:Boolean | + | * Type:Type |
- | * **Description**:N/A | + | * Description:N/A |
- | ==== Parameters ==== | + | == Parameters == |
- | **obj** | + | <div newline></div> |
- | * **Type**:Object | + | ==== Protected Methods ==== |
- | * **Description**:N/A | + | ** {{wiki:ProtectedMethod.gif|}} CloneDeepCore() ** |
- | [[#Public Methods|Go Back]] | + | * //N/A// |
- | === GetHashCode() === | + | == Remarks == |
- | N/A | + | * //N/A// |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | == Return Value == |
- | * **Return Type**:Int32 | + | * Type:[[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]] |
- | * **Description**:N/A | + | * Description:N/A |
- | ==== Parameters ==== | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | <div newline></div> |
- | === GetType() === | + | ** {{wiki:ProtectedMethod.gif|}} Finalize() ** |
- | N/A | + | |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | * //N/A// |
- | * **Return Type**:Type | + | == Remarks == |
- | * **Description**:N/A | + | * //N/A// |
- | ==== Parameters ==== | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:Void |
- | === ToString() === | + | * Description:N/A |
- | N/A | + | |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | == Parameters == |
- | * **Return Type**:String | + | <div newline></div> |
- | * **Description**:N/A | + | ** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** |
- | ==== Parameters ==== | + | * //N/A// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ===== Protected Methods ===== | + | * //N/A// |
- | === CloneDeepCore() === | + | |
- | N/A | + | |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | == Return Value == |
- | * **Return Type**:[[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]] | + | * Type:Object |
- | * **Description**:N/A | + | * Description:N/A |
- | ==== Parameters ==== | + | == Parameters == |
- | [[#Protected Methods|Go Back]] | + | <div newline></div> |
- | === Finalize() === | + | ==== Public Properties ==== |
- | N/A | + | ** {{wiki:PublicProperty.gif|}} GeoImage ** |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | This property gets and sets the GeoImage used for the texture fill. |
- | * **Return Type**:Void | + | == Remarks == |
- | * **Description**:N/A | + | None |
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] | ||
- | ==== Parameters ==== | + | ** {{wiki:PublicProperty.gif|}} DrawingRectangleF ** |
- | [[#Protected Methods|Go Back]] | + | |
- | === MemberwiseClone() === | + | |
- | N/A | + | |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | ||
- | * **Return Type**:Object | ||
- | * **Description**:N/A | ||
- | |||
- | ==== Parameters ==== | ||
- | [[#Protected Methods|Go Back]] | ||
- | ===== Public Properties ===== | ||
- | === DrawingRectangleF === | ||
This property gets and sets the screen rectangle used to fill the texture. | This property gets and sets the screen rectangle used to fill the texture. | ||
- | ==== Remarks ==== | + | == Remarks == |
None | None | ||
- | ==== Return Value ==== | + | == Return Value == |
- | **Return Type**:[[ThinkGeo.MapSuite.Core.DrawingRectangleF|DrawingRectangleF]] | + | * Type:[[ThinkGeo.MapSuite.Core.DrawingRectangleF|DrawingRectangleF]] |
- | [[#Public Properties|Go Back]] | + | ** {{wiki:PublicProperty.gif|}} GeoWrapMode ** |
- | === GeoImage === | + | |
- | This property gets and sets the GeoImage used for the texture fill. | + | |
- | ==== Remarks ==== | + | |
- | None | + | |
- | ==== Return Value ==== | + | |
- | **Return Type**:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] | + | |
- | [[#Public Properties|Go Back]] | ||
- | === 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. | 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. | ||
- | ==== Remarks ==== | + | == Remarks == |
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 Value ==== | + | == Return Value == |
- | **Return Type**:[[ThinkGeo.MapSuite.Core.GeoWrapMode|GeoWrapMode]] | + | * Type:[[ThinkGeo.MapSuite.Core.GeoWrapMode|GeoWrapMode]] |
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} Id ** | ||
- | [[#Public Properties|Go Back]] | ||
- | === Id === | ||
N/A | N/A | ||
- | ==== Remarks ==== | + | == Remarks == |
N/A | N/A | ||
- | ==== Return Value ==== | + | == Return Value == |
- | **Return Type**:Int64 | + | * Type:Int64 |
- | [[#Public Properties|Go Back]] | + | ==== Protected Properties ==== |
- | ===== Protected Properties ===== | + | ==== Public Events ==== |
- | ===== Public Events ===== | + | |