Uses of Class
org.opencastproject.composer.layout.Dimension
Packages that use Dimension
Package
Description
The package uses a left-handed cartesian coordinate system like CSS does.
-
Uses of Dimension in org.opencastproject.composer.api
Methods in org.opencastproject.composer.api with parameters of type DimensionModifier and TypeMethodDescriptionorg.opencastproject.job.api.JobComposerService.composite(Dimension outputDimension, org.opencastproject.util.data.Option<LaidOutElement<org.opencastproject.mediapackage.Track>> option, LaidOutElement<org.opencastproject.mediapackage.Track> lowerLaidOutElement, org.opencastproject.util.data.Option<LaidOutElement<org.opencastproject.mediapackage.Attachment>> watermarkOption, String identifier, String outputBackground, String sourceAudioName) Compose two videos into one with an optional watermark.org.opencastproject.job.api.JobComposerService.concat(String profileId, Dimension outputDimension, boolean sameCodec, org.opencastproject.mediapackage.Track... tracks) Concat multiple tracks to a single track.org.opencastproject.job.api.JobComposerService.concat(String profileId, Dimension outputDimension, float outputFrameRate, boolean sameCodec, org.opencastproject.mediapackage.Track... tracks) Concat multiple tracks to a single track. -
Uses of Dimension in org.opencastproject.composer.layout
Methods in org.opencastproject.composer.layout that return DimensionModifier and TypeMethodDescriptionstatic DimensionDimension.dimension(int width, int height) static DimensionSerializer.dimension(org.opencastproject.util.JsonObj json) MultiShapeLayout.getCanvas()TwoShapeLayout.getCanvas()Get the dimension of the composition canvas.Layout.getDimension()Return the dimension of the shape.static DimensionReturn the dimension with the bigger area.static DimensionScaleshapebyscaleand ensure that any rounding errors are limited so that the resulting dimension does not exceedlimit.static DimensionLayoutManager.scaleToFit(Dimension canvas, Dimension d) Scaledto fit intocanvas.Methods in org.opencastproject.composer.layout with parameters of type DimensionModifier and TypeMethodDescriptionstatic MultiShapeLayoutLayoutManager.absoluteMultiShapeLayout(Dimension canvas, List<org.opencastproject.util.data.Tuple<Dimension, AbsolutePositionLayoutSpec>> shapes) Compose a list of shapes on a canvas.static intCalculate the area of a dimension.static doubleLayoutManager.aspectRatio(Dimension a) Get the aspect ratio of a dimension.static booleanTest ifshapefits intointo.static org.opencastproject.util.Jsons.Objstatic DimensionReturn the dimension with the bigger area.static MultiShapeLayoutLayoutManager.multiShapeLayout(Dimension canvas, List<org.opencastproject.util.data.Tuple<Dimension, HorizontalCoverageLayoutSpec>> shapes) Compose a list of shapes on a canvas.static OffsetCalculate the offset of an anchor point for a given shape relative to its upper left corner.static DimensionScaleshapebyscaleand ensure that any rounding errors are limited so that the resulting dimension does not exceedlimit.static DimensionLayoutManager.scaleToFit(Dimension canvas, Dimension d) Scaledto fit intocanvas.static TwoShapeLayoutLayoutManager.twoShapeLayout(Dimension canvas, Dimension upper, Dimension lower, TwoShapeLayouts.TwoShapeLayoutSpec spec) Compose two shapes on a canvas.Method parameters in org.opencastproject.composer.layout with type arguments of type DimensionModifier and TypeMethodDescriptionstatic MultiShapeLayoutLayoutManager.absoluteMultiShapeLayout(Dimension canvas, List<org.opencastproject.util.data.Tuple<Dimension, AbsolutePositionLayoutSpec>> shapes) Compose a list of shapes on a canvas.static MultiShapeLayoutLayoutManager.multiShapeLayout(Dimension canvas, List<org.opencastproject.util.data.Tuple<Dimension, HorizontalCoverageLayoutSpec>> shapes) Compose a list of shapes on a canvas.Constructors in org.opencastproject.composer.layout with parameters of type Dimension