Class PixbufAnimation
- Namespace
- GdkPixbuf
- Assembly
- GdkPixbuf-2.0.dll
public class PixbufAnimation : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
PixbufAnimation
- Implements
- Derived
- Inherited Members
Constructors
PixbufAnimation(params ConstructArgument[])
[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public PixbufAnimation(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
PixbufAnimation(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected PixbufAnimation(CreationData data)
Parameters
dataCreationData
PixbufAnimation(PixbufAnimationHandle)
protected PixbufAnimation(PixbufAnimationHandle handle)
Parameters
handlePixbufAnimationHandle
Methods
GetGType()
public static Type GetGType()
Returns
GetHeight()
public int GetHeight()
Returns
GetIter(TimeVal?)
public PixbufAnimationIter GetIter(TimeVal? startTime)
Parameters
startTimeTimeVal
Returns
GetStaticImage()
public Pixbuf GetStaticImage()
Returns
GetWidth()
public int GetWidth()
Returns
IsStaticImage()
public bool IsStaticImage()
Returns
NewFromFile(string)
public static PixbufAnimation? NewFromFile(string filename)
Parameters
filenamestring
Returns
NewFromPointer(nint, bool)
Creates a new managed PixbufAnimation instance for a given pointer.
public static PixbufAnimation NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewFromResource(string)
[Version("2.28")]
public static PixbufAnimation? NewFromResource(string resourcePath)
Parameters
resourcePathstring
Returns
NewFromStream(InputStream, Cancellable?)
[Version("2.28")]
public static PixbufAnimation? NewFromStream(InputStream stream, Cancellable? cancellable)
Parameters
streamInputStreamcancellableCancellable
Returns
NewFromStreamFinish(AsyncResult)
[Version("2.28")]
public static PixbufAnimation? NewFromStreamFinish(AsyncResult asyncResult)
Parameters
asyncResultAsyncResult
Returns
NewWithProperties(ConstructArgument[])
Creates a new PixbufAnimation and sets the properties specified by the construct arguments.
public static PixbufAnimation NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
Ref()
public PixbufAnimation Ref()
Returns
Unref()
public void Unref()