91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 67.62MB
    文件類型: .zip
    金幣: 2
    下載: 1 次
    發布日期: 2021-12-31
  • 語言: Java
  • 標簽: Java??Tutorial??

資源簡介

java文檔中的The Java? Tutorials ,離線的資源,下載下來方便無網絡時看,打開文檔中的index.html即可查看

資源截圖

代碼片段和文件信息

/*
?*?Copyright?(c)?1995?2008?Oracle?and/or?its?affiliates.?All?rights?reserved.
?*
?*?Redistribution?and?use?in?source?and?binary?forms?with?or?without
?*?modification?are?permitted?provided?that?the?following?conditions
?*?are?met:
?*
?*???-?Redistributions?of?source?code?must?retain?the?above?copyright
?*?????notice?this?list?of?conditions?and?the?following?disclaimer.
?*
?*???-?Redistributions?in?binary?form?must?reproduce?the?above?copyright
?*?????notice?this?list?of?conditions?and?the?following?disclaimer?in?the
?*?????documentation?and/or?other?materials?provided?with?the?distribution.
?*
?*???-?Neither?the?name?of?Oracle?or?the?names?of?its
?*?????contributors?may?be?used?to?endorse?or?promote?products?derived
?*?????from?this?software?without?specific?prior?written?permission.
?*
?*?THIS?SOFTWARE?IS?PROVIDED?BY?THE?COPYRIGHT?HOLDERS?AND?CONTRIBUTORS?“AS
?*?IS“?AND?ANY?EXPRESS?OR?IMPLIED?WARRANTIES?INCLUDING?BUT?NOT?LIMITED?TO
?*?THE?IMPLIED?WARRANTIES?OF?MERCHANTABILITY?AND?FITNESS?FOR?A?PARTICULAR
?*?PURPOSE?ARE?DISCLAIMED.??IN?NO?EVENT?SHALL?THE?COPYRIGHT?OWNER?OR
?*?CONTRIBUTORS?BE?LIABLE?FOR?ANY?DIRECT?INDIRECT?INCIDENTAL?SPECIAL
?*?EXEMPLARY?OR?CONSEQUENTIAL?DAMAGES?(INCLUDING?BUT?NOT?LIMITED?TO
?*?PROCUREMENT?OF?SUBSTITUTE?GOODS?OR?SERVICES;?LOSS?OF?USE?DATA?OR
?*?PROFITS;?OR?BUSINESS?INTERRUPTION)?HOWEVER?CAUSED?AND?ON?ANY?THEORY?OF
?*?LIABILITY?WHETHER?IN?CONTRACT?STRICT?LIABILITY?OR?TORT?(INCLUDING
?*?NEGLIGENCE?OR?OTHERWISE)?ARISING?IN?ANY?WAY?OUT?OF?THE?USE?OF?THIS
?*?SOFTWARE?EVEN?IF?ADVISED?OF?THE?POSSIBILITY?OF?SUCH?DAMAGE.
?*/?


import?javax.swing.*;
import?java.awt.*;
import?java.awt.geom.*;
import?java.awt.event.WindowEvent;
import?java.awt.event.WindowListener;
import?java.awt.event.WindowAdapter;
import?java.awt.image.BufferedImage;

import?java.net.URL;


