コード例 #1
0
 private Path2D decodePath1() {
   path.reset();
   path.moveTo(decodeX(0.4f), decodeY(0.4f));
   path.lineTo(decodeX(0.4f), decodeY(2.6f));
   path.lineTo(decodeX(2.6f), decodeY(2.6f));
   path.lineTo(decodeX(2.6f), decodeY(0.4f));
   path.curveTo(
       decodeAnchorX(2.5999999046325684f, 0.0f),
       decodeAnchorY(0.4000000059604645f, 0.0f),
       decodeAnchorX(2.880000352859497f, 0.09999999999999432f),
       decodeAnchorY(0.4000000059604645f, 0.0f),
       decodeX(2.8800004f),
       decodeY(0.4f));
   path.curveTo(
       decodeAnchorX(2.880000352859497f, 0.09999999999999432f),
       decodeAnchorY(0.4000000059604645f, 0.0f),
       decodeAnchorX(2.880000352859497f, 0.0f),
       decodeAnchorY(2.879999876022339f, 0.0f),
       decodeX(2.8800004f),
       decodeY(2.8799999f));
   path.lineTo(decodeX(0.120000005f), decodeY(2.8799999f));
   path.lineTo(decodeX(0.120000005f), decodeY(0.120000005f));
   path.lineTo(decodeX(2.8800004f), decodeY(0.120000005f));
   path.lineTo(decodeX(2.8800004f), decodeY(0.4f));
   path.lineTo(decodeX(0.4f), decodeY(0.4f));
   path.closePath();
   return path;
 }
コード例 #2
0
 private Path2D decodePath1() {
   path.reset();
   path.moveTo(decodeX(0.0f), decodeY(0.0f));
   path.lineTo(decodeX(0.0f), decodeY(3.0f));
   path.lineTo(decodeX(3.0f), decodeY(3.0f));
   path.lineTo(decodeX(3.0f), decodeY(0.0f));
   path.lineTo(decodeX(0.24000001f), decodeY(0.0f));
   path.lineTo(decodeX(0.24000001f), decodeY(0.24000001f));
   path.lineTo(decodeX(2.7600007f), decodeY(0.24000001f));
   path.lineTo(decodeX(2.7600007f), decodeY(2.7599998f));
   path.lineTo(decodeX(0.24000001f), decodeY(2.7599998f));
   path.lineTo(decodeX(0.24000001f), decodeY(0.0f));
   path.lineTo(decodeX(0.0f), decodeY(0.0f));
   path.closePath();
   return path;
 }
 private Path2D decodePath4() {
   path.reset();
   path.moveTo(decodeX(1.2105263f), decodeY(1.2222222f));
   path.lineTo(decodeX(1.2105263f), decodeY(1.7222222f));
   path.lineTo(decodeX(1.7894738f), decodeY(1.7222222f));
   path.lineTo(decodeX(1.7894738f), decodeY(1.3333334f));
   path.lineTo(decodeX(1.7368422f), decodeY(1.3333334f));
   path.lineTo(decodeX(1.7368422f), decodeY(1.6666667f));
   path.lineTo(decodeX(1.2631578f), decodeY(1.6666667f));
   path.lineTo(decodeX(1.2631578f), decodeY(1.3333334f));
   path.lineTo(decodeX(1.7894738f), decodeY(1.3333334f));
   path.lineTo(decodeX(1.7894738f), decodeY(1.2222222f));
   path.lineTo(decodeX(1.2105263f), decodeY(1.2222222f));
   path.closePath();
   return path;
 }
 private Path2D decodePath3() {
   path.reset();
   path.moveTo(decodeX(1.1913875f), decodeY(1.2916666f));
   path.lineTo(decodeX(1.1925838f), decodeY(1.7462121f));
   path.lineTo(decodeX(1.8157895f), decodeY(1.7449496f));
   path.lineTo(decodeX(1.819378f), decodeY(1.2916666f));
   path.lineTo(decodeX(1.722488f), decodeY(1.2916666f));
   path.lineTo(decodeX(1.7320573f), decodeY(1.669192f));
   path.lineTo(decodeX(1.2799044f), decodeY(1.6565657f));
   path.lineTo(decodeX(1.284689f), decodeY(1.3863636f));
   path.lineTo(decodeX(1.7260766f), decodeY(1.385101f));
   path.lineTo(decodeX(1.722488f), decodeY(1.2904041f));
   path.lineTo(decodeX(1.1913875f), decodeY(1.2916666f));
   path.closePath();
   return path;
 }
 private Path2D decodePath2() {
   path.reset();
   path.moveTo(decodeX(1.6842105f), decodeY(1.3888888f));
   path.lineTo(decodeX(1.6842105f), decodeY(1.5f));
   path.lineTo(decodeX(1.7368422f), decodeY(1.5f));
   path.lineTo(decodeX(1.7368422f), decodeY(1.6666667f));
   path.lineTo(decodeX(1.4210527f), decodeY(1.6666667f));
   path.lineTo(decodeX(1.4210527f), decodeY(1.6111112f));
   path.lineTo(decodeX(1.3684211f), decodeY(1.6111112f));
   path.lineTo(decodeX(1.3684211f), decodeY(1.7222222f));
   path.lineTo(decodeX(1.7894738f), decodeY(1.7222222f));
   path.lineTo(decodeX(1.7894738f), decodeY(1.3888888f));
   path.lineTo(decodeX(1.6842105f), decodeY(1.3888888f));
   path.closePath();
   return path;
 }
 private Path2D decodePath1() {
   path.reset();
   path.moveTo(decodeX(1.2105263f), decodeY(1.2222222f));
   path.lineTo(decodeX(1.6315789f), decodeY(1.2222222f));
   path.lineTo(decodeX(1.6315789f), decodeY(1.5555556f));
   path.lineTo(decodeX(1.2105263f), decodeY(1.5555556f));
   path.lineTo(decodeX(1.2105263f), decodeY(1.3333334f));
   path.lineTo(decodeX(1.2631578f), decodeY(1.3333334f));
   path.lineTo(decodeX(1.2631578f), decodeY(1.5f));
   path.lineTo(decodeX(1.5789473f), decodeY(1.5f));
   path.lineTo(decodeX(1.5789473f), decodeY(1.3333334f));
   path.lineTo(decodeX(1.2105263f), decodeY(1.3333334f));
   path.lineTo(decodeX(1.2105263f), decodeY(1.2222222f));
   path.closePath();
   return path;
 }