ImageInPaintState
data class ImageInPaintState(val strokes: List<InPaintStroke> = emptyList(), val brushSize: Int = DEFAULT_IN_PAINT_BRUSH_SIZE, val maskBlur: Int = DEFAULT_IN_PAINT_MASK_BLUR, val maskMode: ImageInPaintState.MaskMode = MaskMode.InPaintMasked, val maskContent: ImageInPaintState.MaskContent = MaskContent.Original, val area: ImageInPaintState.Area = Area.WholePicture, val onlyMaskedPaddingPx: Int = DEFAULT_IN_PAINT_MASK_PADDING)(source)
Carries ImageInPaintState data through the SDAI presentation layer.
Author
Dmitriy Moroz
Constructors
Link copied to clipboard
constructor(strokes: List<InPaintStroke> = emptyList(), brushSize: Int = DEFAULT_IN_PAINT_BRUSH_SIZE, maskBlur: Int = DEFAULT_IN_PAINT_MASK_BLUR, maskMode: ImageInPaintState.MaskMode = MaskMode.InPaintMasked, maskContent: ImageInPaintState.MaskContent = MaskContent.Original, area: ImageInPaintState.Area = Area.WholePicture, onlyMaskedPaddingPx: Int = DEFAULT_IN_PAINT_MASK_PADDING)
Properties
Link copied to clipboard
Exposes the area value used by the SDAI presentation layer.
Link copied to clipboard
Exposes the maskContent value used by the SDAI presentation layer.
Link copied to clipboard
Exposes the maskMode value used by the SDAI presentation layer.
Link copied to clipboard
Exposes the onlyMaskedPaddingPx value used by the SDAI presentation layer.
Link copied to clipboard
Exposes the strokes value used by the SDAI presentation layer.