Table of Contents

Property Color

Namespace
PaintDotNet.Direct2D1.Effects
Assembly
PaintDotNet.Windows.Core.dll

Color

The color and opacity of the bitmap. The individual values for each channel are unbounded and unitless. The effect doesn't modify the values for the channel. The RGBA values for each channel range from 0 to 1. The default value is { R=0, G=0, B=0, A=1 } (opaque black). To use a ColorRgba128Float as a premultiplied color, use: (Vector4Float)color.ToPremultiplied()

public EffectPropertyAccessor<Vector4Float> Color { get; }

Property Value

EffectPropertyAccessor<Vector4Float>