static func brightness(Double) -> GraphicsContext .Filter
Returns a filter that applies a brightness adjustment.
Availability 有効性
Technology
static func contrast(_ amount: Double
) -> GraphicsContext
.Filter
A filter that applies a contrast adjustment.
amount
An amount to adjust the contrast. A value of zero leaves the result completely gray. A value of one leaves the result unchanged. You can use values greater than one.
This filter is equivalent to the contrast
filter primitive defined by the Scalable Vector Graphics (SVG) specification.
static func brightness(Double) -> GraphicsContext .Filter