Пример #1
0
        public static ActionTransition Create(bool indirect, Transition trans)
        {
            ActionTransition transition1 = ActionTransition.Create(indirect);

            transition1.Trans = trans;
            return(transition1);
        }
Пример #2
0
        public static ActionTransition Create(Transition trans)
        {
            ActionTransition transition1 = ActionTransition.Create(true);

            transition1.Trans = trans;
            return(transition1);
        }
Пример #3
0
        private static ActionTransition Create(bool indirect)
        {
            PDFDict dict1 = Library.CreateDict();

            dict1["S"] = Library.CreateName("Trans");
            ActionTransition transition1 = (Resources.Get(dict1, typeof(ActionTransition)) as ActionTransition);

            if (indirect)
            {
                Library.CreateIndirect(dict1);
            }
            return(transition1);
        }