User Tools

Site Tools


thinkgeo.mapsuite.windowsphonecore.geolineargradientbrush

ThinkGeo.MapSuite.WindowsPhoneCore.GeoLinearGradientBrush

Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.

<!– Class –> 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

Members Summary

Public Constructors

Name Parameters DeclaringType Summary
Public MethodGeoLinearGradientBrush Vertex, Vertex, Collection<GeoGradientStop>

Protected Constructors

Name Parameters DeclaringType Summary
Protected MethodGeoLinearGradientBrush Create a new instance of the GeoLinearGradientBrush with default settings.

Public Methods

Name Parameters DeclaringType Summary
Public MethodEquals Object Object
Public MethodGetHashCode Object
Public MethodGetType Object
Public MethodToString Object

Protected Methods

Name Parameters DeclaringType Summary
Protected MethodFinalize Object
Protected MethodMemberwiseClone Object

Public Properties

Name Return DeclaringType Summary
Public PropertyEndPoint Vertex
Public PropertyGeoGradientSpreadMethod GeoGradientSpreadMethod
Public PropertyGeoGradientStops Collection<GeoGradientStop>
Public PropertyGeoMappingMode GeoBrushMappingMode
Public PropertyId Int64 GeoBrush The id of the GeoBrush. This is always used as a key when in the cached brushes.
Public PropertyOpacity Double GeoBrush
Public PropertyStartPoint Vertex

Protected Properties

Name Return DeclaringType Summary

Public Events

Name Event Arguments DeclaringType Summary

Public Constructors

GeoLinearGradientBrush(Vertex, Vertex, Collection<GeoGradientStop>)

Parameters

Name Type Description
startPoint Vertex<!– ThinkGeo.MapSuite.WindowsPhoneCore.Vertex –>
endPoint Vertex<!– ThinkGeo.MapSuite.WindowsPhoneCore.Vertex –>
geoGradientStops Collection<GeoGradientStop><!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.WindowsPhoneCore.GeoGradientStop} –>

Go Back

Protected Constructors

GeoLinearGradientBrush()

Create a new instance of the GeoLinearGradientBrush with default settings.

Parameters

Name Type Description

Go Back

Public Methods

Equals(Object)

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description
obj Object<!– System.Object –>

<!– System.Object –> Go Back

GetHashCode()

Return Value

Return Type Description
Int32<!– System.Int32 –>

Parameters

Name Type Description

<!– System.Object –> Go Back

GetType()

Return Value

Return Type Description
Type<!– System.Type –>

Parameters

Name Type Description

<!– System.Object –> Go Back

ToString()

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Protected Methods

Finalize()

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Object –> Go Back

MemberwiseClone()

Return Value

Return Type Description
Object<!– System.Object –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Public Properties

EndPoint

Return Value

Return Type
Vertex<!– ThinkGeo.MapSuite.WindowsPhoneCore.Vertex –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoLinearGradientBrush –> Go Back

GeoGradientSpreadMethod

Return Value

Return Type
GeoGradientSpreadMethod<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoGradientSpreadMethod –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoLinearGradientBrush –> Go Back

GeoGradientStops

Return Value

Return Type
Collection<GeoGradientStop><!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.WindowsPhoneCore.GeoGradientStop} –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoLinearGradientBrush –> Go Back

GeoMappingMode

Return Value

Return Type
GeoBrushMappingMode<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrushMappingMode –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoLinearGradientBrush –> 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.WindowsPhoneCore.GeoBrush –> Go Back

Opacity

Return Value

Return Type
Double<!– System.Double –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush –> Go Back

StartPoint

Return Value

Return Type
Vertex<!– ThinkGeo.MapSuite.WindowsPhoneCore.Vertex –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoLinearGradientBrush –> Go Back

Protected Properties

Public Events

thinkgeo.mapsuite.windowsphonecore.geolineargradientbrush.txt · Last modified: 2017/03/16 21:59 (external edit)