filechooserpainter.java
来自「Mobile 应用程序使用 Java Micro Edition (Java M」· Java 代码 · 共 1,588 行 · 第 1/5 页
JAVA
1,588 行
g.setPaint(decodeGradient6(path)); g.fill(path); path = decodePath11(); g.setPaint(color24); g.fill(path); path = decodePath20(); g.setPaint(color38); g.fill(path); path = decodePath21(); g.setPaint(color39); g.fill(path); path = decodePath22(); g.setPaint(decodeRadial1(path)); g.fill(path); } private void painthardDriveIconEnabled(Graphics2D g) { rect = decodeRect6(); g.setPaint(color43); g.fill(rect); rect = decodeRect7(); g.setPaint(color44); g.fill(rect); rect = decodeRect8(); g.setPaint(decodeGradient13(rect)); g.fill(rect); path = decodePath23(); g.setPaint(decodeGradient14(path)); g.fill(path); rect = decodeRect9(); g.setPaint(color49); g.fill(rect); rect = decodeRect10(); g.setPaint(color49); g.fill(rect); ellipse = decodeEllipse1(); g.setPaint(color50); g.fill(ellipse); path = decodePath24(); g.setPaint(decodeGradient15(path)); g.fill(path); ellipse = decodeEllipse2(); g.setPaint(color53); g.fill(ellipse); ellipse = decodeEllipse3(); g.setPaint(color53); g.fill(ellipse); ellipse = decodeEllipse4(); g.setPaint(color54); g.fill(ellipse); ellipse = decodeEllipse5(); g.setPaint(color55); g.fill(ellipse); ellipse = decodeEllipse6(); g.setPaint(color55); g.fill(ellipse); ellipse = decodeEllipse7(); g.setPaint(color55); g.fill(ellipse); rect = decodeRect11(); g.setPaint(color56); g.fill(rect); rect = decodeRect12(); g.setPaint(color56); g.fill(rect); rect = decodeRect13(); g.setPaint(color56); g.fill(rect); } private void paintfloppyDriveIconEnabled(Graphics2D g) { path = decodePath25(); g.setPaint(decodeGradient16(path)); g.fill(path); path = decodePath26(); g.setPaint(decodeGradient17(path)); g.fill(path); path = decodePath27(); g.setPaint(decodeGradient18(path)); g.fill(path); path = decodePath28(); g.setPaint(decodeGradient19(path)); g.fill(path); path = decodePath29(); g.setPaint(color69); g.fill(path); rect = decodeRect14(); g.setPaint(color70); g.fill(rect); rect = decodeRect15(); g.setPaint(color40); g.fill(rect); rect = decodeRect16(); g.setPaint(color67); g.fill(rect); rect = decodeRect17(); g.setPaint(color71); g.fill(rect); rect = decodeRect18(); g.setPaint(color44); g.fill(rect); } private void painthomeFolderIconEnabled(Graphics2D g) { path = decodePath30(); g.setPaint(color72); g.fill(path); path = decodePath31(); g.setPaint(color73); g.fill(path); rect = decodeRect19(); g.setPaint(decodeGradient20(rect)); g.fill(rect); rect = decodeRect20(); g.setPaint(color76); g.fill(rect); path = decodePath32(); g.setPaint(decodeGradient21(path)); g.fill(path); rect = decodeRect21(); g.setPaint(decodeGradient22(rect)); g.fill(rect); path = decodePath33(); g.setPaint(decodeGradient23(path)); g.fill(path); path = decodePath34(); g.setPaint(color83); g.fill(path); path = decodePath35(); g.setPaint(decodeGradient24(path)); g.fill(path); path = decodePath36(); g.setPaint(decodeGradient25(path)); g.fill(path); } private void paintdetailsViewIconEnabled(Graphics2D g) { rect = decodeRect22(); g.setPaint(decodeGradient26(rect)); g.fill(rect); rect = decodeRect23(); g.setPaint(decodeGradient27(rect)); g.fill(rect); rect = decodeRect24(); g.setPaint(color93); g.fill(rect); rect = decodeRect5(); g.setPaint(color93); g.fill(rect); rect = decodeRect25(); g.setPaint(color93); g.fill(rect); rect = decodeRect26(); g.setPaint(color94); g.fill(rect); ellipse = decodeEllipse8(); g.setPaint(decodeGradient28(ellipse)); g.fill(ellipse); ellipse = decodeEllipse9(); g.setPaint(decodeRadial2(ellipse)); g.fill(ellipse); path = decodePath37(); g.setPaint(decodeGradient29(path)); g.fill(path); path = decodePath38(); g.setPaint(decodeGradient30(path)); g.fill(path); rect = decodeRect27(); g.setPaint(color104); g.fill(rect); rect = decodeRect28(); g.setPaint(color105); g.fill(rect); rect = decodeRect29(); g.setPaint(color106); g.fill(rect); rect = decodeRect30(); g.setPaint(color107); g.fill(rect); } private void paintlistViewIconEnabled(Graphics2D g) { rect = decodeRect31(); g.setPaint(decodeGradient26(rect)); g.fill(rect); rect = decodeRect32(); g.setPaint(decodeGradient31(rect)); g.fill(rect); rect = decodeRect33(); g.setPaint(color109); g.fill(rect); rect = decodeRect34(); g.setPaint(decodeGradient32(rect)); g.fill(rect); rect = decodeRect35(); g.setPaint(color111); g.fill(rect); rect = decodeRect36(); g.setPaint(color112); g.fill(rect); rect = decodeRect37(); g.setPaint(color113); g.fill(rect); rect = decodeRect38(); g.setPaint(decodeGradient33(rect)); g.fill(rect); rect = decodeRect39(); g.setPaint(color116); g.fill(rect); rect = decodeRect40(); g.setPaint(decodeGradient34(rect)); g.fill(rect); rect = decodeRect41(); g.setPaint(decodeGradient35(rect)); g.fill(rect); rect = decodeRect42(); g.setPaint(color119); g.fill(rect); rect = decodeRect43(); g.setPaint(color121); g.fill(rect); rect = decodeRect44(); g.setPaint(color121); g.fill(rect); rect = decodeRect45(); g.setPaint(color121); g.fill(rect); rect = decodeRect46(); g.setPaint(color122); g.fill(rect); rect = decodeRect47(); g.setPaint(color121); g.fill(rect); rect = decodeRect48(); g.setPaint(color122); g.fill(rect); rect = decodeRect49(); g.setPaint(color122); g.fill(rect); rect = decodeRect50(); g.setPaint(color121); g.fill(rect); rect = decodeRect51(); g.setPaint(color122); g.fill(rect); rect = decodeRect52(); g.setPaint(color122); g.fill(rect); }
private Rectangle2D decodeRect1() { rect.setRect(decodeX(1.0f), //x decodeY(1.0f), //y decodeX(2.0f) - decodeX(1.0f), //width decodeY(2.0f) - decodeY(1.0f)); //height return rect; } private Path2D decodePath1() { path.reset(); path.moveTo(decodeX(0.2f), decodeY(0.0f)); path.lineTo(decodeX(0.2f), decodeY(3.0f)); path.lineTo(decodeX(0.4f), decodeY(3.0f)); path.lineTo(decodeX(0.4f), decodeY(0.2f)); path.lineTo(decodeX(1.9197531f), decodeY(0.2f)); path.lineTo(decodeX(2.6f), decodeY(0.9f)); path.lineTo(decodeX(2.6f), decodeY(3.0f)); path.lineTo(decodeX(2.8f), decodeY(3.0f)); path.lineTo(decodeX(2.8f), decodeY(0.88888896f)); path.lineTo(decodeX(1.9537036f), decodeY(0.0f)); path.lineTo(decodeX(0.2f), decodeY(0.0f)); path.closePath(); return path; } private Rectangle2D decodeRect2() { rect.setRect(decodeX(0.4f), //x decodeY(2.8f), //y decodeX(2.6f) - decodeX(0.4f), //width decodeY(3.0f) - decodeY(2.8f)); //height return rect; } private Path2D decodePath2() { path.reset(); path.moveTo(decodeX(1.8333333f), decodeY(0.2f)); path.lineTo(decodeX(1.8333333f), decodeY(1.0f)); path.lineTo(decodeX(2.6f), decodeY(1.0f)); path.lineTo(decodeX(1.8333333f), decodeY(0.2f)); path.closePath(); return path; } private Path2D decodePath3() { path.reset(); path.moveTo(decodeX(1.8333333f), decodeY(0.2f)); path.lineTo(decodeX(0.4f), decodeY(0.2f)); path.lineTo(decodeX(0.4f), decodeY(2.8f)); path.lineTo(decodeX(2.6f), decodeY(2.8f)); path.lineTo(decodeX(2.6f), decodeY(1.0f)); path.lineTo(decodeX(1.8333333f), decodeY(1.0f)); path.lineTo(decodeX(1.8333333f), decodeY(0.2f)); path.closePath(); return path; } private Path2D decodePath4() { path.reset(); path.moveTo(decodeX(1.8333333f), decodeY(0.2f)); path.lineTo(decodeX(1.6234567f), decodeY(0.2f));
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?