ImageEn, unit iexTransitions

TIETransitionParams.AlternativeStyle

TIETransitionParams.AlternativeStyle


Declaration

property AlternativeStyle: Boolean;


Description

Enable to use the alternative drawing style for each transition.

Default: False

The specific effect upon each transition is as follows:
Transition TransitionsDrawAlternative=True
iettCrossDissolve,
iettFadeOut,
iettFadeIn,
iettUnevenBlindsFromLeft,
iettUnevenBlindsFromRight,
iettUnevenBlindsFromTop,
iettUnevenBlindsFromBottom
Always uses exponential timing
iettExpandInFromLeft,
iettExpandInFromRight,
iettExpandInFromTop,
iettExpandInFromBottom,
iettExpandInToVerticalCenter,
iettExpandInToHorizon,
iettBuildUpFromLeft,
iettBuildUpFromRight,
iettBuildUpFromTop,
iettBuildUpFromBottom,
iettShrinkToTopLeft,
iettShrinkToTopRight,
iettShrinkToBottomLeft,
iettShrinkToBottomRight,
iettShrinkToCenter
Always uses logarithmic timing
iettFadeOutInBlend color is a sample of the incoming image
iettFromUpLeft,
iettFromUpRight,
iettFromBottomLeft,
iettFromBottomRight,
iettCenter1,
iettCenter2,
iettCenterZoom1,
iettCenterZoom2,
iettExpandFromLeft,
iettExpandFromRight,
iettExpandFromTop,
iettExpandFromBottom,
iettExpandFromTopLeft,
iettExpandFromTopRight,
iettExpandFromBottomLeft,
iettExpandFromBottomRight,
iettQuartersWipeInToCenter,
iettQuartersExpandToCenter,
iettQuartersSlideInToCenter,
iettCurvedWipeFromLeft,
iettCurvedWipeFromRight,
iettCurvedWipeFromTop,
iettCurvedWipeFromBottom,
iettCurvedWipeFromTopLeft,
iettCurvedWipeFromTopRight,
iettCurvedWipeFromBottomLeft,
iettCurvedWipeFromBottomRight,
iettCircularWipeFromCenter,
iettCircularWipeToCenter,
iettStarburstClockwiseFromCenter,
iettStarburstCounterClockwiseFromCenter,
iettRotationalRectangle,
iettRotationalRectangleCounterClockwise,
iettRotationalStar,
iettRotationalStarCounterClockwise,
iettArrowWipeFromLeft,
iettArrowWipeFromRight,
iettArrowWipeFromTop,
iettArrowWipeFromBottom,
iettHorizontalBowTieWipe,
iettVerticalBowTieWipe,
iettDiagonalCrossFromCenter,
iettDiagonalCrossToCenter,
iettDiamondWipeFromCenter,
iettDiamondWipeToCenter,
iettDiagonalBoxWipe,
iettAngledTwistIn,
iettAngledTwistOut,
iettWordFullExpandingSweep
Outgoing image is darkened
iettLeftRight,
iettRightLeft,
iettUpDown,
iettDownUp,
iettMoveLeftRight1,
iettMoveRightLeft1,
iettMoveUpDown1,
iettMoveDownUp1,
iettMoveLeftRight2,
iettMoveRightLeft2,
iettMoveUpDown2,
iettMoveDownUp2,
iettExpandInFromSides,
iettExpandInFromTopAndBottom,
iettExpandOutFromHorizon,
iettExpandOutFromVerticalCenter,
iettWipeFromTopLeft,
iettWipeFromTopRight,
iettWipeFromBottomLeft,
iettWipeFromBottomRight,
iettWipeInFromTopAndBottom,
iettWipeFromHorizon,
iettWipeInFromSides,
iettWipeOutFromVerticalCenter,
iettSlideInFromLeft,
iettSlideInFromRight,
iettSlideInFromTop,
iettSlideInFromBottom,
iettWipeDiagonalFromTopLeft,
iettWipeDiagonalFromTopRight,
iettWipeDiagonalFromBottomLeft,
iettWipeDiagonalFromBottomRight,
iettDiagonalSweepClockwise,
iettDiagonalSweepCounterClockwise,
iettPushLeftAndSlideOut,
iettPushRightAndSlideOut,
iettPushUpAndSlideOut,
iettPushDownAndSlideOut,
iettPushAndSqueezeLeft,
iettPushAndSqueezeRight,
iettPushAndSqueezeUp,
iettPushAndSqueezeDown
Draws a wipe line
iettRandomPointsDraws "static" rather than dots
iettRandomBoxes,
iettRandomBoxesWithWord
Draws double-size boxes
iettUnrollFromLeft,
iettUnrollFromRight,
iettUnrollFromTop,
iettUnrollFromBottom
Disables darkening of the "roll"
iettBarsInFromLeft,
iettBarsInFromRight,
iettBarsFromTop,
iettBarsFromBottom,
iettBarsLeftThenRight,
iettBarsRightThenLeft,
iettBarsTopThenBottom,
iettBarsBottomThenTop,
iettBarsFrombothSides,
iettBarsFromTopAndBottom,
iettCrisscrossWipeFromTopLeft,
iettCrisscrossWipeFromTopRight,
iettCrisscrossWipeFromBottomLeft,
iettCrisscrossWipeFromBottomRight,
iettCrisscrossWipeBounceFromTopLeft,
iettCrisscrossWipeBounceFromTopRight,
iettCrisscrossWipeBounceFromBottomLeft,
iettCrisscrossWipeBounceFromBottomRight,
iettCrisscrossWipeFromLeftRightAndTop,
iettCrisscrossWipeFromLeftRightAndBottom,
iettCrisscrossWipeFromLeftTopAndBottom,
iettCrisscrossWipeFromTopLeftRightAndBottom,
iettCrisscrossWipeFromRightTopAndBottom,
iettCrisscrossWipeFromBottomLeftTopRight,
iettRectanglesFromTheLeft,
iettRectanglesFromTheRight,
iettRectanglesFromTheTop,
iettRectanglesFromTheBottom,
iettHorizontalBlinds,
iettVerticalBlinds
Draws wider bars
iettShreddedFromLeft,
iettShreddedFromRight,
iettShreddedFromTop,
iettShreddedFromBottom,
iettShreddedFromTopAndLeft,
iettShreddedFromTopAndRight,
iettShreddedFromBottomAndLeft,
iettShreddedFromBottomAndRight,
iettShreddedFromHorizonAndLeft,
iettShreddedFromHorizonAndRight,
iettShreddedFromTopAndVerticalCenter,
iettShreddedFromBottomAndVerticalCenter,
iettShreddedFromCenter,
iettShreddedToCenter,
iettShreddedInToHorizon,
iettShreddedInToVerticalCenter,
iettShreddedOutFromHorizon,
iettShreddedOutFromVerticalCenter
Draws larger shreds
iettExpandingRectangles,
iettExpandingTriangles,
iettExpandingCircles,
iettExpandingDiamonds,
iettRandomBigBoxes,
iettRandomPuzzlePieces,
iettMultipleAngledTwistIn,
iettMultipleAngledTwistOut
Draws twice as many shapes
iettSweepClockwise,
iettSweepCounterClockwise,
iettFullSweepClockwise,
iettExpandingSweepClockwise
Rotates through a completely black state (double rotation)
iettSpeckledWipeFromLeft,
iettSpeckledWipeFromRight,
iettSpeckledWipeFromTop,
iettSpeckledWipeFromBottom
Draws smaller speckles
iettZigzagLeftRight,
iettZigzagRightLeft,
iettZigzagUpDown,
iettZigzagDownUp,
iettZigzagWipeFromHorizon,
iettZigzagWipeFromVerticalCenter,
iettZigzagWipeToHorizon,
iettZigzagWipeToVerticalCenter
Draws bigger teeth
iettSpirallingRectangleClockwise,
iettSpirallingRectangleCounterClockwise
Rectangle does not leave a trail
iettTriangularWipe,
iettWordHalfSweep,
iettWordFullSweep
Rotates in counter-clockwise direction
iettPageFlip iettReversePageFlipDisables darkening of partially shown pages
iettPageFlip2,
iettReversePageFlip2
Disable drawing of center line
iettRandomHearts,
iettExpandingHearts,
iettHeartWipeOut,
iettHeartWipeIn,
iettHeartWipeInAndOut
Draws "Double hearts" instead of a single one
iettRandomStar5s,
iettExpandingStar5,
iettStar5WipeOut,
iettStar5WipeIn,
iettStar5WipeInAndOut
Draws a flower rather than a star
iettRandomStar6s,
iettExpandingStar6,
iettStar6WipeIn,
iettStar6WipeOut,
iettStar6WipeInAndOut
Rotates the shape by 90 degrees CW (See also: TransitionShape)
iettRandomExplosionsDraws a cloud rather than an explosion
iettExpandingExplosions,
iettExpandingLightningBolts,
iettExplosionWipeOut,
iettExplosionWipeIn,
iettExplosionWipeInAndOut
Flips the shape horizontally
iettCrossWipeOut,
iettCrossWipeIn
Draws a lightning bolt rather than a cross
iettCubeRotateFromLeft,
iettCubeRotateFromRight,
iettCubeRotateFromTop,
iettCubeRotateFromBottom,
iettCubeRotateFromLeft2,
iettCubeRotateFromRight2,
iettCubeRotateFromTop2,
iettCubeRotateFromBottom2
Disable darkening of partially shown cube faces
iettSoftWipeFromLeft,
iettSoftWipeFromRight,
iettSoftWipeFromTop,
iettSoftWipeFromBottom
Uses extra soft blending
iettPacmanFromLeft,
iettPacmanFromRight,
iettPacman3Row,
iettPacman4Row,
iettPacman2SimRow,
iettPacman4SimRow,
iettPacman6SimRow
Disables drawing of "Pills"
iettRandomWord,
iettExpandingWord,
iettWordWipeOut,
iettWordWipeIn,
iettWordWipeInAndOut
Draws text larger (i.e. greater coverage)


