Class AbsolutePositionLayoutSpec
java.lang.Object
org.opencastproject.composer.layout.AbsolutePositionLayoutSpec
This layout specification describes where to position a shape in relation to another.
In contrast to the HorizontalCoverageLayoutSpec this spec does not scale any shape.
-
Constructor Summary
ConstructorsConstructorDescriptionAbsolutePositionLayoutSpec(AnchorOffset anchorOffset) Create a new specification. -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet the distance between the anchor points of canvas and shape.inthashCode()
-
Constructor Details
-
AbsolutePositionLayoutSpec
Create a new specification.- Parameters:
anchorOffset- The distance of the anchor points of canvas and shape. The canvas is the "reference", the shape the "referring" part of the distance object.
-
-
Method Details