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 TypeMethodDescriptionComposerService.composite(Dimension outputDimension, Optional<LaidOutElement<Track>> option, LaidOutElement<Track> lowerLaidOutElement, Optional<LaidOutElement<Attachment>> watermarkOption, String identifier, String outputBackground, String sourceAudioName) Compose two videos into one with an optional watermark.ComposerService.concat(String profileId, Dimension outputDimension, boolean sameCodec, Track... tracks) Concat multiple tracks to a single track.ComposerService.concat(String profileId, Dimension outputDimension, float outputFrameRate, boolean sameCodec, Track... tracks) Concat multiple tracks to a single track. -
Uses of Dimension in org.opencastproject.composer.impl
Methods in org.opencastproject.composer.impl with parameters of type DimensionModifier and TypeMethodDescriptionComposerServiceImpl.composite(Dimension compositeTrackSize, Optional<LaidOutElement<Track>> upperTrack, LaidOutElement<Track> lowerTrack, Optional<LaidOutElement<Attachment>> watermark, String profileId, String background, String sourceAudioName) Compose two videos into one with an optional watermark.ComposerServiceImpl.concat(String profileId, Dimension outputDimension, boolean sameCodec, Track... tracks) ComposerServiceImpl.concat(String profileId, Dimension outputDimension, float outputFrameRate, boolean sameCodec, Track... tracks) -
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 DimensionMultiShapeLayout.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<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 Jsons.Objstatic DimensionReturn the dimension with the bigger area.static MultiShapeLayoutLayoutManager.multiShapeLayout(Dimension canvas, List<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<Tuple<Dimension, AbsolutePositionLayoutSpec>> shapes) Compose a list of shapes on a canvas.static MultiShapeLayoutLayoutManager.multiShapeLayout(Dimension canvas, List<Tuple<Dimension, HorizontalCoverageLayoutSpec>> shapes) Compose a list of shapes on a canvas.Constructors in org.opencastproject.composer.layout with parameters of type Dimension -
Uses of Dimension in org.opencastproject.composer.remote
Methods in org.opencastproject.composer.remote with parameters of type DimensionModifier and TypeMethodDescriptionComposerServiceRemoteImpl.composite(Dimension compositeTrackSize, Optional<LaidOutElement<Track>> upperTrack, LaidOutElement<Track> lowerTrack, Optional<LaidOutElement<Attachment>> watermark, String profileId, String background, String sourceAudioName) ComposerServiceRemoteImpl.concat(String profileId, Dimension outputDimension, boolean sameCodec, Track... tracks) ComposerServiceRemoteImpl.concat(String profileId, Dimension outputDimension, float outputFrameRate, boolean sameCodec, Track... tracks)