Package com.luciad.lucy.addons.drawing.format


package com.luciad.lucy.addons.drawing.format

This package provides a new, highly configurable data format. It was designed to easily allow:

  • Adding new shapes to the format
  • Remove existing shapes from the format

All the information related to a certain shape is grouped in a single class: ALcyDomainObjectSupplier. Adding or removing a shape can therefore be achieved by adding or removing the corresponding domain object supplier to TLcyDrawingFormat, which keeps track of all the available domain object suppliers.

In most cases the functionality of ALcyDomainObjectSupplier can be divided in two distinct parts: the geometry specific and geometry independent functionality. Therefore, the drawing addon introduces TLcySLDDomainObjectSupplier and ALcyShapeSupplier. All the default ALcyDomainObjectSupplier instances follow this pattern. Adding a new geometry is thus achieved by adding a new ALcyShapeSupplier, which allows to reuse the Styled Layer Descriptors styling mechanism implemented in TLcySLDDomainObjectSupplier.

Since:
8.2