OuterGlowEffect.FillColor
OuterGlowEffect.FillColor property
Mendapat atau mengatur warna.
public IFillSettings FillColor { get; set; }
Nilai properti
Warna.
Contoh
Kode berikut menunjukkan dukungan OuterGlowEffect.
[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());
}
Lihat juga
- interface IFillSettings
- class OuterGlowEffect
- ruang nama Aspose.PSD.FileFormats.Psd.Layers.LayerEffects
- perakitan Aspose.PSD