public static ActionTransition Create(bool indirect, Transition trans) { ActionTransition transition1 = ActionTransition.Create(indirect); transition1.Trans = trans; return(transition1); }
public static ActionTransition Create(Transition trans) { ActionTransition transition1 = ActionTransition.Create(true); transition1.Trans = trans; return(transition1); }
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); }