User Tools

Site Tools


thinkgeo.mapsuite.core.geotexturebrush

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
thinkgeo.mapsuite.core.geotexturebrush [2015/08/20 03:08]
127.0.0.1 external edit
— (current)
Line 1: Line 1:
-====== ThinkGeo.MapSuite.Core.GeoTextureBrush ====== 
- 
- 
- 
-<!-- Class --> 
-This class is used to fill an area with a image texture. 
-=== Remarks === 
-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. 
-===== Inheritance Hierarchy ===== 
-*System.Object 
-**[[ThinkGeo.MapSuite.Core.GeoBrush]] 
-***[[ThinkGeo.MapSuite.Core.GeoTextureBrush]] 
-===== Members Summary ===== 
-==== Public Constructors ==== 
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GeoTextureBrush(GeoImage)|GeoTextureBrush]] ​  | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] ​  ​| ​   | This is a constructor for the class. ​  | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GeoTextureBrush(GeoImage,​ DrawingRectangleF)|GeoTextureBrush]] ​  | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]],​ [[ThinkGeo.MapSuite.Core.DrawingRectangleF|DrawingRectangleF]] ​  ​| ​   | This is a constructor for the class. ​  | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GeoTextureBrush(GeoImage,​ GeoWrapMode)|GeoTextureBrush]] ​  | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]],​ [[ThinkGeo.MapSuite.Core.GeoWrapMode|GeoWrapMode]] ​  ​| ​   | This is a constructor for the class. ​  | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GeoTextureBrush(GeoImage,​ GeoWrapMode,​ DrawingRectangleF)|GeoTextureBrush]] ​  | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]],​ [[ThinkGeo.MapSuite.Core.GeoWrapMode|GeoWrapMode]],​ [[ThinkGeo.MapSuite.Core.DrawingRectangleF|DrawingRectangleF]] ​  ​| ​   | This is a constructor for the class. ​  | 
- 
-==== Protected Constructors ==== 
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ 
- 
-==== Public Methods ==== 
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​CloneDeep()|CloneDeep]] ​  ​| ​   | [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]] ​  | Create a copy of GeoBrush using the deep clone process. ​  | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​Equals(Object)|Equals]] ​  | Object ​  | Object ​  ​| ​   | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GetHashCode()|GetHashCode]] ​  ​| ​   | Object ​  ​| ​   | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GetType()|GetType]] ​  ​| ​   | Object ​  ​| ​   | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​ToString()|ToString]] ​  ​| ​   | Object ​  ​| ​   | 
- 
-==== Protected Methods ==== 
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ 
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​CloneDeepCore()|CloneDeepCore]] ​  ​| ​   | [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]] ​  | Create a copy of GeoBrush using the deep clone process. The default implementation uses serialization. ​  | 
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​Finalize()|Finalize]] ​  ​| ​   | Object ​  ​| ​   | 
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​MemberwiseClone()|MemberwiseClone]] ​  ​| ​   | Object ​  ​| ​   | 
- 
-==== Public Properties ==== 
-^ Name ^ Return ^ DeclaringType ^ Summary ^ 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​DrawingRectangleF|DrawingRectangleF]] ​  | [[ThinkGeo.MapSuite.Core.DrawingRectangleF|DrawingRectangleF]] ​  ​| ​   | This property gets and sets the screen rectangle used to fill the texture. ​  | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​GeoImage|GeoImage]] ​  | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] ​  ​| ​   | This property gets and sets the GeoImage used for the texture fill.   | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​GeoWrapMode|GeoWrapMode]] ​  | [[ThinkGeo.MapSuite.Core.GeoWrapMode|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. ​  | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​Id|Id]] ​  | Int64   | [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]] ​  | The id of the GeoBrush. This is always used as a key when in the cached brushes. ​  | 
- 
-==== Protected Properties ==== 
-^ Name ^ Return ^ DeclaringType ^ Summary ^ 
- 
-==== Public Events ==== 
-^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^ 
- 
-===== Public Constructors ===== 
-==== GeoTextureBrush(GeoImage) ==== 
-This is a constructor for the class. 
-=== Overloads === 
-This overload allows you to pass in the image for the texture. 
-=== 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 === 
-^  Name ^  Type ^  Description ^ 
-| image   | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]]<​!-- ThinkGeo.MapSuite.Core.GeoImage --> ​  | This parameter is the image you want to use as the texture. ​  | 
- 
-[[#Public Constructors|Go Back]] 
-==== GeoTextureBrush(GeoImage,​ DrawingRectangleF) ==== 
-This is a constructor for the class. 
-=== Overloads === 
-This constructor allows you to pass in the image as well as a screen rectangle that determines how much of the area is filled. 
-=== Remarks === 
-This method allows you to pass in a rectangle in screen coordinates to determine how much of the area is textured. 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
-| image   | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]]<​!-- ThinkGeo.MapSuite.Core.GeoImage --> ​  | This parameter is the image you want to use as the texture. ​  | 
-| rectangleF ​  | [[ThinkGeo.MapSuite.Core.DrawingRectangleF|DrawingRectangleF]]<​!-- ThinkGeo.MapSuite.Core.DrawingRectangleF --> ​  | This parameter is a rectangle (in screen coordinates) that specifies the area you want to use for the texture. ​  | 
- 
-[[#Public Constructors|Go Back]] 
-==== GeoTextureBrush(GeoImage,​ GeoWrapMode) ==== 
-This is a constructor for the class. 
-=== Overloads === 
-This constructor allows you to pass in the image and the wrap mode. 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
-| image   | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]]<​!-- ThinkGeo.MapSuite.Core.GeoImage --> ​  | This parameter is the image you want to use as the texture. ​  | 
-| wrapMode ​  | [[ThinkGeo.MapSuite.Core.GeoWrapMode|GeoWrapMode]]<​!-- ThinkGeo.MapSuite.Core.GeoWrapMode --> ​  | This parameter determines the way the texture wraps when the area to fill is larger than the texture. ​  | 
- 
-[[#Public Constructors|Go Back]] 
-==== GeoTextureBrush(GeoImage,​ GeoWrapMode,​ DrawingRectangleF) ==== 
-This is a constructor for the class. 
-=== Overloads === 
-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. 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
-| image   | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]]<​!-- ThinkGeo.MapSuite.Core.GeoImage --> ​  | This parameter is the image you want to use as the texture. ​  | 
-| wrapMode ​  | [[ThinkGeo.MapSuite.Core.GeoWrapMode|GeoWrapMode]]<​!-- ThinkGeo.MapSuite.Core.GeoWrapMode --> ​  | This parameter determines the way the texture wraps when the area to fill is larger than the texture. ​  | 
-| rectangleF ​  | [[ThinkGeo.MapSuite.Core.DrawingRectangleF|DrawingRectangleF]]<​!-- ThinkGeo.MapSuite.Core.DrawingRectangleF --> ​  | This parameter is a rectangle (in screen coordinates) that specifies the area you want to use for the texture. ​  | 
- 
-[[#Public Constructors|Go Back]] 
-===== Protected Constructors ===== 
-===== Public Methods ===== 
-==== CloneDeep() ==== 
-Create a copy of GeoBrush using the deep clone process. 
-=== Remarks === 
-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 Value === 
-^ Return Type ^ Description ^ 
-| [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]]<​!-- ThinkGeo.MapSuite.Core.GeoBrush --> ​  | A cloned GeoBrush. ​  | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-<!-- ThinkGeo.MapSuite.Core.GeoBrush --> 
-[[#Public Methods|Go Back]] 
-==== Equals(Object) ==== 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Boolean<​!-- System.Boolean --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
-| obj   | Object<​!-- System.Object --> ​  ​| ​   | 
- 
-<!-- System.Object --> 
-[[#Public Methods|Go Back]] 
-==== GetHashCode() ==== 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Int32<​!-- System.Int32 --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-<!-- System.Object --> 
-[[#Public Methods|Go Back]] 
-==== GetType() ==== 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Type<!-- System.Type --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-<!-- System.Object --> 
-[[#Public Methods|Go Back]] 
-==== ToString() ==== 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| String<​!-- System.String --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-<!-- System.Object --> 
-[[#Public Methods|Go Back]] 
-===== Protected Methods ===== 
-==== CloneDeepCore() ==== 
-Create a copy of GeoBrush using the deep clone process. The default implementation uses serialization. 
-=== Remarks === 
-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 Value === 
-^ Return Type ^ Description ^ 
-| [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]]<​!-- ThinkGeo.MapSuite.Core.GeoBrush --> ​  | A cloned GeoBrush. ​  | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-<!-- ThinkGeo.MapSuite.Core.GeoBrush --> 
-[[#​Protected Methods|Go Back]] 
-==== Finalize() ==== 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Void<!-- System.Void --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-<!-- System.Object --> 
-[[#​Protected Methods|Go Back]] 
-==== MemberwiseClone() ==== 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Object<​!-- System.Object --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-<!-- System.Object --> 
-[[#​Protected Methods|Go Back]] 
-===== Public Properties ===== 
-==== DrawingRectangleF ==== 
-This property gets and sets the screen rectangle used to fill the texture. 
-=== Return Value === 
-^ Return Type ^ 
-| [[ThinkGeo.MapSuite.Core.DrawingRectangleF|DrawingRectangleF]]<​!-- ThinkGeo.MapSuite.Core.DrawingRectangleF --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.Core.GeoTextureBrush --> 
-[[#Public Properties|Go Back]] 
-==== GeoImage ==== 
-This property gets and sets the GeoImage used for the texture fill. 
-=== Return Value === 
-^ Return Type ^ 
-| [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]]<​!-- ThinkGeo.MapSuite.Core.GeoImage --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.Core.GeoTextureBrush --> 
-[[#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. 
-=== 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. 
-=== Return Value === 
-^ Return Type ^ 
-| [[ThinkGeo.MapSuite.Core.GeoWrapMode|GeoWrapMode]]<​!-- ThinkGeo.MapSuite.Core.GeoWrapMode --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.Core.GeoTextureBrush --> 
-[[#Public Properties|Go Back]] 
-==== Id ==== 
-The id of the GeoBrush. This is always used as a key when in the cached brushes. 
-=== Return Value === 
-^ Return Type ^ 
-| Int64<​!-- System.Int64 --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.Core.GeoBrush --> 
-[[#Public Properties|Go Back]] 
-===== Protected Properties ===== 
-===== Public Events ===== 
-__NOTOC__ 
-[[Category:​MapSuiteCore]] 
-[[Category:​ThinkGeo.MapSuite.Core]] 
-[[Category:​UpdateDocumentation]] 
  
thinkgeo.mapsuite.core.geotexturebrush.1440040128.txt.gz ยท Last modified: 2015/08/31 05:25 (external edit)