예제 #1
0
 public Shape(Point topLeft, Point bottomRight)
 {
     mTopLeft     = topLeft;
     mBottomRight = bottomRight;
     mBorder      = new Border();
     mFillPattern = new FillPattern();
     mAngle       = 0;
 }
예제 #2
0
 public Shape()
 {
     mTopLeft     = new Point(0, 0);
     mBottomRight = new Point(0, 0);
     mBorder      = new Border();
     mFillPattern = new FillPattern();
     mAngle       = 0;
 }
예제 #3
0
 internal void setFillPattern(FillPattern fillPattern)
 {
     mForeground = fillPattern.mForeground;
     mBackground = fillPattern.mBackground;
     mBrushType  = fillPattern.mBrushType;
 }
예제 #4
0
 public FillPattern(FillPattern fillPattern)
 {
     this.fillPattern = fillPattern;
 }
예제 #5
0
 public void setFillPattern(FillPattern fillPattern)
 {
     this.mFillPattern.setFillPattern(fillPattern);
 }