C# 클래스 LitDev.LDEffect

파일 보기 프로젝트 열기: litdev1/LitDev

공개 메소드들

메소드 설명
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