Skip to content

M_Aurora_EffectsEngine_EffectLayer_PercentEffect_4

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

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

Draws a percent effect on the layer bitmap using a FreeFormObject and 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,
	FreeFormObject freeform,
	double value,
	double total,
	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
freeform
Type: Aurora.Settings.FreeFormObject
The FreeFormObject that the progress effect will be drawn on
value
Type: System.Double
The current progress value
total
Type: System.Double
The maxiumum progress value
percentEffectType (Optional)
Type: Aurora.Settings.PercentEffectType
The percent effect type

See Also

Reference

EffectLayer Class
PercentEffect Overload
Aurora.EffectsEngine Namespace

Clone this wiki locally