StyleAttributes.
Whenever the StyledTextModel contains logical class names instead of actual attributes,
a separate CSS style resolution step is required. The resulting attributes might depend on the view that
originated an operation such as exporting or coping.
This interface is a part of API layer between the model and the view, and only comes to play when the model refers to CSS styles. Applications should not normally use this interface.
| Modifier and Type | Method and Description |
|---|---|
| public StyleAttributeMap | Returns: the resolved style attributesthe style attributes attrs)Resolves CSS styles (when present) to the individual attributes declared in |
| public WritableImage | Returns: snapshot the generatedWritableImagethe node)Node to make a snapshot ofCreates a snapshot of the specified Node to be exported or copied as an image. |
| resolveStyles | back to summary |
|---|---|
| public StyleAttributeMap resolveStyles(StyleAttributeMap attrs) Resolves CSS styles (when present) to the individual attributes declared in
| |
| snapshot | back to summary |
|---|---|
| public WritableImage snapshot(Node node) Creates a snapshot of the specified Node to be exported or copied as an image.
| |