.Transform~Property(stringopt)

Helper class used by Transform.

Represents one single property of the transform argument, for example translate(360 150) that may be a part of longer transform argument like transform="translate(360 150) rotate(90 30 20)"

new Property(stringopt)

Initialize the Property object

Parameters:
Name Type Attributes Description
string string <optional>

string in the property format propertyname(list of space separated values)

Methods

get() → {string}

get string representation of the property

Returns:
string -

property in the property format name(arg1 arg2)

setArguments(args)

set arguments of this property

Parameters:
Name Type Description
args array

array of arguments

setName(name)

set or replace the name of this property

Parameters:
Name Type Description
name string

new name for this property