Class
ModulateTransform
public class ModulateTransform: Transform
Changes the image brightness, saturation and hue.
Relationships
Superclass
Transform
:nodoc:
Initializers
Methods
brightness(_:)
@discardableResult
func brightness(_ value: Int) -> Self
Adds brightness
option.
Parameters
Name | Type | Description |
---|---|---|
value | Int |
Valid range: |
saturation(_:)
@discardableResult
func saturation(_ value: Int) -> Self
Adds saturation
option.
Parameters
Name | Type | Description |
---|---|---|
value | Int |
Valid range: |
hue(_:)
@discardableResult
func hue(_ value: Int) -> Self
Adds hue
option.
Parameters
Name | Type | Description |
---|---|---|
value | Int |
Valid range: |