OuterGlowEffect.FillColor
OuterGlowEffect.FillColor property
Krijgt of stelt de kleur in.
public IFillSettings FillColor { get; set; }
Eigendoms-waarde
De kleur.
Voorbeelden
De volgende code demonstreert de OuterGlowEffect-ondersteuning.
[C#]
string src = "GreenLayer.psd";
string outputPng = "output261.png";
using (var image = (PsdImage)Image.Load(src))
{
OuterGlowEffect effect = image.Layers[1].BlendingOptions.AddOuterGlow();
effect.Range = 10;
effect.Spread = 10;
((IColorFillSettings)effect.FillColor).Color = Color.Red;
effect.Opacity = 128;
effect.BlendMode = BlendMode.Normal;
image.Save(outputPng, new PngOptions());
}
Zie ook
- interface IFillSettings
- class OuterGlowEffect
- naamruimte Aspose.PSD.FileFormats.Psd.Layers.LayerEffects
- montage Aspose.PSD