ImagePlacement class final
Where an inline image sits: its content-hash id, visible cell window, and
original fit box. Bytes travel out-of-band (an InlineImageFrame), shipped
once per id.
Constructors
Properties
- boxCols → int
-
Size of the unclipped placement box that fit resolves against.
Defaults to the visible size (an unclipped placement).
final
- boxOffsetCol → int
-
Offset of the visible cols x rows window within the original box.
final
- boxOffsetRow → int
-
final
- boxRows → int
-
final
- col → int
-
final
- cols → int
-
final
- fit → InlineImageFit
-
How the client's
<img>fills the original boxCols x boxRows box (CSSobject-fit) before the result is clipped to the visible window. Carried per placement so a wrong-aspect box doesn't stretch the image.final - hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- row → int
-
final
- rows → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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