public void StartAnim(float step) { if (scAnim == null) { return; } scAnim.Stop(); stepAnim = new ScStepAnimation(panelView.Location.X, step, scAnim); scAnim.Start(); }
public void StartVisibleAnim(bool isVisible) { visableAnim.Stop(); float stopOpacity = 0; if (isVisible == true) { visible = true; stopOpacity = 1.0f; } opacityLinear = new ScLinearAnimation(Opacity, stopOpacity, visableAnim); visableAnim.Start(); }
void StartSlideScreenAnim(float endValue) { slideScreenAnim.Stop(); slideAnimLinear = new ScLinearAnimation(slideRect.X, endValue, slideScreenAnim); slideScreenAnim.Start(); if (slideDirection == 1) { leftScreen.StartRowLayerAnim(); } else { rightScreen.StartRowLayerAnim(); } }
public void StartScaleAnim() { if (scaleAnim == null) { return; } scaleAnim.Stop(); step = (int)(maxVarValue - animValue) / 10; if (step == 0) { step = 1; } scaleAnim.Start(); }
private void ScVxDate_SizeChanged(object sender, SizeF oldSize) { RectangleF rect = new RectangleF(0, 0, Width, Height); mainTable = new Table(rect, 1, 3); TableLine tableLine = new TableLine(LineDir.VERTICAL); tableLine.lineComputeMode = LineComputeMode.PERCENTAGE; tableLine.computeParam = 0.4f; mainTable.SetLineArea(0, tableLine); tableLine.computeParam = 0.25f; mainTable.SetLineArea(1, tableLine); tableLine.computeParam = 0.35f; mainTable.SetLineArea(2, tableLine); mainTable.ComputeLinesArea(LineDir.VERTICAL); dateAnim.Stop(); dateAnim.Start(); }
public void StartHaloAnim() { haloAnim.Stop(); haloLinear = new ScLinearAnimation(animHaloAlphaScale, endHaloAlphaScale, haloAnim); haloAnim.Start(); }
public void StartAnim(int stopAlpha) { scAnim.Stop(); linear = new ScLinearAnimation(alpha, stopAlpha, scAnim); scAnim.Start(); }
public void StartAnim() { cursorState = 1; scAnim.Start(); }
public void StartProgressAnim() { progressAnim.Stop(); progressStep = new ScStepAnimation(animProgress, animStep, progressAnim); progressAnim.Start(); }
public void StartProgressAnim(float startValue, float stopValue) { mouseEnterAnim.Stop(); mouseEnterLinear = new ScLinearAnimation(startValue, stopValue, mouseEnterAnim); mouseEnterAnim.Start(); }
public void StartAnim1() { mouseEnterAnim1.Stop(); mouseEnterLinear1 = new ScLinearAnimation(0, Height - 1, mouseEnterAnim1); mouseEnterAnim1.Start(); }
public void StartScaleAnim() { scaleAnim.Stop(); linear = new ScLinearAnimation(0, 1.0f, scaleAnim); scaleAnim.Start(); }
public void StartProgressAnim() { progressAnim.Stop(); progressAnim.Start(); }