Glyph Version 7.22.2 |
pw:: SpacingBase class for spacing types Derives FromSummary
createNamedValue
This action defines a named spacing value. Parameters
ReturnsThis function returns a string result representing the name of the newly created named spacing value. It may be different from the name passed in as the optional first argument. getNamedValueNames
This action returns a list of named spacing values. ParametersThis function takes no parameters. ReturnsThis command returns a list of the names of the named spacing values. Each entry in the list is a string value. getNamedValue
This action returns value of a named spacing value. Parameters
ReturnsThis command returns the float value of the named spacing value. changeNamedValue
This action changes the value of a named spacing value. Parameters
ReturnsThis command returns nothing. renameNamedValue
This action renames a named spacing value. Parameters
ReturnsThis command returns the new name of the named spacing value as a string. It may be a modified form of the newname value if there was a naming conflict. delete
This action deletes the spacing. This is necessary if the spacing has not been added to a pw::Distribution. Calling delete on a spacing after it has been added, will generate an error. Parametersnone ReturnsThis action returns nothing. getName
This action returns the name of the spacing if it is a named spacing value. It returns an empty string otherwise. Parametersnone ReturnsIf the spacing object is a named spacing value, the return value will be a string representing the name. Otherwise, an empty string is returned. |
This action defines a named spacing value.
pw::Spacing createNamedValue ?name ?value??
This action returns a list of named spacing values.
pw::Spacing getNamedValueNames
This action returns value of a named spacing value.
pw::Spacing getNamedValue name
This action changes the value of a named spacing value.
pw::Spacing changeNamedValue name value
This action renames a named spacing value.
pw::Spacing renameNamedValue oldname newname
This action deletes a named spacing value.
pw::Spacing deleteNamedValue name
This action deletes the spacing.
$spacing delete
This action returns the name of the spacing if it is a named spacing value.
$spacing getName