====== ThinkGeo.MapSuite.WindowsPhoneCore.GeoLinearGradientBrush ====== {{section>upgrade_map_suite_to_10.0}} Encapsulates a GeoBrush with a linear gradient. === Remarks === This class encapsulates both two-color gradients and custom multicolor gradients. All linear gradients are defined along a line specified either by the width of a rectangle or by two points. By default, a two-color linear gradient is an even horizontal linear blend from the starting color to the ending color along the specified line. ===== Inheritance Hierarchy ===== *System.Object **[[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush]] ***[[ThinkGeo.MapSuite.WindowsPhoneCore.GeoLinearGradientBrush]] ===== Members Summary ===== ==== Public Constructors ==== ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | {{wiki:PublicMethod.gif|Public Method}}[[#GeoLinearGradientBrush(Vertex, Vertex, Collection)|GeoLinearGradientBrush]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.Vertex|Vertex]], [[ThinkGeo.MapSuite.WindowsPhoneCore.Vertex|Vertex]], Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.GeoGradientStop|GeoGradientStop]]> | | | ==== Protected Constructors ==== ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | {{wiki:ProtectedMethod.gif|Protected Method}}[[#GeoLinearGradientBrush()|GeoLinearGradientBrush]] | | | Create a new instance of the GeoLinearGradientBrush with default settings. | ==== Public Methods ==== ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | {{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}}[[#Finalize()|Finalize]] | | Object | | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#MemberwiseClone()|MemberwiseClone]] | | Object | | ==== Public Properties ==== ^ Name ^ Return ^ DeclaringType ^ Summary ^ | {{wiki:PublicProperty.gif|Public Property}}[[#EndPoint|EndPoint]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.Vertex|Vertex]] | | | | {{wiki:PublicProperty.gif|Public Property}}[[#GeoGradientSpreadMethod|GeoGradientSpreadMethod]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoGradientSpreadMethod|GeoGradientSpreadMethod]] | | | | {{wiki:PublicProperty.gif|Public Property}}[[#GeoGradientStops|GeoGradientStops]] | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.GeoGradientStop|GeoGradientStop]]> | | | | {{wiki:PublicProperty.gif|Public Property}}[[#GeoMappingMode|GeoMappingMode]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrushMappingMode|GeoBrushMappingMode]] | | | | {{wiki:PublicProperty.gif|Public Property}}[[#Id|Id]] | Int64 | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]] | The id of the GeoBrush. This is always used as a key when in the cached brushes. | | {{wiki:PublicProperty.gif|Public Property}}[[#Opacity|Opacity]] | Double | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]] | | | {{wiki:PublicProperty.gif|Public Property}}[[#StartPoint|StartPoint]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.Vertex|Vertex]] | | | ==== Protected Properties ==== ^ Name ^ Return ^ DeclaringType ^ Summary ^ ==== Public Events ==== ^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^ ===== Public Constructors ===== ==== GeoLinearGradientBrush(Vertex, Vertex, Collection) ==== === Parameters === ^ Name ^ Type ^ Description ^ | startPoint | [[ThinkGeo.MapSuite.WindowsPhoneCore.Vertex|Vertex]] | | | endPoint | [[ThinkGeo.MapSuite.WindowsPhoneCore.Vertex|Vertex]] | | | geoGradientStops | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.GeoGradientStop|GeoGradientStop]]> | | [[#Public Constructors|Go Back]] ===== Protected Constructors ===== ==== GeoLinearGradientBrush() ==== Create a new instance of the GeoLinearGradientBrush with default settings. === Parameters === ^ Name ^ Type ^ Description ^ [[#Protected Constructors|Go Back]] ===== Public Methods ===== ==== Equals(Object) ==== === Return Value === ^ Return Type ^ Description ^ | Boolean | | === Parameters === ^ Name ^ Type ^ Description ^ | obj | Object | | [[#Public Methods|Go Back]] ==== GetHashCode() ==== === Return Value === ^ Return Type ^ Description ^ | Int32 | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Public Methods|Go Back]] ==== GetType() ==== === Return Value === ^ Return Type ^ Description ^ | Type | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Public Methods|Go Back]] ==== ToString() ==== === Return Value === ^ Return Type ^ Description ^ | String | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Public Methods|Go Back]] ===== Protected Methods ===== ==== Finalize() ==== === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Protected Methods|Go Back]] ==== MemberwiseClone() ==== === Return Value === ^ Return Type ^ Description ^ | Object | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Protected Methods|Go Back]] ===== Public Properties ===== ==== EndPoint ==== === Return Value === ^ Return Type ^ | [[ThinkGeo.MapSuite.WindowsPhoneCore.Vertex|Vertex]] | [[#Public Properties|Go Back]] ==== GeoGradientSpreadMethod ==== === Return Value === ^ Return Type ^ | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoGradientSpreadMethod|GeoGradientSpreadMethod]] | [[#Public Properties|Go Back]] ==== GeoGradientStops ==== === Return Value === ^ Return Type ^ | Collection<[[ThinkGeo.MapSuite.WindowsPhoneCore.GeoGradientStop|GeoGradientStop]]> | [[#Public Properties|Go Back]] ==== GeoMappingMode ==== === Return Value === ^ Return Type ^ | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrushMappingMode|GeoBrushMappingMode]] | [[#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 | [[#Public Properties|Go Back]] ==== Opacity ==== === Return Value === ^ Return Type ^ | Double | [[#Public Properties|Go Back]] ==== StartPoint ==== === Return Value === ^ Return Type ^ | [[ThinkGeo.MapSuite.WindowsPhoneCore.Vertex|Vertex]] | [[#Public Properties|Go Back]] ===== Protected Properties ===== ===== Public Events ===== __NOTOC__ [[Category:WindowsPhoneMapSuiteCore]] [[Category:ThinkGeo.MapSuite.WindowsPhoneCore]] [[Category:UpdateDocumentation]]