SoftwareBitmap class

Represents an uncompressed bitmap.

Implemented types

Constructors

SoftwareBitmap.create(BitmapPixelFormat format, int width, int height)
factory
SoftwareBitmap.createWithAlpha(BitmapPixelFormat format, int width, int height, BitmapAlphaMode alpha)
factory
SoftwareBitmap.fromPtr(Pointer<COMObject> ptr)

Properties

bitmapAlphaMode BitmapAlphaMode
no setteroverride
bitmapPixelFormat BitmapPixelFormat
no setteroverride
dpiX double
getter/setter pairoverride
dpiY double
getter/setter pairoverride
hashCode int
The hash code for this object.
no setterinherited
isReadOnly bool
no setteroverride
pixelHeight int
no setteroverride
pixelWidth int
no setteroverride
ptr Pointer<COMObject>
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addRef() int
Increments the reference count for an interface pointer to a COM object.
inherited
close() → void
override
copyFromBuffer(IBuffer? buffer) → void
override
copyTo(SoftwareBitmap? bitmap) → void
override
copyToBuffer(IBuffer? buffer) → void
override
detach() → void
Detaches the object from the Finalizer.
inherited
getIids(Pointer<Uint32> iidCount, Pointer<Pointer<GUID>> iids) int
inherited
getReadOnlyView() SoftwareBitmap?
override
getRuntimeClassName(Pointer<IntPtr> className) int
inherited
getTrustLevel(Pointer<Int32> trustLevel) int
inherited
lockBuffer(BitmapBufferAccessMode mode) BitmapBuffer?
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryInterface(Pointer<GUID> riid, Pointer<Pointer<NativeType>> ppvObject) int
Queries a COM object for a pointer to one of its interface; identifying the interface by a reference to its interface identifier (IID).
inherited
release() int
Decrements the reference count for an interface on a COM object.
inherited
toInterface(String iid) Pointer<COMObject>
Cast an existing COM object to a specified interface.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited