AbstractContainImagePrimitive

AbstractContainImagePrimitive ⇐ ImagePrimitive

Kind: global abstract class
Extends: ImagePrimitive
Properties

NameTypeDescription
positionString

Position of the image. Currently supported: see ImagePrimitive statics.

AbstractContainImagePrimitive()

This class is defining an Image primitive following a “contain” size logic.

The image is scaled to maintain its aspect ratio while fitting within its element’s content box as much as possible. More info: https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit