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