示例#1
0
 @Override
 public void setStroke(Stroke stroke) {
   if (stroke != null) {
     stroke.setParent(this);
   }
   this.stroke = stroke;
 }
示例#2
0
 @Override
 public void setStroke(Stroke stroke) {
   this.stroke = stroke;
   stroke.setParent(this);
 }