Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Creates an object that mixes together the two underlying objects, A and B. The A object is assumed to have a higher prioirity (lower number) than the B object. At the transition in point, only A will be visible, and by the end only B will be visible.
The shape of the video transition depends on the value of the "vtype" property. The default value is "crossfade". For audio, only "crossfade" is supported.
The ID of the ExtractableType is the nickname of the vtype property value. Note that this value can be changed after creation and the GESExtractable.asset value will be updated when needed.
Synopsis
- newtype TransitionClip = TransitionClip (ManagedPtr TransitionClip)
- class (GObject o, IsDescendantOf TransitionClip o) => IsTransitionClip o
- toTransitionClip :: (MonadIO m, IsTransitionClip o) => o -> m TransitionClip
- transitionClipNew :: (HasCallStack, MonadIO m) => VideoStandardTransitionType -> m (Maybe TransitionClip)
- transitionClipNewForNick :: (HasCallStack, MonadIO m) => Text -> m (Maybe TransitionClip)
- constructTransitionClipVtype :: (IsTransitionClip o, MonadIO m) => VideoStandardTransitionType -> m (GValueConstruct o)
- getTransitionClipVtype :: (MonadIO m, IsTransitionClip o) => o -> m VideoStandardTransitionType
- setTransitionClipVtype :: (MonadIO m, IsTransitionClip o) => o -> VideoStandardTransitionType -> m ()
Exported types
newtype TransitionClip Source #
Memory-managed wrapper type.
TransitionClip (ManagedPtr TransitionClip) |
Instances
class (GObject o, IsDescendantOf TransitionClip o) => IsTransitionClip o Source #
Type class for types which can be safely cast to TransitionClip
, for instance with toTransitionClip
.
Instances
(GObject o, IsDescendantOf TransitionClip o) => IsTransitionClip o Source # | |
Defined in GI.GES.Objects.TransitionClip |
toTransitionClip :: (MonadIO m, IsTransitionClip o) => o -> m TransitionClip Source #
Cast to TransitionClip
, for types for which this is known to be safe. For general casts, use castTo
.
Methods
Click to display all available methods, including inherited ones
Methods
add, addAsset, addChildProperty, addChildToTrack, addMetasFromString, addTopEffect, bindProperty, bindPropertyFull, checkMetaRegistered, copy, edit, editFull, findTrackElement, findTrackElements, forceFloating, foreach, freezeNotify, getv, isFloating, listChildrenProperties, lookupChild, metasToString, moveToLayer, moveToLayerFull, notify, notifyByPspec, paste, ref, refSink, registerMeta, registerMetaBoolean, registerMetaDate, registerMetaDateTime, registerMetaDouble, registerMetaFloat, registerMetaInt, registerMetaInt64, registerMetaString, registerMetaUint, registerMetaUint64, registerStaticMeta, remove, removeChildProperty, removeTopEffect, ripple, rippleEnd, rollEnd, rollStart, runDispose, split, splitFull, stealData, stealQdata, thawNotify, trim, ungroup, unref, watchClosure.
Getters
getAsset, getBoolean, getChildProperty, getChildPropertyByPspec, getChildren, getData, getDate, getDateTime, getDouble, getDuration, getDurationLimit, getFloat, getId, getInpoint, getInt, getInt64, getInternalTimeFromTimelineTime, getLayer, getLayerPriority, getMarkerList, getMaxDuration, getMeta, getName, getNaturalFramerate, getParent, getPriority, getProperty, getQdata, getStart, getString, getSupportedFormats, getTimeline, getTimelineTimeFromInternalTime, getTimelineTimeFromSourceFrame, getTopEffectIndex, getTopEffectPosition, getTopEffects, getToplevelParent, getTrackTypes, getUint, getUint64.
Setters
setAsset, setBoolean, setChildProperty, setChildPropertyByPspec, setChildPropertyFull, setData, setDataFull, setDate, setDateTime, setDouble, setDuration, setFloat, setInpoint, setInt, setInt64, setMarkerList, setMaxDuration, setMeta, setName, setParent, setPriority, setProperty, setStart, setString, setSupportedFormats, setTimeline, setTopEffectIndex, setTopEffectIndexFull, setTopEffectPriority, setUint, setUint64.
new
:: (HasCallStack, MonadIO m) | |
=> VideoStandardTransitionType |
|
-> m (Maybe TransitionClip) | Returns: a newly created |
Creates a new TransitionClip
.
newForNick
transitionClipNewForNick Source #
:: (HasCallStack, MonadIO m) | |
=> Text |
|
-> m (Maybe TransitionClip) | Returns: The newly created |
Creates a new TransitionClip
for the provided nick
.
Properties
vtype
a VideoStandardTransitionType
representing the wipe to use
constructTransitionClipVtype :: (IsTransitionClip o, MonadIO m) => VideoStandardTransitionType -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “vtype
” property. This is rarely needed directly, but it is used by new
.
getTransitionClipVtype :: (MonadIO m, IsTransitionClip o) => o -> m VideoStandardTransitionType Source #
Get the value of the “vtype
” property.
When overloading is enabled, this is equivalent to
get
transitionClip #vtype
setTransitionClipVtype :: (MonadIO m, IsTransitionClip o) => o -> VideoStandardTransitionType -> m () Source #
Set the value of the “vtype
” property.
When overloading is enabled, this is equivalent to
set
transitionClip [ #vtype:=
value ]