Class: oLineStyle

$. oLineStyle

The $.oLineStyle class describes a lineStyle used to describe the appearance of strokes and perform drawing operations.
Initializing a $.oLineStyle without any parameters attempts to get the current pencil thickness settings and color.

new $.oLineStyle(colorId, stencil)

openHarmony/openHarmony_drawing.js, line 1049
The constructor for the $.oLineStyle class.
Name Type Description
colorId string the color Id to paint the line with.
stencil $.oStencil the stencil object representing the thickness keys

Members

maxThicknessfloat

The minimum thickness of the line using this lineStyle

minThicknessfloat

The minimum thickness of the line using this lineStyle