官术网_书友最值得收藏!

Connecting line designs using Line Join

Line Join describes how lines will look at intersections or angles. There are several options here:

  • StrokeLineJoin.MITER: A sharp angle made from outer parts of the connecting lines
  • StrokeLineJoin.BEVEL: A cut out angle
  • StrokeLineJoin.ROUND: A rounded-up angle
// chapter2.strokes/LineJoins.java
shape.setStrokeLineJoin(StrokeLineJoin.MITER);
shape.setStrokeMiterLimit(3);

The output is as follows:

主站蜘蛛池模板: 兴文县| 丹江口市| 博客| 谷城县| 平果县| 杭州市| 宾川县| 龙井市| 安塞县| 福州市| 甘谷县| 莱芜市| 鲁甸县| 平和县| 桃园县| 平潭县| 浦县| 三江| 义乌市| 梅州市| 尼勒克县| 辽中县| 林州市| 谷城县| 余江县| 茌平县| 邯郸市| 安义县| 崇阳县| 江陵县| 乐平市| 临湘市| 新兴县| 鄂伦春自治旗| 洱源县| 聂拉木县| 观塘区| 延边| 赤水市| 东安县| 阿尔山市|