%%PageItemTitle%%

VectorDraw Web Library

JsPropertiesExtractor Send comments on this topic.
createNewHatchProperties Method
See Also 
vdWebLibrary Namespace > vdrawObj Class : createNewHatchProperties Method
HatchPatternName
A string of the name of the HatchPattern to be used. Check this for possible values FillModeSolid.
FillBkColor
The hatch's background color, you could use the colorFromString function.
FillColor
The hatch's front color, you could use the colorFromString function.
hatchscale
The hatch scale of the object
hatchangle
The hatch angle of the object in radians
Creates a new vdHatchProperties object.

Syntax

JScript 
public function createNewHatchProperties( 
   HatchPatternName : Object,
   FillBkColor : Object,
   FillColor : Object,
   hatchscale : double,
   hatchangle : double
) : Object;

Parameters

HatchPatternName
A string of the name of the HatchPattern to be used. Check this for possible values FillModeSolid.
FillBkColor
The hatch's background color, you could use the colorFromString function.
FillColor
The hatch's front color, you could use the colorFromString function.
hatchscale
The hatch scale of the object
hatchangle
The hatch angle of the object in radians

Return Value

The created object.

See Also