Examples

// Display an alternative view of the next transition
ImageEnView1.TransitionParams.AlternativeStyle := True;
ImageEnView1.PrepareTransition();
ImageEnView1.IO.LoadFromFile( NextImage );
ImageEnView1.RunTransition( iettExpandingStar6 , 3000 );


// Slide Transition from old.bmp to new.bmp ensuring that both are shown as the same height
procedure TForm1.btnCompareClick(Sender: TObject);
const
  Display_Zoom = 100;
  Center_Image = True;
var
  bh: Integer;
  iz: Double;
begin
  // Get original image as transition start
  ImageEnView1.IO.LoadFromFile( ExtractFilePath( Application.ExeName ) + 'old.bmp' );
  ImageEnView1.Zoom := Display_Zoom;
  if Center_Image then
    ImageEnView1.CenterImage()
  else
   ImageEnView1.SetViewXY( 0, 0 );

  bh := ImageEnView1.IEBitmap.Height;
  iz := ImageEnView1.Zoom;
  ImageEnView1.PrepareTransition();

  // Load second image as transition result (Zoom to match display size of old image)
  ImageEnView1.IO.LoadFromFile( ExtractFilePath( Application.ExeName ) + 'new.bmp' );
  ImageEnView1.Zoom := iz / ( ImageEnView1.IEBitmap.Height / bh );
  if Center_Image then
    ImageEnView1.CenterImage()
  else
   ImageEnView1.SetViewXY( 0, 0 );

  // Run the transition
  ImageEnView1.TransitionParams.AlternativeStyle := True;   // Include transition line
  ImageEnView1.TransitionParams.WipeLineColor := clYellow;
  ImageEnView1.RunTransition( iettRightLeft, 3000 );        // Wipe Right to Left
end;




Compatibility Information

Prior to v12.0.0, this property was specified using IEGlobalSettings().TransitionsDrawAlternative.