Method | Description | |
---|---|---|
Alpha ( double adjustment ) : |
Adjusts the alpha (transparancy) of an image. For true transparency compine with ImageUrlBuilder.Output(img => img.Format(OutputFormat.Png)
|
|
Brightness ( double adjustment ) : |
Adjust the brightness of an image
|
|
Contrast ( double adjustment ) : |
Adjusts the contrast of an image
|
|
Grayscale ( ) : |
Applies a greyscale filter - equivalent to greyscale = true|y|ntsc
|
|
Grayscale ( GrayscaleOptions grayScaleOptions ) : |
Applies a greyscale filter. For default/NTSC filter use Greyscale()
|
|
Invert ( ) : |
Inverts an image
|
|
RoundedCorners ( int radiusPercentage ) : |
Adds evenly rounded corners to an image
|
|
RoundedCorners ( int topLeft, int topRight, int bottomRight, int bottomLeft ) : |
Adds rounded corners to an image. Radius is a percentage between 0 and 100 of 1/2 the smaller of width and height
|
|
Saturate ( double adjustment ) : |
Adjusts the saturation of an image
|
|
Sepia ( ) : |
Applies a sepia filter
|
|
SimpleFiltersExpression ( |
public Alpha ( double adjustment ) : |
||
adjustment | double | A value between 0 (transparent) and 1 (non transparent) |
return |
public Brightness ( double adjustment ) : |
||
adjustment | double | A value between -1 (darker) and 1 (lighter) |
return |
public Contrast ( double adjustment ) : |
||
adjustment | double | A value between -1 (decrease contrast) and 1 (increase contrast) |
return |
public Grayscale ( ) : |
||
return |
public Grayscale ( GrayscaleOptions grayScaleOptions ) : |
||
grayScaleOptions | GrayscaleOptions | The type of greyscale to apply |
return |
public RoundedCorners ( int radiusPercentage ) : |
||
radiusPercentage | int | A percentage between 0 and 100 of 1/2 the smaller of width and height |
return |
public RoundedCorners ( int topLeft, int topRight, int bottomRight, int bottomLeft ) : |
||
topLeft | int | Top left percentage |
topRight | int | Top right percentage |
bottomRight | int | Bottom right percentage |
bottomLeft | int | Bottom left percentage |
return |
public Saturate ( double adjustment ) : |
||
adjustment | double | A value between -1 (decrease saturation) and 1 (increase saturation) |
return |
public SimpleFiltersExpression ( |
||
builder | ||
return | System |