Uses of Enum
de.xima.fc.prompt.service.support.EPromptImageObjectFit
Packages that use EPromptImageObjectFit
Package
Description
The prompt API is kept intentionally low-level to support a wide range of use cases.
-
Uses of EPromptImageObjectFit in de.xima.fc.prompt.service.support
Subclasses with type arguments of type EPromptImageObjectFit in de.xima.fc.prompt.service.supportModifier and TypeClassDescriptionenumThe object-fit property defines how an image should be resized to fit its canvas.Methods in de.xima.fc.prompt.service.support that return EPromptImageObjectFitModifier and TypeMethodDescriptionstatic EPromptImageObjectFitReturns the enum constant of this type with the specified name.static EPromptImageObjectFit[]EPromptImageObjectFit.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in de.xima.fc.prompt.service.support with parameters of type EPromptImageObjectFitModifier and TypeMethodDescriptionPromptImageGeometryConverters.resizeCanvas(int newWidth, int newHeight, EPromptImageObjectFit objectFit) Resizes the canvas to the given dimensions, fitting the image using the specified object fit strategy.