Package com.sun.star.awt

Examples of com.sun.star.awt.XGraphics.drawLine()


                          aRect.X, aRect.Y, aRect.Width, aRect.Height );
          }

          // System.out.println( "Step3" );
          // xGraphics.drawRect( aRect.X - 1, aRect.Y - 1, aRect.Width + 2, aRect.Height + 2 );
          xGraphics.drawLine( aRect.X - 1, aRect.Y - 1,
                    aRect.X + aRect.Width + 1, aRect.Y - 1 );
          xGraphics.drawLine( aRect.X + aRect.Width + 1, aRect.Y - 1,
                    aRect.X + aRect.Width + 1, aRect.Y + aRect.Height + 1 );
          xGraphics.drawLine( aRect.X + aRect.Width + 1, aRect.Y + aRect.Height + 1,
                    aRect.X - 1, aRect.Y + aRect.Height + 1 );
View Full Code Here


          // System.out.println( "Step3" );
          // xGraphics.drawRect( aRect.X - 1, aRect.Y - 1, aRect.Width + 2, aRect.Height + 2 );
          xGraphics.drawLine( aRect.X - 1, aRect.Y - 1,
                    aRect.X + aRect.Width + 1, aRect.Y - 1 );
          xGraphics.drawLine( aRect.X + aRect.Width + 1, aRect.Y - 1,
                    aRect.X + aRect.Width + 1, aRect.Y + aRect.Height + 1 );
          xGraphics.drawLine( aRect.X + aRect.Width + 1, aRect.Y + aRect.Height + 1,
                    aRect.X - 1, aRect.Y + aRect.Height + 1 );
          xGraphics.drawLine( aRect.X - 1, aRect.Y + aRect.Height + 1,
                    aRect.X - 1, aRect.Y - 1 );
View Full Code Here

          // xGraphics.drawRect( aRect.X - 1, aRect.Y - 1, aRect.Width + 2, aRect.Height + 2 );
          xGraphics.drawLine( aRect.X - 1, aRect.Y - 1,
                    aRect.X + aRect.Width + 1, aRect.Y - 1 );
          xGraphics.drawLine( aRect.X + aRect.Width + 1, aRect.Y - 1,
                    aRect.X + aRect.Width + 1, aRect.Y + aRect.Height + 1 );
          xGraphics.drawLine( aRect.X + aRect.Width + 1, aRect.Y + aRect.Height + 1,
                    aRect.X - 1, aRect.Y + aRect.Height + 1 );
          xGraphics.drawLine( aRect.X - 1, aRect.Y + aRect.Height + 1,
                    aRect.X - 1, aRect.Y - 1 );

          // draw resize squares
View Full Code Here

                    aRect.X + aRect.Width + 1, aRect.Y - 1 );
          xGraphics.drawLine( aRect.X + aRect.Width + 1, aRect.Y - 1,
                    aRect.X + aRect.Width + 1, aRect.Y + aRect.Height + 1 );
          xGraphics.drawLine( aRect.X + aRect.Width + 1, aRect.Y + aRect.Height + 1,
                    aRect.X - 1, aRect.Y + aRect.Height + 1 );
          xGraphics.drawLine( aRect.X - 1, aRect.Y + aRect.Height + 1,
                    aRect.X - 1, aRect.Y - 1 );

          // draw resize squares
          // System.out.println( "Step4" );
          // xGraphics.drawRect( aRect.X - 2, aRect.Y - 2, 4, 4 );
View Full Code Here

                          aRect.X, aRect.Y, aRect.Width, aRect.Height );
          }

          // System.out.println( "Step3" );
          // xGraphics.drawRect( aRect.X - 1, aRect.Y - 1, aRect.Width + 2, aRect.Height + 2 );
          xGraphics.drawLine( aRect.X - 1, aRect.Y - 1,
                    aRect.X + aRect.Width + 1, aRect.Y - 1 );
          xGraphics.drawLine( aRect.X + aRect.Width + 1, aRect.Y - 1,
                    aRect.X + aRect.Width + 1, aRect.Y + aRect.Height + 1 );
          xGraphics.drawLine( aRect.X + aRect.Width + 1, aRect.Y + aRect.Height + 1,
                    aRect.X - 1, aRect.Y + aRect.Height + 1 );
View Full Code Here

          // System.out.println( "Step3" );
          // xGraphics.drawRect( aRect.X - 1, aRect.Y - 1, aRect.Width + 2, aRect.Height + 2 );
          xGraphics.drawLine( aRect.X - 1, aRect.Y - 1,
                    aRect.X + aRect.Width + 1, aRect.Y - 1 );
          xGraphics.drawLine( aRect.X + aRect.Width + 1, aRect.Y - 1,
                    aRect.X + aRect.Width + 1, aRect.Y + aRect.Height + 1 );
          xGraphics.drawLine( aRect.X + aRect.Width + 1, aRect.Y + aRect.Height + 1,
                    aRect.X - 1, aRect.Y + aRect.Height + 1 );
          xGraphics.drawLine( aRect.X - 1, aRect.Y + aRect.Height + 1,
                    aRect.X - 1, aRect.Y - 1 );
View Full Code Here

          // xGraphics.drawRect( aRect.X - 1, aRect.Y - 1, aRect.Width + 2, aRect.Height + 2 );
          xGraphics.drawLine( aRect.X - 1, aRect.Y - 1,
                    aRect.X + aRect.Width + 1, aRect.Y - 1 );
          xGraphics.drawLine( aRect.X + aRect.Width + 1, aRect.Y - 1,
                    aRect.X + aRect.Width + 1, aRect.Y + aRect.Height + 1 );
          xGraphics.drawLine( aRect.X + aRect.Width + 1, aRect.Y + aRect.Height + 1,
                    aRect.X - 1, aRect.Y + aRect.Height + 1 );
          xGraphics.drawLine( aRect.X - 1, aRect.Y + aRect.Height + 1,
                    aRect.X - 1, aRect.Y - 1 );

          // draw resize squares
View Full Code Here

                    aRect.X + aRect.Width + 1, aRect.Y - 1 );
          xGraphics.drawLine( aRect.X + aRect.Width + 1, aRect.Y - 1,
                    aRect.X + aRect.Width + 1, aRect.Y + aRect.Height + 1 );
          xGraphics.drawLine( aRect.X + aRect.Width + 1, aRect.Y + aRect.Height + 1,
                    aRect.X - 1, aRect.Y + aRect.Height + 1 );
          xGraphics.drawLine( aRect.X - 1, aRect.Y + aRect.Height + 1,
                    aRect.X - 1, aRect.Y - 1 );

          // draw resize squares
          // System.out.println( "Step4" );
          // xGraphics.drawRect( aRect.X - 2, aRect.Y - 2, 4, 4 );
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.