Skip to content

M_Aurora_EffectsEngine_EffectLayer_PercentEffect_5

Anton Pupkov edited this page Aug 8, 2016 · 2 revisions

EffectLayer.PercentEffect Method (Color, Color, KeySequence, Double, Double, PercentEffectType)

Draws a percent effect on the layer bitmap using a KeySequence with solid colors.

Namespace: Aurora.EffectsEngine
Assembly: Aurora (in Aurora.exe) Version: 1.0.0.0 (0.0.4.6)

Syntax

C#

public void PercentEffect(
	Color foregroundColor,
	Color backgroundColor,
	KeySequence sequence,
	double value,
	double total = 1,
	PercentEffectType percentEffectType = PercentEffectType.Progressive
)

Parameters

 

foregroundColor
Type: System.Drawing.Color
The foreground color, used as a "Progress bar color"
backgroundColor
Type: System.Drawing.Color
The background color
sequence
Type: KeySequence
The sequence of keys that the percent effect will be drawn on
value
Type: System.Double
The current progress value
total (Optional)
Type: System.Double
The maxiumum progress value
percentEffectType (Optional)
Type: PercentEffectType
The percent effect type

See Also

Reference

EffectLayer Class
PercentEffect Overload
Aurora.EffectsEngine Namespace

Clone this wiki locally