VectSharp
2.2.1
A light library for C# vector graphics
|
Determines how and whether image filters are rasterised. More...
Public Types | |
enum | FilterOperations { FilterOperations.RasteriseAll, FilterOperations.RasteriseIfNecessary, FilterOperations.NeverRasteriseAndIgnore, FilterOperations.NeverRasteriseAndSkip, FilterOperations.IgnoreAll, FilterOperations.SkipAll } |
Defines whether image filters should be rasterised or not. More... | |
Public Member Functions | |
FilterOption (FilterOperations operation, double rasterisationResolution, bool rasterisationResolutionRelative) | |
Create a new FilterOption object. More... | |
Static Public Attributes | |
static FilterOption | Default = new FilterOption(FilterOperations.RasteriseIfNecessary, 1, true) |
The default options for image filter rasterisation. More... | |
Properties | |
FilterOperations | Operation = FilterOperations.RasteriseIfNecessary [get] |
Defines whether image filters should be rasterised or not. More... | |
double | RasterisationResolution = 1 [get] |
The resolution that will be used to rasterise image filters. Depending on the value of RasterisationResolutionRelative, this can either be an absolute resolution (i.e. a size in pixel), or a scale factor that is applied to the image size in graphics units. More... | |
bool | RasterisationResolutionRelative = true [get] |
Determines whether the value of RasterisationResolution is absolute (i.e. a size in pixel), or relative (i.e. a scale factor that is applied to the image size in graphics units). More... | |
Determines how and whether image filters are rasterised.
Definition at line 1656 of file SVGContext.cs.
Defines whether image filters should be rasterised or not.
Definition at line 1661 of file SVGContext.cs.
VectSharp.SVG.SVGContextInterpreter.FilterOption.FilterOption | ( | FilterOperations | operation, |
double | rasterisationResolution, | ||
bool | rasterisationResolutionRelative | ||
) |
Create a new FilterOption object.
operation | Defines whether image filters should be rasterised or not. |
rasterisationResolution | The resolution that will be used to rasterise image filters. Depending on the value of RasterisationResolutionRelative, this can either be an absolute resolution (i.e. a size in pixel), or a scale factor that is applied to the image size in graphics units. |
rasterisationResolutionRelative | Determines whether the value of RasterisationResolution is absolute (i.e. a size in pixel), or relative (i.e. a scale factor that is applied to the image size in graphics units). |
Definition at line 1720 of file SVGContext.cs.
|
static |
The default options for image filter rasterisation.
Definition at line 1712 of file SVGContext.cs.
|
get |
Defines whether image filters should be rasterised or not.
Definition at line 1697 of file SVGContext.cs.
|
get |
The resolution that will be used to rasterise image filters. Depending on the value of RasterisationResolutionRelative, this can either be an absolute resolution (i.e. a size in pixel), or a scale factor that is applied to the image size in graphics units.
Definition at line 1702 of file SVGContext.cs.
|
get |
Determines whether the value of RasterisationResolution is absolute (i.e. a size in pixel), or relative (i.e. a scale factor that is applied to the image size in graphics units).
Definition at line 1707 of file SVGContext.cs.