Lufylegend Library Lgraphics Drawing pictures
<!DOCTYPE HTML><HTMLLang= "en"><Head> <MetaCharSet= "UTF-8"> <title>Lufylegend</title> <Scripttype= "Text/javascript"src= "Lufylegend-1.7.6.js"></Script></Head><Body> <DivID= "Mylegend">Loading ...</Div> <Scripttype= "Text/javascript"> varloader; Init ( -, 'Mylegend', -, -, main); functionMain () {loader= NewLloader (); Loader.addeventlistener (Levent.complete, loadbitmapdata); Loader.load ('face.jpg', 'BitmapData'); } functionLoadbitmapdata (event) {varBitmapData= NewLbitmapdata (loader.content); varBacklayer= NewLsprite (); AddChild (Backlayer); BackLayer.graphics.beginBitmapFill (BitmapData); BACKLAYER.GRAPHICS.DRAWARC (1, '#000', [ the, the, -, 0, 2 *Math.PI]); BackLayer.graphics.beginBitmapFill (BitmapData); BackLayer.graphics.drawRect (1, '#000', [ the, -, -, -]); BackLayer.graphics.beginBitmapFill (BitmapData); BackLayer.graphics.drawVertices (1,'#000',[[ -, -],[ -, $],[ $, Max]]); } </Script></Body></HTML>
Lufylegend Library Lgraphics Drawing pictures