/**
?*?Animated?clipping?of?an?image?&?shapes?with?alpha.
?*/
public?class?ClipImage?extends?Japplet?implements?Runnable?{

????private?Image?img;
????private?final?double?OINC[]?=?{5.0?3.0};
????private?final?double?SINC[]?=?{5.0?5.0};
????private?double?x?y;
????private?double?ix?=?OINC[0];
????private?double?iy?=?OINC[1];
????private?double?iw?=?SINC[0];
????private?double?ih?=?SINC[1];
????private?double?ew?eh;???//?ellipse?width?&?height
????private?GeneralPath?p?=?new?GeneralPath();
????private?AffineTransform?at?=?new?AffineTransform();
????private?BasicStroke?bs?=?new?BasicStroke(20.0f);
????private?Arc2D?arc?=?new?Arc2D.Float();
????private?Ellipse2D?ellipse?=?new?Ellipse2D.Float();
????private?RoundRectangle2D?roundRect?=?new?RoundRectangle2D.Float();
????private?Rectangle2D?rect?=?new?Rectangle2D.Float();
????private?Color?redBlend?=?new?Color(255?0?0?120);
????private?Color?greenBlend?=?new?Color(0?255?0?120);
????private?Thread?thread;
????private?BufferedImage?offImg;
????private?int?w?h;
????private?boolean?newBufferedImage;

????public?void?init()?{
????????setBackground(Color.white);
????????img?=?getImage(getURL(“i

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2017-11-15?20:29??tutorial\
?????目錄???????????0??2017-11-15?20:29??tutorial\2d\
?????目錄???????????0??2017-11-15?20:29??tutorial\2d\advanced\
?????文件???????12840??2017-11-15?20:21??tutorial\2d\advanced\ClipImage.html
?????文件???????21377??2017-09-19?02:18??tutorial\2d\advanced\clipping.html
?????文件???????19401??2017-09-19?02:18??tutorial\2d\advanced\complexshapes.html
?????文件???????12840??2017-11-15?20:21??tutorial\2d\advanced\Composite.html
?????文件???????21834??2017-09-19?02:18??tutorial\2d\advanced\compositing.html
?????目錄???????????0??2017-11-15?20:29??tutorial\2d\advanced\examples\
?????文件????????8299??2017-09-19?02:18??tutorial\2d\advanced\examples\ClipImage.java
?????文件????????7660??2017-09-19?02:18??tutorial\2d\advanced\examples\Composite.java
?????文件????????7390??2017-09-19?02:18??tutorial\2d\advanced\examples\HitTestSample.java
?????目錄???????????0??2017-11-15?20:29??tutorial\2d\advanced\examples\images\
?????文件????????5116??2017-09-19?02:18??tutorial\2d\advanced\examples\images\clouds.jpg
?????文件???????50708??2017-09-19?02:18??tutorial\2d\advanced\examples\images\Starry.gif
?????目錄???????????0??2017-11-15?20:29??tutorial\2d\advanced\examples\lib\
?????文件???????14960??2017-09-19?02:18??tutorial\2d\advanced\examples\lib\ClipImageapplet.jar
?????文件????????8922??2017-09-19?02:18??tutorial\2d\advanced\examples\lib\Compositeapplet.jar
?????文件????????9578??2017-09-19?02:18??tutorial\2d\advanced\examples\lib\HitTestSampleapplet.jar
?????文件????????7323??2017-09-19?02:18??tutorial\2d\advanced\examples\lib\Pearapplet.jar
?????文件????????8853??2017-09-19?02:18??tutorial\2d\advanced\examples\lib\ShapeMoverapplet.jar
?????文件???????57348??2017-09-19?02:18??tutorial\2d\advanced\examples\lib\Starryapplet.jar
?????文件???????10607??2017-09-19?02:18??tutorial\2d\advanced\examples\lib\Transformapplet.jar
?????文件????????4392??2017-09-19?02:18??tutorial\2d\advanced\examples\Pear.java
?????文件????????7529??2017-09-19?02:18??tutorial\2d\advanced\examples\ShapeMover.java
?????文件????????4175??2017-09-19?02:18??tutorial\2d\advanced\examples\Starry.java
?????文件????????8785??2017-09-19?02:18??tutorial\2d\advanced\examples\SwingShapeMover.java
?????文件???????11579??2017-09-19?02:18??tutorial\2d\advanced\examples\Transform.java
?????文件???????12840??2017-11-15?20:21??tutorial\2d\advanced\HitTestSample.html
?????文件???????17491??2017-09-19?02:18??tutorial\2d\advanced\index.html
?????文件???????12840??2017-11-15?20:21??tutorial\2d\advanced\Pear.html
............此處省略4956個文件信息

評論

共有 條評論