Uses of Class
io.wcm.handler.media.MediaArgs.WidthOption
-
Packages that use MediaArgs.WidthOption Package Description io.wcm.handler.media Media Handler API.io.wcm.handler.media.markup Default media markup builder implementations. -
-
Uses of MediaArgs.WidthOption in io.wcm.handler.media
Methods in io.wcm.handler.media that return MediaArgs.WidthOption Modifier and Type Method Description @NotNull MediaArgs.WidthOption @Nullable []
MediaArgs.ImageSizes. getWidthOptions()
@NotNull MediaArgs.WidthOption @Nullable []
MediaArgs.PictureSource. getWidthOptions()
Methods in io.wcm.handler.media with parameters of type MediaArgs.WidthOption Modifier and Type Method Description @NotNull MediaBuilder
MediaBuilder. imageSizes(@NotNull java.lang.String sizes, @NotNull MediaArgs.WidthOption @NotNull ... widthOptions)
Apply responsive image handling for theimg
element based on the primary media format given.MediaArgs.PictureSource
MediaArgs.PictureSource. widthOptions(@NotNull MediaArgs.WidthOption @NotNull ... value)
Constructors in io.wcm.handler.media with parameters of type MediaArgs.WidthOption Constructor Description ImageSizes(@NotNull java.lang.String sizes, @NotNull MediaArgs.WidthOption @NotNull ... widthOptions)
-
Uses of MediaArgs.WidthOption in io.wcm.handler.media.markup
Methods in io.wcm.handler.media.markup with parameters of type MediaArgs.WidthOption Modifier and Type Method Description protected @Nullable java.lang.String
SimpleImageMediaMarkupBuilder. getSrcSetRenditions(@NotNull Media media, @NotNull MediaFormat mediaFormat, @NotNull MediaArgs.WidthOption @Nullable ... widths)
Generate srcset list from the resolved renditions for the ratio of the given media formats and the given widths.
-