BlueprintSelection

How to get BlueprintSelection

ES2015+:

import BlueprintSelection from 'fontoxml-blueprints/BlueprintSelection'

ES5:

define([
	'fontoxml-blueprints/BlueprintSelection'
], function (
	BlueprintSelection
) {
});

Type: Class

Represents the selection in a blueprint. Instances of BlueprintSelection are used by custom mutations.

This class extends BlueprintRange

Constructor

# Name Type Description
1. blueprint Blueprint

The blueprint in which this selection is maintained

Static methods

Name Description
createFromRange

Create a new selection range from another range.


  Arguments
# Name Type Description
1. blueprint Blueprint
2. range Range | Null
  Returns