Class PdnStainedGlassEffect.Props
- Namespace
- PaintDotNet.Effects.Gpu
- Assembly
- PaintDotNet.Effects.Gpu.dll
public sealed class PdnStainedGlassEffect.Props : CustomEffectProperties
- Inheritance
-
PdnStainedGlassEffect.Props
- Inherited Members
Constructors
Properties
- AlphaMode
Specifies the alpha mode for the input and the output.
- BevelDepth
Specifies how strongly each pane is domed up away from its edges. The range is [0, 1] and the default value is 0.5.
- BorderWidth
Specifies how wide the leading is, as a fraction of the cell size. The range is [0, 1] and the default value is 0.15.
- CellColorMode
Specifies how each pane's single flat color is sampled from the pixels it covers. The default value is Average.
- CellSize
Specifies the average width, in pixels, of a pane of glass. The range is [2, 250] and the default value is 20.
- Center
The point the cell lattice is anchored at, in pixels: growing CellSize scales the lattice out from here. A caller can set this to the image center so that enlarging the cells reads as a zoom into the middle rather than out of the top-left corner. The default is (0, 0), the top-left corner.
- InputColorContext
Specifies the color context of the Input image, as well as the LeadColor property. This is used to optimize the quality of this effect's rendering.
- LeadColor
Specifies the color of the leading. The default value is pure black.
- LightAngle
Specifies the direction the light comes from, in degrees, measured counterclockwise from the right. The range is [0, 360] and the default value is 135.
- Seed
Specifies the seed that the cell layout is generated from. The default value is 0.