TAttLineHandler

TAttLineHandler

(private) new TAttLineHandler(attr)

Handle for line attributes

Source:
Parameters:
Name Type Description
attr object

attributes, see TAttLineHandler#setArgs

Methods

apply(selection)

Applies line attribute to selection.

Source:
Parameters:
Name Type Description
selection object

d3.js selection

applyBorder(selection)

Applies line and border attribute to selection.

Source:
Parameters:
Name Type Description
selection object

d3.js selection

change()

Change line attributes

Source:

changeExcl()

Change exclusion attributes

Source:

createSample()

Create sample element inside primitive SVG - used in context menu

Source:

empty()

returns true if line attribute is empty and will not be applied.

Source:

saveToStyle()

Save attributes values to gStyle

Source:

setArgs(args)

Set line attributes.

Source:
Parameters:
Name Type Description
args object

specify attributes by different ways

Properties
Name Type Description
attr object

TAttLine object with appropriate data members or

color string

color in html like rgb(255,0,0) or 'red' or '#ff0000'

style number

line style number

width number

line width

setBorder()

set border parameters, used for rect drawing

Source:

setUsed()

Set usage flag of attribute

Source:

(private) verifyDirectChange()

Method used when color or pattern were changed with OpenUi5 widgets.

Source: