Beispiel #1
0
 // Method: CreateTextVisual (visualId, fillBrushId, textFormatId, centerX, centerY, width, height, text)
 public static void CreateTextVisual(
     int visualId
     , int fillBrushId
     , int textFormatId
     , double centerX
     , double centerY
     , double width
     , double height
     , string text
     )
 {
     Scene.SendInput(
         Input.NewVisualInput(
             visualId
             , VisualInput.NewCreateTextVisual(
                 fillBrushId
                 , textFormatId
                 , centerX
                 , centerY
                 , width
                 , height
                 , text
                 )
             )
         );
 }
Beispiel #2
0
 // Method: CreateRectangleVisual (visualId, fillBrushId, strokeBrushId, strokeWidth, centerX, centerY, width, height)
 public static void CreateRectangleVisual(
     int visualId
     , int fillBrushId
     , int strokeBrushId
     , double strokeWidth
     , double centerX
     , double centerY
     , double width
     , double height
     )
 {
     Scene.SendInput(
         Input.NewVisualInput(
             visualId
             , VisualInput.NewCreateRectangleVisual(
                 fillBrushId
                 , strokeBrushId
                 , strokeWidth
                 , centerX
                 , centerY
                 , width
                 , height
                 )
             )
         );
 }
Beispiel #3
0
 protected override void ProcessRecord()
 {
     SceneManager.Scene.SendInput(
         Input.NewVisualInput(
             VisualId
             , VisualInput.NewCloneVisual(
                 CloneVisualId
                 )
             )
         );
 }
Beispiel #4
0
 protected override void ProcessRecord()
 {
     SceneManager.Scene.SendInput(
         Input.NewVisualInput(
             VisualId
             , VisualInput.NewResizeVisual(
                 Width
                 , Height
                 )
             )
         );
 }
Beispiel #5
0
        // ------------------------------------------------------------------------
        // Prefix: VisualInput
        // ------------------------------------------------------------------------

        // Method: CloneVisual (visualId, cloneVisualId)
        public static void CloneVisual(
            int visualId
            , int cloneVisualId
            )
        {
            Scene.SendInput(
                Input.NewVisualInput(
                    visualId
                    , VisualInput.NewCloneVisual(
                        cloneVisualId
                        )
                    )
                );
        }
Beispiel #6
0
 protected override void ProcessRecord()
 {
     SceneManager.Scene.SendInput(
         Input.NewVisualInput(
             VisualId
             , VisualInput.NewCreateBitmapVisual(
                 BitmapId
                 , Opacity
                 , CenterX
                 , CenterY
                 , Width
                 , Height
                 )
             )
         );
 }
Beispiel #7
0
 // Method: ResizeVisual (visualId, width, height)
 public static void ResizeVisual(
     int visualId
     , double width
     , double height
     )
 {
     Scene.SendInput(
         Input.NewVisualInput(
             visualId
             , VisualInput.NewResizeVisual(
                 width
                 , height
                 )
             )
         );
 }
Beispiel #8
0
 // Method: MoveVisual (visualId, x, y)
 public static void MoveVisual(
     int visualId
     , double x
     , double y
     )
 {
     Scene.SendInput(
         Input.NewVisualInput(
             visualId
             , VisualInput.NewMoveVisual(
                 x
                 , y
                 )
             )
         );
 }
Beispiel #9
0
 protected override void ProcessRecord()
 {
     SceneManager.Scene.SendInput(
         Input.NewVisualInput(
             VisualId
             , VisualInput.NewCreateTextVisual(
                 FillBrushId
                 , TextFormatId
                 , CenterX
                 , CenterY
                 , Width
                 , Height
                 , Text
                 )
             )
         );
 }
Beispiel #10
0
 protected override void ProcessRecord()
 {
     SceneManager.Scene.SendInput(
         Input.NewVisualInput(
             VisualId
             , VisualInput.NewCreateRectangleVisual(
                 FillBrushId
                 , StrokeBrushId
                 , StrokeWidth
                 , CenterX
                 , CenterY
                 , Width
                 , Height
                 )
             )
         );
 }
Beispiel #11
0
 // Method: CreateBitmapVisual (visualId, bitmapId, opacity, centerX, centerY, width, height)
 public static void CreateBitmapVisual(
     int visualId
     , int bitmapId
     , double opacity
     , double centerX
     , double centerY
     , double width
     , double height
     )
 {
     Scene.SendInput(
         Input.NewVisualInput(
             visualId
             , VisualInput.NewCreateBitmapVisual(
                 bitmapId
                 , opacity
                 , centerX
                 , centerY
                 , width
                 , height
                 )
             )
         );
 }