C# Класс LitDev.LDEffect

Показать файл Открыть проект

Открытые методы

Метод Описание
Bloom ( Primitive shapeName, Primitive properties ) : void

Apply a bloom effect.

Blur ( Primitive shapeName, Primitive properties ) : void

Apply a blur effect.

Clear ( Primitive shapeName ) : void

Clear effects.

ColourTone ( Primitive shapeName, Primitive properties ) : void

Apply a colour tone effect.

DropShaddow ( Primitive shapeName, Primitive properties ) : void

Apply a drop shaddow effect.

Embossed ( Primitive shapeName, Primitive properties ) : void

Apply an embossed effect.

Magnify ( Primitive shapeName, Primitive properties ) : void

Apply a magnify effect.

Monochrome ( Primitive shapeName, Primitive properties ) : void

Apply a monochrome effect.

Pixelate ( Primitive shapeName, Primitive properties ) : void

Apply a pixelate effect.

Ripple ( Primitive shapeName, Primitive properties ) : void

Apply a ripple effect.

Sharpen ( Primitive shapeName, Primitive properties ) : void

Apply a sharpen effect.

Swirl ( Primitive shapeName, Primitive properties ) : void

Apply a swirl effect.

Приватные методы

Метод Описание
ExtractDll ( ) : void
SetEffect ( string shapeName, eEffect effect, Primitive properties ) : void

Описание методов

Bloom() публичный статический Метод

Apply a bloom effect.
public static Bloom ( Primitive shapeName, Primitive properties ) : void
shapeName Primitive The shape to apply the effect to.
properties Primitive An array of optional ("" for none) properties, indexed by the property name: /// BaseIntensity (default 1) /// BaseSaturation (default 1) /// BloomIntensity (default 1.25) /// BloomSaturation (default 1) /// Threshold (default 0.25) ///
Результат void

Blur() публичный статический Метод

Apply a blur effect.
public static Blur ( Primitive shapeName, Primitive properties ) : void
shapeName Primitive The shape to apply the effect to.
properties Primitive An array of optional ("" for none) properties, indexed by the property name: /// KernelType (default "Gaussian" or "Box") /// Radius (default 5) ///
Результат void

Clear() публичный статический Метод

Clear effects.
public static Clear ( Primitive shapeName ) : void
shapeName Primitive The shape to clear the effects from.
Результат void

ColourTone() публичный статический Метод

Apply a colour tone effect.
public static ColourTone ( Primitive shapeName, Primitive properties ) : void
shapeName Primitive The shape to apply the effect to.
properties Primitive An array of optional ("" for none) properties, indexed by the property name: /// Desaturation (default 0.5) /// ToneAmount (default 0.5) /// LightColor (default "#FFE580") /// DarkColor (default "#338000") ///
Результат void

DropShaddow() публичный статический Метод

Apply a drop shaddow effect.
public static DropShaddow ( Primitive shapeName, Primitive properties ) : void
shapeName Primitive The shape to apply the effect to.
properties Primitive An array of optional ("" for none) properties, indexed by the property name: /// BlurRadius (default 5) /// Color (default "Black") /// Direction (default 315) /// Opacity (default 1) /// ShadowDepth (default 5) ///
Результат void

Embossed() публичный статический Метод

Apply an embossed effect.
public static Embossed ( Primitive shapeName, Primitive properties ) : void
shapeName Primitive The shape to apply the effect to.
properties Primitive An array of optional ("" for none) properties, indexed by the property name: /// Amount (default 3) /// Color (default "Gray") /// Height (default 0.001) ///
Результат void

Magnify() публичный статический Метод

Apply a magnify effect.
public static Magnify ( Primitive shapeName, Primitive properties ) : void
shapeName Primitive The shape to apply the effect to.
properties Primitive An array of optional ("" for none) properties, indexed by the property name: /// Amount (default 0.5) /// Center (default "X=0.5;Y=0.5;") /// InnerRadius (default 0.2) /// OuterRadius (default 0.4) ///
Результат void

Monochrome() публичный статический Метод

Apply a monochrome effect.
public static Monochrome ( Primitive shapeName, Primitive properties ) : void
shapeName Primitive The shape to apply the effect to.
properties Primitive An array of optional ("" for none) properties, indexed by the property name: /// Color (default "White") ///
Результат void

Pixelate() публичный статический Метод

Apply a pixelate effect.
public static Pixelate ( Primitive shapeName, Primitive properties ) : void
shapeName Primitive The shape to apply the effect to.
properties Primitive An array of optional ("" for none) properties, indexed by the property name: /// Pixelation (default 0.75) ///
Результат void

Ripple() публичный статический Метод

Apply a ripple effect.
public static Ripple ( Primitive shapeName, Primitive properties ) : void
shapeName Primitive The shape to apply the effect to.
properties Primitive An array of optional ("" for none) properties, indexed by the property name: /// Center (default "X=0.5;Y=0.5;") /// Frequency (default 40) /// Magnitude (default 0.1) /// Phase (default 10) ///
Результат void

Sharpen() публичный статический Метод

Apply a sharpen effect.
public static Sharpen ( Primitive shapeName, Primitive properties ) : void
shapeName Primitive The shape to apply the effect to.
properties Primitive An array of optional ("" for none) properties, indexed by the property name: /// Amount (default 2) /// Height (default 0.0005) ///
Результат void

Swirl() публичный статический Метод

Apply a swirl effect.
public static Swirl ( Primitive shapeName, Primitive properties ) : void
shapeName Primitive The shape to apply the effect to.
properties Primitive An array of optional ("" for none) properties, indexed by the property name: /// AngleFrequency (default 45) /// Center (default "X=0.5;Y=0.5;") /// TwistAmount (default 10) ///
Результат void