C# 클래스 Google.KML.geColorStyle

This is an abstract element and cannot be used directly in a KML file. It provides elements for specifying the color and color mode of extended style types.
상속: geObject
파일 보기 프로젝트 열기: akapetanovic/ASTERIX-ANALYSER-and-DATA-DISPLAY

공개 프로퍼티들

프로퍼티 타입 설명
Color geColor
ColorMode geColorModeEnum

공개 메소드들

메소드 설명
ToKML ( XmlTextWriter kml ) : void

Renders the object as KML, and calls upon any children to do the same

geColorStyle ( ) : System

메소드 상세

ToKML() 공개 메소드

Renders the object as KML, and calls upon any children to do the same
public ToKML ( XmlTextWriter kml ) : void
kml System.Xml.XmlTextWriter
리턴 void

geColorStyle() 공개 메소드

public geColorStyle ( ) : System
리턴 System

프로퍼티 상세

Color 공개적으로 프로퍼티

Color and opacity (alpha) values are expressed in hexadecimal notation.
The range of values for any one color is 0 to 255 (00 to ff). For alpha, 00 is fully transparent and ff is fully opaque. The order of expression is aabbggrr, where aa=alpha (00 to ff); bb=blue (00 to ff); gg=green (00 to ff); rr=red (00 to ff). Default value is ffffffff.
public geColor,Google.KML Color
리턴 geColor

ColorMode 공개적으로 프로퍼티

Values for colorMode are normal (no effect) and random. A value of random applies a random linear scale to the base color as follows.
To achieve a truly random selection of colors, specify a base color of white (ffffffff). If you specify a single color component (for example, a value of ff0000ff for red), random color values for that one component (red) will be selected. In this case, the values would range from 00 (black) to ff (full red). If you specify values for two or for all three color components, a random linear scale is applied to each color component, with results ranging from black to the maximum values specified for each component. The opacity of a color comes from the alpha component of color and is never randomized. Default value is normal.
public geColorModeEnum ColorMode
리턴 geColorModeEnum