AnimationDeveloperSamples.MapGraphicKeyframe.UpdateGraphicObject C# (CSharp) Method

UpdateGraphicObject() private method

private UpdateGraphicObject ( IElement elem, IAGAnimationContainer pContainer, IAGAnimationTrack pTrack, IPoint new_pos, double new_angle ) : void
elem IElement
pContainer IAGAnimationContainer
pTrack IAGAnimationTrack
new_pos IPoint
new_angle double
return void
        private void UpdateGraphicObject(IElement elem, IAGAnimationContainer pContainer, IAGAnimationTrack pTrack, IPoint new_pos, double new_angle)
        {
            if (elem == null||new_pos==null)
                return; //invalidate parameter

            MoveElement(elem, new_pos, pContainer);
            RotateElement(elem, new_angle, pContainer);

            return;
        }