<< Click to Display Table of Contents >>

Render.js

 

 

Namespace

SuperGIS.Render


Class

_Symbol()


Method

void

Draw()

draw symbols.





Class

_MarkerSymbol()


Method

void

DrawDeviceMark(object Graph, pt)

draw markers(points).





Class

_LineSymbol()


Method

void

DrawDeviceLine(object Graph, pts)

draw lines.





Class

_FillSymbol()


Method

void

DrawDeviceFill(object Graph, ptss)

draw polygons.





Class

SimpleMarkerSymbol(number Mode, number Size, Color, BColor, number Width)

control simple marker symbol.

Method

Color

getColor()

return simple marker color.

Method

void

setColor(v)

set simple marker color.

Method

BColor

getBColor()

return simple marker background color.

Method

void

setBColor(v)

set simple marker background color.

Method

Width

getWidth()

return simple marker width.

Method

void

setWidth(v)

set simple marker width.

Method

void

DrawDeviceMark(object Graph, pt)

draw markers(points).





Enum

SimpleMarkerMode



(CIRCLE,


define the simple marker as circle.


RECTANGLE,


define the simple marker as rectangle.


TRIANGLE,


define the simple marker as triangle.


CROSS,


define the simple marker as cross.


DIAGONALCROSS,

define the simple marker as diagonalcross.


BOLDCROSS,


define the simple marker as boldcross.


DIAMOND)


define the simple marker as diamond.





Class

SimpleLineSymbol(Color, number Width)

control simple line symbol.

Method

Color

getColor()

return simple line color.

Method

void

setColor(v)

set simple line color.

Method

Width

getWidth()

return simple line width.

Method

void

setWidth(v)

set simple line width.

Method

void

DrawDeviceLine(object Graph, pts)

draw lines.





Class

SimpleFillSymbol(Color)

control simple fill symbol.

Method

Color

getColor()

return simple fill color.

Method

void

setColor(v)

set simple fill color.

Method

Outline

getOutline()

return simple fill outline.

Method

void

setOutline(v)

set simple fill outline.

Method

void

DrawDeviceFill(object Graph, ptss[i])

draw polygons.





Class

PictureMarkerSymbol(number Size, string Path, hotSpotX, hotSpotY)

control picture marker symbol.

Method

Path

getPath()

return the path to the picture.

Method

void

setPath(v)

set the path to the picture.

Method

void

DrawDeviceMark(object Graph, pt)

draw picture marker.





Class

NumberUnitFormat(Units)

control the number unit format.

Method

string

Format(v)

return the unit format.

 

 


© 2017 Supergeo Technologies Inc.