UpscaleTransform
public class UpscaleTransform : Transform
Upscales the image making it two times bigger.
-
Initializes an
UpscaleTransform
object.Declaration
Swift
public init()
-
Turns off resizing of image.
Declaration
Swift
@discardableResult func noUpscale() -> Self
-
Adds the
noise
option.Declaration
Swift
@discardableResult func noise(_ value: TransformNoiseMode) -> Self
Parameters
value
An
TransformNoiseMode
value. -
Adds the
style
option.Declaration
Swift
@discardableResult func style(_ value: TransformStyleMode) -> Self
Parameters
value
An
TransformStyleMode
value.