Size class

Inheritance

Constructors

Size(int width, int height)
factory
Size.fromNative(mnn_cv_size2i_t p)
factory
Size.fromPointer(Pointer<mnn_cv_size2i_t> ptr, {bool attach = true, int? externalSize})
Size.fromTuple((int, int) tuple)
factory
Size.fromXY(int x, int y)
factory

Properties

attach bool
finalinherited
finalizer NativeFinalizer
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
height int
no setter
isEmpty bool
no setterinherited
props List<Object?>
no setteroverride
ptr Pointer<Void>
Gets the pointer to the underlying C++ object
no setterinherited
ref → mnn_cv_size2i_t
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width int
no setter

Methods

dispose() → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reattach(Pointer<Void> ptr) → void
inherited
release() → void
Releases the underlying C++ object Subclasses must implement specific release logic
override
toString() String
A string representation of this object.
inherited

Operators

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