WindowShape class
- Implemented types
Constructors
- WindowShape.borrowed(int nativeHandle)
- Wraps a handle owned elsewhere; releasing it stays the owner's job.
- WindowShape.fromHandle(int nativeHandle)
- Adopts a handle returned by the C API and releases it when this object becomes unreachable.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- nativeHandle → int
-
The underlying handle-table entry.
final
- pointCount → int
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addPoint(
Point point) → bool -
clear(
) → void -
dispose(
) → void - Releases the handle now instead of at collection.
-
getPointAt(
int index) → Point -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
create(
) → WindowShape? -
Creates a new
WindowShape; returns null if the native side failed.