C# Class PreStorm.KmlStyle

Represents the KML style.
ファイルを表示 Open project: jshirota/PreStorm Class Usage Examples

Public Methods

Method Description
Equals ( object obj ) : bool

Overridden to return the value equality.

GetHashCode ( ) : int

Serves as a hash function for equality comparison.

KmlStyle ( string iconUrl = null, string iconColour = null, double iconScale = 1.1, string lineColour = null, double lineWidth = 1.2, string polygonColour = null )

Initializes a new instance of the KmlStyle class.

Method Details

Equals() public method

Overridden to return the value equality.
public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

Serves as a hash function for equality comparison.
public GetHashCode ( ) : int
return int

KmlStyle() public method

Initializes a new instance of the KmlStyle class.
public KmlStyle ( string iconUrl = null, string iconColour = null, double iconScale = 1.1, string lineColour = null, double lineWidth = 1.2, string polygonColour = null )
iconUrl string The url of the icon.
iconColour string The colour of icons. The format conforms to the KML specification (i.e. 7fff0000 where alpha=0x7f, blue=0xff, green=0x00, and red=0x00).
iconScale double The size of icons.
lineColour string The colour of lines. The format conforms to the KML specification (i.e. 7fff0000 where alpha=0x7f, blue=0xff, green=0x00, and red=0x00).
lineWidth double The width of lines. This applies to polygons, too.
polygonColour string The colour of polygons. The format conforms to the KML specification (i.e. 7fff0000 where alpha=0x7f, blue=0xff, green=0x00, and red=0x00).