From 024638adf177e4a1813878e8e61f961c23d12383 Mon Sep 17 00:00:00 2001 From: Finn Voorhees Date: Thu, 21 Mar 2024 18:08:23 +0000 Subject: [PATCH] Docc docs --- .gitignore | 1 + .../Documentation.docc/Documentation.md | 13 +++++++++ docs/css/223.5ab1188f.css | 9 ++++++ docs/css/427.ee43802d.css | 9 ++++++ docs/css/documentation-topic.5ce24f8e.css | 9 ++++++ docs/css/index.33ec2115.css | 9 ++++++ docs/css/topic.7ff1c1f8.css | 9 ++++++ docs/css/tutorials-overview.e4891d45.css | 9 ++++++ docs/data/documentation/playdatekit.json | 1 + .../documentation/playdatekit/cplaydate.json | 1 + .../playdatekit/cplaydate/lcdrect.json | 1 + .../lcdrect/init(x:y:width:height:).json | 1 + .../cplaydate/lcdrect/translated(dx:dy:).json | 1 + .../documentation/playdatekit/display.json | 1 + docs/data/documentation/playdatekit/file.json | 1 + .../documentation/playdatekit/graphics.json | 1 + docs/data/documentation/playdatekit/json.json | 1 + .../documentation/playdatekit/playdate.json | 1 + .../playdatekit/playdate/display.json | 1 + .../playdatekit/playdate/display/flipped.json | 1 + .../playdatekit/playdate/display/height.json | 1 + .../playdate/display/inverted.json | 1 + .../playdate/display/refreshrate.json | 1 + .../playdatekit/playdate/display/scale.json | 1 + .../playdate/display/setmosaic(x:y:).json | 1 + .../playdate/display/setoffset(dx:dy:).json | 1 + .../playdatekit/playdate/display/width.json | 1 + .../playdatekit/playdate/error.json | 1 + .../playdatekit/playdate/file.json | 1 + .../playdatekit/playdate/file/filehandle.json | 1 + .../playdate/file/filehandle/close().json | 1 + .../filehandle/currentseekposition().json | 1 + .../playdate/file/filehandle/flush().json | 1 + .../file/filehandle/read(buffer:length:).json | 1 + .../file/filehandle/seek(to:seek:).json | 1 + .../playdate/file/filehandle/seek.json | 1 + .../file/filehandle/seek/!=(_:_:).json | 1 + .../file/filehandle/seek/beginning.json | 1 + .../file/filehandle/seek/current.json | 1 + .../playdate/file/filehandle/seek/end.json | 1 + .../seek/equatable-implementations.json | 1 + .../file/filehandle/seek/hash(into:).json | 1 + .../file/filehandle/seek/hashvalue.json | 1 + .../file/filehandle/seek/init(rawvalue:).json | 1 + .../rawrepresentable-implementations.json | 1 + .../file/filehandle/write(buffer:).json | 1 + ...:callback:userdata:showhidden:)-2w9lz.json | 1 + ...:callback:userdata:showhidden:)-59mk2.json | 1 + .../playdate/file/mkdir(path:)-4vzum.json | 1 + .../playdate/file/mkdir(path:)-9rwpo.json | 1 + .../playdate/file/open(path:mode:)-2yhbs.json | 1 + .../playdate/file/open(path:mode:)-8kp20.json | 1 + .../playdatekit/playdate/file/options.json | 1 + .../playdate/file/rename(from:to:)-3ff0y.json | 1 + .../playdate/file/rename(from:to:)-969yy.json | 1 + .../playdate/file/stat(path:)-6ac1z.json | 1 + .../playdate/file/stat(path:)-9vquc.json | 1 + .../file/unlink(path:recursive:)-4jt6t.json | 1 + .../file/unlink(path:recursive:)-9dq44.json | 1 + .../playdatekit/playdate/graphics.json | 1 + .../playdatekit/playdate/graphics/bitmap.json | 1 + .../graphics/bitmap/clear(bgcolor:).json | 1 + .../playdate/graphics/bitmap/copy().json | 1 + .../playdate/graphics/bitmap/drawmode.json | 1 + .../playdate/graphics/bitmap/flip.json | 1 + .../graphics/bitmap/getdata(mask:data:).json | 1 + .../graphics/bitmap/init(path:)-2idv2.json | 1 + .../graphics/bitmap/init(path:)-3qejh.json | 1 + .../bitmap/init(width:height:bgcolor:).json | 1 + .../graphics/bitmap/load(from:)-39up6.json | 1 + .../graphics/bitmap/load(from:)-9wm1t.json | 1 + .../playdate/graphics/bitmap/mask.json | 1 + .../bitmap/rotated(by:xscale:yscale:).json | 1 + .../playdate/graphics/bitmaptable.json | 1 + .../graphics/bitmaptable/bitmap(at:).json | 1 + .../init(count:width:height:).json | 1 + .../bitmaptable/init(path:)-2zigw.json | 1 + .../bitmaptable/init(path:)-8fybj.json | 1 + .../bitmaptable/load(from:)-2e5co.json | 1 + .../bitmaptable/load(from:)-9txdn.json | 1 + ...1:y1:flip1:bitmap2:x2:y2:flip2:rect:).json | 1 + .../playdate/graphics/clear(color:).json | 1 + .../playdate/graphics/clearcliprect().json | 1 + .../playdatekit/playdate/graphics/color.json | 1 + .../graphics/colorfrompattern(_:x:y:).json | 1 + .../graphics/copyframebufferbitmap().json | 1 + .../playdate/graphics/display().json | 1 + ...grees:centerx:centery:xscale:yscale:).json | 1 + .../graphics/drawbitmap(_:x:y:flip:).json | 1 + .../drawbitmap(_:x:y:xscale:yscale:).json | 1 + ...linewidth:startangle:endangle:color:).json | 1 + ...rawline(x1:y1:x2:y2:linewidth:color:).json | 1 + .../drawrect(x:y:width:height:color:).json | 1 + .../drawtext(_:length:encoding:x:y:).json | 1 + ...th:height:startangle:endangle:color:).json | 1 + .../fillpolygon(points:color:fillrule:).json | 1 + .../fillrect(x:y:width:height:color:).json | 1 + ...illtriangle(x1:y1:x2:y2:x3:y3:color:).json | 1 + .../playdatekit/playdate/graphics/font.json | 1 + .../playdate/graphics/font/getpage(for:).json | 1 + ...twidth(for:length:encoding:tracking:).json | 1 + .../playdate/graphics/font/glyph.json | 1 + .../font/glyph/kerning(between:and:).json | 1 + .../playdate/graphics/font/height.json | 1 + .../playdate/graphics/font/page.json | 1 + .../graphics/font/page/glyph(for:).json | 1 + .../playdate/graphics/getdebugbitmap().json | 1 + .../graphics/getdisplaybufferbitmap().json | 1 + .../playdate/graphics/getdisplayframe().json | 1 + .../playdate/graphics/getframe().json | 1 + .../playdate/graphics/linecapstyle.json | 1 + .../graphics/markupdatedrows(start:end:).json | 1 + .../playdate/graphics/pattern.json | 1 + .../playdate/graphics/polygonfillrule.json | 1 + .../playdate/graphics/popcontext().json | 1 + .../playdate/graphics/pushcontext(_:).json | 1 + .../playdatekit/playdate/graphics/rect.json | 1 + .../graphics/setbackgroundcolor(_:).json | 1 + .../setcliprect(x:y:width:height:).json | 1 + .../playdate/graphics/setdrawmode(_:).json | 1 + .../graphics/setdrawoffset(dx:dy:).json | 1 + .../playdate/graphics/setfont(_:).json | 1 + .../graphics/setlinecapstyle(_:).json | 1 + .../setscreencliprect(x:y:width:height:).json | 1 + .../playdate/graphics/setstencil(_:).json | 1 + .../graphics/setstencilimage(_:tile:).json | 1 + .../playdate/graphics/settextleading(_:).json | 1 + .../playdate/graphics/solidcolor.json | 1 + .../playdate/graphics/stringencoding.json | 1 + .../playdate/graphics/texttracking.json | 1 + .../tilebitmap(_:x:y:width:height:flip:).json | 1 + .../playdatekit/playdate/graphics/video.json | 1 + .../playdate/graphics/video/player.json | 1 + .../graphics/video/player/context.json | 1 + .../playdate/graphics/video/player/info.json | 1 + .../video/player/init(path:)-672iw.json | 1 + .../video/player/init(path:)-9lw78.json | 1 + .../video/player/renderframe(_:).json | 1 + .../graphics/video/player/setcontext(_:).json | 1 + .../video/player/usescreencontext().json | 1 + .../playdate/initialize(with:).json | 1 + .../playdatekit/playdate/json.json | 1 + .../json/decode(using:reader:value:).json | 1 + .../playdatekit/playdate/json/decoder.json | 1 + ...string(using:jsonstring:value:)-1uq5u.json | 1 + ...estring(using:jsonstring:value:)-xwiz.json | 1 + .../playdatekit/playdate/json/encoder.json | 1 + ...r(encoder:writefunc:userdata:pretty:).json | 1 + .../playdatekit/playdate/json/reader.json | 1 + .../playdatekit/playdate/json/value.json | 1 + .../playdatekit/playdate/playdateapi.json | 1 + .../playdatekit/playdate/scoreboards.json | 1 + ...dscore(boardid:value:callback:)-29nc6.json | 1 + ...dscore(boardid:value:callback:)-8xab3.json | 1 + .../playdate/scoreboards/boardslist.json | 1 + .../scoreboards/freeboardslist(_:).json | 1 + .../playdate/scoreboards/freescore(_:).json | 1 + .../scoreboards/freescoreslist(_:).json | 1 + ...personalbest(boardid:callback:)-8h5m9.json | 1 + ...tpersonalbest(boardid:callback:)-a93b.json | 1 + .../getscoreboards(callback:).json | 1 + .../getscores(boardid:callback:)-8hnfz.json | 1 + .../getscores(boardid:callback:)-9heou.json | 1 + .../playdate/scoreboards/score.json | 1 + .../playdate/scoreboards/scoreslist.json | 1 + .../playdatekit/playdate/sprite.json | 1 + .../playdate/sprite/adddirtyrect(_:).json | 1 + .../sprite/alloverlappingsprites().json | 1 + .../clearcliprectsinrange(startz:endz:).json | 1 + .../playdate/sprite/collisioninfo.json | 1 + .../sprite/collisioninfo/actualx.json | 1 + .../sprite/collisioninfo/actualy.json | 1 + .../sprite/collisioninfo/collisions.json | 1 + .../sprite/collisionresponsetype.json | 1 + .../sprite/drawdisplaylistsprites().json | 1 + .../sprite/getdisplaylistspritecount().json | 1 + .../playdate/sprite/queryinfo.json | 1 + .../playdate/sprite/queryinfo/info.json | 1 + ...ueryspriteinfoalongline(x1:y1:x2:y2:).json | 1 + .../queryspritesalongline(x1:y1:x2:y2:).json | 1 + .../sprite/queryspritesatpoint(x:y:).json | 1 + ...queryspritesinrect(x:y:width:height:).json | 1 + .../playdatekit/playdate/sprite/rect.json | 1 + .../removeallspritesfromdisplaylist().json | 1 + .../removespritesfromdisplaylist(_:).json | 1 + .../sprite/resetcollisionworld().json | 1 + .../playdate/sprite/setalwaysredraw(_:).json | 1 + ...iprectsinrange(cliprect:startz:endz:).json | 1 + .../playdatekit/playdate/sprite/sprite.json | 1 + .../sprite/sprite/addtodisplaylist().json | 1 + .../playdate/sprite/sprite/bounds.json | 1 + .../playdate/sprite/sprite/center.json | 1 + .../sprite/checkcollisions(goalx:goaly:).json | 1 + .../playdate/sprite/sprite/colliderect.json | 1 + .../sprite/sprite/collisionsenabled.json | 1 + .../playdate/sprite/sprite/copy().json | 1 + .../playdate/sprite/sprite/image.json | 1 + .../playdate/sprite/sprite/imageflip.json | 1 + .../playdate/sprite/sprite/init().json | 1 + .../playdate/sprite/sprite/isvisible.json | 1 + .../playdate/sprite/sprite/markdirty().json | 1 + .../sprite/sprite/moveby(dx:dy:).json | 1 + .../playdate/sprite/sprite/moveto(x:y:).json | 1 + .../movewithcollisions(goalx:goaly:).json | 1 + .../sprite/sprite/overlappingsprites.json | 1 + .../playdate/sprite/sprite/position.json | 1 + .../sprite/removefromdisplaylist().json | 1 + .../sprite/sprite/setcliprect(_:).json | 1 + ...tcollisionresponsefunction(function:).json | 1 + .../setdrawfunction(drawfunction:).json | 1 + .../sprite/sprite/setdrawmode(_:).json | 1 + .../sprite/setignoresdrawoffset(_:).json | 1 + .../sprite/sprite/setimage(image:flip:).json | 1 + .../playdate/sprite/sprite/setopaque(_:).json | 1 + .../sprite/sprite/setsize(width:height:).json | 1 + .../sprite/sprite/setstencil(_:).json | 1 + .../sprite/setstencilimage(_:tile:).json | 1 + .../sprite/sprite/setstencilpattern(_:).json | 1 + .../sprite/sprite/setupdatefunction(_:).json | 1 + .../playdate/sprite/sprite/tag.json | 1 + .../sprite/sprite/updatesenabled.json | 1 + .../playdate/sprite/sprite/userdata.json | 1 + .../playdate/sprite/sprite/zindex.json | 1 + .../updateanddrawdisplaylistsprites().json | 1 + .../playdatekit/playdate/system.json | 1 + .../playdate/system/accelerometer.json | 1 + .../system/accelerometerisenabled.json | 1 + ...tle:checked:callback:userdata:)-1zw7w.json | 1 + ...itle:checked:callback:userdata:)-8ift.json | 1 + ...uitem(title:callback:userdata:)-1bfwq.json | 1 + ...uitem(title:callback:userdata:)-47a4f.json | 1 + ...tle:options:callback:userdata:)-1ohgi.json | 1 + ...tle:options:callback:userdata:)-51mvf.json | 1 + .../playdate/system/batterypercentage.json | 1 + .../playdate/system/batteryvoltage.json | 1 + .../playdatekit/playdate/system/buttons.json | 1 + .../playdate/system/buttonstate.json | 1 + .../playdate/system/clearicache().json | 1 + .../system/convertdatetimetoepoch(_:).json | 1 + .../system/convertepochtodatetime(_:).json | 1 + .../playdate/system/crankangle.json | 1 + .../playdate/system/crankchange.json | 1 + .../system/currenttimemilliseconds.json | 1 + .../playdatekit/playdate/system/datetime.json | 1 + .../playdate/system/drawfps(x:y:).json | 1 + .../playdate/system/elapsedtime.json | 1 + .../playdate/system/error(_:)-1qzf1.json | 1 + .../playdate/system/error(_:)-376ql.json | 1 + .../playdate/system/error(_:)-7ut9u.json | 1 + .../playdatekit/playdate/system/event.json | 1 + .../playdatekit/playdate/system/flipped.json | 1 + .../system/getsecondssinceepoch(_:).json | 1 + .../playdate/system/iscrankdocked.json | 1 + .../system/language-swift.type.property.json | 1 + .../system/language-swift.typealias.json | 1 + .../playdate/system/log(_:)-4t2fc.json | 1 + .../playdate/system/log(_:)-4z6ae.json | 1 + .../playdatekit/playdate/system/menuitem.json | 1 + .../system/menuitem/settitle(_:).json | 1 + .../playdate/system/menuitem/title.json | 1 + .../playdate/system/menuitem/userdata.json | 1 + .../playdate/system/menuitem/value.json | 1 + .../playdate/system/peripherals.json | 1 + .../system/realloc(pointer:size:).json | 1 + .../playdate/system/reduceflashing.json | 1 + .../playdate/system/removeallmenuitems().json | 1 + .../playdate/system/removemenuitem(_:).json | 1 + .../playdate/system/resetelapsedtime().json | 1 + .../system/setautolockdisabled(_:).json | 1 + ...k(callback:buttonuserdata:queuesize:).json | 1 + .../system/setcranksoundsdisabled(_:).json | 1 + .../system/setmenuimage(_:xoffset:).json | 1 + .../setserialmessagecallback(callback:).json | 1 + .../system/shoulddisplay24hourtime.json | 1 + .../playdate/system/timezoneoffset.json | 1 + .../playdate/system/updatecallback.json | 1 + .../playdatekit/playdategame.json | 1 + .../playdategame/devicedidunlock()-1l3vt.json | 1 + .../playdategame/devicedidunlock()-3b5ai.json | 1 + .../playdategame/devicewilllock()-26xpv.json | 1 + .../playdategame/devicewilllock()-49mit.json | 1 + .../playdategame/devicewillsleep()-1i4ad.json | 1 + .../playdategame/devicewillsleep()-7hts3.json | 1 + .../playdategame/gamewillpause()-185zs.json | 1 + .../playdategame/gamewillpause()-62mhi.json | 1 + .../playdategame/gamewillresume()-1er7i.json | 1 + .../playdategame/gamewillresume()-7avob.json | 1 + .../gamewillterminate()-5qroh.json | 1 + .../gamewillterminate()-9epf7.json | 1 + .../playdatekit/playdategame/handle(_:).json | 1 + .../playdatekit/playdategame/init().json | 1 + .../playdategame/update()-873r0.json | 1 + .../playdategame/update()-91u4m.json | 1 + .../playdatekit/posix_memalign(_:_:_:).json | 1 + .../playdatekit/scoreboards.json | 1 + .../documentation/playdatekit/sprite.json | 1 + .../documentation/playdatekit/system.json | 1 + docs/developer-og-twitter.jpg | Bin 0 -> 12562 bytes docs/developer-og.jpg | Bin 0 -> 12856 bytes .../playdatekit/cplaydate/index.html | 1 + .../playdatekit/cplaydate/lcdrect/index.html | 1 + .../init(x:y:width:height:)/index.html | 1 + .../lcdrect/translated(dx:dy:)/index.html | 1 + .../playdatekit/display/index.html | 1 + .../documentation/playdatekit/file/index.html | 1 + .../playdatekit/graphics/index.html | 1 + docs/documentation/playdatekit/index.html | 1 + .../documentation/playdatekit/json/index.html | 1 + .../playdate/display/flipped/index.html | 1 + .../playdate/display/height/index.html | 1 + .../playdatekit/playdate/display/index.html | 1 + .../playdate/display/inverted/index.html | 1 + .../playdate/display/refreshrate/index.html | 1 + .../playdate/display/scale/index.html | 1 + .../display/setmosaic(x:y:)/index.html | 1 + .../display/setoffset(dx:dy:)/index.html | 1 + .../playdate/display/width/index.html | 1 + .../playdatekit/playdate/error/index.html | 1 + .../file/filehandle/close()/index.html | 1 + .../currentseekposition()/index.html | 1 + .../file/filehandle/flush()/index.html | 1 + .../playdate/file/filehandle/index.html | 1 + .../read(buffer:length:)/index.html | 1 + .../file/filehandle/seek(to:seek:)/index.html | 1 + .../file/filehandle/seek/!=(_:_:)/index.html | 1 + .../file/filehandle/seek/beginning/index.html | 1 + .../file/filehandle/seek/current/index.html | 1 + .../file/filehandle/seek/end/index.html | 1 + .../seek/equatable-implementations/index.html | 1 + .../filehandle/seek/hash(into:)/index.html | 1 + .../file/filehandle/seek/hashvalue/index.html | 1 + .../playdate/file/filehandle/seek/index.html | 1 + .../seek/init(rawvalue:)/index.html | 1 + .../index.html | 1 + .../file/filehandle/write(buffer:)/index.html | 1 + .../playdatekit/playdate/file/index.html | 1 + .../index.html | 1 + .../index.html | 1 + .../file/mkdir(path:)-4vzum/index.html | 1 + .../file/mkdir(path:)-9rwpo/index.html | 1 + .../file/open(path:mode:)-2yhbs/index.html | 1 + .../file/open(path:mode:)-8kp20/index.html | 1 + .../playdate/file/options/index.html | 1 + .../file/rename(from:to:)-3ff0y/index.html | 1 + .../file/rename(from:to:)-969yy/index.html | 1 + .../file/stat(path:)-6ac1z/index.html | 1 + .../file/stat(path:)-9vquc/index.html | 1 + .../unlink(path:recursive:)-4jt6t/index.html | 1 + .../unlink(path:recursive:)-9dq44/index.html | 1 + .../bitmap/clear(bgcolor:)/index.html | 1 + .../graphics/bitmap/copy()/index.html | 1 + .../graphics/bitmap/drawmode/index.html | 1 + .../playdate/graphics/bitmap/flip/index.html | 1 + .../bitmap/getdata(mask:data:)/index.html | 1 + .../playdate/graphics/bitmap/index.html | 1 + .../bitmap/init(path:)-2idv2/index.html | 1 + .../bitmap/init(path:)-3qejh/index.html | 1 + .../init(width:height:bgcolor:)/index.html | 1 + .../bitmap/load(from:)-39up6/index.html | 1 + .../bitmap/load(from:)-9wm1t/index.html | 1 + .../playdate/graphics/bitmap/mask/index.html | 1 + .../rotated(by:xscale:yscale:)/index.html | 1 + .../bitmaptable/bitmap(at:)/index.html | 1 + .../playdate/graphics/bitmaptable/index.html | 1 + .../init(count:width:height:)/index.html | 1 + .../bitmaptable/init(path:)-2zigw/index.html | 1 + .../bitmaptable/init(path:)-8fybj/index.html | 1 + .../bitmaptable/load(from:)-2e5co/index.html | 1 + .../bitmaptable/load(from:)-9txdn/index.html | 1 + .../index.html | 1 + .../graphics/clear(color:)/index.html | 1 + .../graphics/clearcliprect()/index.html | 1 + .../playdate/graphics/color/index.html | 1 + .../colorfrompattern(_:x:y:)/index.html | 1 + .../copyframebufferbitmap()/index.html | 1 + .../playdate/graphics/display()/index.html | 1 + .../index.html | 1 + .../drawbitmap(_:x:y:flip:)/index.html | 1 + .../index.html | 1 + .../index.html | 1 + .../index.html | 1 + .../index.html | 1 + .../index.html | 1 + .../index.html | 1 + .../index.html | 1 + .../index.html | 1 + .../index.html | 1 + .../graphics/font/getpage(for:)/index.html | 1 + .../index.html | 1 + .../playdate/graphics/font/glyph/index.html | 1 + .../glyph/kerning(between:and:)/index.html | 1 + .../playdate/graphics/font/height/index.html | 1 + .../playdate/graphics/font/index.html | 1 + .../graphics/font/page/glyph(for:)/index.html | 1 + .../playdate/graphics/font/page/index.html | 1 + .../graphics/getdebugbitmap()/index.html | 1 + .../getdisplaybufferbitmap()/index.html | 1 + .../graphics/getdisplayframe()/index.html | 1 + .../playdate/graphics/getframe()/index.html | 1 + .../playdatekit/playdate/graphics/index.html | 1 + .../playdate/graphics/linecapstyle/index.html | 1 + .../markupdatedrows(start:end:)/index.html | 1 + .../playdate/graphics/pattern/index.html | 1 + .../graphics/polygonfillrule/index.html | 1 + .../playdate/graphics/popcontext()/index.html | 1 + .../graphics/pushcontext(_:)/index.html | 1 + .../playdate/graphics/rect/index.html | 1 + .../setbackgroundcolor(_:)/index.html | 1 + .../setcliprect(x:y:width:height:)/index.html | 1 + .../graphics/setdrawmode(_:)/index.html | 1 + .../graphics/setdrawoffset(dx:dy:)/index.html | 1 + .../playdate/graphics/setfont(_:)/index.html | 1 + .../graphics/setlinecapstyle(_:)/index.html | 1 + .../index.html | 1 + .../graphics/setstencil(_:)/index.html | 1 + .../setstencilimage(_:tile:)/index.html | 1 + .../graphics/settextleading(_:)/index.html | 1 + .../playdate/graphics/solidcolor/index.html | 1 + .../graphics/stringencoding/index.html | 1 + .../playdate/graphics/texttracking/index.html | 1 + .../index.html | 1 + .../playdate/graphics/video/index.html | 1 + .../graphics/video/player/context/index.html | 1 + .../playdate/graphics/video/player/index.html | 1 + .../graphics/video/player/info/index.html | 1 + .../video/player/init(path:)-672iw/index.html | 1 + .../video/player/init(path:)-9lw78/index.html | 1 + .../video/player/renderframe(_:)/index.html | 1 + .../video/player/setcontext(_:)/index.html | 1 + .../player/usescreencontext()/index.html | 1 + .../playdatekit/playdate/index.html | 1 + .../playdate/initialize(with:)/index.html | 1 + .../decode(using:reader:value:)/index.html | 1 + .../playdate/json/decoder/index.html | 1 + .../index.html | 1 + .../index.html | 1 + .../playdate/json/encoder/index.html | 1 + .../playdatekit/playdate/json/index.html | 1 + .../index.html | 1 + .../playdate/json/reader/index.html | 1 + .../playdate/json/value/index.html | 1 + .../playdate/playdateapi/index.html | 1 + .../index.html | 1 + .../index.html | 1 + .../scoreboards/boardslist/index.html | 1 + .../scoreboards/freeboardslist(_:)/index.html | 1 + .../scoreboards/freescore(_:)/index.html | 1 + .../scoreboards/freescoreslist(_:)/index.html | 1 + .../index.html | 1 + .../index.html | 1 + .../getscoreboards(callback:)/index.html | 1 + .../index.html | 1 + .../index.html | 1 + .../playdate/scoreboards/index.html | 1 + .../playdate/scoreboards/score/index.html | 1 + .../scoreboards/scoreslist/index.html | 1 + .../sprite/adddirtyrect(_:)/index.html | 1 + .../sprite/alloverlappingsprites()/index.html | 1 + .../index.html | 1 + .../sprite/collisioninfo/actualx/index.html | 1 + .../sprite/collisioninfo/actualy/index.html | 1 + .../collisioninfo/collisions/index.html | 1 + .../playdate/sprite/collisioninfo/index.html | 1 + .../sprite/collisionresponsetype/index.html | 1 + .../drawdisplaylistsprites()/index.html | 1 + .../getdisplaylistspritecount()/index.html | 1 + .../playdatekit/playdate/sprite/index.html | 1 + .../playdate/sprite/queryinfo/index.html | 1 + .../playdate/sprite/queryinfo/info/index.html | 1 + .../index.html | 1 + .../index.html | 1 + .../queryspritesatpoint(x:y:)/index.html | 1 + .../index.html | 1 + .../playdate/sprite/rect/index.html | 1 + .../index.html | 1 + .../index.html | 1 + .../sprite/resetcollisionworld()/index.html | 1 + .../sprite/setalwaysredraw(_:)/index.html | 1 + .../index.html | 1 + .../sprite/addtodisplaylist()/index.html | 1 + .../playdate/sprite/sprite/bounds/index.html | 1 + .../playdate/sprite/sprite/center/index.html | 1 + .../checkcollisions(goalx:goaly:)/index.html | 1 + .../sprite/sprite/colliderect/index.html | 1 + .../sprite/collisionsenabled/index.html | 1 + .../playdate/sprite/sprite/copy()/index.html | 1 + .../playdate/sprite/sprite/image/index.html | 1 + .../sprite/sprite/imageflip/index.html | 1 + .../playdate/sprite/sprite/index.html | 1 + .../playdate/sprite/sprite/init()/index.html | 1 + .../sprite/sprite/isvisible/index.html | 1 + .../sprite/sprite/markdirty()/index.html | 1 + .../sprite/sprite/moveby(dx:dy:)/index.html | 1 + .../sprite/sprite/moveto(x:y:)/index.html | 1 + .../index.html | 1 + .../sprite/overlappingsprites/index.html | 1 + .../sprite/sprite/position/index.html | 1 + .../sprite/removefromdisplaylist()/index.html | 1 + .../sprite/sprite/setcliprect(_:)/index.html | 1 + .../index.html | 1 + .../setdrawfunction(drawfunction:)/index.html | 1 + .../sprite/sprite/setdrawmode(_:)/index.html | 1 + .../setignoresdrawoffset(_:)/index.html | 1 + .../sprite/setimage(image:flip:)/index.html | 1 + .../sprite/sprite/setopaque(_:)/index.html | 1 + .../sprite/setsize(width:height:)/index.html | 1 + .../sprite/sprite/setstencil(_:)/index.html | 1 + .../setstencilimage(_:tile:)/index.html | 1 + .../sprite/setstencilpattern(_:)/index.html | 1 + .../sprite/setupdatefunction(_:)/index.html | 1 + .../playdate/sprite/sprite/tag/index.html | 1 + .../sprite/sprite/updatesenabled/index.html | 1 + .../sprite/sprite/userdata/index.html | 1 + .../playdate/sprite/sprite/zindex/index.html | 1 + .../index.html | 1 + .../playdate/system/accelerometer/index.html | 1 + .../system/accelerometerisenabled/index.html | 1 + .../index.html | 1 + .../index.html | 1 + .../index.html | 1 + .../index.html | 1 + .../index.html | 1 + .../index.html | 1 + .../system/batterypercentage/index.html | 1 + .../playdate/system/batteryvoltage/index.html | 1 + .../playdate/system/buttons/index.html | 1 + .../playdate/system/buttonstate/index.html | 1 + .../playdate/system/clearicache()/index.html | 1 + .../convertdatetimetoepoch(_:)/index.html | 1 + .../convertepochtodatetime(_:)/index.html | 1 + .../playdate/system/crankangle/index.html | 1 + .../playdate/system/crankchange/index.html | 1 + .../system/currenttimemilliseconds/index.html | 1 + .../playdate/system/datetime/index.html | 1 + .../playdate/system/drawfps(x:y:)/index.html | 1 + .../playdate/system/elapsedtime/index.html | 1 + .../system/error(_:)-1qzf1/index.html | 1 + .../system/error(_:)-376ql/index.html | 1 + .../system/error(_:)-7ut9u/index.html | 1 + .../playdate/system/event/index.html | 1 + .../playdate/system/flipped/index.html | 1 + .../getsecondssinceepoch(_:)/index.html | 1 + .../playdatekit/playdate/system/index.html | 1 + .../playdate/system/iscrankdocked/index.html | 1 + .../language-swift.type.property/index.html | 1 + .../language-swift.typealias/index.html | 1 + .../playdate/system/log(_:)-4t2fc/index.html | 1 + .../playdate/system/log(_:)-4z6ae/index.html | 1 + .../playdate/system/menuitem/index.html | 1 + .../system/menuitem/settitle(_:)/index.html | 1 + .../playdate/system/menuitem/title/index.html | 1 + .../system/menuitem/userdata/index.html | 1 + .../playdate/system/menuitem/value/index.html | 1 + .../playdate/system/peripherals/index.html | 1 + .../system/realloc(pointer:size:)/index.html | 1 + .../playdate/system/reduceflashing/index.html | 1 + .../system/removeallmenuitems()/index.html | 1 + .../system/removemenuitem(_:)/index.html | 1 + .../system/resetelapsedtime()/index.html | 1 + .../system/setautolockdisabled(_:)/index.html | 1 + .../index.html | 1 + .../setcranksoundsdisabled(_:)/index.html | 1 + .../setmenuimage(_:xoffset:)/index.html | 1 + .../index.html | 1 + .../system/shoulddisplay24hourtime/index.html | 1 + .../playdate/system/timezoneoffset/index.html | 1 + .../playdate/system/updatecallback/index.html | 1 + .../devicedidunlock()-1l3vt/index.html | 1 + .../devicedidunlock()-3b5ai/index.html | 1 + .../devicewilllock()-26xpv/index.html | 1 + .../devicewilllock()-49mit/index.html | 1 + .../devicewillsleep()-1i4ad/index.html | 1 + .../devicewillsleep()-7hts3/index.html | 1 + .../gamewillpause()-185zs/index.html | 1 + .../gamewillpause()-62mhi/index.html | 1 + .../gamewillresume()-1er7i/index.html | 1 + .../gamewillresume()-7avob/index.html | 1 + .../gamewillterminate()-5qroh/index.html | 1 + .../gamewillterminate()-9epf7/index.html | 1 + .../playdategame/handle(_:)/index.html | 1 + .../playdatekit/playdategame/index.html | 1 + .../playdategame/init()/index.html | 1 + .../playdategame/update()-873r0/index.html | 1 + .../playdategame/update()-91u4m/index.html | 1 + .../posix_memalign(_:_:_:)/index.html | 1 + .../playdatekit/scoreboards/index.html | 1 + .../playdatekit/sprite/index.html | 1 + .../playdatekit/system/index.html | 1 + docs/favicon.ico | Bin 0 -> 15406 bytes docs/favicon.svg | 11 ++++++++ docs/img/added-icon.832a5d2c.svg | 11 ++++++++ docs/img/deprecated-icon.7bf1740a.svg | 11 ++++++++ docs/img/modified-icon.efb2697d.svg | 11 ++++++++ docs/index.html | 1 + docs/index/availability.index | Bin 0 -> 214 bytes docs/index/data.mdb | Bin 0 -> 102400 bytes docs/index/index.json | 1 + docs/index/navigator.index | Bin 0 -> 54700 bytes docs/js/223.87634d14.js | 10 +++++++ docs/js/337.274a8ccc.js | 10 +++++++ docs/js/842.9b3ff1dd.js | 10 +++++++ docs/js/976.d7eb6b79.js | 10 +++++++ docs/js/chunk-vendors.bdb7cbba.js | 26 ++++++++++++++++++ docs/js/documentation-topic.88ad182d.js | 10 +++++++ docs/js/highlight-js-bash-js.702f0c5c.js | 10 +++++++ docs/js/highlight-js-c-js.063069d3.js | 10 +++++++ docs/js/highlight-js-cpp-js.458a9ae4.js | 10 +++++++ docs/js/highlight-js-css-js.bfc4251f.js | 10 +++++++ .../highlight-js-custom-markdown.78c9f6ed.js | 10 +++++++ docs/js/highlight-js-custom-swift.738731d1.js | 10 +++++++ docs/js/highlight-js-diff-js.4db9a783.js | 10 +++++++ docs/js/highlight-js-http-js.f78e83c2.js | 10 +++++++ docs/js/highlight-js-java-js.4fe21e94.js | 10 +++++++ .../js/highlight-js-javascript-js.dfc9d16d.js | 10 +++++++ docs/js/highlight-js-json-js.2a1856ba.js | 10 +++++++ docs/js/highlight-js-llvm-js.26121771.js | 10 +++++++ docs/js/highlight-js-markdown-js.a2f456af.js | 10 +++++++ .../js/highlight-js-objectivec-js.74dea052.js | 10 +++++++ docs/js/highlight-js-perl-js.da6eda82.js | 10 +++++++ docs/js/highlight-js-php-js.c458ffa4.js | 10 +++++++ docs/js/highlight-js-python-js.60354774.js | 10 +++++++ docs/js/highlight-js-ruby-js.7272231f.js | 10 +++++++ docs/js/highlight-js-scss-js.adcd11a2.js | 10 +++++++ docs/js/highlight-js-shell-js.0ad5b20f.js | 10 +++++++ docs/js/highlight-js-swift-js.bdd5bff5.js | 10 +++++++ docs/js/highlight-js-xml-js.0d78f903.js | 10 +++++++ docs/js/index.45768e19.js | 9 ++++++ docs/js/topic.eb715ffc.js | 10 +++++++ docs/js/tutorials-overview.5395cca1.js | 10 +++++++ docs/metadata.json | 1 + 630 files changed, 1018 insertions(+) create mode 100644 Sources/PlaydateKit/Documentation.docc/Documentation.md create mode 100644 docs/css/223.5ab1188f.css create mode 100644 docs/css/427.ee43802d.css create mode 100644 docs/css/documentation-topic.5ce24f8e.css create mode 100644 docs/css/index.33ec2115.css create mode 100644 docs/css/topic.7ff1c1f8.css create mode 100644 docs/css/tutorials-overview.e4891d45.css create mode 100644 docs/data/documentation/playdatekit.json create mode 100644 docs/data/documentation/playdatekit/cplaydate.json create mode 100644 docs/data/documentation/playdatekit/cplaydate/lcdrect.json create mode 100644 docs/data/documentation/playdatekit/cplaydate/lcdrect/init(x:y:width:height:).json create mode 100644 docs/data/documentation/playdatekit/cplaydate/lcdrect/translated(dx:dy:).json create mode 100644 docs/data/documentation/playdatekit/display.json create mode 100644 docs/data/documentation/playdatekit/file.json create mode 100644 docs/data/documentation/playdatekit/graphics.json create mode 100644 docs/data/documentation/playdatekit/json.json create mode 100644 docs/data/documentation/playdatekit/playdate.json create mode 100644 docs/data/documentation/playdatekit/playdate/display.json create mode 100644 docs/data/documentation/playdatekit/playdate/display/flipped.json create mode 100644 docs/data/documentation/playdatekit/playdate/display/height.json create mode 100644 docs/data/documentation/playdatekit/playdate/display/inverted.json create mode 100644 docs/data/documentation/playdatekit/playdate/display/refreshrate.json create mode 100644 docs/data/documentation/playdatekit/playdate/display/scale.json create mode 100644 docs/data/documentation/playdatekit/playdate/display/setmosaic(x:y:).json create mode 100644 docs/data/documentation/playdatekit/playdate/display/setoffset(dx:dy:).json create mode 100644 docs/data/documentation/playdatekit/playdate/display/width.json create mode 100644 docs/data/documentation/playdatekit/playdate/error.json create mode 100644 docs/data/documentation/playdatekit/playdate/file.json create mode 100644 docs/data/documentation/playdatekit/playdate/file/filehandle.json create mode 100644 docs/data/documentation/playdatekit/playdate/file/filehandle/close().json create mode 100644 docs/data/documentation/playdatekit/playdate/file/filehandle/currentseekposition().json create mode 100644 docs/data/documentation/playdatekit/playdate/file/filehandle/flush().json create mode 100644 docs/data/documentation/playdatekit/playdate/file/filehandle/read(buffer:length:).json create mode 100644 docs/data/documentation/playdatekit/playdate/file/filehandle/seek(to:seek:).json create mode 100644 docs/data/documentation/playdatekit/playdate/file/filehandle/seek.json create mode 100644 docs/data/documentation/playdatekit/playdate/file/filehandle/seek/!=(_:_:).json create mode 100644 docs/data/documentation/playdatekit/playdate/file/filehandle/seek/beginning.json create mode 100644 docs/data/documentation/playdatekit/playdate/file/filehandle/seek/current.json create mode 100644 docs/data/documentation/playdatekit/playdate/file/filehandle/seek/end.json create mode 100644 docs/data/documentation/playdatekit/playdate/file/filehandle/seek/equatable-implementations.json create mode 100644 docs/data/documentation/playdatekit/playdate/file/filehandle/seek/hash(into:).json create mode 100644 docs/data/documentation/playdatekit/playdate/file/filehandle/seek/hashvalue.json create mode 100644 docs/data/documentation/playdatekit/playdate/file/filehandle/seek/init(rawvalue:).json create mode 100644 docs/data/documentation/playdatekit/playdate/file/filehandle/seek/rawrepresentable-implementations.json create mode 100644 docs/data/documentation/playdatekit/playdate/file/filehandle/write(buffer:).json create mode 100644 docs/data/documentation/playdatekit/playdate/file/listfiles(path:callback:userdata:showhidden:)-2w9lz.json create mode 100644 docs/data/documentation/playdatekit/playdate/file/listfiles(path:callback:userdata:showhidden:)-59mk2.json create mode 100644 docs/data/documentation/playdatekit/playdate/file/mkdir(path:)-4vzum.json create mode 100644 docs/data/documentation/playdatekit/playdate/file/mkdir(path:)-9rwpo.json create mode 100644 docs/data/documentation/playdatekit/playdate/file/open(path:mode:)-2yhbs.json create mode 100644 docs/data/documentation/playdatekit/playdate/file/open(path:mode:)-8kp20.json create mode 100644 docs/data/documentation/playdatekit/playdate/file/options.json create mode 100644 docs/data/documentation/playdatekit/playdate/file/rename(from:to:)-3ff0y.json create mode 100644 docs/data/documentation/playdatekit/playdate/file/rename(from:to:)-969yy.json create mode 100644 docs/data/documentation/playdatekit/playdate/file/stat(path:)-6ac1z.json create mode 100644 docs/data/documentation/playdatekit/playdate/file/stat(path:)-9vquc.json create mode 100644 docs/data/documentation/playdatekit/playdate/file/unlink(path:recursive:)-4jt6t.json create mode 100644 docs/data/documentation/playdatekit/playdate/file/unlink(path:recursive:)-9dq44.json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics.json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/bitmap.json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/bitmap/clear(bgcolor:).json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/bitmap/copy().json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/bitmap/drawmode.json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/bitmap/flip.json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/bitmap/getdata(mask:data:).json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/bitmap/init(path:)-2idv2.json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/bitmap/init(path:)-3qejh.json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/bitmap/init(width:height:bgcolor:).json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/bitmap/load(from:)-39up6.json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/bitmap/load(from:)-9wm1t.json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/bitmap/mask.json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/bitmap/rotated(by:xscale:yscale:).json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/bitmaptable.json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/bitmaptable/bitmap(at:).json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/bitmaptable/init(count:width:height:).json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/bitmaptable/init(path:)-2zigw.json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/bitmaptable/init(path:)-8fybj.json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/bitmaptable/load(from:)-2e5co.json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/bitmaptable/load(from:)-9txdn.json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/checkmaskcollision(bitmap1:x1:y1:flip1:bitmap2:x2:y2:flip2:rect:).json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/clear(color:).json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/clearcliprect().json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/color.json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/colorfrompattern(_:x:y:).json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/copyframebufferbitmap().json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/display().json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/drawbitmap(_:x:y:degrees:centerx:centery:xscale:yscale:).json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/drawbitmap(_:x:y:flip:).json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/drawbitmap(_:x:y:xscale:yscale:).json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/drawellipse(x:y:width:height:linewidth:startangle:endangle:color:).json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/drawline(x1:y1:x2:y2:linewidth:color:).json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/drawrect(x:y:width:height:color:).json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/drawtext(_:length:encoding:x:y:).json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/fillellipse(x:y:width:height:startangle:endangle:color:).json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/fillpolygon(points:color:fillrule:).json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/fillrect(x:y:width:height:color:).json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/filltriangle(x1:y1:x2:y2:x3:y3:color:).json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/font.json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/font/getpage(for:).json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/font/gettextwidth(for:length:encoding:tracking:).json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/font/glyph.json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/font/glyph/kerning(between:and:).json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/font/height.json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/font/page.json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/font/page/glyph(for:).json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/getdebugbitmap().json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/getdisplaybufferbitmap().json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/getdisplayframe().json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/getframe().json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/linecapstyle.json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/markupdatedrows(start:end:).json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/pattern.json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/polygonfillrule.json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/popcontext().json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/pushcontext(_:).json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/rect.json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/setbackgroundcolor(_:).json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/setcliprect(x:y:width:height:).json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/setdrawmode(_:).json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/setdrawoffset(dx:dy:).json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/setfont(_:).json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/setlinecapstyle(_:).json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/setscreencliprect(x:y:width:height:).json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/setstencil(_:).json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/setstencilimage(_:tile:).json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/settextleading(_:).json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/solidcolor.json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/stringencoding.json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/texttracking.json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/tilebitmap(_:x:y:width:height:flip:).json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/video.json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/video/player.json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/video/player/context.json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/video/player/info.json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/video/player/init(path:)-672iw.json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/video/player/init(path:)-9lw78.json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/video/player/renderframe(_:).json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/video/player/setcontext(_:).json create mode 100644 docs/data/documentation/playdatekit/playdate/graphics/video/player/usescreencontext().json create mode 100644 docs/data/documentation/playdatekit/playdate/initialize(with:).json create mode 100644 docs/data/documentation/playdatekit/playdate/json.json create mode 100644 docs/data/documentation/playdatekit/playdate/json/decode(using:reader:value:).json create mode 100644 docs/data/documentation/playdatekit/playdate/json/decoder.json create mode 100644 docs/data/documentation/playdatekit/playdate/json/decodestring(using:jsonstring:value:)-1uq5u.json create mode 100644 docs/data/documentation/playdatekit/playdate/json/decodestring(using:jsonstring:value:)-xwiz.json create mode 100644 docs/data/documentation/playdatekit/playdate/json/encoder.json create mode 100644 docs/data/documentation/playdatekit/playdate/json/initencoder(encoder:writefunc:userdata:pretty:).json create mode 100644 docs/data/documentation/playdatekit/playdate/json/reader.json create mode 100644 docs/data/documentation/playdatekit/playdate/json/value.json create mode 100644 docs/data/documentation/playdatekit/playdate/playdateapi.json create mode 100644 docs/data/documentation/playdatekit/playdate/scoreboards.json create mode 100644 docs/data/documentation/playdatekit/playdate/scoreboards/addscore(boardid:value:callback:)-29nc6.json create mode 100644 docs/data/documentation/playdatekit/playdate/scoreboards/addscore(boardid:value:callback:)-8xab3.json create mode 100644 docs/data/documentation/playdatekit/playdate/scoreboards/boardslist.json create mode 100644 docs/data/documentation/playdatekit/playdate/scoreboards/freeboardslist(_:).json create mode 100644 docs/data/documentation/playdatekit/playdate/scoreboards/freescore(_:).json create mode 100644 docs/data/documentation/playdatekit/playdate/scoreboards/freescoreslist(_:).json create mode 100644 docs/data/documentation/playdatekit/playdate/scoreboards/getpersonalbest(boardid:callback:)-8h5m9.json create mode 100644 docs/data/documentation/playdatekit/playdate/scoreboards/getpersonalbest(boardid:callback:)-a93b.json create mode 100644 docs/data/documentation/playdatekit/playdate/scoreboards/getscoreboards(callback:).json create mode 100644 docs/data/documentation/playdatekit/playdate/scoreboards/getscores(boardid:callback:)-8hnfz.json create mode 100644 docs/data/documentation/playdatekit/playdate/scoreboards/getscores(boardid:callback:)-9heou.json create mode 100644 docs/data/documentation/playdatekit/playdate/scoreboards/score.json create mode 100644 docs/data/documentation/playdatekit/playdate/scoreboards/scoreslist.json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite.json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/adddirtyrect(_:).json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/alloverlappingsprites().json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/clearcliprectsinrange(startz:endz:).json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/collisioninfo.json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/collisioninfo/actualx.json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/collisioninfo/actualy.json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/collisioninfo/collisions.json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/collisionresponsetype.json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/drawdisplaylistsprites().json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/getdisplaylistspritecount().json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/queryinfo.json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/queryinfo/info.json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/queryspriteinfoalongline(x1:y1:x2:y2:).json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/queryspritesalongline(x1:y1:x2:y2:).json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/queryspritesatpoint(x:y:).json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/queryspritesinrect(x:y:width:height:).json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/rect.json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/removeallspritesfromdisplaylist().json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/removespritesfromdisplaylist(_:).json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/resetcollisionworld().json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/setalwaysredraw(_:).json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/setcliprectsinrange(cliprect:startz:endz:).json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/sprite.json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/sprite/addtodisplaylist().json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/sprite/bounds.json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/sprite/center.json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/sprite/checkcollisions(goalx:goaly:).json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/sprite/colliderect.json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/sprite/collisionsenabled.json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/sprite/copy().json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/sprite/image.json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/sprite/imageflip.json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/sprite/init().json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/sprite/isvisible.json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/sprite/markdirty().json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/sprite/moveby(dx:dy:).json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/sprite/moveto(x:y:).json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/sprite/movewithcollisions(goalx:goaly:).json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/sprite/overlappingsprites.json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/sprite/position.json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/sprite/removefromdisplaylist().json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/sprite/setcliprect(_:).json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/sprite/setcollisionresponsefunction(function:).json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/sprite/setdrawfunction(drawfunction:).json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/sprite/setdrawmode(_:).json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/sprite/setignoresdrawoffset(_:).json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/sprite/setimage(image:flip:).json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/sprite/setopaque(_:).json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/sprite/setsize(width:height:).json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/sprite/setstencil(_:).json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/sprite/setstencilimage(_:tile:).json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/sprite/setstencilpattern(_:).json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/sprite/setupdatefunction(_:).json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/sprite/tag.json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/sprite/updatesenabled.json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/sprite/userdata.json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/sprite/zindex.json create mode 100644 docs/data/documentation/playdatekit/playdate/sprite/updateanddrawdisplaylistsprites().json create mode 100644 docs/data/documentation/playdatekit/playdate/system.json create mode 100644 docs/data/documentation/playdatekit/playdate/system/accelerometer.json create mode 100644 docs/data/documentation/playdatekit/playdate/system/accelerometerisenabled.json create mode 100644 docs/data/documentation/playdatekit/playdate/system/addcheckmarkmenuitem(title:checked:callback:userdata:)-1zw7w.json create mode 100644 docs/data/documentation/playdatekit/playdate/system/addcheckmarkmenuitem(title:checked:callback:userdata:)-8ift.json create mode 100644 docs/data/documentation/playdatekit/playdate/system/addmenuitem(title:callback:userdata:)-1bfwq.json create mode 100644 docs/data/documentation/playdatekit/playdate/system/addmenuitem(title:callback:userdata:)-47a4f.json create mode 100644 docs/data/documentation/playdatekit/playdate/system/addoptionsmenuitem(title:options:callback:userdata:)-1ohgi.json create mode 100644 docs/data/documentation/playdatekit/playdate/system/addoptionsmenuitem(title:options:callback:userdata:)-51mvf.json create mode 100644 docs/data/documentation/playdatekit/playdate/system/batterypercentage.json create mode 100644 docs/data/documentation/playdatekit/playdate/system/batteryvoltage.json create mode 100644 docs/data/documentation/playdatekit/playdate/system/buttons.json create mode 100644 docs/data/documentation/playdatekit/playdate/system/buttonstate.json create mode 100644 docs/data/documentation/playdatekit/playdate/system/clearicache().json create mode 100644 docs/data/documentation/playdatekit/playdate/system/convertdatetimetoepoch(_:).json create mode 100644 docs/data/documentation/playdatekit/playdate/system/convertepochtodatetime(_:).json create mode 100644 docs/data/documentation/playdatekit/playdate/system/crankangle.json create mode 100644 docs/data/documentation/playdatekit/playdate/system/crankchange.json create mode 100644 docs/data/documentation/playdatekit/playdate/system/currenttimemilliseconds.json create mode 100644 docs/data/documentation/playdatekit/playdate/system/datetime.json create mode 100644 docs/data/documentation/playdatekit/playdate/system/drawfps(x:y:).json create mode 100644 docs/data/documentation/playdatekit/playdate/system/elapsedtime.json create mode 100644 docs/data/documentation/playdatekit/playdate/system/error(_:)-1qzf1.json create mode 100644 docs/data/documentation/playdatekit/playdate/system/error(_:)-376ql.json create mode 100644 docs/data/documentation/playdatekit/playdate/system/error(_:)-7ut9u.json create mode 100644 docs/data/documentation/playdatekit/playdate/system/event.json create mode 100644 docs/data/documentation/playdatekit/playdate/system/flipped.json create mode 100644 docs/data/documentation/playdatekit/playdate/system/getsecondssinceepoch(_:).json create mode 100644 docs/data/documentation/playdatekit/playdate/system/iscrankdocked.json create mode 100644 docs/data/documentation/playdatekit/playdate/system/language-swift.type.property.json create mode 100644 docs/data/documentation/playdatekit/playdate/system/language-swift.typealias.json create mode 100644 docs/data/documentation/playdatekit/playdate/system/log(_:)-4t2fc.json create mode 100644 docs/data/documentation/playdatekit/playdate/system/log(_:)-4z6ae.json create mode 100644 docs/data/documentation/playdatekit/playdate/system/menuitem.json create mode 100644 docs/data/documentation/playdatekit/playdate/system/menuitem/settitle(_:).json create mode 100644 docs/data/documentation/playdatekit/playdate/system/menuitem/title.json create mode 100644 docs/data/documentation/playdatekit/playdate/system/menuitem/userdata.json create mode 100644 docs/data/documentation/playdatekit/playdate/system/menuitem/value.json create mode 100644 docs/data/documentation/playdatekit/playdate/system/peripherals.json create mode 100644 docs/data/documentation/playdatekit/playdate/system/realloc(pointer:size:).json create mode 100644 docs/data/documentation/playdatekit/playdate/system/reduceflashing.json create mode 100644 docs/data/documentation/playdatekit/playdate/system/removeallmenuitems().json create mode 100644 docs/data/documentation/playdatekit/playdate/system/removemenuitem(_:).json create mode 100644 docs/data/documentation/playdatekit/playdate/system/resetelapsedtime().json create mode 100644 docs/data/documentation/playdatekit/playdate/system/setautolockdisabled(_:).json create mode 100644 docs/data/documentation/playdatekit/playdate/system/setbuttoncallback(callback:buttonuserdata:queuesize:).json create mode 100644 docs/data/documentation/playdatekit/playdate/system/setcranksoundsdisabled(_:).json create mode 100644 docs/data/documentation/playdatekit/playdate/system/setmenuimage(_:xoffset:).json create mode 100644 docs/data/documentation/playdatekit/playdate/system/setserialmessagecallback(callback:).json create mode 100644 docs/data/documentation/playdatekit/playdate/system/shoulddisplay24hourtime.json create mode 100644 docs/data/documentation/playdatekit/playdate/system/timezoneoffset.json create mode 100644 docs/data/documentation/playdatekit/playdate/system/updatecallback.json create mode 100644 docs/data/documentation/playdatekit/playdategame.json create mode 100644 docs/data/documentation/playdatekit/playdategame/devicedidunlock()-1l3vt.json create mode 100644 docs/data/documentation/playdatekit/playdategame/devicedidunlock()-3b5ai.json create mode 100644 docs/data/documentation/playdatekit/playdategame/devicewilllock()-26xpv.json create mode 100644 docs/data/documentation/playdatekit/playdategame/devicewilllock()-49mit.json create mode 100644 docs/data/documentation/playdatekit/playdategame/devicewillsleep()-1i4ad.json create mode 100644 docs/data/documentation/playdatekit/playdategame/devicewillsleep()-7hts3.json create mode 100644 docs/data/documentation/playdatekit/playdategame/gamewillpause()-185zs.json create mode 100644 docs/data/documentation/playdatekit/playdategame/gamewillpause()-62mhi.json create mode 100644 docs/data/documentation/playdatekit/playdategame/gamewillresume()-1er7i.json create mode 100644 docs/data/documentation/playdatekit/playdategame/gamewillresume()-7avob.json create mode 100644 docs/data/documentation/playdatekit/playdategame/gamewillterminate()-5qroh.json create mode 100644 docs/data/documentation/playdatekit/playdategame/gamewillterminate()-9epf7.json create mode 100644 docs/data/documentation/playdatekit/playdategame/handle(_:).json create mode 100644 docs/data/documentation/playdatekit/playdategame/init().json create mode 100644 docs/data/documentation/playdatekit/playdategame/update()-873r0.json create mode 100644 docs/data/documentation/playdatekit/playdategame/update()-91u4m.json create mode 100644 docs/data/documentation/playdatekit/posix_memalign(_:_:_:).json create mode 100644 docs/data/documentation/playdatekit/scoreboards.json create mode 100644 docs/data/documentation/playdatekit/sprite.json create mode 100644 docs/data/documentation/playdatekit/system.json create mode 100644 docs/developer-og-twitter.jpg create mode 100644 docs/developer-og.jpg create mode 100644 docs/documentation/playdatekit/cplaydate/index.html create mode 100644 docs/documentation/playdatekit/cplaydate/lcdrect/index.html create mode 100644 docs/documentation/playdatekit/cplaydate/lcdrect/init(x:y:width:height:)/index.html create mode 100644 docs/documentation/playdatekit/cplaydate/lcdrect/translated(dx:dy:)/index.html create mode 100644 docs/documentation/playdatekit/display/index.html create mode 100644 docs/documentation/playdatekit/file/index.html create mode 100644 docs/documentation/playdatekit/graphics/index.html create mode 100644 docs/documentation/playdatekit/index.html create mode 100644 docs/documentation/playdatekit/json/index.html create mode 100644 docs/documentation/playdatekit/playdate/display/flipped/index.html create mode 100644 docs/documentation/playdatekit/playdate/display/height/index.html create mode 100644 docs/documentation/playdatekit/playdate/display/index.html create mode 100644 docs/documentation/playdatekit/playdate/display/inverted/index.html create mode 100644 docs/documentation/playdatekit/playdate/display/refreshrate/index.html create mode 100644 docs/documentation/playdatekit/playdate/display/scale/index.html create mode 100644 docs/documentation/playdatekit/playdate/display/setmosaic(x:y:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/display/setoffset(dx:dy:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/display/width/index.html create mode 100644 docs/documentation/playdatekit/playdate/error/index.html create mode 100644 docs/documentation/playdatekit/playdate/file/filehandle/close()/index.html create mode 100644 docs/documentation/playdatekit/playdate/file/filehandle/currentseekposition()/index.html create mode 100644 docs/documentation/playdatekit/playdate/file/filehandle/flush()/index.html create mode 100644 docs/documentation/playdatekit/playdate/file/filehandle/index.html create mode 100644 docs/documentation/playdatekit/playdate/file/filehandle/read(buffer:length:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/file/filehandle/seek(to:seek:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/file/filehandle/seek/!=(_:_:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/file/filehandle/seek/beginning/index.html create mode 100644 docs/documentation/playdatekit/playdate/file/filehandle/seek/current/index.html create mode 100644 docs/documentation/playdatekit/playdate/file/filehandle/seek/end/index.html create mode 100644 docs/documentation/playdatekit/playdate/file/filehandle/seek/equatable-implementations/index.html create mode 100644 docs/documentation/playdatekit/playdate/file/filehandle/seek/hash(into:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/file/filehandle/seek/hashvalue/index.html create mode 100644 docs/documentation/playdatekit/playdate/file/filehandle/seek/index.html create mode 100644 docs/documentation/playdatekit/playdate/file/filehandle/seek/init(rawvalue:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/file/filehandle/seek/rawrepresentable-implementations/index.html create mode 100644 docs/documentation/playdatekit/playdate/file/filehandle/write(buffer:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/file/index.html create mode 100644 docs/documentation/playdatekit/playdate/file/listfiles(path:callback:userdata:showhidden:)-2w9lz/index.html create mode 100644 docs/documentation/playdatekit/playdate/file/listfiles(path:callback:userdata:showhidden:)-59mk2/index.html create mode 100644 docs/documentation/playdatekit/playdate/file/mkdir(path:)-4vzum/index.html create mode 100644 docs/documentation/playdatekit/playdate/file/mkdir(path:)-9rwpo/index.html create mode 100644 docs/documentation/playdatekit/playdate/file/open(path:mode:)-2yhbs/index.html create mode 100644 docs/documentation/playdatekit/playdate/file/open(path:mode:)-8kp20/index.html create mode 100644 docs/documentation/playdatekit/playdate/file/options/index.html create mode 100644 docs/documentation/playdatekit/playdate/file/rename(from:to:)-3ff0y/index.html create mode 100644 docs/documentation/playdatekit/playdate/file/rename(from:to:)-969yy/index.html create mode 100644 docs/documentation/playdatekit/playdate/file/stat(path:)-6ac1z/index.html create mode 100644 docs/documentation/playdatekit/playdate/file/stat(path:)-9vquc/index.html create mode 100644 docs/documentation/playdatekit/playdate/file/unlink(path:recursive:)-4jt6t/index.html create mode 100644 docs/documentation/playdatekit/playdate/file/unlink(path:recursive:)-9dq44/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/bitmap/clear(bgcolor:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/bitmap/copy()/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/bitmap/drawmode/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/bitmap/flip/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/bitmap/getdata(mask:data:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/bitmap/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/bitmap/init(path:)-2idv2/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/bitmap/init(path:)-3qejh/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/bitmap/init(width:height:bgcolor:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/bitmap/load(from:)-39up6/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/bitmap/load(from:)-9wm1t/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/bitmap/mask/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/bitmap/rotated(by:xscale:yscale:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/bitmaptable/bitmap(at:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/bitmaptable/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/bitmaptable/init(count:width:height:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/bitmaptable/init(path:)-2zigw/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/bitmaptable/init(path:)-8fybj/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/bitmaptable/load(from:)-2e5co/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/bitmaptable/load(from:)-9txdn/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/checkmaskcollision(bitmap1:x1:y1:flip1:bitmap2:x2:y2:flip2:rect:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/clear(color:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/clearcliprect()/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/color/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/colorfrompattern(_:x:y:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/copyframebufferbitmap()/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/display()/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/drawbitmap(_:x:y:degrees:centerx:centery:xscale:yscale:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/drawbitmap(_:x:y:flip:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/drawbitmap(_:x:y:xscale:yscale:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/drawellipse(x:y:width:height:linewidth:startangle:endangle:color:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/drawline(x1:y1:x2:y2:linewidth:color:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/drawrect(x:y:width:height:color:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/drawtext(_:length:encoding:x:y:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/fillellipse(x:y:width:height:startangle:endangle:color:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/fillpolygon(points:color:fillrule:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/fillrect(x:y:width:height:color:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/filltriangle(x1:y1:x2:y2:x3:y3:color:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/font/getpage(for:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/font/gettextwidth(for:length:encoding:tracking:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/font/glyph/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/font/glyph/kerning(between:and:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/font/height/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/font/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/font/page/glyph(for:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/font/page/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/getdebugbitmap()/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/getdisplaybufferbitmap()/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/getdisplayframe()/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/getframe()/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/linecapstyle/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/markupdatedrows(start:end:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/pattern/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/polygonfillrule/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/popcontext()/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/pushcontext(_:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/rect/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/setbackgroundcolor(_:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/setcliprect(x:y:width:height:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/setdrawmode(_:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/setdrawoffset(dx:dy:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/setfont(_:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/setlinecapstyle(_:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/setscreencliprect(x:y:width:height:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/setstencil(_:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/setstencilimage(_:tile:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/settextleading(_:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/solidcolor/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/stringencoding/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/texttracking/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/tilebitmap(_:x:y:width:height:flip:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/video/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/video/player/context/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/video/player/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/video/player/info/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/video/player/init(path:)-672iw/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/video/player/init(path:)-9lw78/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/video/player/renderframe(_:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/video/player/setcontext(_:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/graphics/video/player/usescreencontext()/index.html create mode 100644 docs/documentation/playdatekit/playdate/index.html create mode 100644 docs/documentation/playdatekit/playdate/initialize(with:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/json/decode(using:reader:value:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/json/decoder/index.html create mode 100644 docs/documentation/playdatekit/playdate/json/decodestring(using:jsonstring:value:)-1uq5u/index.html create mode 100644 docs/documentation/playdatekit/playdate/json/decodestring(using:jsonstring:value:)-xwiz/index.html create mode 100644 docs/documentation/playdatekit/playdate/json/encoder/index.html create mode 100644 docs/documentation/playdatekit/playdate/json/index.html create mode 100644 docs/documentation/playdatekit/playdate/json/initencoder(encoder:writefunc:userdata:pretty:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/json/reader/index.html create mode 100644 docs/documentation/playdatekit/playdate/json/value/index.html create mode 100644 docs/documentation/playdatekit/playdate/playdateapi/index.html create mode 100644 docs/documentation/playdatekit/playdate/scoreboards/addscore(boardid:value:callback:)-29nc6/index.html create mode 100644 docs/documentation/playdatekit/playdate/scoreboards/addscore(boardid:value:callback:)-8xab3/index.html create mode 100644 docs/documentation/playdatekit/playdate/scoreboards/boardslist/index.html create mode 100644 docs/documentation/playdatekit/playdate/scoreboards/freeboardslist(_:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/scoreboards/freescore(_:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/scoreboards/freescoreslist(_:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/scoreboards/getpersonalbest(boardid:callback:)-8h5m9/index.html create mode 100644 docs/documentation/playdatekit/playdate/scoreboards/getpersonalbest(boardid:callback:)-a93b/index.html create mode 100644 docs/documentation/playdatekit/playdate/scoreboards/getscoreboards(callback:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/scoreboards/getscores(boardid:callback:)-8hnfz/index.html create mode 100644 docs/documentation/playdatekit/playdate/scoreboards/getscores(boardid:callback:)-9heou/index.html create mode 100644 docs/documentation/playdatekit/playdate/scoreboards/index.html create mode 100644 docs/documentation/playdatekit/playdate/scoreboards/score/index.html create mode 100644 docs/documentation/playdatekit/playdate/scoreboards/scoreslist/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/adddirtyrect(_:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/alloverlappingsprites()/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/clearcliprectsinrange(startz:endz:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/collisioninfo/actualx/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/collisioninfo/actualy/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/collisioninfo/collisions/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/collisioninfo/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/collisionresponsetype/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/drawdisplaylistsprites()/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/getdisplaylistspritecount()/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/queryinfo/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/queryinfo/info/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/queryspriteinfoalongline(x1:y1:x2:y2:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/queryspritesalongline(x1:y1:x2:y2:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/queryspritesatpoint(x:y:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/queryspritesinrect(x:y:width:height:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/rect/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/removeallspritesfromdisplaylist()/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/removespritesfromdisplaylist(_:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/resetcollisionworld()/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/setalwaysredraw(_:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/setcliprectsinrange(cliprect:startz:endz:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/sprite/addtodisplaylist()/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/sprite/bounds/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/sprite/center/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/sprite/checkcollisions(goalx:goaly:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/sprite/colliderect/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/sprite/collisionsenabled/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/sprite/copy()/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/sprite/image/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/sprite/imageflip/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/sprite/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/sprite/init()/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/sprite/isvisible/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/sprite/markdirty()/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/sprite/moveby(dx:dy:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/sprite/moveto(x:y:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/sprite/movewithcollisions(goalx:goaly:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/sprite/overlappingsprites/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/sprite/position/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/sprite/removefromdisplaylist()/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/sprite/setcliprect(_:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/sprite/setcollisionresponsefunction(function:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/sprite/setdrawfunction(drawfunction:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/sprite/setdrawmode(_:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/sprite/setignoresdrawoffset(_:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/sprite/setimage(image:flip:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/sprite/setopaque(_:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/sprite/setsize(width:height:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/sprite/setstencil(_:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/sprite/setstencilimage(_:tile:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/sprite/setstencilpattern(_:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/sprite/setupdatefunction(_:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/sprite/tag/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/sprite/updatesenabled/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/sprite/userdata/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/sprite/zindex/index.html create mode 100644 docs/documentation/playdatekit/playdate/sprite/updateanddrawdisplaylistsprites()/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/accelerometer/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/accelerometerisenabled/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/addcheckmarkmenuitem(title:checked:callback:userdata:)-1zw7w/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/addcheckmarkmenuitem(title:checked:callback:userdata:)-8ift/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/addmenuitem(title:callback:userdata:)-1bfwq/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/addmenuitem(title:callback:userdata:)-47a4f/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/addoptionsmenuitem(title:options:callback:userdata:)-1ohgi/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/addoptionsmenuitem(title:options:callback:userdata:)-51mvf/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/batterypercentage/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/batteryvoltage/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/buttons/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/buttonstate/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/clearicache()/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/convertdatetimetoepoch(_:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/convertepochtodatetime(_:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/crankangle/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/crankchange/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/currenttimemilliseconds/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/datetime/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/drawfps(x:y:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/elapsedtime/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/error(_:)-1qzf1/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/error(_:)-376ql/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/error(_:)-7ut9u/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/event/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/flipped/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/getsecondssinceepoch(_:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/iscrankdocked/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/language-swift.type.property/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/language-swift.typealias/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/log(_:)-4t2fc/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/log(_:)-4z6ae/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/menuitem/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/menuitem/settitle(_:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/menuitem/title/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/menuitem/userdata/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/menuitem/value/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/peripherals/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/realloc(pointer:size:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/reduceflashing/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/removeallmenuitems()/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/removemenuitem(_:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/resetelapsedtime()/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/setautolockdisabled(_:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/setbuttoncallback(callback:buttonuserdata:queuesize:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/setcranksoundsdisabled(_:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/setmenuimage(_:xoffset:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/setserialmessagecallback(callback:)/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/shoulddisplay24hourtime/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/timezoneoffset/index.html create mode 100644 docs/documentation/playdatekit/playdate/system/updatecallback/index.html create mode 100644 docs/documentation/playdatekit/playdategame/devicedidunlock()-1l3vt/index.html create mode 100644 docs/documentation/playdatekit/playdategame/devicedidunlock()-3b5ai/index.html create mode 100644 docs/documentation/playdatekit/playdategame/devicewilllock()-26xpv/index.html create mode 100644 docs/documentation/playdatekit/playdategame/devicewilllock()-49mit/index.html create mode 100644 docs/documentation/playdatekit/playdategame/devicewillsleep()-1i4ad/index.html create mode 100644 docs/documentation/playdatekit/playdategame/devicewillsleep()-7hts3/index.html create mode 100644 docs/documentation/playdatekit/playdategame/gamewillpause()-185zs/index.html create mode 100644 docs/documentation/playdatekit/playdategame/gamewillpause()-62mhi/index.html create mode 100644 docs/documentation/playdatekit/playdategame/gamewillresume()-1er7i/index.html create mode 100644 docs/documentation/playdatekit/playdategame/gamewillresume()-7avob/index.html create mode 100644 docs/documentation/playdatekit/playdategame/gamewillterminate()-5qroh/index.html create mode 100644 docs/documentation/playdatekit/playdategame/gamewillterminate()-9epf7/index.html create mode 100644 docs/documentation/playdatekit/playdategame/handle(_:)/index.html create mode 100644 docs/documentation/playdatekit/playdategame/index.html create mode 100644 docs/documentation/playdatekit/playdategame/init()/index.html create mode 100644 docs/documentation/playdatekit/playdategame/update()-873r0/index.html create mode 100644 docs/documentation/playdatekit/playdategame/update()-91u4m/index.html create mode 100644 docs/documentation/playdatekit/posix_memalign(_:_:_:)/index.html create mode 100644 docs/documentation/playdatekit/scoreboards/index.html create mode 100644 docs/documentation/playdatekit/sprite/index.html create mode 100644 docs/documentation/playdatekit/system/index.html create mode 100644 docs/favicon.ico create mode 100644 docs/favicon.svg create mode 100644 docs/img/added-icon.832a5d2c.svg create mode 100644 docs/img/deprecated-icon.7bf1740a.svg create mode 100644 docs/img/modified-icon.efb2697d.svg create mode 100644 docs/index.html create mode 100644 docs/index/availability.index create mode 100755 docs/index/data.mdb create mode 100644 docs/index/index.json create mode 100644 docs/index/navigator.index create mode 100644 docs/js/223.87634d14.js create mode 100644 docs/js/337.274a8ccc.js create mode 100644 docs/js/842.9b3ff1dd.js create mode 100644 docs/js/976.d7eb6b79.js create mode 100644 docs/js/chunk-vendors.bdb7cbba.js create mode 100644 docs/js/documentation-topic.88ad182d.js create mode 100644 docs/js/highlight-js-bash-js.702f0c5c.js create mode 100644 docs/js/highlight-js-c-js.063069d3.js create mode 100644 docs/js/highlight-js-cpp-js.458a9ae4.js create mode 100644 docs/js/highlight-js-css-js.bfc4251f.js create mode 100644 docs/js/highlight-js-custom-markdown.78c9f6ed.js create mode 100644 docs/js/highlight-js-custom-swift.738731d1.js create mode 100644 docs/js/highlight-js-diff-js.4db9a783.js create mode 100644 docs/js/highlight-js-http-js.f78e83c2.js create mode 100644 docs/js/highlight-js-java-js.4fe21e94.js create mode 100644 docs/js/highlight-js-javascript-js.dfc9d16d.js create mode 100644 docs/js/highlight-js-json-js.2a1856ba.js create mode 100644 docs/js/highlight-js-llvm-js.26121771.js create mode 100644 docs/js/highlight-js-markdown-js.a2f456af.js create mode 100644 docs/js/highlight-js-objectivec-js.74dea052.js create mode 100644 docs/js/highlight-js-perl-js.da6eda82.js create mode 100644 docs/js/highlight-js-php-js.c458ffa4.js create mode 100644 docs/js/highlight-js-python-js.60354774.js create mode 100644 docs/js/highlight-js-ruby-js.7272231f.js create mode 100644 docs/js/highlight-js-scss-js.adcd11a2.js create mode 100644 docs/js/highlight-js-shell-js.0ad5b20f.js create mode 100644 docs/js/highlight-js-swift-js.bdd5bff5.js create mode 100644 docs/js/highlight-js-xml-js.0d78f903.js create mode 100644 docs/js/index.45768e19.js create mode 100644 docs/js/topic.eb715ffc.js create mode 100644 docs/js/tutorials-overview.5395cca1.js create mode 100644 docs/metadata.json diff --git a/.gitignore b/.gitignore index 38a83c85..d5aff285 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ DerivedData/ **/Source/pdex.dylib **/Source/pdex.elf build/ +.docc-build diff --git a/Sources/PlaydateKit/Documentation.docc/Documentation.md b/Sources/PlaydateKit/Documentation.docc/Documentation.md new file mode 100644 index 00000000..9da96631 --- /dev/null +++ b/Sources/PlaydateKit/Documentation.docc/Documentation.md @@ -0,0 +1,13 @@ +# ``PlaydateKit`` + +Create games for Playdate using Swift. + +## Overview + +Placeholder + +## Topics + +### Placeholder + +- ``Playdate/Sprite/Sprite`` diff --git a/docs/css/223.5ab1188f.css b/docs/css/223.5ab1188f.css new file mode 100644 index 00000000..6ddd1017 --- /dev/null +++ b/docs/css/223.5ab1188f.css @@ -0,0 +1,9 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */aside[data-v-3ccce809]{-moz-column-break-inside:avoid;break-inside:avoid;border-radius:var(--aside-border-radius,var(--border-radius,4px));border-style:var(--aside-border-style,solid);border-width:var(--aside-border-width,0 0 0 6px);padding:.9411764706rem;text-align:start}aside .label[data-v-3ccce809]{font-size:1rem;line-height:1.5294117647;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}aside .label+[data-v-3ccce809]{margin-top:var(--spacing-stacked-margin-small)}aside.deprecated[data-v-3ccce809]{background-color:var(--color-aside-deprecated-background);border-color:var(--color-aside-deprecated-border);box-shadow:0 0 0 0 var(--color-aside-deprecated-border) inset,0 0 0 0 var(--color-aside-deprecated-border)}aside.deprecated .label[data-v-3ccce809]{color:var(--color-aside-deprecated)}aside.experiment[data-v-3ccce809]{background-color:var(--color-aside-experiment-background);border-color:var(--color-aside-experiment-border);box-shadow:0 0 0 0 var(--color-aside-experiment-border) inset,0 0 0 0 var(--color-aside-experiment-border)}aside.experiment .label[data-v-3ccce809]{color:var(--color-aside-experiment)}aside.important[data-v-3ccce809]{background-color:var(--color-aside-important-background);border-color:var(--color-aside-important-border);box-shadow:0 0 0 0 var(--color-aside-important-border) inset,0 0 0 0 var(--color-aside-important-border)}aside.important .label[data-v-3ccce809]{color:var(--color-aside-important)}aside.note[data-v-3ccce809]{background-color:var(--color-aside-note-background);border-color:var(--color-aside-note-border);box-shadow:0 0 0 0 var(--color-aside-note-border) inset,0 0 0 0 var(--color-aside-note-border)}aside.note .label[data-v-3ccce809]{color:var(--color-aside-note)}aside.tip[data-v-3ccce809]{background-color:var(--color-aside-tip-background);border-color:var(--color-aside-tip-border);box-shadow:0 0 0 0 var(--color-aside-tip-border) inset,0 0 0 0 var(--color-aside-tip-border)}aside.tip .label[data-v-3ccce809]{color:var(--color-aside-tip)}aside.warning[data-v-3ccce809]{background-color:var(--color-aside-warning-background);border-color:var(--color-aside-warning-border);box-shadow:0 0 0 0 var(--color-aside-warning-border) inset,0 0 0 0 var(--color-aside-warning-border)}aside.warning .label[data-v-3ccce809]{color:var(--color-aside-warning)}code[data-v-08295b2f]:before{content:attr(data-before-code)}code[data-v-08295b2f]:after{content:attr(data-after-code)}code[data-v-08295b2f]:after,code[data-v-08295b2f]:before{display:block;position:absolute;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(0 0 99.9% 99.9%);clip-path:inset(0 0 99.9% 99.9%);overflow:hidden;height:1px;width:1px;padding:0;border:0}.swift-file-icon.file-icon[data-v-c01a6890]{height:1rem}.file-icon[data-v-7c381064]{position:relative;align-items:flex-end;height:24px;margin:0 .5rem 0 1rem}.filename[data-v-c8c40662]{color:var(--text,var(--colors-secondary-label,var(--color-secondary-label)));font-size:.9411764706rem;line-height:1.1875;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);margin-top:1rem}@media only screen and (max-width:735px){.filename[data-v-c8c40662]{font-size:.8235294118rem;line-height:1.4285714286;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);margin-top:0}}.filename>a[data-v-c8c40662],.filename>span[data-v-c8c40662]{display:flex;align-items:center;line-height:normal}a[data-v-c8c40662]{color:var(--url,var(--color-link))}.code-line-container[data-v-13e6923e]{display:inline-block;width:100%;box-sizing:border-box}.code-number[data-v-13e6923e]{display:inline-block;padding:0 1rem 0 8px;text-align:right;min-width:2em;color:#666;-webkit-user-select:none;-moz-user-select:none;user-select:none}.code-number[data-v-13e6923e]:before{content:attr(data-line-number)}.highlighted[data-v-13e6923e]{background:var(--line-highlight,var(--color-code-line-highlight));border-left:4px solid var(--color-code-line-highlight-border)}.highlighted .code-number[data-v-13e6923e]{padding-left:4px}pre[data-v-13e6923e]{padding:14px 0;display:flex;overflow:unset;-webkit-overflow-scrolling:touch;white-space:pre;word-wrap:normal;height:100%;-moz-tab-size:var(--code-indentationWidth,4);-o-tab-size:var(--code-indentationWidth,4);tab-size:var(--code-indentationWidth,4)}@media only screen and (max-width:735px){pre[data-v-13e6923e]{padding-top:.8235294118rem}}code[data-v-13e6923e]{white-space:pre;word-wrap:normal;flex-grow:9999}.code-listing[data-v-13e6923e],.container-general[data-v-13e6923e]{display:flex}.code-listing[data-v-13e6923e]{flex-direction:column;border-radius:var(--code-border-radius,var(--border-radius,4px));overflow:hidden;filter:blur(0)}.code-listing.single-line[data-v-13e6923e]{border-radius:var(--border-radius,4px)}.container-general[data-v-13e6923e]{overflow:auto}.container-general[data-v-13e6923e],pre[data-v-13e6923e]{flex-grow:1}.header-anchor[data-v-24fddf6a]{color:inherit;text-decoration:none;position:relative;padding-right:23px;display:inline-block}.header-anchor[data-v-24fddf6a]:after{position:absolute;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(0 0 99.9% 99.9%);clip-path:inset(0 0 99.9% 99.9%);overflow:hidden;height:1px;width:1px;padding:0;border:0;content:attr(data-after-text)}.header-anchor .icon[data-v-24fddf6a]{position:absolute;right:0;bottom:.2em;display:none;height:16px;margin-left:7px}.header-anchor:focus .icon[data-v-24fddf6a],.header-anchor:hover .icon[data-v-24fddf6a]{display:inline}code[data-v-05f4a5b7]{speak-punctuation:code}.container-general[data-v-25a17a0e]{display:flex;flex-flow:row wrap}.container-general .code-line[data-v-25a17a0e]{flex:1 0 auto}.code-line-container[data-v-25a17a0e]{width:100%;align-items:center;display:flex;border-left:4px solid transparent;counter-increment:linenumbers;padding-right:14px}.code-number[data-v-25a17a0e]{font-size:.7058823529rem;line-height:1.5;font-weight:400;font-family:var(--typography-html-font-mono,Menlo,monospace);padding:0 1rem 0 8px;text-align:right;min-width:2.01em;-webkit-user-select:none;-moz-user-select:none;user-select:none}.code-number[data-v-25a17a0e]:before{content:counter(linenumbers)}.code-line[data-v-25a17a0e]{display:flex}pre[data-v-25a17a0e]{padding:14px 0;display:flex;flex-flow:row wrap;overflow:auto;-webkit-overflow-scrolling:touch;white-space:pre;word-wrap:normal}@media only screen and (max-width:735px){pre[data-v-25a17a0e]{padding-top:.8235294118rem}}.collapsible-code-listing[data-v-25a17a0e]{background:var(--background,var(--color-code-background));border-color:var(--colors-grid,var(--color-grid));color:var(--text,var(--color-code-plain));border-radius:var(--border-radius,4px);border-style:solid;border-width:1px;counter-reset:linenumbers;font-size:15px}.collapsible-code-listing.single-line[data-v-25a17a0e]{border-radius:var(--border-radius,4px)}.collapsible[data-v-25a17a0e]{background:var(--color-code-collapsible-background);color:var(--color-code-collapsible-text)}.collapsed[data-v-25a17a0e]:before{content:"⋯";display:inline-block;font-family:monospace;font-weight:700;height:100%;line-height:1;text-align:right;width:2.3rem}.collapsed .code-line-container[data-v-25a17a0e]{height:0;visibility:hidden}.row[data-v-be73599c]{box-sizing:border-box;display:flex;flex-flow:row wrap}.col[data-v-2ee3ad8b]{box-sizing:border-box;flex:none}.xlarge-1[data-v-2ee3ad8b]{flex-basis:8.3333333333%;max-width:8.3333333333%}.xlarge-2[data-v-2ee3ad8b]{flex-basis:16.6666666667%;max-width:16.6666666667%}.xlarge-3[data-v-2ee3ad8b]{flex-basis:25%;max-width:25%}.xlarge-4[data-v-2ee3ad8b]{flex-basis:33.3333333333%;max-width:33.3333333333%}.xlarge-5[data-v-2ee3ad8b]{flex-basis:41.6666666667%;max-width:41.6666666667%}.xlarge-6[data-v-2ee3ad8b]{flex-basis:50%;max-width:50%}.xlarge-7[data-v-2ee3ad8b]{flex-basis:58.3333333333%;max-width:58.3333333333%}.xlarge-8[data-v-2ee3ad8b]{flex-basis:66.6666666667%;max-width:66.6666666667%}.xlarge-9[data-v-2ee3ad8b]{flex-basis:75%;max-width:75%}.xlarge-10[data-v-2ee3ad8b]{flex-basis:83.3333333333%;max-width:83.3333333333%}.xlarge-11[data-v-2ee3ad8b]{flex-basis:91.6666666667%;max-width:91.6666666667%}.xlarge-12[data-v-2ee3ad8b]{flex-basis:100%;max-width:100%}.xlarge-centered[data-v-2ee3ad8b]{margin-left:auto;margin-right:auto}.xlarge-uncentered[data-v-2ee3ad8b]{margin-left:0;margin-right:0}.large-1[data-v-2ee3ad8b]{flex-basis:8.3333333333%;max-width:8.3333333333%}.large-2[data-v-2ee3ad8b]{flex-basis:16.6666666667%;max-width:16.6666666667%}.large-3[data-v-2ee3ad8b]{flex-basis:25%;max-width:25%}.large-4[data-v-2ee3ad8b]{flex-basis:33.3333333333%;max-width:33.3333333333%}.large-5[data-v-2ee3ad8b]{flex-basis:41.6666666667%;max-width:41.6666666667%}.large-6[data-v-2ee3ad8b]{flex-basis:50%;max-width:50%}.large-7[data-v-2ee3ad8b]{flex-basis:58.3333333333%;max-width:58.3333333333%}.large-8[data-v-2ee3ad8b]{flex-basis:66.6666666667%;max-width:66.6666666667%}.large-9[data-v-2ee3ad8b]{flex-basis:75%;max-width:75%}.large-10[data-v-2ee3ad8b]{flex-basis:83.3333333333%;max-width:83.3333333333%}.large-11[data-v-2ee3ad8b]{flex-basis:91.6666666667%;max-width:91.6666666667%}.large-12[data-v-2ee3ad8b]{flex-basis:100%;max-width:100%}.large-centered[data-v-2ee3ad8b]{margin-left:auto;margin-right:auto}.large-uncentered[data-v-2ee3ad8b]{margin-left:0;margin-right:0}@media only screen and (max-width:1250px){.medium-1[data-v-2ee3ad8b]{flex-basis:8.3333333333%;max-width:8.3333333333%}.medium-2[data-v-2ee3ad8b]{flex-basis:16.6666666667%;max-width:16.6666666667%}.medium-3[data-v-2ee3ad8b]{flex-basis:25%;max-width:25%}.medium-4[data-v-2ee3ad8b]{flex-basis:33.3333333333%;max-width:33.3333333333%}.medium-5[data-v-2ee3ad8b]{flex-basis:41.6666666667%;max-width:41.6666666667%}.medium-6[data-v-2ee3ad8b]{flex-basis:50%;max-width:50%}.medium-7[data-v-2ee3ad8b]{flex-basis:58.3333333333%;max-width:58.3333333333%}.medium-8[data-v-2ee3ad8b]{flex-basis:66.6666666667%;max-width:66.6666666667%}.medium-9[data-v-2ee3ad8b]{flex-basis:75%;max-width:75%}.medium-10[data-v-2ee3ad8b]{flex-basis:83.3333333333%;max-width:83.3333333333%}.medium-11[data-v-2ee3ad8b]{flex-basis:91.6666666667%;max-width:91.6666666667%}.medium-12[data-v-2ee3ad8b]{flex-basis:100%;max-width:100%}.medium-centered[data-v-2ee3ad8b]{margin-left:auto;margin-right:auto}.medium-uncentered[data-v-2ee3ad8b]{margin-left:0;margin-right:0}}@media only screen and (max-width:735px){.small-1[data-v-2ee3ad8b]{flex-basis:8.3333333333%;max-width:8.3333333333%}.small-2[data-v-2ee3ad8b]{flex-basis:16.6666666667%;max-width:16.6666666667%}.small-3[data-v-2ee3ad8b]{flex-basis:25%;max-width:25%}.small-4[data-v-2ee3ad8b]{flex-basis:33.3333333333%;max-width:33.3333333333%}.small-5[data-v-2ee3ad8b]{flex-basis:41.6666666667%;max-width:41.6666666667%}.small-6[data-v-2ee3ad8b]{flex-basis:50%;max-width:50%}.small-7[data-v-2ee3ad8b]{flex-basis:58.3333333333%;max-width:58.3333333333%}.small-8[data-v-2ee3ad8b]{flex-basis:66.6666666667%;max-width:66.6666666667%}.small-9[data-v-2ee3ad8b]{flex-basis:75%;max-width:75%}.small-10[data-v-2ee3ad8b]{flex-basis:83.3333333333%;max-width:83.3333333333%}.small-11[data-v-2ee3ad8b]{flex-basis:91.6666666667%;max-width:91.6666666667%}.small-12[data-v-2ee3ad8b]{flex-basis:100%;max-width:100%}.small-centered[data-v-2ee3ad8b]{margin-left:auto;margin-right:auto}.small-uncentered[data-v-2ee3ad8b]{margin-left:0;margin-right:0}}@media only screen and (max-width:320px){.xsmall-1[data-v-2ee3ad8b]{flex-basis:8.3333333333%;max-width:8.3333333333%}.xsmall-2[data-v-2ee3ad8b]{flex-basis:16.6666666667%;max-width:16.6666666667%}.xsmall-3[data-v-2ee3ad8b]{flex-basis:25%;max-width:25%}.xsmall-4[data-v-2ee3ad8b]{flex-basis:33.3333333333%;max-width:33.3333333333%}.xsmall-5[data-v-2ee3ad8b]{flex-basis:41.6666666667%;max-width:41.6666666667%}.xsmall-6[data-v-2ee3ad8b]{flex-basis:50%;max-width:50%}.xsmall-7[data-v-2ee3ad8b]{flex-basis:58.3333333333%;max-width:58.3333333333%}.xsmall-8[data-v-2ee3ad8b]{flex-basis:66.6666666667%;max-width:66.6666666667%}.xsmall-9[data-v-2ee3ad8b]{flex-basis:75%;max-width:75%}.xsmall-10[data-v-2ee3ad8b]{flex-basis:83.3333333333%;max-width:83.3333333333%}.xsmall-11[data-v-2ee3ad8b]{flex-basis:91.6666666667%;max-width:91.6666666667%}.xsmall-12[data-v-2ee3ad8b]{flex-basis:100%;max-width:100%}.xsmall-centered[data-v-2ee3ad8b]{margin-left:auto;margin-right:auto}.xsmall-uncentered[data-v-2ee3ad8b]{margin-left:0;margin-right:0}}.tabnav[data-v-5572fe1d]{margin:0 0 1.4705882353rem 0;display:flex}.tabnav--center[data-v-5572fe1d]{justify-content:center}.tabnav--end[data-v-5572fe1d]{justify-content:flex-end}.tabnav--vertical[data-v-5572fe1d]{flex-flow:column wrap}.tabnav--vertical .tabnav-items[data-v-5572fe1d]{flex-flow:column;overflow:hidden}.tabnav--vertical[data-v-5572fe1d] .tabnav-item{padding-left:0}.tabnav--vertical[data-v-5572fe1d] .tabnav-item .tabnav-link{padding-top:8px}.tabnav-items[data-v-5572fe1d]{display:flex;margin:0;text-align:center}.tabnav-item[data-v-6aa9882a]{border-bottom:1px solid;border-color:var(--colors-tabnav-item-border-color,var(--color-tabnav-item-border-color));display:flex;list-style:none;padding-left:1.7647058824rem;margin:0;outline:none}.tabnav-item[data-v-6aa9882a]:first-child{padding-left:0}.tabnav-item[data-v-6aa9882a]:nth-child(n+1){margin:0}.tabnav-link[data-v-6aa9882a]{color:var(--colors-secondary-label,var(--color-secondary-label));font-size:.8235294118rem;line-height:1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);padding:6px 0;margin-top:4px;margin-bottom:4px;text-align:left;text-decoration:none;display:block;position:relative;z-index:0;width:100%}.tabnav-link[data-v-6aa9882a]:hover{text-decoration:none}.tabnav-link[data-v-6aa9882a]:focus{outline-offset:-1px}.tabnav-link[data-v-6aa9882a]:after{content:"";position:absolute;bottom:-5px;left:0;width:100%;border:1px solid transparent}.tabnav-link.active[data-v-6aa9882a]{color:var(--colors-text,var(--color-text));cursor:default;z-index:10}.tabnav-link.active[data-v-6aa9882a]:after{border-bottom-color:var(--colors-text,var(--color-text))}.controls[data-v-c84e62a6]{margin-top:5px;font-size:14px;display:flex;justify-content:flex-end}.controls a[data-v-c84e62a6]{color:var(--colors-text,var(--color-text));display:flex;align-items:center}.controls .control-icon[data-v-c84e62a6]{width:1.05em;margin-right:.3em}.caption[data-v-869c6f6e]{font-size:.8235294118rem;line-height:1.5;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);margin:0 0 var(--spacing-stacked-margin-large) 0}.caption.trailing[data-v-869c6f6e]{margin:var(--spacing-stacked-margin-large) 0 0 0;text-align:center}caption.trailing[data-v-869c6f6e]{caption-side:bottom}[data-v-869c6f6e] p{display:inline-block}[data-v-bf997940] img{max-width:100%}.table-wrapper[data-v-f3322390]{overflow:auto;-webkit-overflow-scrolling:touch}*+.table-wrapper[data-v-f3322390],.table-wrapper[data-v-f3322390]+*{margin-top:var(--spacing-stacked-margin-xlarge)}table[data-v-f3322390]{border-style:hidden}[data-v-f3322390] th{font-weight:600;word-break:keep-all;-webkit-hyphens:auto;hyphens:auto}[data-v-f3322390] td,[data-v-f3322390] th{border-color:var(--color-fill-gray-tertiary);border-style:solid;border-width:var(--table-border-width,1px 1px);padding:.5882352941rem}[data-v-f3322390] td.left-cell,[data-v-f3322390] th.left-cell{text-align:left}[data-v-f3322390] td.right-cell,[data-v-f3322390] th.right-cell{text-align:right}[data-v-f3322390] td.center-cell,[data-v-f3322390] th.center-cell{text-align:center}s[data-v-7fc51673]:before{content:attr(data-before-text)}s[data-v-7fc51673]:after{content:attr(data-after-text)}s[data-v-7fc51673]:after,s[data-v-7fc51673]:before{position:absolute;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(0 0 99.9% 99.9%);clip-path:inset(0 0 99.9% 99.9%);overflow:hidden;height:1px;width:1px;padding:0;border:0}small[data-v-77035f61]{font-size:.8235294118rem;line-height:1.2857142857;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-figure-gray)}.device-frame[data-v-c2eac128]{position:relative;width:var(--frame-width);aspect-ratio:var(--frame-aspect);max-width:100%;margin-left:auto;margin-right:auto;overflow:hidden}*+.device-frame[data-v-c2eac128],.device-frame[data-v-c2eac128]+*{margin-top:40px}.device[data-v-c2eac128]{background-image:var(--device-light-url);background-repeat:no-repeat;background-size:100%;width:100%;height:100%;position:relative;pointer-events:none}@media screen{[data-color-scheme=dark] .device[data-v-c2eac128]{background-image:var(--device-dark-url,var(--device-light-url))}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .device[data-v-c2eac128]{background-image:var(--device-dark-url,var(--device-light-url))}}.no-device .device[data-v-c2eac128]{display:none}.device-screen.with-device[data-v-c2eac128]{position:absolute;left:var(--screen-left);top:var(--screen-top);height:var(--screen-height);width:var(--screen-width);display:flex}.device-screen.with-device>[data-v-c2eac128]{flex:1}.device-screen.with-device[data-v-c2eac128] img{width:100%;height:100%;-o-object-fit:contain;object-fit:contain;-o-object-position:top;object-position:top;margin:0}.device-screen.with-device[data-v-c2eac128] video{-o-object-fit:contain;object-fit:contain;-o-object-position:top;object-position:top;width:100%;height:auto}.video-replay-container .control-button[data-v-05855a6c]{display:flex;align-items:center;justify-content:center;cursor:pointer;margin-top:.5rem;-webkit-tap-highlight-color:rgba(0,0,0,0)}.video-replay-container .control-button svg.control-icon[data-v-05855a6c]{height:12px;width:12px;margin-left:.3em}[data-v-6ab0b718] img,[data-v-6ab0b718] video{display:block;margin-left:auto;margin-right:auto;-o-object-fit:contain;object-fit:contain;max-width:100%}.asset[data-v-4f18340d]{margin-left:auto;margin-right:auto}*+.asset[data-v-4f18340d],.asset[data-v-4f18340d]+*{margin-top:var(--spacing-stacked-margin-xlarge)}[data-v-4f18340d] video{display:block;margin-left:auto;margin-right:auto;-o-object-fit:contain;object-fit:contain;max-width:100%}.column[data-v-0f654188]{grid-column:span var(--col-span);min-width:0}@media only screen and (max-width:735px){.column[data-v-0f654188]{grid-column:span 1}}.row[data-v-1bcb2d0f]{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;grid-gap:var(--col-gap,20px)}@media only screen and (max-width:735px){.row[data-v-1bcb2d0f]{grid-template-columns:1fr;grid-auto-flow:row}}.row.with-columns[data-v-1bcb2d0f]{--col-count:var(--col-count-large);grid-template-columns:repeat(var(--col-count),1fr);grid-auto-flow:row}@media only screen and (max-width:1250px){.row.with-columns[data-v-1bcb2d0f]{--col-count:var(--col-count-medium,var(--col-count-large))}}@media only screen and (max-width:735px){.row.with-columns[data-v-1bcb2d0f]{--col-count:var(--col-count-small)}}*+.TabNavigator[data-v-e671a734],*+.row[data-v-1bcb2d0f],.TabNavigator[data-v-e671a734]+*,.row[data-v-1bcb2d0f]+*{margin-top:var(--spacing-stacked-margin-xlarge)}.TabNavigator .tabnav[data-v-e671a734]{overflow:auto;white-space:nowrap}.TabNavigator .tabs-content-container[data-v-e671a734]{position:relative;overflow:hidden}.tabs--vertical[data-v-e671a734]{display:flex;flex-flow:row-reverse}@media only screen and (max-width:735px){.tabs--vertical[data-v-e671a734]{flex-flow:column-reverse}}.tabs--vertical .tabnav[data-v-e671a734]{width:30%;flex:0 0 auto;white-space:normal;margin:0}@media only screen and (max-width:735px){.tabs--vertical .tabnav[data-v-e671a734]{width:100%}}.tabs--vertical .tabs-content[data-v-e671a734]{flex:1 1 auto;min-width:0;padding-right:var(--spacing-stacked-margin-xlarge)}@media only screen and (max-width:735px){.tabs--vertical .tabs-content[data-v-e671a734]{padding-right:0;padding-bottom:var(--spacing-stacked-margin-large)}}.fade-enter-active[data-v-e671a734],.fade-leave-active[data-v-e671a734]{transition:opacity .2s ease-in-out}.fade-enter[data-v-e671a734],.fade-leave-to[data-v-e671a734]{opacity:0}.fade-leave-active[data-v-e671a734]{position:absolute;top:0;left:0;right:0}.tasklist[data-v-6a56a858]{--checkbox-width:1rem;--indent-width:calc(var(--checkbox-width)/2);--content-margin:var(--indent-width);list-style-type:none;margin-left:var(--indent-width)}p[data-v-6a56a858]{margin-left:var(--content-margin)}p[data-v-6a56a858]:only-child{--content-margin:calc(var(--checkbox-width) + var(--indent-width))}input[type=checkbox]+p[data-v-6a56a858]{display:inline-block}.pager-control[data-v-470ad89c]{align-items:center;background:var(--control-color-fill,var(--color-fill));border:1px solid var(--control-color-fill,var(--color-grid));border-radius:50%;display:flex;height:var(--control-size,1rem);justify-content:center;opacity:1;transition:opacity .15s ease-in-out;width:var(--control-size,1rem)}.pager-control[disabled][data-v-470ad89c]{opacity:.6}@media only screen and (min-width:1251px){.pager-control[disabled][data-v-470ad89c]{opacity:0}}.icon[data-v-470ad89c]{height:var(--control-icon-size,50%);width:var(--control-icon-size,50%)}.pager-control.next .icon[data-v-470ad89c]{transform:scale(1)}.pager-control.previous .icon[data-v-470ad89c]{transform:scaleX(-1)}.pager[data-v-3d4388b7]{--control-size:3em;--control-color-fill:var(--color-fill-tertiary);--control-color-figure:currentColor;--indicator-size:0.65em;--indicator-color-fill-active:currentColor;--indicator-color-fill-inactive:var(--color-fill-tertiary);--color-svg-icon:currentColor;--gutter-width:80px}.viewport[data-v-3d4388b7]{display:flex;overflow-x:auto;scroll-behavior:smooth;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch}.viewport[data-v-3d4388b7]::-webkit-scrollbar{height:0;width:0}.container[data-v-3d4388b7]{position:relative}.gutter[data-v-3d4388b7]{align-items:center;display:flex;justify-content:center;position:absolute;height:100%;top:0;width:var(--gutter-width);z-index:42}@media only screen and (max-width:1250px){.gutter[data-v-3d4388b7]{display:none}}.gutter.left[data-v-3d4388b7]{left:calc(var(--gutter-width)*-1)}.gutter.right[data-v-3d4388b7]{right:calc(var(--gutter-width)*-1)}.page[data-v-3d4388b7]{flex-shrink:0;margin-right:var(--gutter-width);position:relative;scroll-snap-align:start;transform:scale(1);transform-origin:center center;transition:transform .5s ease-in-out;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%}@media(prefers-reduced-motion){.page[data-v-3d4388b7]{transition:none}}.page.active[data-v-3d4388b7]{-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.gutter .pager-control[data-v-3d4388b7]{margin-top:calc(var(--control-size)*-1)}.indicators[data-v-3d4388b7]{display:flex;flex-wrap:wrap;gap:1em;justify-content:center;margin-top:1rem}@media only screen and (max-width:1250px){.indicators[data-v-3d4388b7]{display:none}}.indicator[data-v-3d4388b7]{background:var(--indicator-color-fill-inactive);border:1px solid var(--indicator-color-fill-inactive);border-radius:50%;color:currentColor;display:block;flex:0 0 auto;height:var(--indicator-size);width:var(--indicator-size)}.indicator.active[data-v-3d4388b7]{background:var(--indicator-color-fill-active);border-color:var(--indicator-color-fill-active)}.compact-controls[data-v-3d4388b7]{display:none}@media only screen and (max-width:1250px){.compact-controls[data-v-3d4388b7]{display:flex;gap:1em;justify-content:flex-end}}.button-cta[data-v-c9c81868]{background:var(--colors-button-light-background,var(--color-button-background));border-color:var(--color-button-border,currentcolor);border-radius:var(--button-border-radius,var(--border-radius,4px));border-style:var(--button-border-style,none);border-width:var(--button-border-width,medium);color:var(--colors-button-text,var(--color-button-text));cursor:pointer;min-width:1.7647058824rem;padding:.2352941176rem .8823529412rem;text-align:center;white-space:nowrap;display:inline-block;font-size:1rem;line-height:1.4705882353;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.button-cta[data-v-c9c81868]:active{background:var(--colors-button-light-backgroundActive,var(--color-button-background-active));outline:none}.button-cta[data-v-c9c81868]:hover:not([disabled]){background:var(--colors-button-light-backgroundHover,var(--color-button-background-hover));text-decoration:none}.button-cta[data-v-c9c81868]:disabled{opacity:.32;cursor:default}.fromkeyboard .button-cta[data-v-c9c81868]:focus{box-shadow:0 0 0 4px var(--color-focus-color);outline:none}.button-cta.is-dark[data-v-c9c81868]{background:var(--colors-button-dark-background,#06f)}.button-cta.is-dark[data-v-c9c81868]:active{background:var(--colors-button-dark-backgroundActive,var(--color-button-background-active))}.button-cta.is-dark[data-v-c9c81868]:hover:not([disabled]){background:var(--colors-button-dark-backgroundHover,var(--color-button-background-hover))}.card-cover-wrap.rounded[data-v-28b14a83]{border-radius:var(--border-radius,4px);overflow:hidden}.card-cover[data-v-28b14a83]{background-color:var(--color-card-background);display:block;height:var(--card-cover-height,180px)}.card-cover.fallback[data-v-28b14a83],.card-cover[data-v-28b14a83] img{width:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;display:block;margin:0}.card-cover[data-v-28b14a83] img{height:100%}.card[data-v-5f68def4]{overflow:hidden;display:block;transition:box-shadow,transform .16s ease-out;will-change:box-shadow,transform;backface-visibility:hidden;height:var(--card-height);border-radius:var(--border-radius,4px)}.card[data-v-5f68def4]:hover{text-decoration:none}.card:hover .link[data-v-5f68def4]{text-decoration:underline}.card[data-v-5f68def4]:hover{box-shadow:0 5px 10px var(--color-card-shadow);transform:scale(1.007)}@media(prefers-reduced-motion:reduce){.card[data-v-5f68def4]:hover{box-shadow:none;transform:none}}.card.small[data-v-5f68def4]{--card-height:408px;--card-details-height:139px;--card-cover-height:235px}@media only screen and (max-width:1250px){.card.small[data-v-5f68def4]{--card-height:341px;--card-details-height:144px;--card-cover-height:163px}}.card.large[data-v-5f68def4]{--card-height:556px;--card-details-height:163px;--card-cover-height:359px}@media only screen and (max-width:1250px){.card.large[data-v-5f68def4]{--card-height:420px;--card-details-height:137px;--card-cover-height:249px}}.card.floating-style[data-v-5f68def4]{--color-card-shadow:transparent;--card-height:auto;--card-details-height:auto}.details[data-v-5f68def4]{background-color:var(--color-card-background);padding:17px;position:relative;height:var(--card-details-height);font-size:.8235294118rem;line-height:1.2857142857}.details[data-v-5f68def4],.large .details[data-v-5f68def4]{font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.large .details[data-v-5f68def4]{font-size:1rem;line-height:1.4705882353}@media only screen and (max-width:1250px){.large .details[data-v-5f68def4]{font-size:.8235294118rem;line-height:1.2857142857;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.floating-style .details[data-v-5f68def4]{--color-card-background:transparent;padding:17px 0}.eyebrow[data-v-5f68def4]{color:var(--color-card-eyebrow);display:block;margin-bottom:4px;font-size:.8235294118rem;line-height:1.2857142857}.eyebrow[data-v-5f68def4],.large .eyebrow[data-v-5f68def4]{font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.large .eyebrow[data-v-5f68def4]{font-size:1rem;line-height:1.2352941176}@media only screen and (max-width:1250px){.large .eyebrow[data-v-5f68def4]{font-size:.8235294118rem;line-height:1.2857142857;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.title[data-v-5f68def4]{color:var(--color-card-content-text);font-size:1rem;line-height:1.2352941176;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){.title[data-v-5f68def4]{font-size:.8235294118rem;line-height:1.2857142857;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.title[data-v-5f68def4]{font-size:1rem;line-height:1.2352941176;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.large .title[data-v-5f68def4]{font-size:1.2352941176rem;line-height:1.1904761905;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){.large .title[data-v-5f68def4]{font-size:1rem;line-height:1.2352941176;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.card-content[data-v-5f68def4]{color:var(--color-card-content-text);margin-top:4px}.link[data-v-5f68def4]{bottom:17px;display:flex;align-items:center;position:absolute}.link .link-icon[data-v-5f68def4]{height:.6em;width:.6em;margin-left:.3em}.floating-style .link[data-v-5f68def4]{bottom:unset;margin-top:var(--spacing-stacked-margin-large);position:relative}@media only screen and (max-width:735px){.card[data-v-5f68def4]{margin-left:auto;margin-right:auto}.card+.card[data-v-5f68def4]{margin-bottom:20px;margin-top:20px}.card.large[data-v-5f68def4],.card.small[data-v-5f68def4]{--card-height:auto;--card-details-height:auto;min-width:280px;max-width:300px;--card-cover-height:227px}.card.large .link[data-v-5f68def4],.card.small .link[data-v-5f68def4]{bottom:unset;margin-top:7px;position:relative}}.nav-menu-items[data-v-a101abb4]{display:flex;justify-content:flex-end}.nav--in-breakpoint-range .nav-menu-items[data-v-a101abb4]{display:block;opacity:0;padding:1rem 1.8823529412rem 1.6470588235rem 1.8823529412rem;transform:translate3d(0,-50px,0);transition:transform 1s cubic-bezier(.07,1.06,.27,.95) .5s,opacity .7s cubic-bezier(.07,1.06,.27,.95) .2s}.nav--is-open.nav--in-breakpoint-range .nav-menu-items[data-v-a101abb4]{opacity:1;transform:translateZ(0);transition-delay:.2s,.4s}.nav--in-breakpoint-range .nav-menu-items[data-v-a101abb4]:not(:only-child):not(:last-child){padding-bottom:0}.nav--in-breakpoint-range .nav-menu-items[data-v-a101abb4]:not(:only-child):last-child{padding-top:0}.TopicTypeIcon[data-v-0a6f037f]{width:1em;height:1em;flex:0 0 auto;color:var(--icon-color,var(--color-figure-gray-secondary))}.TopicTypeIcon[data-v-0a6f037f] picture{flex:1}.TopicTypeIcon svg[data-v-0a6f037f],.TopicTypeIcon[data-v-0a6f037f] img{display:block;width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.reference-card-grid-item[data-v-87dd3302]{--card-cover-height:auto}.reference-card-grid-item.card.large[data-v-87dd3302]{--card-cover-height:auto;min-width:0;max-width:none}.reference-card-grid-item[data-v-87dd3302] .card-cover{aspect-ratio:16/9}.reference-card-grid-item[data-v-87dd3302] .card-cover-wrap{border:1px solid var(--color-link-block-card-border)}.reference-card-grid-item__image[data-v-87dd3302]{display:flex;align-items:center;justify-content:center;font-size:80px;background-color:var(--color-fill-gray-quaternary)}.reference-card-grid-item__icon[data-v-87dd3302]{margin:0;display:flex;justify-content:center}.reference-card-grid-item__icon[data-v-87dd3302] .icon-inline{flex:1 1 auto}.nav[data-v-7169e69d]{position:sticky;top:0;width:100%;height:3.0588235294rem;z-index:9997;--nav-padding:1.2941176471rem;color:var(--color-nav-color)}@media print{.nav[data-v-7169e69d]{position:relative}}@media only screen and (max-width:767px){.nav[data-v-7169e69d]{--nav-padding:0.9411764706rem;min-width:320px;height:2.8235294118rem}}.theme-dark.nav[data-v-7169e69d]{background:none;color:var(--color-nav-dark-color)}.nav__wrapper[data-v-7169e69d]{position:absolute;top:0;left:0;width:100%;height:auto;min-height:100%;z-index:1}.nav__background[data-v-7169e69d]{position:absolute;left:0;top:0;width:100%;height:100%;z-index:1;transition:background-color 0s ease-in}.nav__background[data-v-7169e69d]:after{background-color:var(--color-nav-keyline)}.nav--no-bg-transition .nav__background[data-v-7169e69d]{transition:none!important}.nav--solid-background .nav__background[data-v-7169e69d]{background-color:var(--color-nav-solid-background);-webkit-backdrop-filter:none;backdrop-filter:none}.nav--is-open.nav--solid-background .nav__background[data-v-7169e69d],.nav--is-sticking.nav--solid-background .nav__background[data-v-7169e69d]{background-color:var(--color-nav-solid-background)}.nav--is-open.theme-dark.nav--solid-background .nav__background[data-v-7169e69d],.nav--is-sticking.theme-dark.nav--solid-background .nav__background[data-v-7169e69d],.theme-dark.nav--solid-background .nav__background[data-v-7169e69d]{background-color:var(--color-nav-dark-solid-background)}.nav--in-breakpoint-range .nav__background[data-v-7169e69d]{min-height:2.8235294118rem;transition:background-color 0s ease .7s}.nav--is-sticking .nav__background[data-v-7169e69d]{background-color:var(--color-nav-expanded);max-height:none;transition:background-color 0s ease;transition-property:background-color,-webkit-backdrop-filter;transition-property:background-color,backdrop-filter;transition-property:background-color,backdrop-filter,-webkit-backdrop-filter}.nav--is-sticking .nav__background[data-v-7169e69d]:after{background-color:var(--color-nav-sticking-expanded-keyline)}@supports((-webkit-backdrop-filter:initial) or (backdrop-filter:initial)){.nav--is-sticking .nav__background[data-v-7169e69d]{-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);background-color:var(--color-nav-uiblur-stuck)}}.theme-dark.nav--is-sticking .nav__background[data-v-7169e69d]{background-color:var(--color-nav-dark-stuck)}@supports((-webkit-backdrop-filter:initial) or (backdrop-filter:initial)){.theme-dark.nav--is-sticking .nav__background[data-v-7169e69d]{background-color:var(--color-nav-dark-uiblur-stuck)}}.nav--is-open .nav__background[data-v-7169e69d]{background-color:var(--color-nav-expanded);max-height:none;transition:background-color 0s ease;transition-property:background-color,-webkit-backdrop-filter;transition-property:background-color,backdrop-filter;transition-property:background-color,backdrop-filter,-webkit-backdrop-filter}.nav--is-open .nav__background[data-v-7169e69d]:after{background-color:var(--color-nav-sticking-expanded-keyline)}@supports((-webkit-backdrop-filter:initial) or (backdrop-filter:initial)){.nav--is-open .nav__background[data-v-7169e69d]{-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);background-color:var(--color-nav-uiblur-expanded)}}.theme-dark.nav--is-open .nav__background[data-v-7169e69d]{background-color:var(--color-nav-dark-expanded)}@supports((-webkit-backdrop-filter:initial) or (backdrop-filter:initial)){.theme-dark.nav--is-open .nav__background[data-v-7169e69d]{background-color:var(--color-nav-dark-uiblur-expanded)}}.theme-dark .nav__background[data-v-7169e69d]:after{background-color:var(--color-nav-dark-keyline)}.nav--is-open.theme-dark .nav__background[data-v-7169e69d]:after,.nav--is-sticking.theme-dark .nav__background[data-v-7169e69d]:after{background-color:var(--color-nav-dark-sticking-expanded-keyline)}.nav__background[data-v-7169e69d]:after{content:"";display:block;position:absolute;bottom:0;left:50%;transform:translateX(-50%);width:980px;height:1px;z-index:1}@media only screen and (max-width:1023px){.nav__background[data-v-7169e69d]:after{width:100%}}.nav--noborder .nav__background[data-v-7169e69d]:after{display:none}.nav--is-sticking.nav--noborder .nav__background[data-v-7169e69d]:after{display:block}.nav--fullwidth-border .nav__background[data-v-7169e69d]:after,.nav--is-open .nav__background[data-v-7169e69d]:after,.nav--is-sticking .nav__background[data-v-7169e69d]:after,.nav--solid-background .nav__background[data-v-7169e69d]:after{width:100%}.nav-overlay[data-v-7169e69d]{position:fixed;left:0;right:0;top:0;display:block;opacity:0}.nav--is-open .nav-overlay[data-v-7169e69d]{background-color:rgba(51,51,51,.4);transition:opacity .7s cubic-bezier(.07,1.06,.27,.95) .2s;bottom:0;opacity:1}.nav-wrapper[data-v-7169e69d]{position:absolute;top:0;left:0;width:100%;height:auto;min-height:100%;z-index:1}.pre-title[data-v-7169e69d]{display:flex}.nav-content[data-v-7169e69d]{display:flex;padding:0 var(--nav-padding);max-width:980px;margin:0 auto;position:relative;z-index:2;justify-content:space-between}.nav--is-wide-format .nav-content[data-v-7169e69d]{box-sizing:border-box;max-width:1920px;margin-left:auto;margin-right:auto}@supports(padding:calc(max(0px))){.nav-content[data-v-7169e69d]{padding-left:max(var(--nav-padding),env(safe-area-inset-left));padding-right:max(var(--nav-padding),env(safe-area-inset-right))}}.nav--in-breakpoint-range .nav-content[data-v-7169e69d]{display:grid;grid-template-columns:auto 1fr auto;grid-auto-rows:minmax(min-content,max-content);grid-template-areas:"pre-title title actions" "menu menu menu"}.nav-menu[data-v-7169e69d]{font-size:.7058823529rem;line-height:1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);flex:1 1 auto;display:flex;justify-content:flex-end;min-width:0}@media only screen and (max-width:767px){.nav-menu[data-v-7169e69d]{font-size:.8235294118rem;line-height:1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.nav--in-breakpoint-range .nav-menu[data-v-7169e69d]{font-size:.8235294118rem;line-height:1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);grid-area:menu}.nav-menu-tray[data-v-7169e69d]{align-items:center;display:flex;justify-content:space-between}.nav--in-breakpoint-range .nav-menu-tray[data-v-7169e69d]{display:block;overflow:hidden;pointer-events:none;visibility:hidden;max-height:0;transition:max-height .4s ease-in 0s,visibility 0s linear 1s;width:100%}.nav--is-open.nav--in-breakpoint-range .nav-menu-tray[data-v-7169e69d]{max-height:calc(100vh - 5.64706rem);overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:auto;visibility:visible;transition-delay:.2s,0s}.nav--is-transitioning.nav--is-open.nav--in-breakpoint-range .nav-menu-tray[data-v-7169e69d]{overflow-y:hidden}.nav--is-sticking.nav--is-open.nav--in-breakpoint-range .nav-menu-tray[data-v-7169e69d]{max-height:calc(100vh - 2.82353rem)}.nav-actions[data-v-7169e69d]{display:flex;align-items:center}.nav--in-breakpoint-range .nav-actions[data-v-7169e69d]{grid-area:actions;justify-content:flex-end}.nav--in-breakpoint-range .pre-title+.nav-title[data-v-7169e69d]{grid-area:title}.nav--is-wide-format.nav--in-breakpoint-range .pre-title+.nav-title[data-v-7169e69d]{width:100%;justify-content:center}.nav-title[data-v-7169e69d]{height:3.0588235294rem;font-size:1.1176470588rem;line-height:1.4210526316;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);cursor:default;display:flex;align-items:center;white-space:nowrap;box-sizing:border-box}@media only screen and (min-width:1024px){.nav-title[data-v-7169e69d]:not(:first-child){padding-left:.6470588235rem}}@media only screen and (max-width:767px){.nav-title[data-v-7169e69d]{padding-top:0;height:2.8235294118rem;width:90%}}.nav-title[data-v-7169e69d] span{line-height:normal}.nav-title a[data-v-7169e69d]{display:inline-block;letter-spacing:inherit;line-height:normal;margin:0;text-decoration:none;white-space:nowrap}.nav-title a[data-v-7169e69d]:hover{text-decoration:none}@media only screen and (max-width:767px){.nav-title a[data-v-7169e69d]{display:flex}}.nav-title a[data-v-7169e69d],.nav-title[data-v-7169e69d]{color:var(--color-figure-gray);transition:color 0s ease-in}.nav--is-open.theme-dark .nav-title a[data-v-7169e69d],.nav--is-open.theme-dark .nav-title[data-v-7169e69d],.nav--is-sticking.theme-dark .nav-title a[data-v-7169e69d],.nav--is-sticking.theme-dark .nav-title[data-v-7169e69d],.theme-dark .nav-title a[data-v-7169e69d],.theme-dark .nav-title[data-v-7169e69d]{color:var(--color-nav-dark-link-color)}.nav-ax-toggle[data-v-7169e69d]{display:none;position:absolute;top:0;left:0;width:1px;height:1px;z-index:10}.nav-ax-toggle[data-v-7169e69d]:focus{outline-offset:-6px;width:100%;height:100%}.nav--in-breakpoint-range .nav-ax-toggle[data-v-7169e69d]{display:block}.nav-menucta[data-v-7169e69d]{cursor:pointer;display:none;align-items:center;overflow:hidden;width:1.1764705882rem;-webkit-tap-highlight-color:rgba(0,0,0,0);height:2.8235294118rem}.nav--in-breakpoint-range .nav-menucta[data-v-7169e69d]{display:flex}.nav-menucta-chevron[data-v-7169e69d]{display:block;position:relative;width:100%;height:.7058823529rem;transition:transform .3s linear}.nav-menucta-chevron[data-v-7169e69d]:after,.nav-menucta-chevron[data-v-7169e69d]:before{content:"";display:block;position:absolute;top:.5882352941rem;width:.7058823529rem;height:.0588235294rem;transition:transform .3s linear;background:var(--color-figure-gray)}.nav-menucta-chevron[data-v-7169e69d]:before{right:50%;border-radius:.5px 0 0 .5px}.nav-menucta-chevron[data-v-7169e69d]:after{left:50%;border-radius:0 .5px .5px 0}.nav-menucta-chevron[data-v-7169e69d]:before{transform-origin:100% 100%;transform:rotate(40deg) scaleY(1.5)}.nav-menucta-chevron[data-v-7169e69d]:after{transform-origin:0 100%;transform:rotate(-40deg) scaleY(1.5)}.nav--is-open .nav-menucta-chevron[data-v-7169e69d]{transform:scaleY(-1)}.theme-dark .nav-menucta-chevron[data-v-7169e69d]:after,.theme-dark .nav-menucta-chevron[data-v-7169e69d]:before{background:var(--color-nav-dark-link-color)}[data-v-7169e69d] .nav-menu-link{color:var(--color-nav-link-color)}[data-v-7169e69d] .nav-menu-link:hover{color:var(--color-nav-link-color-hover);text-decoration:none}.theme-dark[data-v-7169e69d] .nav-menu-link{color:var(--color-nav-dark-link-color)}.theme-dark[data-v-7169e69d] .nav-menu-link:hover{color:var(--color-nav-dark-link-color-hover)}[data-v-7169e69d] .nav-menu-link.current{color:var(--color-nav-current-link);cursor:default}[data-v-7169e69d] .nav-menu-link.current:hover{color:var(--color-nav-current-link)}.theme-dark[data-v-7169e69d] .nav-menu-link.current,.theme-dark[data-v-7169e69d] .nav-menu-link.current:hover{color:var(--color-nav-dark-current-link)}.nav-menu-item[data-v-296e4e0c]{margin-left:1.4117647059rem;list-style:none;min-width:0}.nav--in-breakpoint-range .nav-menu-item[data-v-296e4e0c]{margin-left:0;width:100%;min-height:2.4705882353rem}.nav--in-breakpoint-range .nav-menu-item[data-v-296e4e0c]:first-child .nav-menu-link{border-top:0}.nav--in-breakpoint-range .nav-menu-item--animated[data-v-296e4e0c]{opacity:0;transform:none;transition:.5s ease;transition-property:transform,opacity}.nav--is-open.nav--in-breakpoint-range .nav-menu-item--animated[data-v-296e4e0c]{opacity:1;transform:translateZ(0);transition-delay:0s}*+.links-block[data-v-b1a75c1c],.links-block[data-v-b1a75c1c]+*{margin-top:var(--spacing-stacked-margin-xlarge)}.topic-link-block[data-v-b1a75c1c]{margin-top:15px} \ No newline at end of file diff --git a/docs/css/427.ee43802d.css b/docs/css/427.ee43802d.css new file mode 100644 index 00000000..cb076bf3 --- /dev/null +++ b/docs/css/427.ee43802d.css @@ -0,0 +1,9 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */.badge[data-v-04624022]{--badge-color:var(--color-badge-default);--badge-dark-color:var(--color-badge-dark-default);font-size:.7058823529rem;line-height:1.3333333333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);display:inline-block;padding:2px 4px;white-space:nowrap;border-radius:var(--badge-border-radius,1px);border-style:var(--badge-border-style,none);border-width:var(--badge-border-width,1px);margin:auto;margin-left:5px;color:var(--colors-badge-text,var(--color-badge-text));background-color:var(--badge-color)}@media screen{[data-color-scheme=dark] .badge[data-v-04624022]{background-color:var(--badge-dark-color)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .badge[data-v-04624022]{background-color:var(--badge-dark-color)}}.badge-deprecated[data-v-04624022]{--badge-color:var(--color-badge-deprecated);--badge-dark-color:var(--color-badge-dark-deprecated)}.badge-beta[data-v-04624022]{--badge-color:var(--color-badge-beta);--badge-dark-color:var(--color-badge-dark-beta)}[data-v-3a32ffd0] .code-listing{background:var(--background,var(--color-code-background));color:var(--text,var(--color-code-plain));border-color:var(--colors-grid,var(--color-grid));border-width:var(--code-border-width,1px);border-style:var(--code-border-style,solid)}[data-v-3a32ffd0] .code-listing pre{padding:var(--code-block-style-elements-padding)}[data-v-3a32ffd0] .code-listing pre>code{font-size:.8823529412rem;line-height:1.6666666667;font-weight:400;font-family:var(--typography-html-font-mono,Menlo,monospace)}[data-v-3a32ffd0] *+.code-listing,[data-v-3a32ffd0] *+.endpoint-example,[data-v-3a32ffd0] *+.inline-image-container,[data-v-3a32ffd0] *+aside,[data-v-3a32ffd0] *+figure,[data-v-3a32ffd0] .code-listing+*,[data-v-3a32ffd0] .endpoint-example+*,[data-v-3a32ffd0] .inline-image-container+*,[data-v-3a32ffd0] aside+*,[data-v-3a32ffd0] figure+*{margin-top:var(--spacing-stacked-margin-xlarge)}[data-v-3a32ffd0] *+dl,[data-v-3a32ffd0] dl+*{margin-top:var(--spacing-stacked-margin-large)}[data-v-3a32ffd0] img{display:block;margin:auto;max-width:100%}[data-v-3a32ffd0] ol,[data-v-3a32ffd0] ol li:not(:first-child),[data-v-3a32ffd0] ul,[data-v-3a32ffd0] ul li:not(:first-child){margin-top:var(--spacing-stacked-margin-large)}@media only screen and (max-width:735px){[data-v-3a32ffd0] ol,[data-v-3a32ffd0] ul{margin-left:1.25rem}}[data-v-3a32ffd0] dt:not(:first-child){margin-top:var(--spacing-stacked-margin-large)}[data-v-3a32ffd0] dd{margin-left:2em}.topic-icon-wrapper[data-v-55f9d05d]{display:flex;align-items:center;justify-content:center;height:1.4705882353rem;flex:0 0 1.294rem;width:1.294rem;margin-right:1rem}.topic-icon[data-v-55f9d05d]{height:.8823529412rem;transform:scale(1);-webkit-transform:scale(1);overflow:visible}.topic-icon[data-v-55f9d05d] img{margin:0;display:block;width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.topic-icon.curly-brackets-icon[data-v-55f9d05d]{height:1rem}.token-method[data-v-3fd63d6c]{font-weight:700}.token-keyword[data-v-3fd63d6c]{color:var(--syntax-keyword,var(--color-syntax-keywords))}.token-number[data-v-3fd63d6c]{color:var(--syntax-number,var(--color-syntax-numbers))}.token-string[data-v-3fd63d6c]{color:var(--syntax-string,var(--color-syntax-strings))}.attribute-link[data-v-3fd63d6c],.token-attribute[data-v-3fd63d6c]{color:var(--syntax-attribute,var(--color-syntax-keywords))}.token-internalParam[data-v-3fd63d6c]{color:var(--color-syntax-param-internal-name)}.type-identifier-link[data-v-3fd63d6c]{color:var(--syntax-type,var(--color-syntax-other-type-names))}.token-removed[data-v-3fd63d6c]{background-color:var(--color-highlight-red)}.token-added[data-v-3fd63d6c]{background-color:var(--color-highlight-green)}.decorator[data-v-28f15ef8],.label[data-v-28f15ef8]{color:var(--colors-secondary-label,var(--color-secondary-label))}.label[data-v-28f15ef8]{font-size:1rem;line-height:1.4705882353;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.empty-token[data-v-28f15ef8]{font-size:0}.empty-token[data-v-28f15ef8]:after{content:" ";font-size:1rem}.decorated-title[data-v-28f15ef8]{text-decoration:underline}.abstract[data-v-0d9c6bcc],.link-block[data-v-0d9c6bcc] .badge{margin-left:2.294rem}.link-block .badge+.badge[data-v-0d9c6bcc]{margin-left:1rem}.link[data-v-0d9c6bcc]{display:flex}.link-block .badge[data-v-0d9c6bcc]{margin-top:.5rem}.link-block.has-inline-element[data-v-0d9c6bcc]{display:flex;align-items:flex-start;flex-flow:row wrap}.link-block.has-inline-element .badge[data-v-0d9c6bcc]{margin-left:1rem;margin-top:0}.link-block .has-adjacent-elements[data-v-0d9c6bcc]{padding-top:5px;padding-bottom:5px;display:inline-flex}.link-block[data-v-0d9c6bcc],.link[data-v-0d9c6bcc]{box-sizing:inherit}.link-block.changed[data-v-0d9c6bcc],.link.changed[data-v-0d9c6bcc]{padding-right:1rem;padding-left:2.1764705882rem;padding-top:8px;padding-bottom:8px;display:inline-flex;width:100%;box-sizing:border-box}.link-block.changed.changed[data-v-0d9c6bcc],.link.changed.changed[data-v-0d9c6bcc]{padding-right:1rem}@media only screen and (max-width:735px){.link-block.changed[data-v-0d9c6bcc],.link.changed[data-v-0d9c6bcc]{padding-left:0;padding-right:0}.link-block.changed.changed[data-v-0d9c6bcc],.link.changed.changed[data-v-0d9c6bcc]{padding-right:17px;padding-left:2.1764705882rem}.link-block.changed[data-v-0d9c6bcc],.link.changed[data-v-0d9c6bcc]{padding-left:0;padding-right:0}}.abstract .topic-required[data-v-0d9c6bcc]:not(:first-child){margin-top:4px}.topic-required[data-v-0d9c6bcc]{font-size:.8em}.deprecated[data-v-0d9c6bcc]{text-decoration:line-through} \ No newline at end of file diff --git a/docs/css/documentation-topic.5ce24f8e.css b/docs/css/documentation-topic.5ce24f8e.css new file mode 100644 index 00000000..0ba7bc2d --- /dev/null +++ b/docs/css/documentation-topic.5ce24f8e.css @@ -0,0 +1,9 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */.betainfo[data-v-ba3b3cc0]{font-size:.9411764706rem;padding:3rem 0;background-color:var(--color-fill-secondary)}.full-width-container .betainfo-container[data-v-ba3b3cc0]{max-width:820px;margin-left:auto;margin-right:auto;padding-left:80px;padding-right:80px;box-sizing:border-box}@media print{.full-width-container .betainfo-container[data-v-ba3b3cc0]{padding-left:20px;padding-right:20px;max-width:none}}@media only screen and (min-width:1251px){.full-width-container .betainfo-container[data-v-ba3b3cc0]{max-width:980px}}@media only screen and (min-width:1500px){.full-width-container .betainfo-container[data-v-ba3b3cc0]{max-width:1080px}}@media only screen and (max-width:735px){.full-width-container .betainfo-container[data-v-ba3b3cc0]{width:auto;padding-left:20px;padding-right:20px}}.static-width-container .betainfo-container[data-v-ba3b3cc0]{margin-left:auto;margin-right:auto;width:980px}@media only screen and (max-width:1250px){.static-width-container .betainfo-container[data-v-ba3b3cc0]{width:692px}}@media only screen and (max-width:735px){.static-width-container .betainfo-container[data-v-ba3b3cc0]{width:87.5%}}@media only screen and (max-width:320px){.static-width-container .betainfo-container[data-v-ba3b3cc0]{width:215px}}.betainfo-label[data-v-ba3b3cc0]{font-weight:600;font-size:.9411764706rem}.betainfo-content[data-v-ba3b3cc0] p{margin-bottom:10px}a[data-v-2ca5e993]{text-decoration:underline;color:inherit;font-weight:600}.summary-section[data-v-3aa6f694]:last-of-type{margin-right:0}@media only screen and (max-width:735px){.summary-section[data-v-3aa6f694]{margin-right:0}}.title[data-v-246c819c]{color:var(--colors-text,var(--color-text));font-size:.8235294118rem;margin-right:.5rem;text-rendering:optimizeLegibility}.language[data-v-0e39c0ba]{padding-bottom:10px;justify-content:flex-end}.language-list[data-v-0e39c0ba],.language[data-v-0e39c0ba]{font-size:.8235294118rem;line-height:1.4285714286;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);margin-top:0;display:flex;align-items:center}.language-option.swift[data-v-0e39c0ba]{padding-right:10px;border-right:1px solid var(--colors-secondary-label,var(--color-secondary-label))}.language-option.objc[data-v-0e39c0ba]{padding-left:10px}.view-more-link[data-v-3f54e653]{font-size:.8235294118rem;line-height:1.2857142857;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);display:flex;flex-flow:row-reverse;margin-bottom:1.3rem}.documentation-hero[data-v-283b44ff]{color:var(--color-documentation-intro-figure,var(--color-figure-gray));overflow:hidden;text-align:left;position:relative;padding-right:var(--doc-hero-right-offset)}.documentation-hero[data-v-283b44ff]:before{content:"";background:var(--standard-accent-color,var(--color-documentation-intro-fill,var(--color-fill-tertiary)));position:absolute;width:100%;height:100%}.documentation-hero[data-v-283b44ff]:after{background:transparent;opacity:.85;width:100%;position:absolute;content:"";height:100%;left:0;top:0}@media screen{[data-color-scheme=dark] .documentation-hero[data-v-283b44ff]:after{opacity:.55}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .documentation-hero[data-v-283b44ff]:after{opacity:.55}}.documentation-hero .icon[data-v-283b44ff]{position:absolute;margin-top:10px;margin-right:25px;right:0;width:250px;height:calc(100% - 20px);box-sizing:border-box}@media only screen and (max-width:735px){.documentation-hero .icon[data-v-283b44ff]{display:none}}.documentation-hero .background-icon[data-v-283b44ff]{color:var(--color-documentation-intro-accent,var(--color-figure-gray-secondary));display:block;width:250px;height:auto;opacity:.15;mix-blend-mode:normal;position:absolute;top:50%;left:0;transform:translateY(-50%);max-height:100%}.documentation-hero .background-icon[data-v-283b44ff] img,.documentation-hero .background-icon[data-v-283b44ff] svg{width:100%;height:100%}@media screen{[data-color-scheme=dark] .documentation-hero .background-icon[data-v-283b44ff]{mix-blend-mode:normal;opacity:.15}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .documentation-hero .background-icon[data-v-283b44ff]{mix-blend-mode:normal;opacity:.15}}.documentation-hero__content[data-v-283b44ff]:not(.minimized-hero){padding-top:2.3529411765rem;padding-bottom:2.3529411765rem;position:relative;z-index:1}.full-width-container .documentation-hero__content[data-v-283b44ff]:not(.minimized-hero){max-width:820px;margin-left:auto;margin-right:auto;padding-left:80px;padding-right:80px;box-sizing:border-box}@media print{.full-width-container .documentation-hero__content[data-v-283b44ff]:not(.minimized-hero){padding-left:20px;padding-right:20px;max-width:none}}@media only screen and (min-width:1251px){.full-width-container .documentation-hero__content[data-v-283b44ff]:not(.minimized-hero){max-width:980px}}@media only screen and (min-width:1500px){.full-width-container .documentation-hero__content[data-v-283b44ff]:not(.minimized-hero){max-width:1080px}}@media only screen and (max-width:735px){.full-width-container .documentation-hero__content[data-v-283b44ff]:not(.minimized-hero){width:auto;padding-left:20px;padding-right:20px}}.static-width-container .documentation-hero__content[data-v-283b44ff]:not(.minimized-hero){margin-left:auto;margin-right:auto;width:980px}@media only screen and (max-width:1250px){.static-width-container .documentation-hero__content[data-v-283b44ff]:not(.minimized-hero){width:692px}}@media only screen and (max-width:735px){.static-width-container .documentation-hero__content[data-v-283b44ff]:not(.minimized-hero){width:87.5%}}@media only screen and (max-width:320px){.static-width-container .documentation-hero__content[data-v-283b44ff]:not(.minimized-hero){width:215px}}.documentation-hero .minimized-hero[data-v-283b44ff]{padding:1.3em 1.4em;position:relative;z-index:1}.documentation-hero__above-content[data-v-283b44ff]{position:relative;z-index:1}.documentation-hero--disabled[data-v-283b44ff]{background:none;color:var(--colors-text,var(--color-text))}.documentation-hero--disabled[data-v-283b44ff]:after,.documentation-hero--disabled[data-v-283b44ff]:before{content:none}.short-hero[data-v-283b44ff]{padding-top:3.5294117647rem;padding-bottom:3.5294117647rem}.extra-bottom-padding[data-v-283b44ff]{padding-bottom:3.8235294118rem}ul[data-v-068842ec]{list-style-type:none;margin:0}ul li:first-child .base-link[data-v-068842ec]{margin-top:0}.parent-item .base-link[data-v-068842ec]{font-weight:700}.base-link[data-v-068842ec]{color:var(--color-figure-gray-secondary);font-size:.8235294118rem;line-height:1.2857142857;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);display:inline-block;margin:5px 0;transition:color .15s ease-in;max-width:100%}.active .base-link[data-v-068842ec]{color:var(--color-text)}[data-v-3a32ffd0] .code-listing{background:var(--background,var(--color-code-background));color:var(--text,var(--color-code-plain));border-color:var(--colors-grid,var(--color-grid));border-width:var(--code-border-width,1px);border-style:var(--code-border-style,solid)}[data-v-3a32ffd0] .code-listing pre{padding:var(--code-block-style-elements-padding)}[data-v-3a32ffd0] .code-listing pre>code{font-size:.8823529412rem;line-height:1.6666666667;font-weight:400;font-family:var(--typography-html-font-mono,Menlo,monospace)}[data-v-3a32ffd0] *+.code-listing,[data-v-3a32ffd0] *+.endpoint-example,[data-v-3a32ffd0] *+.inline-image-container,[data-v-3a32ffd0] *+aside,[data-v-3a32ffd0] *+figure,[data-v-3a32ffd0] .code-listing+*,[data-v-3a32ffd0] .endpoint-example+*,[data-v-3a32ffd0] .inline-image-container+*,[data-v-3a32ffd0] aside+*,[data-v-3a32ffd0] figure+*{margin-top:var(--spacing-stacked-margin-xlarge)}[data-v-3a32ffd0] *+dl,[data-v-3a32ffd0] dl+*{margin-top:var(--spacing-stacked-margin-large)}[data-v-3a32ffd0] img{display:block;margin:auto;max-width:100%}[data-v-3a32ffd0] ol,[data-v-3a32ffd0] ol li:not(:first-child),[data-v-3a32ffd0] ul,[data-v-3a32ffd0] ul li:not(:first-child){margin-top:var(--spacing-stacked-margin-large)}@media only screen and (max-width:735px){[data-v-3a32ffd0] ol,[data-v-3a32ffd0] ul{margin-left:1.25rem}}[data-v-3a32ffd0] dt:not(:first-child){margin-top:var(--spacing-stacked-margin-large)}[data-v-3a32ffd0] dd{margin-left:2em}.conditional-constraints[data-v-4c6f3ed1] code{color:var(--colors-secondary-label,var(--color-secondary-label))}.token-method[data-v-3fd63d6c]{font-weight:700}.token-keyword[data-v-3fd63d6c]{color:var(--syntax-keyword,var(--color-syntax-keywords))}.token-number[data-v-3fd63d6c]{color:var(--syntax-number,var(--color-syntax-numbers))}.token-string[data-v-3fd63d6c]{color:var(--syntax-string,var(--color-syntax-strings))}.attribute-link[data-v-3fd63d6c],.token-attribute[data-v-3fd63d6c]{color:var(--syntax-attribute,var(--color-syntax-keywords))}.token-internalParam[data-v-3fd63d6c]{color:var(--color-syntax-param-internal-name)}.type-identifier-link[data-v-3fd63d6c]{color:var(--syntax-type,var(--color-syntax-other-type-names))}.token-removed[data-v-3fd63d6c]{background-color:var(--color-highlight-red)}.token-added[data-v-3fd63d6c]{background-color:var(--color-highlight-green)}.source[data-v-d22a3f50]{background:var(--background,var(--color-code-background));border-color:var(--color-grid);color:var(--text,var(--color-code-plain));border-style:solid;border-width:1px;padding:var(--code-block-style-elements-padding);speak:literal-punctuation;line-height:25px;filter:blur(0)}.source.displays-multiple-lines[data-v-d22a3f50],.source[data-v-d22a3f50]{border-radius:var(--border-radius,4px)}.source>code[data-v-d22a3f50]{font-size:.8823529412rem;line-height:1.6666666667;font-weight:400;font-family:var(--typography-html-font-mono,Menlo,monospace);display:block}.expand-enter-active,.expand-leave-active{transition:height .3s ease-in-out;overflow:hidden}.expand-enter,.expand-leave-to{height:0}.platforms[data-v-6df20093]{font-size:.8235294118rem;line-height:1.4285714286;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);margin-bottom:.45rem;margin-top:var(--spacing-stacked-margin-xlarge)}.changed .platforms[data-v-6df20093]{padding-left:.588rem}.platforms[data-v-6df20093]:first-of-type{margin-top:1rem}.declaration-pill--expanded[data-v-6df20093]{transition-timing-function:linear;transition-property:opacity,height}.declaration-pill--expanded .source[data-v-6df20093]{border-width:1px}.declaration-pill--expanded .source[data-v-6df20093] a{pointer-events:none}.declaration-pill--expanded>button[data-v-6df20093]{display:block;width:100%}.declaration-pill--expanded .selected-declaration[data-v-6df20093]{border-color:var(--color-focus-border-color,var(--color-focus-border-color))}.declaration-pill--expanded[data-v-6df20093] :not(.selected-declaration){background:unset}.declaration-pill--expanded+.declaration-pill--expanded .source[data-v-6df20093]{margin:var(--declaration-code-listing-margin)}.declaration-pill--expanded.expand-enter[data-v-6df20093],.declaration-pill--expanded.expand-leave-to[data-v-6df20093]{opacity:0}.declaration-pill--expanded.expand-enter .source[data-v-6df20093],.declaration-pill--expanded.expand-leave-to .source[data-v-6df20093]{margin:0}.source[data-v-6df20093]{transition:margin .3s linear}.platforms+.source[data-v-6df20093]{margin:0}.changed.declaration-group[data-v-6df20093]{background:var(--background,var(--color-code-background))}.changed .source[data-v-6df20093]{background:none;border:none;margin-top:0;margin-bottom:0;margin-left:2.1764705882rem;padding-left:0}.declaration-diff[data-v-b3e21c4a]{background:var(--background,var(--color-code-background))}.declaration-diff-version[data-v-b3e21c4a]{padding-left:.588rem;padding-left:2.1764705882rem;font-size:1rem;line-height:1.5294117647;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-figure-gray-secondary);margin:0}.declaration-diff-current[data-v-b3e21c4a]{padding-top:8px;padding-bottom:5px}.declaration-diff-previous[data-v-b3e21c4a]{padding-top:5px;padding-bottom:8px;background-color:var(--color-changes-modified-previous-background);border-radius:0 0 var(--border-radius,4px) var(--border-radius,4px);position:relative}.declaration-source-link[data-v-5863919c]{font-size:.8235294118rem;line-height:1.2857142857;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);display:flex;align-items:center;margin-top:var(--declaration-source-link-margin,var(--spacing-stacked-margin-large))}.declaration-icon[data-v-5863919c]{width:1em;margin-right:5px}.conditional-constraints[data-v-036b7e1e]{margin-top:var(--declaration-conditional-constraints-margin,20px)}.abstract[data-v-f3f57cbe]{font-size:1.2352941176rem;line-height:1.380952381;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:735px){.abstract[data-v-f3f57cbe]{font-size:1.1176470588rem;line-height:1.4210526316;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}[data-v-f3f57cbe] p:last-child{margin-bottom:0}.container[data-v-6e075935]{padding-bottom:40px}.full-width-container .container[data-v-6e075935]{max-width:820px;margin-left:auto;margin-right:auto;padding-left:80px;padding-right:80px;box-sizing:border-box}@media print{.full-width-container .container[data-v-6e075935]{padding-left:20px;padding-right:20px;max-width:none}}@media only screen and (min-width:1251px){.full-width-container .container[data-v-6e075935]{max-width:980px}}@media only screen and (min-width:1500px){.full-width-container .container[data-v-6e075935]{max-width:1080px}}@media only screen and (max-width:735px){.full-width-container .container[data-v-6e075935]{width:auto;padding-left:20px;padding-right:20px}}.static-width-container .container[data-v-6e075935]{margin-left:auto;margin-right:auto;width:980px}@media only screen and (max-width:1250px){.static-width-container .container[data-v-6e075935]{width:692px}}@media only screen and (max-width:735px){.static-width-container .container[data-v-6e075935]{width:87.5%}}@media only screen and (max-width:320px){.static-width-container .container[data-v-6e075935]{width:215px}}.title[data-v-6e075935]{font-size:1.8823529412rem;line-height:1.125;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);padding-top:40px;border-top-color:var(--color-grid);border-top-style:solid;border-top-width:var(--content-table-title-border-width,1px)}@media only screen and (max-width:1250px){.title[data-v-6e075935]{font-size:1.6470588235rem;line-height:1.1428571429;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.title[data-v-6e075935]{font-size:1.4117647059rem;line-height:1.1666666667;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.title+.contenttable-section[data-v-1b0546d9]{margin-top:0}.contenttable-section[data-v-1b0546d9]{align-items:baseline;padding-top:2.353rem}.contenttable-section[data-v-1b0546d9]:last-child{margin-bottom:0}[data-v-1b0546d9] .contenttable-title{font-size:1.4117647059rem;line-height:1.1666666667;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){[data-v-1b0546d9] .contenttable-title{font-size:1.2352941176rem;line-height:1.1904761905;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.contenttable-section[data-v-1b0546d9]{align-items:unset;border-top:none;display:inherit;margin:0}.section-content[data-v-1b0546d9],.section-title[data-v-1b0546d9]{padding:0}[data-v-1b0546d9] .contenttable-title{margin:0 0 2.353rem 0;padding-bottom:.5rem}}.badge[data-v-04624022]{--badge-color:var(--color-badge-default);--badge-dark-color:var(--color-badge-dark-default);font-size:.7058823529rem;line-height:1.3333333333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);display:inline-block;padding:2px 4px;white-space:nowrap;border-radius:var(--badge-border-radius,1px);border-style:var(--badge-border-style,none);border-width:var(--badge-border-width,1px);margin:auto;margin-left:5px;color:var(--colors-badge-text,var(--color-badge-text));background-color:var(--badge-color)}@media screen{[data-color-scheme=dark] .badge[data-v-04624022]{background-color:var(--badge-dark-color)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .badge[data-v-04624022]{background-color:var(--badge-dark-color)}}.badge-deprecated[data-v-04624022]{--badge-color:var(--color-badge-deprecated);--badge-dark-color:var(--color-badge-dark-deprecated)}.badge-beta[data-v-04624022]{--badge-color:var(--color-badge-beta);--badge-dark-color:var(--color-badge-dark-beta)}.topic-icon-wrapper[data-v-55f9d05d]{display:flex;align-items:center;justify-content:center;height:1.4705882353rem;flex:0 0 1.294rem;width:1.294rem;margin-right:1rem}.topic-icon[data-v-55f9d05d]{height:.8823529412rem;transform:scale(1);-webkit-transform:scale(1);overflow:visible}.topic-icon[data-v-55f9d05d] img{margin:0;display:block;width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.topic-icon.curly-brackets-icon[data-v-55f9d05d]{height:1rem}.decorator[data-v-28f15ef8],.label[data-v-28f15ef8]{color:var(--colors-secondary-label,var(--color-secondary-label))}.label[data-v-28f15ef8]{font-size:1rem;line-height:1.4705882353;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.empty-token[data-v-28f15ef8]{font-size:0}.empty-token[data-v-28f15ef8]:after{content:" ";font-size:1rem}.decorated-title[data-v-28f15ef8]{text-decoration:underline}.abstract[data-v-0d9c6bcc],.link-block[data-v-0d9c6bcc] .badge{margin-left:2.294rem}.link-block .badge+.badge[data-v-0d9c6bcc]{margin-left:1rem}.link[data-v-0d9c6bcc]{display:flex}.link-block .badge[data-v-0d9c6bcc]{margin-top:.5rem}.link-block.has-inline-element[data-v-0d9c6bcc]{display:flex;align-items:flex-start;flex-flow:row wrap}.link-block.has-inline-element .badge[data-v-0d9c6bcc]{margin-left:1rem;margin-top:0}.link-block .has-adjacent-elements[data-v-0d9c6bcc]{padding-top:5px;padding-bottom:5px;display:inline-flex}.link-block[data-v-0d9c6bcc],.link[data-v-0d9c6bcc]{box-sizing:inherit}.link-block.changed[data-v-0d9c6bcc],.link.changed[data-v-0d9c6bcc]{padding-right:1rem;padding-left:2.1764705882rem;padding-top:8px;padding-bottom:8px;display:inline-flex;width:100%;box-sizing:border-box}.link-block.changed.changed[data-v-0d9c6bcc],.link.changed.changed[data-v-0d9c6bcc]{padding-right:1rem}@media only screen and (max-width:735px){.link-block.changed[data-v-0d9c6bcc],.link.changed[data-v-0d9c6bcc]{padding-left:0;padding-right:0}.link-block.changed.changed[data-v-0d9c6bcc],.link.changed.changed[data-v-0d9c6bcc]{padding-right:17px;padding-left:2.1764705882rem}.link-block.changed[data-v-0d9c6bcc],.link.changed[data-v-0d9c6bcc]{padding-left:0;padding-right:0}}.abstract .topic-required[data-v-0d9c6bcc]:not(:first-child){margin-top:4px}.topic-required[data-v-0d9c6bcc]{font-size:.8em}.deprecated[data-v-0d9c6bcc]{text-decoration:line-through}.section-content>.content[data-v-1c2724f5],.topic[data-v-1c2724f5]{margin-top:15px}.no-title .section-content>.content[data-v-1c2724f5]:first-child,.no-title .topic[data-v-1c2724f5]:first-child{margin-top:0}.datalist dd{padding-left:2rem}.datalist dt{font-weight:600;padding-left:1rem;padding-top:var(--spacing-param)}.datalist dt:first-of-type{padding-top:0}.type[data-v-791bac44]:first-letter{text-transform:capitalize}.detail-type[data-v-d66cd00c]{font-weight:600;padding-left:1rem;padding-top:var(--spacing-param)}.detail-type[data-v-d66cd00c]:first-child{padding-top:0}@media only screen and (max-width:735px){.detail-type[data-v-d66cd00c]{padding-left:0}}.detail-content[data-v-d66cd00c]{padding-left:2rem}@media only screen and (max-width:735px){.detail-content[data-v-d66cd00c]{padding-left:0}}.param-name[data-v-5ef1227e]{font-weight:600;padding-left:1rem;padding-top:var(--spacing-param)}.param-name[data-v-5ef1227e]:first-child{padding-top:0}@media only screen and (max-width:735px){.param-name[data-v-5ef1227e]{padding-left:0}}.param-content[data-v-5ef1227e]{padding-left:2rem}@media only screen and (max-width:735px){.param-content[data-v-5ef1227e]{padding-left:0}}.param-content[data-v-5ef1227e] dt{font-weight:600}.param-content[data-v-5ef1227e] dd{margin-left:1em}.parameters-table[data-v-eee7e94e] .change-added,.parameters-table[data-v-eee7e94e] .change-removed{display:inline-block;max-width:100%}.parameters-table[data-v-eee7e94e] .change-removed,.parameters-table[data-v-eee7e94e] .token-removed{text-decoration:line-through}.param[data-v-eee7e94e]{font-size:.8823529412rem;box-sizing:border-box}.param.changed[data-v-eee7e94e]{display:flex;flex-flow:row wrap;padding-right:1rem;padding-left:2.1764705882rem;padding-top:8px;padding-bottom:8px;display:inline-flex;width:100%;box-sizing:border-box}.param.changed.changed[data-v-eee7e94e]{padding-right:1rem}@media only screen and (max-width:735px){.param.changed[data-v-eee7e94e]{padding-left:0;padding-right:0}.param.changed.changed[data-v-eee7e94e]{padding-right:17px;padding-left:2.1764705882rem}.param.changed[data-v-eee7e94e]{padding-left:0;padding-right:0}}.param.changed.changed[data-v-eee7e94e]{padding-left:0;padding-right:0}.param.changed+.param.changed[data-v-eee7e94e]{margin-top:calc(var(--spacing-param)/2)}.changed .param-content[data-v-eee7e94e],.changed .param-symbol[data-v-eee7e94e]{padding-top:2px;padding-bottom:2px}@media only screen and (max-width:735px){.changed .param-content[data-v-eee7e94e]{padding-top:0}.changed .param-symbol[data-v-eee7e94e]{padding-bottom:0}}.param-symbol[data-v-eee7e94e]{text-align:right}.changed .param-symbol[data-v-eee7e94e]{padding-left:2.1764705882rem}@media only screen and (max-width:735px){.param-symbol[data-v-eee7e94e]{text-align:left}.changed .param-symbol[data-v-eee7e94e]{padding-left:0}}.param-symbol[data-v-eee7e94e] .type-identifier-link{color:var(--color-link)}.param+.param[data-v-eee7e94e]{margin-top:var(--spacing-param)}.param+.param[data-v-eee7e94e]:first-child{margin-top:0}.param-content[data-v-eee7e94e]{padding-left:1rem;padding-left:2.1764705882rem}.changed .param-content[data-v-eee7e94e]{padding-right:1rem}@media only screen and (max-width:735px){.param-content[data-v-eee7e94e]{padding-left:0;padding-right:0}}.property-metadata[data-v-f911f232]{color:var(--color-figure-gray-secondary)}.property-text{font-weight:700}.property-metadata[data-v-549ed0a8]{color:var(--color-figure-gray-secondary)}.property-name[data-v-39899ccf]{font-weight:700}.property-name.deprecated[data-v-39899ccf]{text-decoration:line-through}.property-deprecated[data-v-39899ccf]{margin-left:0}.content[data-v-39899ccf],.content[data-v-39899ccf] p:first-child{display:inline}.response-mimetype[data-v-18890a0f]{color:var(--color-figure-gray-secondary)}.part-name[data-v-68facc94]{font-weight:700}.content[data-v-68facc94],.content[data-v-68facc94] p:first-child{display:inline}.param-name[data-v-0d9b752e]{font-weight:700}.param-name.deprecated[data-v-0d9b752e]{text-decoration:line-through}.param-deprecated[data-v-0d9b752e]{margin-left:0}.content[data-v-0d9b752e],.content[data-v-0d9b752e] p:first-child{display:inline}.response-name[data-v-ee5b05cc],.response-reason[data-v-ee5b05cc]{font-weight:700}@media only screen and (max-width:735px){.response-reason[data-v-ee5b05cc]{display:none}}.response-name>code>.reason[data-v-ee5b05cc]{display:none}@media only screen and (max-width:735px){.response-name>code>.reason[data-v-ee5b05cc]{display:initial}}.link[data-v-241f4141]{display:flex;margin-bottom:.5rem}.link-block[data-v-241f4141],.link[data-v-241f4141]{box-sizing:inherit}.link-block.changed[data-v-241f4141],.link.changed[data-v-241f4141]{padding-right:1rem;padding-left:2.1764705882rem;padding-top:8px;padding-bottom:8px;display:inline-flex;width:100%;box-sizing:border-box}.link-block.changed.changed[data-v-241f4141],.link.changed.changed[data-v-241f4141]{padding-right:1rem}@media only screen and (max-width:735px){.link-block.changed[data-v-241f4141],.link.changed[data-v-241f4141]{padding-left:0;padding-right:0}.link-block.changed.changed[data-v-241f4141],.link.changed.changed[data-v-241f4141]{padding-right:17px;padding-left:2.1764705882rem}.link-block.changed[data-v-241f4141],.link.changed[data-v-241f4141]{padding-left:0;padding-right:0}}.mention-icon[data-v-241f4141]{margin-right:.25rem}.primary-content.with-border[data-v-0a293b30]:before{border-top-color:var(--colors-grid,var(--color-grid));border-top-style:solid;border-top-width:var(--content-table-title-border-width,1px);content:"";display:block}.primary-content[data-v-0a293b30]>*{margin-bottom:40px;margin-top:40px}.primary-content[data-v-0a293b30]>:first-child{margin-top:2.353rem}.relationships-list[data-v-ba5cad92]{list-style:none}.relationships-list.column[data-v-ba5cad92]{margin-left:0;margin-top:15px}.relationships-list.inline[data-v-ba5cad92]{display:flex;flex-direction:row;flex-wrap:wrap;margin-top:15px;margin-left:0}.relationships-list.inline li[data-v-ba5cad92]:not(:last-child):after{content:", "}.relationships-list.changed[data-v-ba5cad92]{padding-right:1rem;padding-left:2.1764705882rem;padding-top:8px;padding-bottom:8px;display:inline-flex;width:100%;box-sizing:border-box}.relationships-list.changed.changed[data-v-ba5cad92]{padding-right:1rem}@media only screen and (max-width:735px){.relationships-list.changed[data-v-ba5cad92]{padding-left:0;padding-right:0}.relationships-list.changed.changed[data-v-ba5cad92]{padding-right:17px;padding-left:2.1764705882rem}.relationships-list.changed[data-v-ba5cad92]{padding-left:0;padding-right:0}}.relationships-list.changed[data-v-ba5cad92]:after{margin-top:.6176470588rem}.relationships-list.changed.column[data-v-ba5cad92]{display:block;box-sizing:border-box}.relationships-item[data-v-ba5cad92],.relationships-list[data-v-ba5cad92]{box-sizing:inherit}.conditional-constraints[data-v-ba5cad92]{font-size:.8235294118rem;margin:.1764705882rem 0 .5882352941rem 1.1764705882rem}.platform[data-v-3da26baa],.technology[data-v-3da26baa]{display:inline-flex;align-items:center}.tech-icon[data-v-3da26baa]{height:12px;padding-right:5px;--color-svg-icon:var(--color-figure-gray)}.changed[data-v-3da26baa]{padding-left:17px;border:none}.changed[data-v-3da26baa]:after{all:unset}.changed[data-v-3da26baa]:before{background-image:url(../img/modified-icon.efb2697d.svg);background-repeat:no-repeat;bottom:0;content:" ";margin:auto;margin-right:8px;position:absolute;top:0;width:20px;height:20px;margin:0;left:-5px}@media screen{[data-color-scheme=dark] .changed[data-v-3da26baa]:before{background-image:url(../img/modified-icon.efb2697d.svg)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .changed[data-v-3da26baa]:before{background-image:url(../img/modified-icon.efb2697d.svg)}}.changed-added[data-v-3da26baa]:before{background-image:url(../img/added-icon.832a5d2c.svg)}@media screen{[data-color-scheme=dark] .changed-added[data-v-3da26baa]:before{background-image:url(../img/added-icon.832a5d2c.svg)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .changed-added[data-v-3da26baa]:before{background-image:url(../img/added-icon.832a5d2c.svg)}}.changed-deprecated[data-v-3da26baa]:before{background-image:url(../img/deprecated-icon.7bf1740a.svg)}@media screen{[data-color-scheme=dark] .changed-deprecated[data-v-3da26baa]:before{background-image:url(../img/deprecated-icon.7bf1740a.svg)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .changed-deprecated[data-v-3da26baa]:before{background-image:url(../img/deprecated-icon.7bf1740a.svg)}}.availability[data-v-3da26baa]{display:flex;flex-flow:row wrap;gap:10px;margin-top:.8823529412rem;font-size:.8235294118rem;line-height:1.4285714286;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.availability>[data-v-3da26baa]:after{content:"";display:inline-block;width:1px;height:1em;background:currentColor;margin-left:10px}.availability>[data-v-3da26baa]:last-child:after{content:none}@media only screen and (max-width:735px){.topictitle[data-v-11a42e85]{margin:0}}.eyebrow[data-v-11a42e85]{font-size:1.2352941176rem;line-height:1.1904761905;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-documentation-intro-eyebrow,var(--colors-secondary-label,var(--color-secondary-label)));display:block;margin-bottom:.8823529412rem}@media only screen and (max-width:735px){.eyebrow[data-v-11a42e85]{font-size:1.1176470588rem;line-height:1.2105263158;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.title[data-v-11a42e85]{font-size:2.3529411765rem;line-height:1.1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-documentation-intro-title,var(--colors-header-text,var(--color-header-text)));margin-bottom:.7058823529rem}@media only screen and (max-width:1250px){.title[data-v-11a42e85]{font-size:1.8823529412rem;line-height:1.125;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.title[data-v-11a42e85]{font-size:1.6470588235rem;line-height:1.1428571429;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}small[data-v-11a42e85]{font-size:1.4117647059rem;line-height:1.1666666667;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);padding-left:10px}@media only screen and (max-width:1250px){small[data-v-11a42e85]{font-size:1.2352941176rem;line-height:1.1904761905;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}small[data-v-11a42e85]:before{content:attr(data-tag-name)}small.Beta[data-v-11a42e85]{color:var(--color-badge-beta)}@media screen{[data-color-scheme=dark] small.Beta[data-v-11a42e85]{color:var(--color-badge-dark-beta)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] small.Beta[data-v-11a42e85]{color:var(--color-badge-dark-beta)}}small.Deprecated[data-v-11a42e85]{color:var(--color-badge-deprecated)}@media screen{[data-color-scheme=dark] small.Deprecated[data-v-11a42e85]{color:var(--color-badge-dark-deprecated)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] small.Deprecated[data-v-11a42e85]{color:var(--color-badge-dark-deprecated)}}.OnThisPageStickyContainer[data-v-39ac6ed0]{margin-top:2.353rem;position:sticky;top:3.8235294118rem;align-self:flex-start;flex:0 0 auto;width:192px;padding-right:1.2941176471rem;box-sizing:border-box;padding-bottom:var(--spacing-stacked-margin-small);max-height:calc(100vh - 3.82353rem);overflow:auto}@media print{.OnThisPageStickyContainer[data-v-39ac6ed0]{display:none}}@media only screen and (max-width:735px){.OnThisPageStickyContainer[data-v-39ac6ed0]{display:none}}.nav-menu-link[data-v-2ad31daf]{display:inline-block;line-height:22px;white-space:nowrap}.nav--in-breakpoint-range .nav-menu-link[data-v-2ad31daf]{line-height:42px;border-top:1px solid;border-color:var(--color-nav-rule);display:flex;flex:1 0 100%;height:100%;align-items:center}.theme-dark.nav--in-breakpoint-range .nav-menu-link[data-v-2ad31daf]{border-color:var(--color-nav-dark-rule)}.hierarchy-collapsed-items[data-v-7b701104]{position:relative;display:inline-flex;align-items:center}.hierarchy-collapsed-items[data-v-7b701104]:before{content:"/";width:.2941176471rem;margin:0 .2941176471rem}.nav--in-breakpoint-range .hierarchy-collapsed-items[data-v-7b701104],:root.no-js .hierarchy-collapsed-items[data-v-7b701104]{display:none}.hierarchy-collapsed-items .toggle[data-v-7b701104]{background:var(--color-nav-hierarchy-collapse-background);border-color:var(--color-nav-hierarchy-collapse-borders);border-radius:var(--border-radius,4px);border-style:solid;border-width:0;font-weight:600;height:1.1176470588rem;text-align:center;width:2.1176470588rem;display:flex;align-items:center;justify-content:center}.theme-dark .hierarchy-collapsed-items .toggle[data-v-7b701104]{background:var(--color-nav-dark-hierarchy-collapse-background)}.hierarchy-collapsed-items .toggle.focused[data-v-7b701104],.hierarchy-collapsed-items .toggle[data-v-7b701104]:active,.hierarchy-collapsed-items .toggle[data-v-7b701104]:focus{box-shadow:0 0 0 4px var(--color-focus-color);outline:none}.indicator[data-v-7b701104]{width:1em;height:1em;display:flex;align-items:center}.indicator .toggle-icon[data-v-7b701104]{width:100%}.dropdown[data-v-7b701104]{background:var(--color-nav-hierarchy-collapse-background);margin:0;list-style-type:none;border-color:var(--color-nav-hierarchy-collapse-borders);border-radius:var(--border-radius,4px);border-style:solid;box-shadow:0 1px 4px -1px var(--color-figure-gray-secondary);border-width:0;padding:0 .5rem;position:absolute;z-index:42;top:calc(100% + .41176rem)}.theme-dark .dropdown[data-v-7b701104]{background:var(--color-nav-dark-hierarchy-collapse-background);border-color:var(--color-nav-dark-hierarchy-collapse-borders)}.dropdown.collapsed[data-v-7b701104]{opacity:0;transform:translate3d(0,-.4117647059rem,0);transition:opacity .25s ease,transform .25s ease,visibility 0s linear .25s;visibility:hidden}.dropdown[data-v-7b701104]:not(.collapsed){opacity:1;transform:none;transition:opacity .25s ease,transform .25s ease,visibility 0s linear 0s;visibility:visible}.nav--in-breakpoint-range .dropdown[data-v-7b701104]:not(.collapsed){display:none}.dropdown[data-v-7b701104]:before{border-bottom-color:var(--color-nav-hierarchy-collapse-background);border-bottom-style:solid;border-bottom-width:.5rem;border-left-color:transparent;border-left-style:solid;border-left-width:.5rem;border-right-color:transparent;border-right-style:solid;border-right-width:.5rem;content:"";left:1.4411764706rem;position:absolute;top:-.4411764706rem}.theme-dark .dropdown[data-v-7b701104]:before{border-bottom-color:var(--color-nav-dark-hierarchy-collapse-background)}.dropdown-item[data-v-7b701104]{border-top-color:var(--color-nav-hierarchy-collapse-borders);border-top-style:solid;border-top-width:1px}.theme-dark .dropdown-item[data-v-7b701104]{border-top-color:var(--color-nav-dark-hierarchy-collapse-borders)}.dropdown-item[data-v-7b701104]:first-child{border-top:none}.nav-menu-link[data-v-7b701104]{max-width:57.6470588235rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;padding:.75rem 1rem}.hierarchy-item[data-v-13293168]{display:flex;align-items:center;margin-left:0}.hierarchy-item[data-v-13293168]:not(:first-child):before{content:"/";width:.2941176471rem;margin:0 .2941176471rem}.nav--in-breakpoint-range .hierarchy-item[data-v-13293168]{border-top:1px solid var(--color-nav-hierarchy-item-borders);display:flex;align-items:center}.theme-dark.nav--in-breakpoint-range .hierarchy-item[data-v-13293168]{border-top-color:var(--color-nav-dark-hierarchy-item-borders)}.nav--in-breakpoint-range .hierarchy-item[data-v-13293168]:first-of-type{border-top:none}.hierarchy-item.collapsed[data-v-13293168]{display:none}:root.no-js .hierarchy-item.collapsed[data-v-13293168]{display:flex}.nav--in-breakpoint-range .hierarchy-item.collapsed[data-v-13293168]{display:inline-block}.item[data-v-13293168]{display:inline-block;vertical-align:middle}.nav--in-breakpoint-range .item[data-v-13293168]{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;height:100%;line-height:2.4705882353rem}@media only screen and (min-width:768px){.hierarchy-item:first-child:last-child .item[data-v-13293168],.hierarchy-item:first-child:last-child~.hierarchy-item .item[data-v-13293168]{max-width:45rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.has-badge .hierarchy-item:first-child:last-child .item[data-v-13293168],.has-badge .hierarchy-item:first-child:last-child~.hierarchy-item .item[data-v-13293168],.hierarchy-item:first-child:nth-last-child(2) .item[data-v-13293168],.hierarchy-item:first-child:nth-last-child(2)~.hierarchy-item .item[data-v-13293168]{max-width:36rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.has-badge .hierarchy-item:first-child:nth-last-child(2) .item[data-v-13293168],.has-badge .hierarchy-item:first-child:nth-last-child(2)~.hierarchy-item .item[data-v-13293168]{max-width:28.8rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hierarchy-item:first-child:nth-last-child(3) .item[data-v-13293168],.hierarchy-item:first-child:nth-last-child(3)~.hierarchy-item .item[data-v-13293168]{max-width:27rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.has-badge .hierarchy-item:first-child:nth-last-child(3) .item[data-v-13293168],.has-badge .hierarchy-item:first-child:nth-last-child(3)~.hierarchy-item .item[data-v-13293168]{max-width:21.6rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hierarchy-item:first-child:nth-last-child(4) .item[data-v-13293168],.hierarchy-item:first-child:nth-last-child(4)~.hierarchy-item .item[data-v-13293168]{max-width:18rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.has-badge .hierarchy-item:first-child:nth-last-child(4) .item[data-v-13293168],.has-badge .hierarchy-item:first-child:nth-last-child(4)~.hierarchy-item .item[data-v-13293168]{max-width:14.4rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hierarchy-item:first-child:nth-last-child(5) .item[data-v-13293168],.hierarchy-item:first-child:nth-last-child(5)~.hierarchy-item .item[data-v-13293168]{max-width:9rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.has-badge .hierarchy-item:first-child:nth-last-child(5) .item[data-v-13293168],.has-badge .hierarchy-item:first-child:nth-last-child(5)~.hierarchy-item .item[data-v-13293168]{max-width:7.2rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hierarchy-collapsed-items~.hierarchy-item .item[data-v-13293168]{max-width:10.8rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hierarchy-collapsed-items~.hierarchy-item:last-child .item[data-v-13293168]{max-width:none}.has-badge .hierarchy-collapsed-items~.hierarchy-item .item[data-v-13293168]{max-width:8.64rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}.hierarchy[data-v-1389acd4]{font-size:.8235294118rem;line-height:1.4285714286;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);justify-content:flex-start;align-items:center;margin:0 0 1.1764705882rem 0;min-width:0}.nav--in-breakpoint-range .hierarchy[data-v-1389acd4]{margin:0}.hierarchy .root-hierarchy .item[data-v-1389acd4]{max-width:10rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[data-v-1389acd4] a.nav-menu-link{color:inherit;text-decoration:underline}.declaration-list-menu[data-v-526f5d69]{position:relative;width:100%}.declaration-list-menu .declaration-list-toggle[data-v-526f5d69]{display:flex;flex-direction:row;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background-color:var(--color-fill);padding:5px 15px;color:var(--colors-link,var(--color-link));z-index:1;gap:5px;white-space:nowrap;align-items:center}.declaration-list-menu .icon[data-v-526f5d69]{display:flex}.declaration-list-menu .icon svg[data-v-526f5d69]{transition-duration:.4s;transition-timing-function:linear;transition-property:transform;width:15px;height:15px;fill:var(--colors-link,var(--color-link))}.declaration-list-menu .icon svg.expand[data-v-526f5d69]{transform:rotate(45deg)}.doc-topic[data-v-526f5d69]{display:flex;flex-direction:column;height:100%}.doc-topic.with-on-this-page[data-v-526f5d69]{--doc-hero-right-offset:192px}#main[data-v-526f5d69]{outline-style:none;height:100%}[data-v-526f5d69] .minimized-title{margin-bottom:.833rem}[data-v-526f5d69] .minimized-title .title{font-size:1.416rem;font-weight:700}[data-v-526f5d69] .minimized-title small{font-size:1rem;padding-left:.416rem}.minimized-abstract[data-v-526f5d69]{font-size:1rem;line-height:1.4705882353;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.container[data-v-526f5d69]:not(.minimized-container){outline-style:none}.full-width-container .container[data-v-526f5d69]:not(.minimized-container){max-width:820px;margin-left:auto;margin-right:auto;padding-left:80px;padding-right:80px;box-sizing:border-box}@media print{.full-width-container .container[data-v-526f5d69]:not(.minimized-container){padding-left:20px;padding-right:20px;max-width:none}}@media only screen and (min-width:1251px){.full-width-container .container[data-v-526f5d69]:not(.minimized-container){max-width:980px}}@media only screen and (min-width:1500px){.full-width-container .container[data-v-526f5d69]:not(.minimized-container){max-width:1080px}}@media only screen and (max-width:735px){.full-width-container .container[data-v-526f5d69]:not(.minimized-container){width:auto;padding-left:20px;padding-right:20px}}.static-width-container .container[data-v-526f5d69]:not(.minimized-container){margin-left:auto;margin-right:auto;width:980px}@media only screen and (max-width:1250px){.static-width-container .container[data-v-526f5d69]:not(.minimized-container){width:692px}}@media only screen and (max-width:735px){.static-width-container .container[data-v-526f5d69]:not(.minimized-container){width:87.5%}}@media only screen and (max-width:320px){.static-width-container .container[data-v-526f5d69]:not(.minimized-container){width:215px}}[data-v-526f5d69] .minimized-container{outline-style:none;--spacing-stacked-margin-large:0.667em;--spacing-stacked-margin-xlarge:1em;--declaration-code-listing-margin:1em 0 0 0;--declaration-conditional-constraints-margin:1em;--declaration-source-link-margin:0.833em;--code-block-style-elements-padding:7px 12px;--spacing-param:var(--spacing-stacked-margin-large);--aside-border-radius:6px;--code-border-radius:6px}[data-v-526f5d69] .minimized-container .description{margin-bottom:1.5em}[data-v-526f5d69] .minimized-container>.primary-content>*{margin-top:1.5em;margin-bottom:1.5em}[data-v-526f5d69] .minimized-container .description{margin-top:0}[data-v-526f5d69] .minimized-container h1,[data-v-526f5d69] .minimized-container h2,[data-v-526f5d69] .minimized-container h3,[data-v-526f5d69] .minimized-container h4,[data-v-526f5d69] .minimized-container h5,[data-v-526f5d69] .minimized-container h6{font-size:1rem;font-weight:700}[data-v-526f5d69] .minimized-container h2{font-size:1.083rem}[data-v-526f5d69] .minimized-container h1{font-size:1.416rem}[data-v-526f5d69] .minimized-container aside{padding:.667rem 1rem}[data-v-526f5d69] .minimized-container .source{border-radius:var(--code-border-radius);margin:var(--declaration-code-listing-margin)}[data-v-526f5d69] .minimized-container .single-line{border-radius:var(--code-border-radius)}.description[data-v-526f5d69]{margin-bottom:2.353rem}.description[data-v-526f5d69]:empty{display:none}.description.after-enhanced-hero[data-v-526f5d69]{margin-top:2.353rem}.description[data-v-526f5d69] .content+*{margin-top:var(--spacing-stacked-margin-large)}.full-width-container .doc-content .minimized-container[data-v-526f5d69]{padding-left:1.4rem;padding-right:1.4rem}[data-v-526f5d69] .no-primary-content{--content-table-title-border-width:0px}.sample-download[data-v-526f5d69]{margin-top:20px}.declarations-container[data-v-526f5d69]{margin-top:40px}.declarations-container.minimized-container[data-v-526f5d69]{margin-top:0}[data-v-526f5d69] h1{font-size:2.3529411765rem;line-height:1.1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){[data-v-526f5d69] h1{font-size:1.8823529412rem;line-height:1.125;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){[data-v-526f5d69] h1{font-size:1.6470588235rem;line-height:1.1428571429;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}[data-v-526f5d69] h2{font-size:1.8823529412rem;line-height:1.125;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){[data-v-526f5d69] h2{font-size:1.6470588235rem;line-height:1.1428571429;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){[data-v-526f5d69] h2{font-size:1.4117647059rem;line-height:1.1666666667;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}[data-v-526f5d69] h3{font-size:1.6470588235rem;line-height:1.1428571429;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){[data-v-526f5d69] h3{font-size:1.4117647059rem;line-height:1.1666666667;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){[data-v-526f5d69] h3{font-size:1.2352941176rem;line-height:1.1904761905;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}[data-v-526f5d69] h4{font-size:1.4117647059rem;line-height:1.1666666667;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){[data-v-526f5d69] h4{font-size:1.2352941176rem;line-height:1.1904761905;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}[data-v-526f5d69] h5{font-size:1.2941176471rem;line-height:1.1818181818;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){[data-v-526f5d69] h5{font-size:1.1764705882rem;line-height:1.2;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){[data-v-526f5d69] h5{font-size:1.0588235294rem;line-height:1.4444444444;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}[data-v-526f5d69] h6{font-size:1rem;line-height:1.4705882353;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.doc-content-wrapper[data-v-526f5d69]{display:flex;justify-content:center}.doc-content-wrapper .doc-content[data-v-526f5d69]{min-width:0;width:100%}.doc-content-wrapper .doc-content .container:only-child .declaration-list-menu[data-v-526f5d69]:last-child:before{border-top-color:var(--colors-grid,var(--color-grid));border-top-style:solid;border-top-width:var(--content-table-title-border-width,1px);content:"";display:block}.with-on-this-page .doc-content-wrapper .doc-content[data-v-526f5d69]{max-width:820px}@media only screen and (min-width:1251px){.with-on-this-page .doc-content-wrapper .doc-content[data-v-526f5d69]{max-width:980px}}@media only screen and (min-width:1500px){.with-on-this-page .doc-content-wrapper .doc-content[data-v-526f5d69]{max-width:1080px}}.quick-navigation-open[data-v-53faf852]{display:flex;align-items:center;justify-content:center;width:16px;border:1px solid var(--color-grid);height:100%;border-radius:var(--border-radius,4px);transition:background-color .15s;box-sizing:border-box}.quick-navigation-open[data-v-53faf852]:hover{background-color:var(--color-fill-tertiary)}@media only screen and (max-width:1023px){.quick-navigation-open[data-v-53faf852]{display:none}}.fromkeyboard .quick-navigation-open[data-v-53faf852]:focus{box-shadow:0 0 0 4px var(--color-focus-color);outline:none;border-color:var(--color-focus-border-color)}.tag[data-v-7e76f326]{display:inline-block;padding-right:.5882352941rem}.tag[data-v-7e76f326]:focus{outline:none}.tag button[data-v-7e76f326]{color:var(--color-figure-gray);background-color:var(--color-fill-tertiary);font-size:.8235294118rem;line-height:1.2857142857;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);border-radius:.8235294118rem;padding:.2352941176rem .5882352941rem;white-space:nowrap;border:1px solid transparent}@media(hover:hover){.tag button[data-v-7e76f326]:hover{transition:background-color .2s,color .2s;background-color:var(--color-fill-blue);color:#fff}}.tag button[data-v-7e76f326]:focus:active{background-color:var(--color-fill-blue);color:#fff}.fromkeyboard .tag button[data-v-7e76f326]:focus,.tag button.focus[data-v-7e76f326],.tag button[data-v-7e76f326]:focus{box-shadow:0 0 0 4px var(--color-focus-color);outline:none;border-color:var(--color-focus-border-color)}.tags[data-v-1f2bd813]{position:relative;margin:0;list-style:none;box-sizing:border-box;transition:padding-right .8s,padding-bottom .8s,max-height 1s,opacity 1s;padding:0}.tags .scroll-wrapper[data-v-1f2bd813]{overflow-x:auto;overflow-y:hidden;-ms-overflow-style:none;scrollbar-color:var(--color-figure-gray-tertiary) transparent;scrollbar-width:thin}.tags .scroll-wrapper[data-v-1f2bd813]::-webkit-scrollbar{height:0}@supports not ((-webkit-touch-callout:none) or (scrollbar-width:none) or (-ms-overflow-style:none)){.tags .scroll-wrapper.scrolling[data-v-1f2bd813]{--scrollbar-height:11px;padding-top:var(--scrollbar-height);height:calc(var(--scroll-target-height) - var(--scrollbar-height));display:flex;align-items:center}}.tags .scroll-wrapper.scrolling[data-v-1f2bd813]::-webkit-scrollbar{height:11px}.tags .scroll-wrapper.scrolling[data-v-1f2bd813]::-webkit-scrollbar-thumb{border-radius:10px;background-color:var(--color-figure-gray-tertiary);border:2px solid transparent;background-clip:padding-box}.tags .scroll-wrapper.scrolling[data-v-1f2bd813]::-webkit-scrollbar-track-piece:end{margin-right:8px}.tags .scroll-wrapper.scrolling[data-v-1f2bd813]::-webkit-scrollbar-track-piece:start{margin-left:8px}.tags ul[data-v-1f2bd813]{margin:0;padding:0;display:flex}.filter[data-v-7a79f6ea]{--input-vertical-padding:0.7647058824rem;--input-horizontal-spacing:0.5882352941rem;--input-height:1.6470588235rem;--input-border-color:var(--color-fill-gray-secondary);--input-text:var(--color-fill-gray-secondary);position:relative;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);border-radius:calc(var(--border-radius, 4px) + 1px)}.fromkeyboard .filter[data-v-7a79f6ea]:focus{outline:none}.filter__top-wrapper[data-v-7a79f6ea]{display:flex}.filter__filter-button[data-v-7a79f6ea]{position:relative;z-index:1;cursor:text;margin-left:var(--input-horizontal-spacing);margin-right:.1764705882rem}@media only screen and (max-width:735px){.filter__filter-button[data-v-7a79f6ea]{margin-right:.4117647059rem}}.filter__filter-button .svg-icon[data-v-7a79f6ea]{fill:var(--input-text);display:block;height:21px}.filter__filter-button.blue[data-v-7a79f6ea]>*{fill:var(--color-figure-blue);color:var(--color-figure-blue)}.filter.focus .filter__wrapper[data-v-7a79f6ea]{box-shadow:0 0 0 3pt var(--color-focus-color);--input-border-color:var(--color-fill-blue)}.filter__wrapper[data-v-7a79f6ea]{border:1px solid var(--input-border-color);background:var(--color-fill);border-radius:var(--border-radius,4px)}.filter__wrapper--reversed[data-v-7a79f6ea]{display:flex;flex-direction:column-reverse}.filter__wrapper--no-border-style[data-v-7a79f6ea]{border:none}.filter__suggested-tags[data-v-7a79f6ea]{border-top:1px solid var(--color-fill-gray-tertiary);z-index:1;overflow:hidden}.filter__suggested-tags[data-v-7a79f6ea] ul{padding:var(--input-vertical-padding) .5294117647rem;border:1px solid transparent;border-bottom-left-radius:calc(var(--border-radius, 4px) - 1px);border-bottom-right-radius:calc(var(--border-radius, 4px) - 1px)}.fromkeyboard .filter__suggested-tags[data-v-7a79f6ea] ul:focus{outline:none;box-shadow:0 0 0 5px var(--color-focus-color)}.filter__wrapper--reversed .filter__suggested-tags[data-v-7a79f6ea]{border-bottom:1px solid var(--color-fill-gray-tertiary);border-top:none}.filter__selected-tags[data-v-7a79f6ea]{z-index:1;padding-left:4px;margin:-4px 0}@media only screen and (max-width:735px){.filter__selected-tags[data-v-7a79f6ea]{padding-left:0}}.filter__selected-tags[data-v-7a79f6ea] ul{padding:4px}@media only screen and (max-width:735px){.filter__selected-tags[data-v-7a79f6ea] ul{padding-right:.4117647059rem}}.filter__selected-tags[data-v-7a79f6ea] ul .tag:last-child{padding-right:0}.filter__delete-button[data-v-7a79f6ea]{position:relative;margin:0;z-index:1;border-radius:100%}.fromkeyboard .filter__delete-button[data-v-7a79f6ea]:focus{box-shadow:0 0 0 4px var(--color-focus-color);outline:none}.filter__delete-button .clear-rounded-icon[data-v-7a79f6ea]{height:.7058823529rem;width:.7058823529rem;fill:var(--input-text);display:block}.filter__delete-button-wrapper[data-v-7a79f6ea]{display:flex;align-items:center;padding-right:var(--input-horizontal-spacing);padding-left:.1764705882rem;border-top-right-radius:var(--border-radius,4px);border-bottom-right-radius:var(--border-radius,4px)}.filter__input-label[data-v-7a79f6ea]{position:relative;flex-grow:1;height:var(--input-height);padding:var(--input-vertical-padding) 0}.filter__input-label[data-v-7a79f6ea]:after{content:attr(data-value);visibility:hidden;width:auto;white-space:nowrap;min-width:130px;display:block;text-indent:.4117647059rem}@media only screen and (max-width:735px){.filter__input-label[data-v-7a79f6ea]:after{text-indent:.1764705882rem}}.filter__input-box-wrapper[data-v-7a79f6ea]{overflow-y:hidden;-ms-overflow-style:none;scrollbar-color:var(--color-figure-gray-tertiary) transparent;scrollbar-width:thin;display:flex;overflow-x:auto;align-items:center;cursor:text;flex:1}.filter__input-box-wrapper[data-v-7a79f6ea]::-webkit-scrollbar{height:0}@supports not ((-webkit-touch-callout:none) or (scrollbar-width:none) or (-ms-overflow-style:none)){.filter__input-box-wrapper.scrolling[data-v-7a79f6ea]{--scrollbar-height:11px;padding-top:var(--scrollbar-height);height:calc(var(--scroll-target-height) - var(--scrollbar-height));display:flex;align-items:center}}.filter__input-box-wrapper.scrolling[data-v-7a79f6ea]::-webkit-scrollbar{height:11px}.filter__input-box-wrapper.scrolling[data-v-7a79f6ea]::-webkit-scrollbar-thumb{border-radius:10px;background-color:var(--color-figure-gray-tertiary);border:2px solid transparent;background-clip:padding-box}.filter__input-box-wrapper.scrolling[data-v-7a79f6ea]::-webkit-scrollbar-track-piece:end{margin-right:8px}.filter__input-box-wrapper.scrolling[data-v-7a79f6ea]::-webkit-scrollbar-track-piece:start{margin-left:8px}.filter__input[data-v-7a79f6ea]{font-size:1.2352941176rem;line-height:1.380952381;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-text);height:var(--input-height);border:none;width:100%;position:absolute;background:transparent;z-index:1;text-indent:.4117647059rem}@media only screen and (max-width:735px){.filter__input[data-v-7a79f6ea]{font-size:1.1176470588rem;line-height:1.4210526316;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);text-indent:.1764705882rem}}.filter__input[data-v-7a79f6ea]:focus{outline:none}.filter__input[placeholder][data-v-7a79f6ea]::-moz-placeholder{color:var(--input-text);opacity:1}.filter__input[placeholder][data-v-7a79f6ea]::placeholder{color:var(--input-text);opacity:1}.filter__input[placeholder][data-v-7a79f6ea]:-ms-input-placeholder{color:var(--input-text)}.filter__input[placeholder][data-v-7a79f6ea]::-ms-input-placeholder{color:var(--input-text)}.generic-modal[data-v-795f7b59]{position:fixed;top:0;left:0;right:0;bottom:0;margin:0;z-index:11000;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;background:none;overflow:auto}.modal-fullscreen[data-v-795f7b59]{align-items:stretch}.modal-fullscreen .container[data-v-795f7b59]{margin:0;flex:1;width:100%;height:100%;padding-top:env(safe-area-inset-top);padding-right:env(safe-area-inset-right);padding-bottom:env(safe-area-inset-bottom);padding-left:env(safe-area-inset-left)}.modal-standard[data-v-795f7b59]{padding:20px}.modal-standard .container[data-v-795f7b59]{padding:60px;border-radius:var(--border-radius,4px)}@media screen{[data-color-scheme=dark] .modal-standard .container[data-v-795f7b59]{background:#1d1d1f}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .modal-standard .container[data-v-795f7b59]{background:#1d1d1f}}@media only screen and (max-width:735px){.modal-standard[data-v-795f7b59]{padding:0;align-items:stretch}.modal-standard .container[data-v-795f7b59]{margin:20px 0 0;padding:50px 30px;flex:1;width:100%;border-bottom-left-radius:0;border-bottom-right-radius:0}}.backdrop[data-v-795f7b59]{overflow:auto;background:var(--backdrop-background,rgba(0,0,0,.4));-webkit-overflow-scrolling:touch;width:100%;height:100%;position:fixed}.container[data-v-795f7b59]{margin-left:auto;margin-right:auto;width:980px;background:var(--colors-generic-modal-background,var(--color-generic-modal-background));z-index:1;position:relative;overflow:auto;max-width:100%}@media only screen and (max-width:1250px){.container[data-v-795f7b59]{width:692px}}@media only screen and (max-width:735px){.container[data-v-795f7b59]{width:87.5%}}@media only screen and (max-width:320px){.container[data-v-795f7b59]{width:215px}}.close[data-v-795f7b59]{position:absolute;z-index:9999;top:22px;left:22px;width:17px;height:17px;color:#666;cursor:pointer;background:none;border:0;display:flex;align-items:center}.close .close-icon[data-v-795f7b59]{fill:currentColor;width:100%;height:100%}.theme-dark .container[data-v-795f7b59]{background:#000}.theme-dark .container .close[data-v-795f7b59]{color:#b0b0b0}.theme-code .container[data-v-795f7b59]{background-color:var(--code-background,var(--color-code-background))}.highlight[data-v-4a2ce75d]{display:inline}.highlight[data-v-4a2ce75d] .match{font-weight:600;background:var(--color-fill-light-blue-secondary)}@media only screen and (max-width:735px){.preview[data-v-779b8b01]{display:none}}.unavailable[data-v-779b8b01]{align-items:center;display:flex;height:100%;justify-content:center}.loading[data-v-779b8b01]{padding:20px}.loading-row[data-v-779b8b01]{animation:pulse 2.5s ease;animation-delay:calc(1s + .3s*var(--index));animation-fill-mode:forwards;animation-iteration-count:infinite;background-color:var(--color-fill-gray-tertiary);border-radius:4px;height:12px;margin:20px 0;opacity:0}.loading-row[data-v-779b8b01]:first-of-type{margin-top:0}.loading-row[data-v-779b8b01]:last-of-type{margin-bottom:0}.quick-navigation[data-v-5c0b211c]{--input-border-color:var(--color-grid)}.quick-navigation input[type=text][data-v-5c0b211c]{font-size:1.2352941176rem;line-height:1.380952381;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:735px){.quick-navigation input[type=text][data-v-5c0b211c]{font-size:1.1176470588rem;line-height:1.4210526316;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.quick-navigation__filter[data-v-5c0b211c]{--input-horizontal-spacing:0.8823529412rem}.quick-navigation[data-v-5c0b211c] .filter__wrapper{background-color:var(--color-fill-secondary)}.quick-navigation__container[data-v-5c0b211c]{background-color:var(--color-fill-secondary);border:solid 1px var(--input-border-color);border-radius:var(--border-radius,4px);margin:0 .9411764706rem}.quick-navigation__container>[data-v-5c0b211c]{--input-text:var(--color-figure-gray-secondary)}.quick-navigation__container.focus[data-v-5c0b211c]{box-shadow:0 0 0 4px var(--color-focus-color);outline:none;border-color:var(--color-focus-border-color)}.quick-navigation__container[data-v-5c0b211c] .declaration-list-toggle{background-color:var(--color-fill-secondary)}.quick-navigation__magnifier-icon-container[data-v-5c0b211c]{width:1rem}.quick-navigation__magnifier-icon-container>[data-v-5c0b211c]{width:100%}.quick-navigation__magnifier-icon-container.blue .magnifier-icon[data-v-5c0b211c]{fill:var(--color-figure-blue);color:var(--color-figure-blue)}.quick-navigation__match-list[data-v-5c0b211c]{display:flex;max-height:26.4705882353rem;height:0}.quick-navigation__match-list>[data-v-5c0b211c]{min-width:0}.quick-navigation__match-list.active[data-v-5c0b211c]{height:auto;border-top:1px solid var(--input-border-color)}.quick-navigation__match-list .no-results[data-v-5c0b211c]{margin:.8823529412rem auto;width:-moz-fit-content;width:fit-content}.quick-navigation__refs[data-v-5c0b211c]{flex:1;overflow:auto}.quick-navigation__preview[data-v-5c0b211c]{border-left:1px solid var(--color-grid);flex:0 0 61.8%;overflow:auto;position:sticky;top:0}.quick-navigation__reference[data-v-5c0b211c]{display:block;padding:.5882352941rem .8823529412rem}.quick-navigation__reference[data-v-5c0b211c]:hover{text-decoration:none;background-color:var(--color-navigator-item-hover)}.quick-navigation__reference[data-v-5c0b211c]:focus{margin:0 .2941176471rem;padding:.5882352941rem .5882352941rem;background-color:var(--color-navigator-item-hover)}.quick-navigation__symbol-match[data-v-5c0b211c]{display:flex;height:2.3529411765rem;color:var(--color-figure-gray)}.quick-navigation__symbol-match .symbol-info[data-v-5c0b211c]{margin:auto;width:100%}.quick-navigation__symbol-match .symbol-info .navigator-icon[data-v-5c0b211c]{margin-right:.5882352941rem}.quick-navigation__symbol-match .symbol-info .symbol-name[data-v-5c0b211c]{display:flex}.quick-navigation__symbol-match .symbol-info .symbol-name .symbol-title[data-v-5c0b211c]{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.quick-navigation__symbol-match .symbol-info .symbol-path[data-v-5c0b211c]{font-size:.8235294118rem;line-height:1.2857142857;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-figure-gray-secondary);display:flex;margin-left:1.5882352941rem;overflow:hidden;white-space:nowrap}.quick-navigation__symbol-match .symbol-info .symbol-path .parent-path[data-v-5c0b211c]{padding-right:.2941176471rem}@media print{.sidebar[data-v-5cd50784]{display:none}}.adjustable-sidebar-width[data-v-5cd50784]{display:flex}@media only screen and (max-width:1023px){.adjustable-sidebar-width[data-v-5cd50784]{display:block;position:relative}}.adjustable-sidebar-width.dragging[data-v-5cd50784] *{cursor:col-resize!important}.adjustable-sidebar-width.sidebar-hidden.dragging[data-v-5cd50784] *{cursor:e-resize!important}.sidebar[data-v-5cd50784]{position:relative}@media only screen and (max-width:1023px){.sidebar[data-v-5cd50784]{position:static}}.aside[data-v-5cd50784]{width:250px;position:relative;height:100%;max-width:100vw}.aside.no-transition[data-v-5cd50784]{transition:none!important}@media only screen and (min-width:1024px){.aside[data-v-5cd50784]{transition:width .3s ease-in,visibility 0s linear var(--visibility-transition-time,0s)}.aside.dragging[data-v-5cd50784]:not(.is-opening-on-large):not(.hide-on-large){transition:none}.aside.hide-on-large[data-v-5cd50784]{width:0!important;visibility:hidden;pointer-events:none;--visibility-transition-time:0.3s}}@media only screen and (max-width:1023px){.aside[data-v-5cd50784]{width:100%!important;overflow:hidden;min-width:0;max-width:100%;height:calc(var(--app-height) - var(--top-offset-mobile));position:fixed;top:var(--top-offset-mobile);bottom:0;z-index:9998;transform:translateX(-100%);transition:transform .15s ease-in;left:0}.aside[data-v-5cd50784] .aside-animated-child{opacity:0}.aside.show-on-mobile[data-v-5cd50784]{transform:translateX(0)}.aside.show-on-mobile[data-v-5cd50784] .aside-animated-child{--index:0;opacity:1;transition:opacity .15s linear;transition-delay:calc(var(--index)*.15s + .15s)}.aside.has-mobile-top-offset[data-v-5cd50784]{border-top:1px solid var(--color-fill-gray-tertiary)}}.content[data-v-5cd50784]{display:flex;flex-flow:column;min-width:0;flex:1 1 auto;height:100%}.resize-handle[data-v-5cd50784]{position:absolute;cursor:col-resize;top:0;bottom:0;right:0;width:5px;height:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:1;transition:background-color .15s;transform:translateX(50%)}@media only screen and (max-width:1023px){.resize-handle[data-v-5cd50784]{display:none}}.resize-handle[data-v-5cd50784]:hover{background:var(--color-fill-gray-tertiary)}.navigator-card-item[data-v-62ea5d36]{--nav-head-wrapper-left-space:20px;--nav-head-wrapper-right-space:20px;--head-wrapper-vertical-space:5px;--nav-depth-spacer:20px;--nesting-index:0;display:flex;align-items:stretch;min-height:32px;box-sizing:border-box;padding:0 var(--nav-head-wrapper-right-space) 0 var(--nav-head-wrapper-left-space)}.navigator-card-item.active .head-wrapper[data-v-62ea5d36]{background:var(--color-fill-gray-quaternary)}.hover .navigator-card-item:not(.is-group) .head-wrapper[data-v-62ea5d36]{background:var(--color-navigator-item-hover)}.depth-spacer[data-v-62ea5d36]{width:calc(var(--nesting-index)*15px + var(--nav-depth-spacer));height:100%;position:relative;flex:0 0 auto}.title-container[data-v-62ea5d36]{width:100%;min-width:0;display:flex;align-items:center}.navigator-icon-wrapper[data-v-62ea5d36]{margin-right:7px}.head-wrapper[data-v-62ea5d36]{position:relative;display:flex;align-items:center;flex:1;min-width:0;border-radius:var(--border-radius,4px);padding:var(--head-wrapper-vertical-space) 0}.fromkeyboard .head-wrapper[data-v-62ea5d36]:focus-within{outline:4px solid var(--color-focus-color);outline-offset:-4px}@supports(padding:max(0px)){.head-wrapper[data-v-62ea5d36]{padding-right:max(var(--nav-head-wrapper-right-space),env(safe-area-inset-right))}}.highlight[data-v-7b81ca08]{display:inline}.highlight[data-v-7b81ca08] .match{font-weight:600;background:var(--color-fill-light-blue-secondary)}.is-group .leaf-link[data-v-7ae37cc6]{color:var(--color-figure-gray-secondary);font-weight:600}.is-group .leaf-link[data-v-7ae37cc6]:after{display:none}.navigator-icon[data-v-7ae37cc6]{display:flex;flex:0 0 auto}.navigator-icon.changed[data-v-7ae37cc6]{border:none;width:1em;height:1em;z-index:0}.navigator-icon.changed[data-v-7ae37cc6]:after{top:50%;left:50%;right:auto;bottom:auto;transform:translate(-50%,-50%);background-image:url(../img/modified-icon.efb2697d.svg);margin:0}@media screen{[data-color-scheme=dark] .navigator-icon.changed[data-v-7ae37cc6]:after{background-image:url(../img/modified-icon.efb2697d.svg)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .navigator-icon.changed[data-v-7ae37cc6]:after{background-image:url(../img/modified-icon.efb2697d.svg)}}.navigator-icon.changed-added[data-v-7ae37cc6]:after{background-image:url(../img/added-icon.832a5d2c.svg)}@media screen{[data-color-scheme=dark] .navigator-icon.changed-added[data-v-7ae37cc6]:after{background-image:url(../img/added-icon.832a5d2c.svg)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .navigator-icon.changed-added[data-v-7ae37cc6]:after{background-image:url(../img/added-icon.832a5d2c.svg)}}.navigator-icon.changed-deprecated[data-v-7ae37cc6]:after{background-image:url(../img/deprecated-icon.7bf1740a.svg)}@media screen{[data-color-scheme=dark] .navigator-icon.changed-deprecated[data-v-7ae37cc6]:after{background-image:url(../img/deprecated-icon.7bf1740a.svg)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .navigator-icon.changed-deprecated[data-v-7ae37cc6]:after{background-image:url(../img/deprecated-icon.7bf1740a.svg)}}.leaf-link[data-v-7ae37cc6]{color:var(--color-figure-gray);text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:100%;display:inline;vertical-align:middle;font-size:1rem;line-height:1.4705882353;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.fromkeyboard .leaf-link[data-v-7ae37cc6]:focus{outline:none}.leaf-link[data-v-7ae37cc6]:hover{text-decoration:none}.leaf-link.bolded[data-v-7ae37cc6]{font-weight:600}.leaf-link[data-v-7ae37cc6]:after{content:"";position:absolute;top:0;left:0;right:0;bottom:0}.extended-content[data-v-7ae37cc6]{font-size:.8235294118rem;line-height:1.4285714286;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-figure-gray-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tree-toggle[data-v-7ae37cc6]{overflow:hidden;position:absolute;width:100%;height:100%;padding-right:5px;box-sizing:border-box;z-index:1;display:flex;align-items:center;justify-content:flex-end}.chevron[data-v-7ae37cc6]{width:10px}.chevron.animating[data-v-7ae37cc6]{transition:transform .15s ease-in}.chevron.rotate[data-v-7ae37cc6]{transform:rotate(90deg)}.navigator-card[data-v-063d9cca]{--card-vertical-spacing:10px;--card-horizontal-spacing:20px;--nav-filter-horizontal-padding:20px;--visibility-delay:1s;display:flex;flex-direction:column;min-height:0;height:calc(var(--app-height) - 3.05882rem);position:sticky;top:3.0588235294rem}@media only screen and (max-width:1023px){.navigator-card[data-v-063d9cca]{height:100%;position:static;background:var(--color-fill)}}.navigator-card .navigator-card-full-height[data-v-063d9cca]{min-height:0;flex:1 1 auto}.navigator-card .head-inner[data-v-063d9cca]{display:none;width:100%;font-size:1.2352941176rem;line-height:1.1904761905;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);height:2.8235294118rem}@media only screen and (max-width:767px){.navigator-card .head-inner[data-v-063d9cca]{font-size:1rem;line-height:1;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:1023px){.navigator-card .head-inner[data-v-063d9cca]{display:flex;justify-content:flex-end;align-items:center}}.navigator-card .head-inner span[data-v-063d9cca],.navigator-card .head-inner>a[data-v-063d9cca]{color:var(--color-figure-gray);width:100%}.navigator-card .head-wrapper[data-v-063d9cca]{display:flex;justify-content:space-between;flex:1 0 auto}@supports(padding:max(0px)){.navigator-card .head-wrapper[data-v-063d9cca]{margin-left:max(var(--card-horizontal-spacing),env(safe-area-inset-left));margin-right:max(var(--card-horizontal-spacing),env(safe-area-inset-right))}}.close-card .close-icon[data-v-063d9cca]{width:19px;height:19px}[data-v-063d9cca] .card-body{display:flex;flex-direction:column;padding-right:0;flex:1 1 auto;min-height:0;height:100%}@media only screen and (max-width:1023px){[data-v-063d9cca] .card-body{--card-vertical-spacing:0px}}.navigator-card-inner[data-v-063d9cca]{display:flex;flex-flow:column;height:100%;padding-top:10px;box-sizing:border-box}@media only screen and (max-width:1023px){.navigator-card-inner[data-v-063d9cca]{padding-top:0}}.filter-on-top .navigator-card-inner[data-v-063d9cca]{padding-top:0}.vue-recycle-scroller{position:relative}.vue-recycle-scroller.direction-vertical:not(.page-mode){overflow-y:auto}.vue-recycle-scroller.direction-horizontal:not(.page-mode){overflow-x:auto}.vue-recycle-scroller.direction-horizontal{display:-webkit-box;display:-ms-flexbox;display:flex}.vue-recycle-scroller__slot{-webkit-box-flex:1;-ms-flex:auto 0 0px;flex:auto 0 0}.vue-recycle-scroller__item-wrapper{-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;position:relative}.vue-recycle-scroller.ready .vue-recycle-scroller__item-view{position:absolute;top:0;left:0;will-change:transform}.vue-recycle-scroller.direction-vertical .vue-recycle-scroller__item-wrapper{width:100%}.vue-recycle-scroller.direction-horizontal .vue-recycle-scroller__item-wrapper{height:100%}.vue-recycle-scroller.ready.direction-vertical .vue-recycle-scroller__item-view{width:100%}.vue-recycle-scroller.ready.direction-horizontal .vue-recycle-scroller__item-view{height:100%}.resize-observer[data-v-b329ee4c]{border:none;background-color:transparent;opacity:0}.resize-observer[data-v-b329ee4c],.resize-observer[data-v-b329ee4c] object{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;pointer-events:none;display:block;overflow:hidden}.navigator-card.filter-on-top .filter-wrapper[data-v-25394030]{order:1;position:static}.navigator-card.filter-on-top .card-body[data-v-25394030]{order:2}.no-items-wrapper[data-v-25394030]{overflow:hidden;color:var(--color-figure-gray-tertiary)}.no-items-wrapper .no-items[data-v-25394030]:not(:empty){font-size:.8235294118rem;line-height:1.4285714286;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);padding:var(--card-vertical-spacing) var(--card-horizontal-spacing);min-width:200px;box-sizing:border-box}.technology-title[data-v-25394030]{padding:8px 10px;padding-left:20px;background:var(--color-fill);border-radius:var(--border-radius,4px);display:flex;white-space:nowrap}@supports(padding:max(0px)){.technology-title[data-v-25394030]{margin-left:max(var(--card-horizontal-spacing),env(safe-area-inset-left));margin-right:max(var(--card-horizontal-spacing),env(safe-area-inset-right))}}@media only screen and (max-width:767px){.technology-title[data-v-25394030]{margin-top:0}}.technology-title .card-link[data-v-25394030]{color:var(--color-text);font-size:1.1176470588rem;line-height:1.2105263158;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);font-weight:600;overflow:hidden;text-overflow:ellipsis}.technology-title.router-link-exact-active[data-v-25394030]{background:var(--color-fill-gray-quaternary)}.technology-title[data-v-25394030]:hover{background:var(--color-navigator-item-hover);text-decoration:none}.navigator-filter[data-v-25394030]{box-sizing:border-box;padding:15px var(--nav-filter-horizontal-padding);border-top:1px solid var(--color-grid);height:71px;display:flex;align-items:flex-end}.filter-on-top .navigator-filter[data-v-25394030]{border-top:none;align-items:flex-start}@supports(padding:max(0px)){.navigator-filter[data-v-25394030]{padding-left:max(var(--nav-filter-horizontal-padding),env(safe-area-inset-left));padding-right:max(var(--nav-filter-horizontal-padding),env(safe-area-inset-right))}}@media only screen and (max-width:1023px){.navigator-filter[data-v-25394030]{--nav-filter-horizontal-padding:20px;border:none;padding-top:0;padding-bottom:10px;height:50px}}.navigator-filter .input-wrapper[data-v-25394030]{position:relative;flex:1;min-width:0}.navigator-filter .filter-component[data-v-25394030]{--input-vertical-padding:8px;--input-height:22px;--input-border-color:var(--color-grid);--input-text:var(--color-figure-gray-secondary)}.navigator-filter .filter-component[data-v-25394030] .filter__input{font-size:1rem;line-height:1.4705882353;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.navigator-filter .filter-component[data-v-25394030] .filter__input-label:after{min-width:70px}.scroller[data-v-25394030]{height:100%;box-sizing:border-box;padding-bottom:calc(var(--top-offset, 0px) + var(--card-vertical-spacing));transition:padding-bottom .15s ease-in}@media only screen and (max-width:1023px){.scroller[data-v-25394030]{padding-bottom:10em}}.scroller[data-v-25394030] .vue-recycle-scroller__item-wrapper{transform:translateZ(0)}.filter-wrapper[data-v-25394030]{position:sticky;bottom:0;background:var(--color-fill)}.sidebar-transitioning .filter-wrapper[data-v-25394030]{flex:1 0 71px;overflow:hidden}@media only screen and (max-width:1023px){.sidebar-transitioning .filter-wrapper[data-v-25394030]{flex-basis:50px}}.loader[data-v-0de29914]{height:.7058823529rem;background-color:var(--color-fill-gray-tertiary);border-radius:4px}.navigator-icon[data-v-0de29914]{width:16px;height:16px;border-radius:2px;background-color:var(--color-fill-gray-tertiary)}.loading-navigator-item[data-v-0de29914]{animation:pulse 2.5s ease;animation-iteration-count:infinite;animation-fill-mode:forwards;opacity:0;animation-delay:calc(var(--visibility-delay) + .3s*var(--index))}.delay-visibility-enter-active[data-v-3b7cf3a4]{transition:visibility var(--visibility-delay);visibility:hidden}.loading-navigator[data-v-3b7cf3a4]{padding-top:10px}.navigator[data-v-70247986]{height:100%;display:flex;flex-flow:column}@media only screen and (max-width:1023px){.navigator[data-v-70247986]{position:static;transition:none}}.nav-menu-setting-label[data-v-128c85da]{display:inline-block;margin-right:.2941176471rem;white-space:nowrap}.language-container[data-v-128c85da]{flex:1 0 auto}.language-dropdown[data-v-128c85da]{-webkit-text-size-adjust:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background-color:transparent;box-sizing:inherit;padding:0 11px 0 4px;margin-left:-4px;font-size:.8235294118rem;line-height:1.2857142857;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);cursor:pointer;position:relative;z-index:1}@media only screen and (max-width:1023px){.language-dropdown[data-v-128c85da]{font-size:.8235294118rem;line-height:1.5;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.language-dropdown[data-v-128c85da]:focus{outline:none}.fromkeyboard .language-dropdown[data-v-128c85da]:focus{outline:4px solid var(--color-focus-color);outline-offset:1px}.language-sizer[data-v-128c85da]{position:absolute;opacity:0;pointer-events:none;padding:0}.language-toggle-container[data-v-128c85da]{display:flex;align-items:center;padding-right:.1764705882rem;position:relative}.nav--in-breakpoint-range .language-toggle-container[data-v-128c85da]{display:none}.language-toggle-container .toggle-icon[data-v-128c85da]{width:.6em;height:.6em;position:absolute;right:7px}.language-toggle-label[data-v-128c85da]{margin-right:2px}.language-toggle.nav-menu-toggle-label[data-v-128c85da]{margin-right:6px}.language-list[data-v-128c85da]{display:inline-block;margin-top:0}.language-list-container[data-v-128c85da]{display:none}.language-list-item[data-v-128c85da],.nav--in-breakpoint-range .language-list-container[data-v-128c85da]{display:inline-block}.language-list-item[data-v-128c85da]:not(:first-child){border-left:1px solid var(--color-grid);margin-left:6px;padding-left:6px}[data-v-188439df] .nav-menu{line-height:1.5}[data-v-188439df] .nav-menu,[data-v-188439df] .nav-menu-settings{font-size:.8235294118rem;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}[data-v-188439df] .nav-menu-settings{min-width:0;line-height:1.2857142857}@media only screen and (max-width:1023px){[data-v-188439df] .nav-menu-settings{font-size:.8235294118rem;line-height:1.5;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (min-width:1024px){[data-v-188439df] .nav-menu-settings{margin-left:.5882352941rem}}[data-v-188439df] .nav-menu-settings .nav-menu-setting{display:flex;align-items:center;color:var(--color-nav-current-link);margin-left:0;min-width:0}[data-v-188439df] .nav-menu-settings .nav-menu-setting .nav-menu-link{font-weight:600;text-decoration:underline}[data-v-188439df] .nav-menu-settings .nav-menu-setting:first-child:not(:only-child){margin-right:.5882352941rem}.nav--in-breakpoint-range[data-v-188439df] .nav-menu-settings .nav-menu-setting:first-child:not(:only-child){margin-right:0}.theme-dark[data-v-188439df] .nav-menu-settings .nav-menu-setting{color:var(--color-nav-dark-current-link)}.nav--in-breakpoint-range[data-v-188439df] .nav-menu-settings .nav-menu-setting:not(:first-child){border-top:1px solid var(--color-fill-gray-tertiary)}.documentation-nav[data-v-188439df] .nav-title{font-size:1.2352941176rem;line-height:1.1904761905;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:767px){.documentation-nav[data-v-188439df] .nav-title{font-size:1rem;line-height:1;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.sidenav-toggle-wrapper[data-v-188439df]{display:flex;margin-top:1px}.nav--in-breakpoint-range .sidenav-toggle-wrapper[data-v-188439df]{display:flex!important}@media only screen and (min-width:1024px){.sidenav-toggle-enter-active[data-v-188439df],.sidenav-toggle-leave-active[data-v-188439df]{transition:margin .3s ease-in 0s}.sidenav-toggle-enter[data-v-188439df],.sidenav-toggle-leave-to[data-v-188439df]{margin-left:-3.7647058824rem}}.sidenav-toggle[data-v-188439df]{align-self:center;color:var(--color-nav-link-color);position:relative;margin:0 -5px;border-radius:var(--border-radius,4px)}.theme-dark .sidenav-toggle[data-v-188439df]{color:var(--color-nav-dark-link-color)}.sidenav-toggle:hover .sidenav-icon-wrapper[data-v-188439df]{background:var(--color-fill-gray-quaternary)}.theme-dark .sidenav-toggle:hover .sidenav-icon-wrapper[data-v-188439df]{background:#424242}.sidenav-toggle__separator[data-v-188439df]{height:.8em;width:1px;background:var(--color-nav-color);align-self:center;margin:0 1.2941176471rem}.nav--in-breakpoint-range .sidenav-toggle__separator[data-v-188439df]{display:none}.sidenav-icon-wrapper[data-v-188439df]{padding:5px;display:flex;align-items:center;justify-content:center;border-radius:var(--border-radius,4px)}.sidenav-icon[data-v-188439df]{display:flex;width:19px;height:19px}[data-v-2a6ea42f] .generic-modal{overflow-y:overlay}[data-v-2a6ea42f] .modal-fullscreen>.container{background-color:transparent;height:-moz-fit-content;height:fit-content;flex:auto;margin:9.4117647059rem 0;max-width:47.0588235294rem;overflow:visible}[data-v-2a6ea42f] .navigator-filter .quick-navigation-open{margin-left:var(--nav-filter-horizontal-padding);width:calc(var(--nav-filter-horizontal-padding)*2)}.doc-topic-view[data-v-2a6ea42f]{--delay:1s;display:flex;flex-flow:column;background:var(--colors-text-background,var(--color-text-background))}.doc-topic-view .delay-hiding-leave-active[data-v-2a6ea42f]{transition:display var(--delay)}.doc-topic-aside[data-v-2a6ea42f]{height:100%;box-sizing:border-box;border-right:1px solid var(--color-grid)}@media only screen and (max-width:1023px){.doc-topic-aside[data-v-2a6ea42f]{background:var(--color-fill);border-right:none}.sidebar-transitioning .doc-topic-aside[data-v-2a6ea42f]{border-right:1px solid var(--color-grid)}}.topic-wrapper[data-v-2a6ea42f]{flex:1 1 auto;width:100%}:root.no-js .topic-wrapper[data-v-2a6ea42f] .sidebar{display:none}.full-width-container[data-v-2a6ea42f]{max-width:1920px;margin-left:auto;margin-right:auto}@media only screen and (min-width:1920px){.full-width-container[data-v-2a6ea42f]{border-left:1px solid var(--color-grid);border-right:1px solid var(--color-grid);box-sizing:border-box}} \ No newline at end of file diff --git a/docs/css/index.33ec2115.css b/docs/css/index.33ec2115.css new file mode 100644 index 00000000..6d95c9c4 --- /dev/null +++ b/docs/css/index.33ec2115.css @@ -0,0 +1,9 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */.color-scheme-toggle[data-v-0c0360ce]{--toggle-color-fill:var(--color-button-background);--toggle-color-text:var(--color-fill-blue);font-size:.7058823529rem;line-height:1.3333333333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);border:1px solid var(--toggle-color-fill);border-radius:var(--toggle-border-radius-outer,var(--border-radius,4px));display:inline-flex;padding:1px}@media screen{[data-color-scheme=dark] .color-scheme-toggle[data-v-0c0360ce]{--toggle-color-text:var(--color-figure-blue)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .color-scheme-toggle[data-v-0c0360ce]{--toggle-color-text:var(--color-figure-blue)}}@media print{.color-scheme-toggle[data-v-0c0360ce]{display:none}}:root.no-js .color-scheme-toggle[data-v-0c0360ce]{visibility:hidden}input[data-v-0c0360ce]{position:absolute;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(0 0 99.9% 99.9%);clip-path:inset(0 0 99.9% 99.9%);overflow:hidden;height:1px;width:1px;padding:0;border:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.fromkeyboard label[data-v-0c0360ce]:focus-within{outline:4px solid var(--color-focus-color);outline-offset:1px}.text[data-v-0c0360ce]{border:1px solid transparent;border-radius:var(--toggle-border-radius-inner,2px);color:var(--toggle-color-text);display:inline-block;text-align:center;padding:1px 6px;min-width:42px;box-sizing:border-box}.text[data-v-0c0360ce]:hover{cursor:pointer}input:checked+.text[data-v-0c0360ce]{--toggle-color-text:var(--color-button-text);background:var(--toggle-color-fill);border-color:var(--toggle-color-fill)}.footer[data-v-4e049dbd]{border-top:1px solid var(--color-grid)}.row[data-v-4e049dbd]{margin-left:auto;margin-right:auto;width:980px;display:flex;flex-direction:row-reverse;margin:20px auto}@media only screen and (max-width:1250px){.row[data-v-4e049dbd]{width:692px}}@media only screen and (max-width:735px){.row[data-v-4e049dbd]{width:87.5%}}@media only screen and (max-width:320px){.row[data-v-4e049dbd]{width:215px}}@media only screen and (max-width:735px){.row[data-v-4e049dbd]{width:100%;padding:0 .9411764706rem;box-sizing:border-box}}.InitialLoadingPlaceholder[data-v-35c356b6]{background:var(--colors-loading-placeholder-background,var(--color-loading-placeholder-background));height:100vh;width:100%}.svg-icon[data-v-3434f4d2]{fill:var(--colors-svg-icon-fill-light,var(--color-svg-icon));transform:scale(1);-webkit-transform:scale(1);overflow:visible}.theme-dark .svg-icon[data-v-3434f4d2]{fill:var(--colors-svg-icon-fill-dark,var(--color-svg-icon))}@media screen{[data-color-scheme=dark] .svg-icon[data-v-3434f4d2]{fill:var(--colors-svg-icon-fill-dark,var(--color-svg-icon))}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .svg-icon[data-v-3434f4d2]{fill:var(--colors-svg-icon-fill-dark,var(--color-svg-icon))}}.svg-icon.icon-inline[data-v-3434f4d2]{display:inline-block;vertical-align:middle;fill:currentColor}.svg-icon.icon-inline[data-v-3434f4d2] .svg-icon-stroke{stroke:currentColor}[data-v-3434f4d2] .svg-icon-stroke{stroke:var(--colors-svg-icon-fill-light,var(--color-svg-icon))}.theme-dark[data-v-3434f4d2] .svg-icon-stroke{stroke:var(--colors-svg-icon-fill-dark,var(--color-svg-icon))}@media screen{[data-color-scheme=dark][data-v-3434f4d2] .svg-icon-stroke{stroke:var(--colors-svg-icon-fill-dark,var(--color-svg-icon))}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto][data-v-3434f4d2] .svg-icon-stroke{stroke:var(--colors-svg-icon-fill-dark,var(--color-svg-icon))}}.suggest-lang[data-v-768a347b]{background:#000;color:#fff;display:flex;justify-content:center;border-bottom:1px solid var(--color-grid)}.suggest-lang__wrapper[data-v-768a347b]{display:flex;align-items:center;width:100%;max-width:var(--wrapper-max-width,1920px);margin:0 .9411764706rem;position:relative;height:52px}.suggest-lang__link[data-v-768a347b]{font-size:.8235294118rem;line-height:1.4285714286;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);margin:0 auto;color:#09f}.suggest-lang__close-icon-wrapper[data-v-768a347b]{position:absolute;right:-.2352941176rem;top:0;height:100%;box-sizing:border-box;display:flex;align-items:center;z-index:1}.suggest-lang__close-icon-button[data-v-768a347b]{padding:.2352941176rem}.suggest-lang__close-icon-button .close-icon[data-v-768a347b]{width:8px;display:block}.suggest-lang .inline-chevron-right-icon[data-v-768a347b]{padding-left:.2352941176rem;width:8px}select[data-v-d21858a2]{font-size:.7058823529rem;line-height:1.3333333333;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-fill-blue);padding-right:15px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:none;cursor:pointer}select[data-v-d21858a2]:hover{text-decoration:underline}.locale-selector[data-v-d21858a2]{position:relative}.svg-icon.icon-inline[data-v-d21858a2]{position:absolute;fill:var(--color-fill-blue);right:2px;bottom:7px;height:5px}html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;background-color:var(--colors-text-background,var(--color-text-background));height:100%}abbr,blockquote,body,button,dd,dl,dt,fieldset,figure,form,h1,h2,h3,h4,h5,h6,hgroup,input,legend,li,ol,p,pre,ul{margin:0;padding:0}address,caption,code,figcaption,pre,th{font-size:1em;font-weight:400;font-style:normal}fieldset,iframe,img{border:0}caption,th{text-align:left}table{border-collapse:collapse;border-spacing:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}button{background:none;border:0;box-sizing:content-box;color:inherit;cursor:pointer;font:inherit;line-height:inherit;overflow:visible;vertical-align:inherit}button:disabled{cursor:default}:focus{outline:4px solid var(--color-focus-color);outline-offset:1px}::-moz-focus-inner{border:0;padding:0}@media print{#content,#main,body{color:#000}a,a:link,a:visited{color:#000;text-decoration:none}.hide,.noprint{display:none}}body{height:100%;min-width:320px}html{font:var(--typography-html-font,17px "Helvetica Neue","Helvetica","Arial",sans-serif);quotes:"“" "”"}html:lang(ja-JP){quotes:"「" "」"}body{font-size:1rem;line-height:1.4705882353;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);background-color:var(--color-text-background);color:var(--colors-text,var(--color-text));font-style:normal;word-wrap:break-word;--spacing-stacked-margin-small:0.4em;--spacing-stacked-margin-large:0.8em;--spacing-stacked-margin-xlarge:calc(var(--spacing-stacked-margin-large)*2);--spacing-param:1.6470588235rem;--declaration-code-listing-margin:30px 0 0 0;--code-block-style-elements-padding:8px 14px}body,button,input,select,textarea{font-synthesis:none;-moz-font-feature-settings:"kern";-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;direction:ltr;text-align:left}h1,h2,h3,h4,h5,h6{color:var(--colors-header-text,var(--color-header-text))}h1+*,h2+*,h3+*,h4+*,h5+*,h6+*{margin-top:var(--spacing-stacked-margin-large)}ol+h1,ol+h2,ol+h3,ol+h4,ol+h5,ol+h6,p+h1,p+h2,p+h3,p+h4,p+h5,p+h6,ul+h1,ul+h2,ul+h3,ul+h4,ul+h5,ul+h6{margin-top:1.6em}ol+*,p+*,ul+*{margin-top:var(--spacing-stacked-margin-large)}ol,ul{margin-left:1.1764705882em}ol ol,ol ul,ul ol,ul ul{margin-top:0;margin-bottom:0}nav ol,nav ul{margin:0;list-style:none}li li{font-size:1em}a{color:var(--colors-link,var(--color-link))}a:link,a:visited{text-decoration:none}a.inline-link,a:hover{text-decoration:underline}a:active{text-decoration:none}p+a{display:inline-block}b,strong{font-weight:600}cite,dfn,em,i{font-style:italic}sup{font-size:.6em;vertical-align:top;position:relative;bottom:-.2em}h1 sup,h2 sup,h3 sup{font-size:.4em}sup a{vertical-align:inherit;color:inherit}sup a:hover{color:var(--figure-blue);text-decoration:none}sub{line-height:1}abbr{border:0}pre{overflow:auto;-webkit-overflow-scrolling:auto;white-space:pre;word-wrap:normal}code{font-family:var(--typography-html-font-mono,Menlo,monospace);font-weight:inherit;letter-spacing:0}.syntax-addition{color:var(--syntax-addition,var(--color-syntax-addition))}.syntax-comment{color:var(--syntax-comment,var(--color-syntax-comments))}.syntax-quote{color:var(--syntax-quote,var(--color-syntax-comments))}.syntax-deletion{color:var(--syntax-deletion,var(--color-syntax-deletion))}.syntax-keyword{color:var(--syntax-keyword,var(--color-syntax-keywords))}.syntax-literal{color:var(--syntax-literal,var(--color-syntax-keywords))}.syntax-selector-tag{color:var(--syntax-selector-tag,var(--color-syntax-keywords))}.syntax-string{color:var(--syntax-string,var(--color-syntax-strings))}.syntax-bullet{color:var(--syntax-bullet,var(--color-syntax-characters))}.syntax-meta{color:var(--syntax-meta,var(--color-syntax-characters))}.syntax-number{color:var(--syntax-number,var(--color-syntax-characters))}.syntax-symbol{color:var(--syntax-symbol,var(--color-syntax-characters))}.syntax-tag{color:var(--syntax-tag,var(--color-syntax-characters))}.syntax-attr{color:var(--syntax-attr,var(--color-syntax-other-type-names))}.syntax-built_in{color:var(--syntax-built_in,var(--color-syntax-other-type-names))}.syntax-builtin-name{color:var(--syntax-builtin-name,var(--color-syntax-other-type-names))}.syntax-class{color:var(--syntax-class,var(--color-syntax-other-type-names))}.syntax-params{color:var(--syntax-params,var(--color-syntax-other-type-names))}.syntax-section{color:var(--syntax-section,var(--color-syntax-other-type-names))}.syntax-title{color:var(--syntax-title,var(--color-syntax-other-type-names))}.syntax-type{color:var(--syntax-type,var(--color-syntax-other-type-names))}.syntax-attribute{color:var(--syntax-attribute,var(--color-syntax-plain-text))}.syntax-identifier{color:var(--syntax-identifier,var(--color-syntax-plain-text))}.syntax-subst{color:var(--syntax-subst,var(--color-syntax-plain-text))}.syntax-doctag,.syntax-strong{font-weight:700}.syntax-emphasis,.syntax-link{font-style:italic}[data-syntax=swift] .syntax-meta{color:var(--syntax-meta,var(--color-syntax-keywords))}[data-syntax=swift] .syntax-class,[data-syntax=swift] .syntax-keyword+.syntax-params,[data-syntax=swift] .syntax-params+.syntax-params{color:unset}[data-syntax=json] .syntax-attr{color:var(--syntax-attr,var(--color-syntax-strings))}#skip-nav{position:absolute;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(0 0 99.9% 99.9%);clip-path:inset(0 0 99.9% 99.9%);overflow:hidden;height:1px;width:1px;padding:0;border:0}#skip-nav:active,#skip-nav:focus{position:relative;float:left;width:-moz-fit-content;width:fit-content;color:var(--color-figure-blue);font-size:1em;padding:0 10px;z-index:100000;top:0;left:0;height:44px;line-height:44px;-webkit-clip-path:unset;clip-path:unset}.nav--in-breakpoint-range #skip-nav{display:none}.visuallyhidden{position:absolute;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(0 0 99.9% 99.9%);clip-path:inset(0 0 99.9% 99.9%);overflow:hidden;height:1px;width:1px;padding:0;border:0}@keyframes pulse{0%{opacity:0}33%{opacity:1}66%{opacity:1}to{opacity:0}}.changed{border:1px solid var(--color-changes-modified);position:relative}.changed,.changed.displays-multiple-lines,.displays-multiple-lines .changed{border-radius:var(--border-radius,4px)}.changed:after{left:8px;background-image:url(../img/modified-icon.efb2697d.svg);background-repeat:no-repeat;bottom:0;content:" ";margin:auto;margin-right:8px;position:absolute;top:0;width:1.1764705882rem;height:1.1764705882rem;margin-top:.6176470588rem;z-index:2}@media screen{[data-color-scheme=dark] .changed:after{background-image:url(../img/modified-icon.efb2697d.svg)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .changed:after{background-image:url(../img/modified-icon.efb2697d.svg)}}.changed-added{border-color:var(--color-changes-added)}.changed-added:after{background-image:url(../img/added-icon.832a5d2c.svg)}@media screen{[data-color-scheme=dark] .changed-added:after{background-image:url(../img/added-icon.832a5d2c.svg)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .changed-added:after{background-image:url(../img/added-icon.832a5d2c.svg)}}.changed-deprecated{border-color:var(--color-changes-deprecated)}.changed-deprecated:after{background-image:url(../img/deprecated-icon.7bf1740a.svg)}@media screen{[data-color-scheme=dark] .changed-deprecated:after{background-image:url(../img/deprecated-icon.7bf1740a.svg)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .changed-deprecated:after{background-image:url(../img/deprecated-icon.7bf1740a.svg)}}.changed.link-block:after,.changed.relationships-item:after,.link-block .changed:after{margin-top:10px}.change-added,.change-removed{padding:2px 0}.change-removed{background-color:var(--color-highlight-red)}.change-added{background-color:var(--color-highlight-green)}body{color-scheme:light dark}body[data-color-scheme=light]{color-scheme:light}body[data-color-scheme=dark]{color-scheme:dark}body{--color-fill:#fff;--color-fill-secondary:#f7f7f7;--color-fill-tertiary:#f0f0f0;--color-fill-quaternary:#282828;--color-fill-blue:#00f;--color-fill-light-blue-secondary:#d1d1ff;--color-fill-gray:#ccc;--color-fill-gray-secondary:#f5f5f5;--color-fill-gray-tertiary:#f0f0f0;--color-fill-gray-quaternary:#f0f0f0;--color-fill-green-secondary:#f0fff0;--color-fill-orange-secondary:#fffaf6;--color-fill-red-secondary:#fff0f5;--color-figure-blue:#36f;--color-figure-gray:#000;--color-figure-gray-secondary:#666;--color-figure-gray-secondary-alt:#666;--color-figure-gray-tertiary:#666;--color-figure-green:green;--color-figure-light-gray:#666;--color-figure-orange:#c30;--color-figure-red:red;--color-tutorials-teal:#000;--color-article-background:var(--color-fill-tertiary);--color-article-body-background:var(--color-fill);--color-aside-deprecated:var(--color-figure-gray);--color-aside-deprecated-background:var(--color-fill-orange-secondary);--color-aside-deprecated-border:var(--color-figure-orange);--color-aside-experiment:var(--color-figure-gray);--color-aside-experiment-background:var(--color-fill-gray-secondary);--color-aside-experiment-border:var(--color-figure-light-gray);--color-aside-important:var(--color-figure-gray);--color-aside-important-background:var(--color-fill-gray-secondary);--color-aside-important-border:var(--color-figure-light-gray);--color-aside-note:var(--color-figure-gray);--color-aside-note-background:var(--color-fill-gray-secondary);--color-aside-note-border:var(--color-figure-light-gray);--color-aside-tip:var(--color-figure-gray);--color-aside-tip-background:var(--color-fill-gray-secondary);--color-aside-tip-border:var(--color-figure-light-gray);--color-aside-warning:var(--color-figure-gray);--color-aside-warning-background:var(--color-fill-red-secondary);--color-aside-warning-border:var(--color-figure-red);--color-badge-text:#fff;--color-badge-default:var(--color-figure-gray);--color-badge-beta:var(--color-figure-gray-tertiary);--color-badge-deprecated:var(--color-figure-orange);--color-badge-dark-default:#fff;--color-badge-dark-beta:#b0b0b0;--color-badge-dark-deprecated:#f60;--color-button-background:var(--color-fill-blue);--color-button-background-active:#36f;--color-button-background-hover:var(--color-figure-blue);--color-button-text:#fff;--color-call-to-action-background:var(--color-fill-secondary);--color-changes-added:var(--color-figure-light-gray);--color-changes-added-hover:var(--color-figure-light-gray);--color-changes-deprecated:var(--color-figure-light-gray);--color-changes-deprecated-hover:var(--color-figure-light-gray);--color-changes-modified:var(--color-figure-light-gray);--color-changes-modified-hover:var(--color-figure-light-gray);--color-changes-modified-previous-background:var(--color-fill);--color-code-background:var(--color-fill-secondary);--color-code-collapsible-background:var(--color-fill-tertiary);--color-code-collapsible-text:var(--color-figure-gray-secondary-alt);--color-code-line-highlight:rgba(51,102,255,.08);--color-code-line-highlight-border:var(--color-figure-blue);--color-code-plain:var(--color-figure-gray);--color-dropdown-background:hsla(0,0%,100%,.8);--color-dropdown-border:#ccc;--color-dropdown-option-text:#666;--color-dropdown-text:#000;--color-dropdown-dark-background:hsla(0,0%,100%,.1);--color-dropdown-dark-border:hsla(0,0%,94%,.2);--color-dropdown-dark-option-text:#ccc;--color-dropdown-dark-text:#fff;--color-eyebrow:var(--color-figure-gray-secondary);--color-focus-border-color:var(--color-fill-blue);--color-focus-color:rgba(0,125,250,.6);--color-form-error:var(--color-figure-red);--color-form-error-background:var(--color-fill-red-secondary);--color-form-valid:var(--color-figure-green);--color-form-valid-background:var(--color-fill-green-secondary);--color-generic-modal-background:var(--color-fill);--color-grid:var(--color-fill-gray);--color-header-text:var(--color-figure-gray);--color-hero-eyebrow:#ccc;--color-link:var(--color-figure-blue);--color-loading-placeholder-background:var(--color-fill);--color-nav-color:#000;--color-nav-current-link:#000;--color-nav-expanded:#fff;--color-nav-hierarchy-collapse-background:#f0f0f0;--color-nav-hierarchy-collapse-borders:#ccc;--color-nav-hierarchy-item-borders:#ccc;--color-nav-keyline:rgba(0,0,0,.2);--color-nav-link-color:#000;--color-nav-link-color-hover:#36f;--color-nav-outlines:#ccc;--color-nav-rule:hsla(0,0%,94%,.5);--color-nav-solid-background:#fff;--color-nav-sticking-expanded-keyline:rgba(0,0,0,.1);--color-nav-stuck:hsla(0,0%,100%,.9);--color-nav-uiblur-expanded:hsla(0,0%,100%,.9);--color-nav-uiblur-stuck:hsla(0,0%,100%,.7);--color-nav-root-subhead:var(--color-tutorials-teal);--color-nav-dark-border-top-color:hsla(0,0%,100%,.4);--color-nav-dark-color:#fff;--color-nav-dark-current-link:#fff;--color-nav-dark-expanded:#2a2a2a;--color-nav-dark-hierarchy-collapse-background:#424242;--color-nav-dark-hierarchy-collapse-borders:#666;--color-nav-dark-hierarchy-item-borders:#424242;--color-nav-dark-keyline:rgba(66,66,66,.95);--color-nav-dark-link-color:#fff;--color-nav-dark-link-color-hover:#09f;--color-nav-dark-outlines:#575757;--color-nav-dark-rule:#575757;--color-nav-dark-solid-background:#000;--color-nav-dark-sticking-expanded-keyline:rgba(66,66,66,.7);--color-nav-dark-stuck:rgba(42,42,42,.9);--color-nav-dark-uiblur-expanded:rgba(42,42,42,.9);--color-nav-dark-uiblur-stuck:rgba(42,42,42,.7);--color-nav-dark-root-subhead:#fff;--color-runtime-preview-background:var(--color-fill-tertiary);--color-runtime-preview-disabled-text:hsla(0,0%,40%,.6);--color-runtime-preview-text:var(--color-figure-gray-secondary);--color-secondary-label:var(--color-figure-gray-secondary);--color-step-background:var(--color-fill-secondary);--color-step-caption:var(--color-figure-gray-secondary);--color-step-focused:var(--color-figure-light-gray);--color-step-text:var(--color-figure-gray-secondary);--color-svg-icon:#666;--color-syntax-addition:var(--color-figure-green);--color-syntax-attributes:#947100;--color-syntax-characters:#272ad8;--color-syntax-comments:#707f8c;--color-syntax-deletion:var(--color-figure-red);--color-syntax-documentation-markup:#506375;--color-syntax-documentation-markup-keywords:#506375;--color-syntax-heading:#ba2da2;--color-syntax-keywords:#ad3da4;--color-syntax-marks:#000;--color-syntax-numbers:#272ad8;--color-syntax-other-class-names:#703daa;--color-syntax-other-constants:#4b21b0;--color-syntax-other-declarations:#047cb0;--color-syntax-other-function-and-method-names:#4b21b0;--color-syntax-other-instance-variables-and-globals:#703daa;--color-syntax-other-preprocessor-macros:#78492a;--color-syntax-other-type-names:#703daa;--color-syntax-param-internal-name:#404040;--color-syntax-plain-text:#000;--color-syntax-preprocessor-statements:#78492a;--color-syntax-project-class-names:#3e8087;--color-syntax-project-constants:#2d6469;--color-syntax-project-function-and-method-names:#2d6469;--color-syntax-project-instance-variables-and-globals:#3e8087;--color-syntax-project-preprocessor-macros:#78492a;--color-syntax-project-type-names:#3e8087;--color-syntax-strings:#d12f1b;--color-syntax-type-declarations:#03638c;--color-syntax-urls:#1337ff;--color-tabnav-item-border-color:var(--color-fill-gray);--color-text:var(--color-figure-gray);--color-text-background:var(--color-fill);--color-tutorial-assessments-background:var(--color-fill-secondary);--color-tutorial-background:var(--color-fill);--color-tutorial-navbar-dropdown-background:var(--color-fill);--color-tutorial-navbar-dropdown-border:var(--color-fill-gray);--color-tutorial-quiz-border-active:var(--color-figure-blue);--color-tutorials-overview-background:#161616;--color-tutorials-overview-content:#fff;--color-tutorials-overview-content-alt:#fff;--color-tutorials-overview-eyebrow:#ccc;--color-tutorials-overview-icon:#b0b0b0;--color-tutorials-overview-link:#09f;--color-tutorials-overview-navigation-link:#ccc;--color-tutorials-overview-navigation-link-active:#fff;--color-tutorials-overview-navigation-link-hover:#fff;--color-tutorial-hero-text:#fff;--color-tutorial-hero-background:#000;--color-navigator-item-hover:rgba(0,0,255,.05);--color-card-background:var(--color-fill);--color-card-content-text:var(--color-figure-gray);--color-card-eyebrow:var(--color-figure-gray-secondary-alt);--color-card-shadow:rgba(0,0,0,.04);--color-link-block-card-border:rgba(0,0,0,.04);--color-standard-red:#ffc2c2;--color-standard-orange:#fc9;--color-standard-yellow:#ffe0a3;--color-standard-blue:#9cf;--color-standard-green:#9cc;--color-standard-purple:#ccf;--color-standard-gray:#f0f0f0}@media screen{body[data-color-scheme=dark]{--color-fill:#000;--color-fill-secondary:#161616;--color-fill-tertiary:#2a2a2a;--color-fill-blue:#06f;--color-fill-light-blue-secondary:#004ec4;--color-fill-gray:#575757;--color-fill-gray-secondary:#222;--color-fill-gray-tertiary:#424242;--color-fill-gray-quaternary:#424242;--color-fill-green-secondary:#030;--color-fill-orange-secondary:#472400;--color-fill-red-secondary:#300;--color-figure-blue:#09f;--color-figure-gray:#fff;--color-figure-gray-secondary:#ccc;--color-figure-gray-secondary-alt:#b0b0b0;--color-figure-gray-tertiary:#b0b0b0;--color-figure-green:#090;--color-figure-light-gray:#b0b0b0;--color-figure-orange:#f60;--color-figure-red:#f33;--color-tutorials-teal:#fff;--color-article-body-background:#111;--color-badge-text:#000;--color-badge-default:var(--color-badge-dark-default);--color-button-background-active:#06f;--color-code-line-highlight:rgba(0,153,255,.08);--color-dropdown-background:var(--color-dropdown-dark-background);--color-dropdown-border:var(--color-dropdown-dark-border);--color-dropdown-option-text:var(--color-dropdown-dark-option-text);--color-dropdown-text:var(--color-dropdown-dark-text);--color-nav-color:var(--color-nav-dark-color);--color-nav-current-link:var(--color-nav-dark-current-link);--color-nav-expanded:var(--color-nav-dark-expanded);--color-nav-hierarchy-collapse-background:var(--color-nav-dark-hierarchy-collapse-background);--color-nav-hierarchy-collapse-borders:var(--color-nav-dark-hierarchy-collapse-borders);--color-nav-hierarchy-item-borders:var(--color-nav-dark-hierarchy-item-borders);--color-nav-keyline:var(--color-nav-dark-keyline);--color-nav-link-color:var(--color-nav-dark-link-color);--color-nav-link-color-hover:var(--color-nav-dark-link-color-hover);--color-nav-outlines:var(--color-nav-dark-outlines);--color-nav-rule:var(--color-nav-dark-rule);--color-nav-solid-background:var(--color-nav-dark-solid-background);--color-nav-sticking-expanded-keyline:var(--color-nav-dark-sticking-expanded-keyline);--color-nav-stuck:var(--color-nav-dark-stuck);--color-nav-uiblur-expanded:var(--color-nav-dark-uiblur-expanded);--color-nav-uiblur-stuck:var(--color-nav-dark-uiblur-stuck);--color-runtime-preview-disabled-text:hsla(0,0%,80%,.6);--color-syntax-attributes:#cc9768;--color-syntax-characters:#d9c97c;--color-syntax-comments:#7f8c98;--color-syntax-documentation-markup:#7f8c98;--color-syntax-documentation-markup-keywords:#a3b1bf;--color-syntax-keywords:#ff7ab2;--color-syntax-marks:#fff;--color-syntax-numbers:#d9c97c;--color-syntax-other-class-names:#dabaff;--color-syntax-other-constants:#a7ebdd;--color-syntax-other-declarations:#4eb0cc;--color-syntax-other-function-and-method-names:#b281eb;--color-syntax-other-instance-variables-and-globals:#b281eb;--color-syntax-other-preprocessor-macros:#ffa14f;--color-syntax-other-type-names:#dabaff;--color-syntax-param-internal-name:#bfbfbf;--color-syntax-plain-text:#fff;--color-syntax-preprocessor-statements:#ffa14f;--color-syntax-project-class-names:#acf2e4;--color-syntax-project-constants:#78c2b3;--color-syntax-project-function-and-method-names:#78c2b3;--color-syntax-project-instance-variables-and-globals:#78c2b3;--color-syntax-project-preprocessor-macros:#ffa14f;--color-syntax-project-type-names:#acf2e4;--color-syntax-strings:#ff8170;--color-syntax-type-declarations:#6bdfff;--color-syntax-urls:#69f;--color-tutorial-background:var(--color-fill-tertiary);--color-navigator-item-hover:rgba(0,102,255,.5);--color-card-shadow:hsla(0,0%,100%,.04);--color-link-block-card-border:hsla(0,0%,100%,.25);--color-standard-red:#8b0000;--color-standard-orange:#8b4000;--color-standard-yellow:#8f7200;--color-standard-blue:#002d75;--color-standard-green:#023b2d;--color-standard-purple:#512b55;--color-standard-gray:#2a2a2a}}@media screen and (prefers-color-scheme:dark){body[data-color-scheme=auto]{--color-fill:#000;--color-fill-secondary:#161616;--color-fill-tertiary:#2a2a2a;--color-fill-blue:#06f;--color-fill-light-blue-secondary:#004ec4;--color-fill-gray:#575757;--color-fill-gray-secondary:#222;--color-fill-gray-tertiary:#424242;--color-fill-gray-quaternary:#424242;--color-fill-green-secondary:#030;--color-fill-orange-secondary:#472400;--color-fill-red-secondary:#300;--color-figure-blue:#09f;--color-figure-gray:#fff;--color-figure-gray-secondary:#ccc;--color-figure-gray-secondary-alt:#b0b0b0;--color-figure-gray-tertiary:#b0b0b0;--color-figure-green:#090;--color-figure-light-gray:#b0b0b0;--color-figure-orange:#f60;--color-figure-red:#f33;--color-tutorials-teal:#fff;--color-article-body-background:#111;--color-badge-text:#000;--color-badge-default:var(--color-badge-dark-default);--color-button-background-active:#06f;--color-code-line-highlight:rgba(0,153,255,.08);--color-dropdown-background:var(--color-dropdown-dark-background);--color-dropdown-border:var(--color-dropdown-dark-border);--color-dropdown-option-text:var(--color-dropdown-dark-option-text);--color-dropdown-text:var(--color-dropdown-dark-text);--color-nav-color:var(--color-nav-dark-color);--color-nav-current-link:var(--color-nav-dark-current-link);--color-nav-expanded:var(--color-nav-dark-expanded);--color-nav-hierarchy-collapse-background:var(--color-nav-dark-hierarchy-collapse-background);--color-nav-hierarchy-collapse-borders:var(--color-nav-dark-hierarchy-collapse-borders);--color-nav-hierarchy-item-borders:var(--color-nav-dark-hierarchy-item-borders);--color-nav-keyline:var(--color-nav-dark-keyline);--color-nav-link-color:var(--color-nav-dark-link-color);--color-nav-link-color-hover:var(--color-nav-dark-link-color-hover);--color-nav-outlines:var(--color-nav-dark-outlines);--color-nav-rule:var(--color-nav-dark-rule);--color-nav-solid-background:var(--color-nav-dark-solid-background);--color-nav-sticking-expanded-keyline:var(--color-nav-dark-sticking-expanded-keyline);--color-nav-stuck:var(--color-nav-dark-stuck);--color-nav-uiblur-expanded:var(--color-nav-dark-uiblur-expanded);--color-nav-uiblur-stuck:var(--color-nav-dark-uiblur-stuck);--color-runtime-preview-disabled-text:hsla(0,0%,80%,.6);--color-syntax-attributes:#cc9768;--color-syntax-characters:#d9c97c;--color-syntax-comments:#7f8c98;--color-syntax-documentation-markup:#7f8c98;--color-syntax-documentation-markup-keywords:#a3b1bf;--color-syntax-keywords:#ff7ab2;--color-syntax-marks:#fff;--color-syntax-numbers:#d9c97c;--color-syntax-other-class-names:#dabaff;--color-syntax-other-constants:#a7ebdd;--color-syntax-other-declarations:#4eb0cc;--color-syntax-other-function-and-method-names:#b281eb;--color-syntax-other-instance-variables-and-globals:#b281eb;--color-syntax-other-preprocessor-macros:#ffa14f;--color-syntax-other-type-names:#dabaff;--color-syntax-param-internal-name:#bfbfbf;--color-syntax-plain-text:#fff;--color-syntax-preprocessor-statements:#ffa14f;--color-syntax-project-class-names:#acf2e4;--color-syntax-project-constants:#78c2b3;--color-syntax-project-function-and-method-names:#78c2b3;--color-syntax-project-instance-variables-and-globals:#78c2b3;--color-syntax-project-preprocessor-macros:#ffa14f;--color-syntax-project-type-names:#acf2e4;--color-syntax-strings:#ff8170;--color-syntax-type-declarations:#6bdfff;--color-syntax-urls:#69f;--color-tutorial-background:var(--color-fill-tertiary);--color-navigator-item-hover:rgba(0,102,255,.5);--color-card-shadow:hsla(0,0%,100%,.04);--color-link-block-card-border:hsla(0,0%,100%,.25);--color-standard-red:#8b0000;--color-standard-orange:#8b4000;--color-standard-yellow:#8f7200;--color-standard-blue:#002d75;--color-standard-green:#023b2d;--color-standard-purple:#512b55;--color-standard-gray:#2a2a2a}}#main{outline-style:none}:root{--app-height:100vh}[data-v-3742c1d7] :focus:not(input):not(textarea):not(select){outline:none}.fromkeyboard[data-v-3742c1d7] :focus:not(input):not(textarea):not(select){outline:4px solid var(--color-focus-color);outline-offset:1px}#app[data-v-3742c1d7]{display:flex;flex-flow:column;min-height:100%}#app[data-v-3742c1d7]>*{min-width:0}#app .router-content[data-v-3742c1d7]{flex:1}.container[data-v-1f05d9ec]{margin-left:auto;margin-right:auto;width:980px;outline-style:none;margin-top:92px;margin-bottom:140px}@media only screen and (max-width:1250px){.container[data-v-1f05d9ec]{width:692px}}@media only screen and (max-width:735px){.container[data-v-1f05d9ec]{width:87.5%}}@media only screen and (max-width:320px){.container[data-v-1f05d9ec]{width:215px}}.error-content[data-v-1f05d9ec]{box-sizing:border-box;width:502px;margin-left:auto;margin-right:auto;margin-bottom:54px}@media only screen and (max-width:1250px){.error-content[data-v-1f05d9ec]{width:420px;margin-bottom:45px}}@media only screen and (max-width:735px){.error-content[data-v-1f05d9ec]{max-width:330px;width:auto;margin-bottom:35px}}.title[data-v-1f05d9ec]{text-align:center;font-size:2.8235294118rem;line-height:1.0833333333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){.title[data-v-1f05d9ec]{font-size:2.3529411765rem;line-height:1.1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.title[data-v-1f05d9ec]{font-size:1.8823529412rem;line-height:1.125;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}} \ No newline at end of file diff --git a/docs/css/topic.7ff1c1f8.css b/docs/css/topic.7ff1c1f8.css new file mode 100644 index 00000000..9b8674e8 --- /dev/null +++ b/docs/css/topic.7ff1c1f8.css @@ -0,0 +1,9 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */.nav-title-content[data-v-854b4dd6]{max-width:100%}.title[data-v-854b4dd6]{color:var(--color-nav-root-title,currentColor);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:inline-block;vertical-align:top;max-width:296px}@media only screen and (max-width:1023px){.title[data-v-854b4dd6]{max-width:205px}}@media only screen and (max-width:767px){.title[data-v-854b4dd6]{flex-basis:fill;display:initial;vertical-align:initial;max-width:none}}.subhead[data-v-854b4dd6]{color:var(--color-nav-root-subhead)}.theme-dark .subhead[data-v-854b4dd6]{color:var(--color-nav-dark-root-subhead)}.mobile-dropdown[data-v-2c27d339]{box-sizing:border-box}.nav--in-breakpoint-range .mobile-dropdown[data-v-2c27d339]{padding-left:.2352941176rem;padding-right:.2352941176rem}.mobile-dropdown ul[data-v-2c27d339]{list-style:none}.mobile-dropdown .option[data-v-2c27d339]{cursor:pointer;font-size:.7058823529rem;padding:.5rem 0;display:block;text-decoration:none;color:inherit}.mobile-dropdown .option[data-v-2c27d339]:focus{outline-offset:0}.mobile-dropdown .option.depth1[data-v-2c27d339]{padding-left:.4705882353rem}.active[data-v-2c27d339],.tutorial.router-link-active[data-v-2c27d339]{font-weight:600}.active[data-v-2c27d339]:focus,.tutorial.router-link-active[data-v-2c27d339]:focus{outline:none}.chapter-list[data-v-2c27d339]:not(:first-child){margin-top:1rem}.chapter-name[data-v-2c27d339],.tutorial[data-v-2c27d339]{padding:.5rem 0;font-size:1rem;line-height:1.4705882353;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.section-list[data-v-2c27d339],.tutorial-list[data-v-2c27d339]{padding:0 .5882352941rem}.chapter-list:last-child .tutorial-list[data-v-2c27d339]:last-child{padding-bottom:10em}.chapter-list[data-v-2c27d339]{display:inline-block}.form-element[data-v-f934959a]{position:relative}.form-dropdown[data-v-f934959a]{font-size:1rem;line-height:1.2352941176;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);display:block;box-sizing:border-box;width:100%;height:3.3em;color:var(--color-dropdown-text);padding:1.1176470588rem 2.3529411765rem 0 .9411764706rem;text-align:left;border:1px solid var(--color-dropdown-border);border-radius:var(--border-radius,4px);background-clip:padding-box;margin-bottom:.8235294118rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;min-height:32px}.form-dropdown[data-v-f934959a]:focus{box-shadow:0 0 0 4px var(--color-focus-color);outline:none;border-color:var(--color-focus-border-color)}.form-dropdown.no-eyebrow[data-v-f934959a]{padding-top:0}.form-dropdown[data-v-f934959a]:-moz-focusring{color:transparent;text-shadow:0 0 0 var(--color-dropdown-text)}.form-dropdown[data-v-f934959a]::-ms-expand{opacity:0}.form-dropdown~.form-icon[data-v-f934959a]{position:absolute;display:block;pointer-events:none;fill:var(--color-figure-gray-tertiary);right:14px;width:13px;height:auto;top:50%;transform:translateY(-50%)}.is-open .form-dropdown~.form-icon[data-v-f934959a]{transform:translateY(-50%) scale(-1)}@media only screen and (max-width:735px){.form-dropdown~.form-icon[data-v-f934959a]{right:14px}}.form-dropdown~.form-label[data-v-f934959a]{font-size:.7058823529rem;line-height:1.75;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);position:absolute;top:.4705882353rem;left:17px;color:var(--color-figure-gray-secondary);pointer-events:none;padding:0;z-index:1}.form-dropdown[data-v-f934959a] option{color:var(--color-dropdown-text)}.form-dropdown-selectnone[data-v-f934959a]{color:transparent}.form-dropdown-selectnone~.form-label[data-v-f934959a]{font-size:1rem;line-height:1.2352941176;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);top:19px;left:17px;color:var(--color-figure-gray-tertiary)}.form-dropdown-selectnone[data-v-f934959a]:-moz-focusring{text-shadow:none}.form-dropdown-selectnone[data-v-f934959a]::-ms-value{display:none}.theme-dark .form-dropdown[data-v-f934959a]{color:var(--color-dropdown-dark-text);background-color:var(--color-dropdown-dark-background);border-color:var(--color-dropdown-dark-border)}.theme-dark .form-dropdown~.form-label[data-v-f934959a]{color:#ccc}.theme-dark .form-dropdown[data-v-f934959a]:-moz-focusring{color:transparent;text-shadow:0 0 0 var(--color-dropdown-dark-text)}.theme-dark .form-dropdown.form-dropdown-selectnone[data-v-f934959a]{color:transparent}.theme-dark .form-dropdown.form-dropdown-selectnone[data-v-f934959a]:-moz-focusring{text-shadow:none}.theme-dark .form-dropdown-selectnone~.form-label[data-v-f934959a]{color:#b0b0b0}.dropdown-small[data-v-6adda760]{height:30px;display:flex;align-items:center;position:relative;background:var(--color-fill)}.dropdown-small .form-dropdown-toggle[data-v-6adda760]{line-height:1.5;font-size:12px;padding-top:0;padding-bottom:0;padding-left:20px;min-height:unset;height:30px;display:flex;align-items:center}.dropdown-small .form-dropdown-toggle[data-v-6adda760]:focus{box-shadow:none;border-color:var(--color-dropdown-border)}.fromkeyboard .dropdown-small .form-dropdown-toggle[data-v-6adda760]:focus{box-shadow:0 0 0 2px var(--color-focus-color);outline:none;border-color:var(--color-focus-border-color)}.form-dropdown-toggle[data-v-6adda760]{margin:0}.is-open .form-dropdown-toggle[data-v-6adda760]{border-radius:var(--border-radius,4px) var(--border-radius,4px) 0 0;border-bottom:none;padding-bottom:1px}.fromkeyboard .is-open .form-dropdown-toggle[data-v-6adda760]{box-shadow:1px -1px 0 1px var(--color-focus-color),-1px -1px 0 1px var(--color-focus-color);border-color:var(--color-focus-border-color)}.form-dropdown-title[data-v-6adda760]{margin:0;padding:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.dropdown-custom[data-v-6adda760]{border-radius:var(--border-radius,4px)}.dropdown-custom.is-open[data-v-6adda760]{border-radius:var(--border-radius,4px) var(--border-radius,4px) 0 0}.dropdown-custom[data-v-6adda760] .form-dropdown-content{background:var(--color-fill);position:absolute;right:0;left:0;top:100%;border-bottom-left-radius:var(--border-radius,4px);border-bottom-right-radius:var(--border-radius,4px);border:1px solid var(--color-dropdown-border);border-top:none;display:none;overflow-y:auto}.dropdown-custom[data-v-6adda760] .form-dropdown-content.is-open{display:block}.fromkeyboard .dropdown-custom[data-v-6adda760] .form-dropdown-content.is-open{box-shadow:1px 1px 0 1px var(--color-focus-color),-1px 1px 0 1px var(--color-focus-color);border-color:var(--color-focus-border-color);border-top-color:transparent}.nav .dropdown-custom[data-v-6adda760] .form-dropdown-content{max-height:calc(100vh - 116px - 3.05882rem)}.nav--is-sticking.nav .dropdown-custom[data-v-6adda760] .form-dropdown-content{max-height:calc(100vh - 3.05882rem - 72px)}.dropdown-custom[data-v-6adda760] .options{list-style:none;margin:0;padding:0 0 20px}.dropdown-custom[data-v-6adda760] .option{cursor:pointer;padding:5px 20px;font-size:12px;line-height:20px;outline:none}.dropdown-custom[data-v-6adda760] .option:hover{background-color:var(--color-fill-tertiary)}.dropdown-custom[data-v-6adda760] .option.option-active{font-weight:600}.fromkeyboard .dropdown-custom[data-v-6adda760] .option:hover{background-color:transparent}.fromkeyboard .dropdown-custom[data-v-6adda760] .option:focus{background-color:var(--color-fill-tertiary);outline:none}.tutorial-dropdown[data-v-618ff780]{grid-column:3}.section-tracker[data-v-618ff780]{font-size:.7058823529rem;line-height:1.3333333333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-figure-gray-secondary);margin-left:15px}.tutorial-dropdown[data-v-03cbd7f7]{grid-column:1/2}.tutorial-dropdown .options[data-v-03cbd7f7]{padding-top:1rem;padding-bottom:0}.tutorial-dropdown .option[data-v-03cbd7f7]{padding:5px 20px 5px 30px}.chapter-list[data-v-03cbd7f7]{padding-bottom:20px}.chapter-name[data-v-03cbd7f7]{margin:0 20px 5px 20px;line-height:normal;color:var(--color-figure-gray-secondary)}.chevron-icon[data-v-1d3fe8ed]{padding:0;color:var(--color-nav-outlines);grid-column:2;height:20px;width:20px;margin:0 4px}@media only screen and (min-width:768px){.nav[data-v-1d3fe8ed] .nav-content{display:grid;grid-template-columns:auto auto 3fr;align-items:center}.nav[data-v-1d3fe8ed] .nav-menu{padding:0;justify-content:flex-start;grid-column:3/5}.nav[data-v-1d3fe8ed] .nav-menu-item{margin:0}}.dropdown-container[data-v-1d3fe8ed]{height:3.0588235294rem;display:grid;grid-template-columns:minmax(230px,285px) auto minmax(230px,1fr);align-items:center}@media only screen and (max-width:1023px){.dropdown-container[data-v-1d3fe8ed]{grid-template-columns:minmax(173px,216px) auto minmax(173px,1fr)}}@media(scripting:none){.dropdown-container[data-v-1d3fe8ed]{display:none}}.separator[data-v-1d3fe8ed]{height:20px;border-right:1px solid;border-color:var(--color-nav-outlines);margin:0 20px;grid-column:2}@media(scripting:none){.separator[data-v-1d3fe8ed]{display:none}}.mobile-dropdown-container[data-v-1d3fe8ed],.nav--in-breakpoint-range.nav .dropdown-container[data-v-1d3fe8ed],.nav--in-breakpoint-range.nav .separator[data-v-1d3fe8ed]{display:none}.nav--in-breakpoint-range.nav .mobile-dropdown-container[data-v-1d3fe8ed]{display:block}.nav--in-breakpoint-range.nav[data-v-1d3fe8ed] .nav-title{grid-area:title}.nav--in-breakpoint-range.nav[data-v-1d3fe8ed] .pre-title{display:none}.nav[data-v-1d3fe8ed] .nav-title{grid-column:1;width:90%;padding-top:0}.primary-dropdown[data-v-1d3fe8ed],.secondary-dropdown[data-v-1d3fe8ed]{background:var(--color-tutorial-navbar-dropdown-background);border-color:var(--color-tutorial-navbar-dropdown-border)}.primary-dropdown[data-v-1d3fe8ed] .form-dropdown,.primary-dropdown[data-v-1d3fe8ed] .form-dropdown:focus,.secondary-dropdown[data-v-1d3fe8ed] .form-dropdown,.secondary-dropdown[data-v-1d3fe8ed] .form-dropdown:focus{border-color:var(--color-tutorial-navbar-dropdown-border)}.primary-dropdown[data-v-1d3fe8ed] .options,.secondary-dropdown[data-v-1d3fe8ed] .options{background:var(--color-tutorial-navbar-dropdown-background);border-color:var(--color-tutorial-navbar-dropdown-border)}[data-v-0861b5be] .code-listing+*,[data-v-0861b5be] aside+*,[data-v-0861b5be] h2+*,[data-v-0861b5be] h3+*,[data-v-0861b5be] ol+*,[data-v-0861b5be] p+*,[data-v-0861b5be] ul+*{margin-top:20px}[data-v-0861b5be] ol ol,[data-v-0861b5be] ol ul,[data-v-0861b5be] ul ol,[data-v-0861b5be] ul ul{margin-top:0}[data-v-0861b5be] h2{font-size:1.8823529412rem;line-height:1.25;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){[data-v-0861b5be] h2{font-size:1.6470588235rem;line-height:1.2857142857;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){[data-v-0861b5be] h2{font-size:1.4117647059rem;line-height:1.3333333333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}[data-v-0861b5be] h3{font-size:1.4117647059rem;line-height:1.1666666667;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){[data-v-0861b5be] h3{font-size:1.2352941176rem;line-height:1.1904761905;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}[data-v-0861b5be] .code-listing{background:var(--color-code-background);border-color:var(--colors-grid,var(--color-grid));border-style:solid;border-width:1px}[data-v-0861b5be] .code-listing pre{font-size:.7058823529rem;line-height:1.8333333333;font-weight:400;font-family:var(--typography-html-font-mono,Menlo,monospace);padding:20px 0}.columns[data-v-30edf911]{display:grid;grid-template-rows:repeat(2,auto)}.columns.cols-2[data-v-30edf911]{gap:20px 8.3333333333%;grid-template-columns:repeat(2,1fr)}.columns.cols-3[data-v-30edf911]{gap:20px 4.1666666667%;grid-template-columns:repeat(3,1fr)}.asset[data-v-30edf911]{align-self:end;grid-row:1}.content[data-v-30edf911]{grid-row:2}@media only screen and (max-width:735px){.columns.cols-2[data-v-30edf911],.columns.cols-3[data-v-30edf911]{grid-template-columns:unset}.asset[data-v-30edf911],.content[data-v-30edf911]{grid-row:auto}}.content-and-media[data-v-3fa44f9e]{display:flex}.content-and-media.media-leading[data-v-3fa44f9e]{flex-direction:row-reverse}.content-and-media.media-trailing[data-v-3fa44f9e]{flex-direction:row}@media only screen and (min-width:736px){.content-and-media[data-v-3fa44f9e]{align-items:center;justify-content:center}}.content[data-v-3fa44f9e]{width:62.5%}.asset[data-v-3fa44f9e]{width:29.1666666667%}.media-leading .asset[data-v-3fa44f9e]{margin-right:8.3333333333%}.media-trailing .asset[data-v-3fa44f9e]{margin-left:8.3333333333%}@media only screen and (max-width:735px){.content-and-media.media-leading[data-v-3fa44f9e],.content-and-media.media-trailing[data-v-3fa44f9e]{flex-direction:column}.asset[data-v-3fa44f9e],.content[data-v-3fa44f9e]{width:100%}.media-leading .asset[data-v-3fa44f9e],.media-trailing .asset[data-v-3fa44f9e]{margin:20px 0 0 0}}.group[id][data-v-5b4a8b3c]{margin-top:20px;padding-top:20px}[data-v-5b4a8b3c] img,[data-v-5b4a8b3c] video{display:block;margin:0 auto;max-width:100%}.layout+[data-v-4d5a806e]{margin-top:40px}@media only screen and (max-width:735px){.layout[data-v-4d5a806e]:first-child>:not(.group[id]){margin-top:40px}}.body[data-v-20dca692]{background:var(--colors-text-background,var(--color-article-body-background));margin-left:auto;margin-right:auto;width:980px;border-radius:10px;transform:translateY(-120px)}@media only screen and (max-width:1250px){.body[data-v-20dca692]{width:692px}}@media only screen and (max-width:735px){.body[data-v-20dca692]{width:87.5%}}@media only screen and (max-width:320px){.body[data-v-20dca692]{width:215px}}@media only screen and (max-width:735px){.body[data-v-20dca692]{border-radius:0;transform:none}}.body[data-v-20dca692]~*{margin-top:-40px}.body-content[data-v-20dca692]{padding:40px 8.3333333333% 80px 8.3333333333%}@media only screen and (max-width:735px){.body-content[data-v-20dca692]{padding:0 0 40px 0}}.call-to-action[data-v-2bfdf182]{padding:65px 0;background:var(--color-call-to-action-background)}.theme-dark .call-to-action[data-v-2bfdf182]{--color-call-to-action-background:#424242}.row[data-v-2bfdf182]{margin-left:auto;margin-right:auto;width:980px;display:flex;align-items:center}@media only screen and (max-width:1250px){.row[data-v-2bfdf182]{width:692px}}@media only screen and (max-width:735px){.row[data-v-2bfdf182]{width:87.5%}}@media only screen and (max-width:320px){.row[data-v-2bfdf182]{width:215px}}[data-v-2bfdf182] img,[data-v-2bfdf182] video{max-height:560px}h2[data-v-2bfdf182]{font-size:1.8823529412rem;line-height:1.25;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){h2[data-v-2bfdf182]{font-size:1.6470588235rem;line-height:1.2857142857;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){h2[data-v-2bfdf182]{font-size:1.4117647059rem;line-height:1.3333333333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.label[data-v-2bfdf182]{display:block;font-size:1.2352941176rem;line-height:1.1904761905;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);margin-bottom:var(--spacing-stacked-margin-small);color:var(--color-eyebrow)}@media only screen and (max-width:735px){.label[data-v-2bfdf182]{font-size:1.1176470588rem;line-height:1.2105263158;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.content[data-v-2bfdf182]{margin-bottom:1.5rem}.right-column[data-v-2bfdf182]{margin-left:auto}@media only screen and (max-width:735px){.row[data-v-2bfdf182]{display:block}.col+.col[data-v-2bfdf182]{margin-top:40px}.call-to-action[data-v-426a965c]{margin-top:0}}.headline[data-v-d46a1474]{margin-bottom:var(--spacing-stacked-margin-large)}.heading[data-v-d46a1474]{font-size:2.8235294118rem;line-height:1.0833333333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-header-text)}@media only screen and (max-width:1250px){.heading[data-v-d46a1474]{font-size:2.3529411765rem;line-height:1.1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.heading[data-v-d46a1474]{font-size:1.8823529412rem;line-height:1.125;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.dark .heading[data-v-d46a1474]{color:#fff}.eyebrow[data-v-d46a1474]{font-size:1.4117647059rem;line-height:1.1666666667;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);display:block;margin-bottom:var(--spacing-stacked-margin-small);color:var(--color-eyebrow)}@media only screen and (max-width:1250px){.eyebrow[data-v-d46a1474]{font-size:1.2352941176rem;line-height:1.1904761905;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.generic-modal[data-v-795f7b59]{position:fixed;top:0;left:0;right:0;bottom:0;margin:0;z-index:11000;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;background:none;overflow:auto}.modal-fullscreen[data-v-795f7b59]{align-items:stretch}.modal-fullscreen .container[data-v-795f7b59]{margin:0;flex:1;width:100%;height:100%;padding-top:env(safe-area-inset-top);padding-right:env(safe-area-inset-right);padding-bottom:env(safe-area-inset-bottom);padding-left:env(safe-area-inset-left)}.modal-standard[data-v-795f7b59]{padding:20px}.modal-standard .container[data-v-795f7b59]{padding:60px;border-radius:var(--border-radius,4px)}@media screen{[data-color-scheme=dark] .modal-standard .container[data-v-795f7b59]{background:#1d1d1f}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .modal-standard .container[data-v-795f7b59]{background:#1d1d1f}}@media only screen and (max-width:735px){.modal-standard[data-v-795f7b59]{padding:0;align-items:stretch}.modal-standard .container[data-v-795f7b59]{margin:20px 0 0;padding:50px 30px;flex:1;width:100%;border-bottom-left-radius:0;border-bottom-right-radius:0}}.backdrop[data-v-795f7b59]{overflow:auto;background:var(--backdrop-background,rgba(0,0,0,.4));-webkit-overflow-scrolling:touch;width:100%;height:100%;position:fixed}.container[data-v-795f7b59]{margin-left:auto;margin-right:auto;width:980px;background:var(--colors-generic-modal-background,var(--color-generic-modal-background));z-index:1;position:relative;overflow:auto;max-width:100%}@media only screen and (max-width:1250px){.container[data-v-795f7b59]{width:692px}}@media only screen and (max-width:735px){.container[data-v-795f7b59]{width:87.5%}}@media only screen and (max-width:320px){.container[data-v-795f7b59]{width:215px}}.close[data-v-795f7b59]{position:absolute;z-index:9999;top:22px;left:22px;width:17px;height:17px;color:#666;cursor:pointer;background:none;border:0;display:flex;align-items:center}.close .close-icon[data-v-795f7b59]{fill:currentColor;width:100%;height:100%}.theme-dark .container[data-v-795f7b59]{background:#000}.theme-dark .container .close[data-v-795f7b59]{color:#b0b0b0}.theme-code .container[data-v-795f7b59]{background-color:var(--code-background,var(--color-code-background))}.metadata[data-v-94ff76c0]{display:flex}.item[data-v-94ff76c0]{font-size:.7058823529rem;line-height:1.3333333333;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);display:flex;flex-direction:column;justify-content:flex-end;align-items:center;border-right:1px solid #fff;padding:0 27.5px}@media only screen and (max-width:735px){.item[data-v-94ff76c0]{font-size:.6470588235rem;line-height:1.6363636364;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);padding:0 8px}}.item[data-v-94ff76c0]:first-of-type{padding-left:0}.item[data-v-94ff76c0]:last-of-type{border:none}@media only screen and (max-width:735px){.item[data-v-94ff76c0]:last-of-type{padding-right:0}}.content[data-v-94ff76c0]{color:#fff}.icon[data-v-94ff76c0]{font-size:2.8235294118rem;line-height:1.0833333333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){.icon[data-v-94ff76c0]{font-size:2.3529411765rem;line-height:1.1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.icon[data-v-94ff76c0]{font-size:1.8823529412rem;line-height:1.125;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.small-icon[data-v-94ff76c0]{width:1em;height:1em;margin-left:.2rem}.small-icon.xcode-icon[data-v-94ff76c0]{width:.8em;height:.8em}.content-link[data-v-94ff76c0]{display:flex;align-items:center}a[data-v-94ff76c0]{color:var(--colors-link,var(--color-tutorials-overview-link))}.duration[data-v-94ff76c0]{display:flex;align-items:baseline;font-size:2.3529411765rem;line-height:1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);line-height:1.8rem}@media only screen and (max-width:735px){.duration[data-v-94ff76c0]{font-size:1.6470588235rem;line-height:1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);line-height:1.3rem}}.minutes[data-v-94ff76c0]{display:inline-block;font-size:1.6470588235rem;line-height:1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);line-height:1.3rem}@media only screen and (max-width:735px){.minutes[data-v-94ff76c0]{font-size:1rem;line-height:1.2352941176;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);line-height:.8rem}}.item-large-icon[data-v-94ff76c0]{height:2.3rem;max-width:100%}@media only screen and (max-width:735px){.item-large-icon[data-v-94ff76c0]{height:1.5rem;max-width:100%}}.bottom[data-v-94ff76c0]{margin-top:13px}@media only screen and (max-width:735px){.bottom[data-v-94ff76c0]{margin-top:8px}}.hero[data-v-2a434750]{background-color:var(--color-tutorial-hero-background);color:var(--color-tutorial-hero-text);position:relative}@media screen{.hero.dark[data-v-2a434750]{--color-fill:#fff;--color-fill-secondary:#f7f7f7;--color-fill-tertiary:#f0f0f0;--color-fill-quaternary:#282828;--color-fill-blue:#00f;--color-fill-light-blue-secondary:#d1d1ff;--color-fill-gray:#ccc;--color-fill-gray-secondary:#f5f5f5;--color-fill-gray-tertiary:#f0f0f0;--color-fill-gray-quaternary:#f0f0f0;--color-fill-green-secondary:#f0fff0;--color-fill-orange-secondary:#fffaf6;--color-fill-red-secondary:#fff0f5;--color-figure-blue:#36f;--color-figure-gray:#000;--color-figure-gray-secondary:#666;--color-figure-gray-secondary-alt:#666;--color-figure-gray-tertiary:#666;--color-figure-green:green;--color-figure-light-gray:#666;--color-figure-orange:#c30;--color-figure-red:red;--color-tutorials-teal:#000;--color-article-background:var(--color-fill-tertiary);--color-article-body-background:var(--color-fill);--color-aside-deprecated:var(--color-figure-gray);--color-aside-deprecated-background:var(--color-fill-orange-secondary);--color-aside-deprecated-border:var(--color-figure-orange);--color-aside-experiment:var(--color-figure-gray);--color-aside-experiment-background:var(--color-fill-gray-secondary);--color-aside-experiment-border:var(--color-figure-light-gray);--color-aside-important:var(--color-figure-gray);--color-aside-important-background:var(--color-fill-gray-secondary);--color-aside-important-border:var(--color-figure-light-gray);--color-aside-note:var(--color-figure-gray);--color-aside-note-background:var(--color-fill-gray-secondary);--color-aside-note-border:var(--color-figure-light-gray);--color-aside-tip:var(--color-figure-gray);--color-aside-tip-background:var(--color-fill-gray-secondary);--color-aside-tip-border:var(--color-figure-light-gray);--color-aside-warning:var(--color-figure-gray);--color-aside-warning-background:var(--color-fill-red-secondary);--color-aside-warning-border:var(--color-figure-red);--color-badge-text:#fff;--color-badge-default:var(--color-figure-gray);--color-badge-beta:var(--color-figure-gray-tertiary);--color-badge-deprecated:var(--color-figure-orange);--color-badge-dark-default:#fff;--color-badge-dark-beta:#b0b0b0;--color-badge-dark-deprecated:#f60;--color-button-background:var(--color-fill-blue);--color-button-background-active:#36f;--color-button-background-hover:var(--color-figure-blue);--color-button-text:#fff;--color-call-to-action-background:var(--color-fill-secondary);--color-changes-added:var(--color-figure-light-gray);--color-changes-added-hover:var(--color-figure-light-gray);--color-changes-deprecated:var(--color-figure-light-gray);--color-changes-deprecated-hover:var(--color-figure-light-gray);--color-changes-modified:var(--color-figure-light-gray);--color-changes-modified-hover:var(--color-figure-light-gray);--color-changes-modified-previous-background:var(--color-fill);--color-code-background:var(--color-fill-secondary);--color-code-collapsible-background:var(--color-fill-tertiary);--color-code-collapsible-text:var(--color-figure-gray-secondary-alt);--color-code-line-highlight:rgba(51,102,255,.08);--color-code-line-highlight-border:var(--color-figure-blue);--color-code-plain:var(--color-figure-gray);--color-dropdown-background:hsla(0,0%,100%,.8);--color-dropdown-border:#ccc;--color-dropdown-option-text:#666;--color-dropdown-text:#000;--color-dropdown-dark-background:hsla(0,0%,100%,.1);--color-dropdown-dark-border:hsla(0,0%,94%,.2);--color-dropdown-dark-option-text:#ccc;--color-dropdown-dark-text:#fff;--color-eyebrow:var(--color-figure-gray-secondary);--color-focus-border-color:var(--color-fill-blue);--color-focus-color:rgba(0,125,250,.6);--color-form-error:var(--color-figure-red);--color-form-error-background:var(--color-fill-red-secondary);--color-form-valid:var(--color-figure-green);--color-form-valid-background:var(--color-fill-green-secondary);--color-generic-modal-background:var(--color-fill);--color-grid:var(--color-fill-gray);--color-header-text:var(--color-figure-gray);--color-hero-eyebrow:#ccc;--color-link:var(--color-figure-blue);--color-loading-placeholder-background:var(--color-fill);--color-nav-color:#000;--color-nav-current-link:#000;--color-nav-expanded:#fff;--color-nav-hierarchy-collapse-background:#f0f0f0;--color-nav-hierarchy-collapse-borders:#ccc;--color-nav-hierarchy-item-borders:#ccc;--color-nav-keyline:rgba(0,0,0,.2);--color-nav-link-color:#000;--color-nav-link-color-hover:#36f;--color-nav-outlines:#ccc;--color-nav-rule:hsla(0,0%,94%,.5);--color-nav-solid-background:#fff;--color-nav-sticking-expanded-keyline:rgba(0,0,0,.1);--color-nav-stuck:hsla(0,0%,100%,.9);--color-nav-uiblur-expanded:hsla(0,0%,100%,.9);--color-nav-uiblur-stuck:hsla(0,0%,100%,.7);--color-nav-root-subhead:var(--color-tutorials-teal);--color-nav-dark-border-top-color:hsla(0,0%,100%,.4);--color-nav-dark-color:#fff;--color-nav-dark-current-link:#fff;--color-nav-dark-expanded:#2a2a2a;--color-nav-dark-hierarchy-collapse-background:#424242;--color-nav-dark-hierarchy-collapse-borders:#666;--color-nav-dark-hierarchy-item-borders:#424242;--color-nav-dark-keyline:rgba(66,66,66,.95);--color-nav-dark-link-color:#fff;--color-nav-dark-link-color-hover:#09f;--color-nav-dark-outlines:#575757;--color-nav-dark-rule:#575757;--color-nav-dark-solid-background:#000;--color-nav-dark-sticking-expanded-keyline:rgba(66,66,66,.7);--color-nav-dark-stuck:rgba(42,42,42,.9);--color-nav-dark-uiblur-expanded:rgba(42,42,42,.9);--color-nav-dark-uiblur-stuck:rgba(42,42,42,.7);--color-nav-dark-root-subhead:#fff;--color-runtime-preview-background:var(--color-fill-tertiary);--color-runtime-preview-disabled-text:hsla(0,0%,40%,.6);--color-runtime-preview-text:var(--color-figure-gray-secondary);--color-secondary-label:var(--color-figure-gray-secondary);--color-step-background:var(--color-fill-secondary);--color-step-caption:var(--color-figure-gray-secondary);--color-step-focused:var(--color-figure-light-gray);--color-step-text:var(--color-figure-gray-secondary);--color-svg-icon:#666;--color-syntax-addition:var(--color-figure-green);--color-syntax-attributes:#947100;--color-syntax-characters:#272ad8;--color-syntax-comments:#707f8c;--color-syntax-deletion:var(--color-figure-red);--color-syntax-documentation-markup:#506375;--color-syntax-documentation-markup-keywords:#506375;--color-syntax-heading:#ba2da2;--color-syntax-keywords:#ad3da4;--color-syntax-marks:#000;--color-syntax-numbers:#272ad8;--color-syntax-other-class-names:#703daa;--color-syntax-other-constants:#4b21b0;--color-syntax-other-declarations:#047cb0;--color-syntax-other-function-and-method-names:#4b21b0;--color-syntax-other-instance-variables-and-globals:#703daa;--color-syntax-other-preprocessor-macros:#78492a;--color-syntax-other-type-names:#703daa;--color-syntax-param-internal-name:#404040;--color-syntax-plain-text:#000;--color-syntax-preprocessor-statements:#78492a;--color-syntax-project-class-names:#3e8087;--color-syntax-project-constants:#2d6469;--color-syntax-project-function-and-method-names:#2d6469;--color-syntax-project-instance-variables-and-globals:#3e8087;--color-syntax-project-preprocessor-macros:#78492a;--color-syntax-project-type-names:#3e8087;--color-syntax-strings:#d12f1b;--color-syntax-type-declarations:#03638c;--color-syntax-urls:#1337ff;--color-tabnav-item-border-color:var(--color-fill-gray);--color-text:var(--color-figure-gray);--color-text-background:var(--color-fill);--color-tutorial-assessments-background:var(--color-fill-secondary);--color-tutorial-background:var(--color-fill);--color-tutorial-navbar-dropdown-background:var(--color-fill);--color-tutorial-navbar-dropdown-border:var(--color-fill-gray);--color-tutorial-quiz-border-active:var(--color-figure-blue);--color-tutorials-overview-background:#161616;--color-tutorials-overview-content:#fff;--color-tutorials-overview-content-alt:#fff;--color-tutorials-overview-eyebrow:#ccc;--color-tutorials-overview-icon:#b0b0b0;--color-tutorials-overview-link:#09f;--color-tutorials-overview-navigation-link:#ccc;--color-tutorials-overview-navigation-link-active:#fff;--color-tutorials-overview-navigation-link-hover:#fff;--color-tutorial-hero-text:#fff;--color-tutorial-hero-background:#000;--color-navigator-item-hover:rgba(0,0,255,.05);--color-card-background:var(--color-fill);--color-card-content-text:var(--color-figure-gray);--color-card-eyebrow:var(--color-figure-gray-secondary-alt);--color-card-shadow:rgba(0,0,0,.04);--color-link-block-card-border:rgba(0,0,0,.04);--color-standard-red:#ffc2c2;--color-standard-orange:#fc9;--color-standard-yellow:#ffe0a3;--color-standard-blue:#9cf;--color-standard-green:#9cc;--color-standard-purple:#ccf;--color-standard-gray:#f0f0f0;--color-fill:#000;--color-fill-secondary:#161616;--color-fill-tertiary:#2a2a2a;--color-fill-blue:#06f;--color-fill-light-blue-secondary:#004ec4;--color-fill-gray:#575757;--color-fill-gray-secondary:#222;--color-fill-gray-tertiary:#424242;--color-fill-gray-quaternary:#424242;--color-fill-green-secondary:#030;--color-fill-orange-secondary:#472400;--color-fill-red-secondary:#300;--color-figure-blue:#09f;--color-figure-gray:#fff;--color-figure-gray-secondary:#ccc;--color-figure-gray-secondary-alt:#b0b0b0;--color-figure-gray-tertiary:#b0b0b0;--color-figure-green:#090;--color-figure-light-gray:#b0b0b0;--color-figure-orange:#f60;--color-figure-red:#f33;--color-tutorials-teal:#fff;--color-article-body-background:#111;--color-badge-text:#000;--color-badge-default:var(--color-badge-dark-default);--color-button-background-active:#06f;--color-code-line-highlight:rgba(0,153,255,.08);--color-dropdown-background:var(--color-dropdown-dark-background);--color-dropdown-border:var(--color-dropdown-dark-border);--color-dropdown-option-text:var(--color-dropdown-dark-option-text);--color-dropdown-text:var(--color-dropdown-dark-text);--color-nav-color:var(--color-nav-dark-color);--color-nav-current-link:var(--color-nav-dark-current-link);--color-nav-expanded:var(--color-nav-dark-expanded);--color-nav-hierarchy-collapse-background:var(--color-nav-dark-hierarchy-collapse-background);--color-nav-hierarchy-collapse-borders:var(--color-nav-dark-hierarchy-collapse-borders);--color-nav-hierarchy-item-borders:var(--color-nav-dark-hierarchy-item-borders);--color-nav-keyline:var(--color-nav-dark-keyline);--color-nav-link-color:var(--color-nav-dark-link-color);--color-nav-link-color-hover:var(--color-nav-dark-link-color-hover);--color-nav-outlines:var(--color-nav-dark-outlines);--color-nav-rule:var(--color-nav-dark-rule);--color-nav-solid-background:var(--color-nav-dark-solid-background);--color-nav-sticking-expanded-keyline:var(--color-nav-dark-sticking-expanded-keyline);--color-nav-stuck:var(--color-nav-dark-stuck);--color-nav-uiblur-expanded:var(--color-nav-dark-uiblur-expanded);--color-nav-uiblur-stuck:var(--color-nav-dark-uiblur-stuck);--color-runtime-preview-disabled-text:hsla(0,0%,80%,.6);--color-syntax-attributes:#cc9768;--color-syntax-characters:#d9c97c;--color-syntax-comments:#7f8c98;--color-syntax-documentation-markup:#7f8c98;--color-syntax-documentation-markup-keywords:#a3b1bf;--color-syntax-keywords:#ff7ab2;--color-syntax-marks:#fff;--color-syntax-numbers:#d9c97c;--color-syntax-other-class-names:#dabaff;--color-syntax-other-constants:#a7ebdd;--color-syntax-other-declarations:#4eb0cc;--color-syntax-other-function-and-method-names:#b281eb;--color-syntax-other-instance-variables-and-globals:#b281eb;--color-syntax-other-preprocessor-macros:#ffa14f;--color-syntax-other-type-names:#dabaff;--color-syntax-param-internal-name:#bfbfbf;--color-syntax-plain-text:#fff;--color-syntax-preprocessor-statements:#ffa14f;--color-syntax-project-class-names:#acf2e4;--color-syntax-project-constants:#78c2b3;--color-syntax-project-function-and-method-names:#78c2b3;--color-syntax-project-instance-variables-and-globals:#78c2b3;--color-syntax-project-preprocessor-macros:#ffa14f;--color-syntax-project-type-names:#acf2e4;--color-syntax-strings:#ff8170;--color-syntax-type-declarations:#6bdfff;--color-syntax-urls:#69f;--color-tutorial-background:var(--color-fill-tertiary);--color-navigator-item-hover:rgba(0,102,255,.5);--color-card-shadow:hsla(0,0%,100%,.04);--color-link-block-card-border:hsla(0,0%,100%,.25);--color-standard-red:#8b0000;--color-standard-orange:#8b4000;--color-standard-yellow:#8f7200;--color-standard-blue:#002d75;--color-standard-green:#023b2d;--color-standard-purple:#512b55;--color-standard-gray:#2a2a2a}}.bg[data-v-2a434750]{background-color:var(--color-tutorial-hero-background);background-position:top;background-repeat:no-repeat;background-size:cover;content:"";height:100%;left:0;opacity:.3;position:absolute;top:0;width:100%}.row[data-v-2a434750]{margin-left:auto;margin-right:auto;width:980px;padding:80px 0}@media only screen and (max-width:1250px){.row[data-v-2a434750]{width:692px}}@media only screen and (max-width:735px){.row[data-v-2a434750]{width:87.5%}}@media only screen and (max-width:320px){.row[data-v-2a434750]{width:215px}}.col[data-v-2a434750]{z-index:1}[data-v-2a434750] .eyebrow{font-size:1.4117647059rem;line-height:1.1666666667;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-hero-eyebrow)}@media only screen and (max-width:1250px){[data-v-2a434750] .eyebrow{font-size:1.2352941176rem;line-height:1.1904761905;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.headline[data-v-2a434750]{font-size:2.8235294118rem;line-height:1.0833333333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);margin-bottom:2rem}@media only screen and (max-width:1250px){.headline[data-v-2a434750]{font-size:2.3529411765rem;line-height:1.1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.headline[data-v-2a434750]{font-size:1.8823529412rem;line-height:1.125;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.intro[data-v-2a434750]{font-size:1.2352941176rem;line-height:1.380952381;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:735px){.intro[data-v-2a434750]{font-size:1.1176470588rem;line-height:1.4210526316;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.content+p[data-v-2a434750]{margin-top:var(--spacing-stacked-margin-large)}@media only screen and (max-width:735px){.content+p[data-v-2a434750]{margin-top:8px}}.call-to-action[data-v-2a434750]{display:flex;align-items:center}.call-to-action .cta-icon[data-v-2a434750]{margin-left:.4rem;width:1em;height:1em}.metadata[data-v-2a434750]{margin-top:2rem}.video-asset[data-v-2a434750]{display:grid;height:100vh;margin:0;place-items:center center}.video-asset[data-v-2a434750] video{max-width:1280px;min-width:320px;width:100%}@media only screen and (max-width:735px){.headline[data-v-2a434750]{margin-bottom:19px}}.tutorial-hero[data-v-35a9482f]{margin-bottom:80px}@media only screen and (max-width:735px){.tutorial-hero[data-v-35a9482f]{margin-bottom:0}}.title[data-v-28135d78]{font-size:.7058823529rem;line-height:1.3333333333;color:var(--colors-secondary-label,var(--color-secondary-label))}.title[data-v-28135d78],.title[data-v-61b03ec2]{font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.title[data-v-61b03ec2]{font-size:1.1176470588rem;line-height:1.2105263158;color:var(--colors-header-text,var(--color-header-text));margin:25px 0}.question-content[data-v-61b03ec2] code{font-size:.7647058824rem;line-height:1.8461538462;font-weight:400;font-family:var(--typography-html-font-mono,Menlo,monospace)}.choices[data-v-61b03ec2]{display:flex;flex-direction:column;padding:0;list-style:none;margin:25px 0}.choice[data-v-61b03ec2]{font-size:.8235294118rem;line-height:1.4285714286;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);flex:1;border-radius:var(--border-radius,4px);margin:8px 0;padding:1.5rem 40px;cursor:pointer;background:var(--colors-text-background,var(--color-text-background));display:flex;flex-direction:column;justify-content:center;border-width:1px;border-style:solid;border-color:var(--colors-grid,var(--color-grid));position:relative}.choice[data-v-61b03ec2] img{max-height:23.5294117647rem}.choice[data-v-61b03ec2]:first-of-type{margin-top:0}.choice[data-v-61b03ec2] code{font-size:.7647058824rem;line-height:1.8461538462;font-weight:400;font-family:var(--typography-html-font-mono,Menlo,monospace)}.controls[data-v-61b03ec2]{text-align:center;margin-bottom:40px}.controls .button-cta[data-v-61b03ec2]{margin:.5rem;margin-top:0;padding:.3rem 3rem;min-width:8rem}input[type=radio][data-v-61b03ec2]{position:absolute;width:100%;left:0;height:100%;opacity:0;z-index:-1}.active[data-v-61b03ec2]{border-color:var(--color-tutorial-quiz-border-active);box-shadow:0 0 0 4px var(--color-focus-color);outline:none}.active [data-v-61b03ec2]{color:var(--colors-text,var(--color-text))}.correct[data-v-61b03ec2]{background:var(--color-form-valid-background);border-color:var(--color-form-valid)}.correct .choice-icon[data-v-61b03ec2]{fill:var(--color-form-valid)}.incorrect[data-v-61b03ec2]{background:var(--color-form-error-background);border-color:var(--color-form-error)}.incorrect .choice-icon[data-v-61b03ec2]{fill:var(--color-form-error)}.correct[data-v-61b03ec2],.incorrect[data-v-61b03ec2]{position:relative}.correct .choice-icon[data-v-61b03ec2],.incorrect .choice-icon[data-v-61b03ec2]{position:absolute;top:11px;left:10px;font-size:20px;width:1.05em}.disabled[data-v-61b03ec2]{pointer-events:none}.answer[data-v-61b03ec2]{margin:.5rem 1.5rem .5rem 0;font-size:.7058823529rem;line-height:1.3333333333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.answer[data-v-61b03ec2]:last-of-type{margin-bottom:0}[data-v-61b03ec2] .question>.code-listing{padding:unset;border-radius:0}[data-v-61b03ec2] pre{padding:0}[data-v-61b03ec2] img{display:block;margin-left:auto;margin-right:auto;max-width:100%}.title[data-v-65e3c02c]{font-size:1.8823529412rem;line-height:1.25;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--colors-header-text,var(--color-header-text))}@media only screen and (max-width:1250px){.title[data-v-65e3c02c]{font-size:1.6470588235rem;line-height:1.2857142857;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.title[data-v-65e3c02c]{font-size:1.4117647059rem;line-height:1.3333333333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.title p[data-v-65e3c02c]{color:var(--colors-text,var(--color-text))}.assessments[data-v-65e3c02c]{box-sizing:content-box;padding:0 1rem;background:var(--color-tutorial-assessments-background);margin-left:auto;margin-right:auto;width:980px;margin-bottom:80px}@media only screen and (max-width:1250px){.assessments[data-v-65e3c02c]{width:692px}}@media only screen and (max-width:735px){.assessments[data-v-65e3c02c]{width:87.5%}}@media only screen and (max-width:320px){.assessments[data-v-65e3c02c]{width:215px}}.banner[data-v-65e3c02c]{padding:40px 0;border-bottom:1px solid;margin-bottom:40px;border-color:var(--colors-grid,var(--color-grid));text-align:center}.success[data-v-65e3c02c]{text-align:center;padding-bottom:40px;font-size:1.8823529412rem;line-height:1.25;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--colors-text,var(--color-text))}@media only screen and (max-width:1250px){.success[data-v-65e3c02c]{font-size:1.6470588235rem;line-height:1.2857142857;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.success[data-v-65e3c02c]{font-size:1.4117647059rem;line-height:1.3333333333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.assessments-wrapper[data-v-65e3c02c]{padding-top:80px}.assessments-wrapper[data-v-6db06128]{padding-bottom:40px;padding-top:0}@media only screen and (max-width:735px){.assessments-wrapper[data-v-6db06128]{padding-top:80px}}.article[data-v-1b2e3b6a]{background:var(--colors-article-background,var(--color-article-background))}@media only screen and (max-width:735px){.article[data-v-1b2e3b6a]{background:var(--colors-text-background,var(--color-article-body-background))}}.intro-container[data-v-7dcf2d10]{margin-bottom:80px}.intro[data-v-7dcf2d10]{display:flex;align-items:center}@media only screen and (max-width:735px){.intro[data-v-7dcf2d10]{padding-bottom:0;flex-direction:column}}.intro.ide .media[data-v-7dcf2d10] img{background-color:var(--colors-text-background,var(--color-text-background))}.col.left[data-v-7dcf2d10]{padding-right:40px}@media only screen and (max-width:1250px){.col.left[data-v-7dcf2d10]{padding-right:28px}}@media only screen and (max-width:735px){.col.left[data-v-7dcf2d10]{margin-left:auto;margin-right:auto;width:980px;padding-right:0}}@media only screen and (max-width:735px)and (max-width:1250px){.col.left[data-v-7dcf2d10]{width:692px}}@media only screen and (max-width:735px)and (max-width:735px){.col.left[data-v-7dcf2d10]{width:87.5%}}@media only screen and (max-width:735px)and (max-width:320px){.col.left[data-v-7dcf2d10]{width:215px}}.col.right[data-v-7dcf2d10]{padding-left:40px}@media only screen and (max-width:1250px){.col.right[data-v-7dcf2d10]{padding-left:28px}}@media only screen and (max-width:735px){.col.right[data-v-7dcf2d10]{padding-left:0}}.content[data-v-7dcf2d10]{font-size:1rem;line-height:1.4705882353;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.media[data-v-7dcf2d10] img{width:auto;max-height:560px;min-height:18.8235294118rem;-o-object-fit:scale-down;object-fit:scale-down}@media only screen and (max-width:735px){.media[data-v-7dcf2d10]{margin:0;margin-top:40px}.media[data-v-7dcf2d10] image,.media[data-v-7dcf2d10] video{max-height:80vh}}.media[data-v-7dcf2d10] .asset{padding:0 20px}.headline[data-v-7dcf2d10]{color:var(--colors-header-text,var(--color-header-text))}[data-v-7dcf2d10] .eyebrow{font-size:1.2352941176rem;line-height:1.1904761905;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:735px){[data-v-7dcf2d10] .eyebrow{font-size:1.1176470588rem;line-height:1.2105263158;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}[data-v-7dcf2d10] .eyebrow a{color:inherit}[data-v-7dcf2d10] .heading{font-size:1.8823529412rem;line-height:1.25;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){[data-v-7dcf2d10] .heading{font-size:1.6470588235rem;line-height:1.2857142857;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){[data-v-7dcf2d10] .heading{font-size:1.4117647059rem;line-height:1.3333333333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.expanded-intro[data-v-7dcf2d10]{margin-left:auto;margin-right:auto;width:980px;margin-top:40px}@media only screen and (max-width:1250px){.expanded-intro[data-v-7dcf2d10]{width:692px}}@media only screen and (max-width:735px){.expanded-intro[data-v-7dcf2d10]{width:87.5%}}@media only screen and (max-width:320px){.expanded-intro[data-v-7dcf2d10]{width:215px}}[data-v-7dcf2d10] .cols-2{gap:20px 16.6666666667%}[data-v-7dcf2d10] .cols-3 .column{gap:20px 12.5%}.code-preview[data-v-395e30cd]{position:sticky;overflow-y:auto;-webkit-overflow-scrolling:touch;background-color:var(--background,var(--color-step-background));height:calc(100vh - 3.05882rem)}.code-preview.ide[data-v-395e30cd]{height:100vh}.code-preview[data-v-395e30cd] .code-listing{color:var(--text,var(--color-code-plain))}.code-preview[data-v-395e30cd] .code-listing .code-line-container{padding-right:14px}.code-preview[data-v-395e30cd] pre{font-size:.7058823529rem;line-height:1.8333333333;font-weight:400;font-family:var(--typography-html-font-mono,Menlo,monospace)}.header[data-v-395e30cd]{font-size:.7058823529rem;line-height:1.3333333333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);position:relative;display:flex;justify-content:space-between;align-items:center;width:-webkit-fill-available;width:-moz-available;width:stretch;cursor:pointer;font-weight:600;padding:8px 12px;border-radius:var(--border-radius,4px) var(--border-radius,4px) 0 0;z-index:1;background:var(--color-runtime-preview-background);color:var(--colors-runtime-preview-text,var(--color-runtime-preview-text))}.header[data-v-395e30cd]:focus{outline-style:none}#app.fromkeyboard .header[data-v-395e30cd]:focus{box-shadow:0 0 0 4px var(--color-focus-color);outline:none;border-color:var(--color-focus-border-color)}.runtime-preview[data-v-395e30cd]{--color-runtime-preview-shadow:rgba(0,0,0,.4);position:absolute;top:0;right:0;background:var(--color-runtime-preview-background);border-radius:var(--border-radius,4px);margin:1rem;margin-left:0;transition:width .2s ease-in;box-shadow:0 0 3px 0 var(--color-runtime-preview-shadow)}@media screen{[data-color-scheme=dark] .runtime-preview[data-v-395e30cd]{--color-runtime-preview-shadow:hsla(0,0%,100%,.4)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .runtime-preview[data-v-395e30cd]{--color-runtime-preview-shadow:hsla(0,0%,100%,.4)}}@supports not ((width:-webkit-fill-available) or (width:-moz-available) or (width:stretch)){.runtime-preview[data-v-395e30cd]{display:flex;flex-direction:column}}.runtime-preview .runtimve-preview__container[data-v-395e30cd]{border-radius:var(--border-radius,4px);overflow:hidden}.runtime-preview-ide[data-v-395e30cd]{top:0}.runtime-preview-ide .runtime-preview-asset[data-v-395e30cd] img{background-color:var(--color-runtime-preview-background)}.runtime-preview.collapsed[data-v-395e30cd]{box-shadow:0 0 3px 0 var(--color-runtime-preview-shadow);width:102px}.runtime-preview.collapsed .header[data-v-395e30cd]{border-radius:var(--border-radius,4px)}.runtime-preview.disabled[data-v-395e30cd]{box-shadow:0 0 3px 0 transparent}.runtime-preview.disabled .header[data-v-395e30cd]{color:var(--color-runtime-preview-disabled-text);cursor:auto}.runtime-preview-asset[data-v-395e30cd]{border-radius:0 0 var(--border-radius,4px) var(--border-radius,4px)}.runtime-preview-asset[data-v-395e30cd] img{border-bottom-left-radius:var(--border-radius,4px);border-bottom-right-radius:var(--border-radius,4px)}.preview-icon[data-v-395e30cd]{height:.8em;width:.8em;-webkit-user-select:none;-moz-user-select:none;user-select:none}.preview-show[data-v-395e30cd]{transform:scale(-1)}[data-v-0bdf2f26] pre{padding:10px 0}.toggle-preview[data-v-78763c14]{color:var(--color-runtime-preview-disabled-text);display:flex;align-items:center}a[data-v-78763c14]{color:var(--url,var(--color-link))}.toggle-text[data-v-78763c14]{display:flex;align-items:center}svg.toggle-icon[data-v-78763c14]{width:1em;height:1em;margin-left:.5em}.mobile-code-preview[data-v-b1691954]{background-color:var(--background,var(--color-step-background));padding:14px 0}@media only screen and (max-width:735px){.mobile-code-preview[data-v-b1691954]{display:flex;flex-direction:column}}.runtime-preview-modal-content[data-v-b1691954]{padding:45px 60px 0 60px;min-width:200px}.runtime-preview-modal-content[data-v-b1691954] img:not(.file-icon){border-radius:var(--border-radius,4px);box-shadow:0 0 3px rgba(0,0,0,.4);max-height:80vh;width:auto;display:block;margin-bottom:1rem}.runtime-preview-modal-content .runtime-preview-label[data-v-b1691954]{font-size:.7058823529rem;line-height:1.3333333333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-runtime-preview-text);display:block;text-align:center;padding:.5em}[data-v-b1691954] .code-listing{color:var(--text,var(--color-code-plain))}[data-v-b1691954] .full-code-listing{padding-top:60px;min-height:calc(100vh - 60px)}[data-v-b1691954] pre{font-size:.7058823529rem;line-height:1.8333333333;font-weight:400;font-family:var(--typography-html-font-mono,Menlo,monospace)}.preview-toggle-container[data-v-b1691954]{align-self:flex-end;margin-right:20px}.step-container[data-v-d0198556]{margin:0}.step-container[data-v-d0198556]:not(:last-child){margin-bottom:100px}@media only screen and (max-width:735px){.step-container[data-v-d0198556]:not(:last-child){margin-bottom:80px}}.step[data-v-d0198556]{position:relative;border-radius:var(--tutorial-step-border-radius,var(--border-radius,4px));padding:1rem 2rem;background-color:var(--color-step-background);overflow:hidden;filter:blur(0)}.step[data-v-d0198556]:before{content:"";position:absolute;top:0;left:0;border:1px solid var(--color-step-focused);background-color:var(--color-step-focused);height:calc(100% - 2px);width:4px;opacity:0;transition:opacity .15s ease-in}.step.focused[data-v-d0198556],.step[data-v-d0198556]:focus{outline:none}.step.focused[data-v-d0198556]:before,.step[data-v-d0198556]:focus:before{opacity:1}:root.no-js .step.focused[data-v-d0198556]:before,:root.no-js .step[data-v-d0198556]:focus:before{opacity:0}@media only screen and (max-width:735px){.step[data-v-d0198556]{padding-left:2rem}.step[data-v-d0198556]:before{opacity:1}}.step-label[data-v-d0198556]{font-size:.7058823529rem;line-height:1.3333333333;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--colors-text,var(--color-step-text));margin-bottom:var(--spacing-stacked-margin-small)}.caption[data-v-d0198556]{border-top:1px solid;border-color:var(--color-step-caption);padding:1rem 0 0 0;margin-top:1rem}.media-container[data-v-d0198556]{display:none}@media only screen and (max-width:735px){.step[data-v-d0198556]{margin:0 .5882352941rem 1.1764705882rem .5882352941rem}.step.focused[data-v-d0198556],.step[data-v-d0198556]:focus{outline:none}.media-container[data-v-d0198556]{display:block;position:relative}.media-container[data-v-d0198556] img,.media-container[data-v-d0198556] video{max-height:80vh}[data-v-d0198556] .asset{padding:0 20px}}.steps[data-v-e3061a7c]{position:relative;font-size:.8235294118rem;line-height:1.4285714286;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);display:flex;color:var(--colors-text,var(--color-text))}@media only screen and (max-width:735px){.steps[data-v-e3061a7c]{padding-top:80px}.steps[data-v-e3061a7c]:before{position:absolute;top:0;border-top:1px solid var(--color-fill-gray-tertiary);content:"";width:calc(100% - 2.35294rem);margin:0 1.1764705882rem}}.steps[data-v-e3061a7c] aside{background:unset;border:unset;box-shadow:unset;-moz-column-break-inside:unset;break-inside:unset;padding:unset}.steps[data-v-e3061a7c] aside .label{font-size:.7058823529rem;line-height:1.3333333333;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.steps[data-v-e3061a7c] aside+*{margin-top:var(--spacing-stacked-margin-large)}.content-container[data-v-e3061a7c]{flex:none;margin-right:4.1666666667%;width:37.5%;margin-top:140px;margin-bottom:94vh}@media only screen and (max-width:735px){.content-container[data-v-e3061a7c]{margin-top:0;margin-bottom:0;height:100%;margin-left:0;margin-right:0;position:relative;width:100%}}.asset-container[data-v-e3061a7c]{flex:none;height:calc(100vh - 3.05882rem);background-color:var(--background,var(--color-step-background));max-width:921px;width:calc(50vw + 8.33333%);position:sticky;top:3.0588235294rem;transition:margin .1s ease-in-out}@media only screen and (max-width:767px){.asset-container[data-v-e3061a7c]{top:2.8235294118rem;height:calc(100vh - 2.82353rem)}}.asset-container[data-v-e3061a7c]:not(.for-step-code){overflow-y:auto;-webkit-overflow-scrolling:touch}.asset-container.ide[data-v-e3061a7c]{height:100vh;top:0}@media only screen and (min-width:736px){.asset-container[data-v-e3061a7c]{display:grid}.asset-container>[data-v-e3061a7c]{grid-row:1;grid-column:1;height:calc(100vh - 3.05882rem)}.asset-container.ide>[data-v-e3061a7c]{height:100vh}}.asset-container .step-asset[data-v-e3061a7c]{box-sizing:border-box;padding:0;padding-left:40px;min-height:320px;height:100%}.asset-container .step-asset[data-v-e3061a7c],.asset-container .step-asset[data-v-e3061a7c] picture{height:100%;display:flex;align-items:center}.asset-container .step-asset[data-v-e3061a7c] .video-replay-container{height:100%;display:flex;flex-direction:column;justify-content:center}.asset-container .step-asset[data-v-e3061a7c] img,.asset-container .step-asset[data-v-e3061a7c] video{width:auto;max-height:calc(100vh - 3.05882rem - 80px);max-width:531.66667px;margin:0}@media only screen and (max-width:1250px){.asset-container .step-asset[data-v-e3061a7c] img,.asset-container .step-asset[data-v-e3061a7c] video{max-width:363.66667px}}.asset-container .step-asset[data-v-e3061a7c] .video-replay-container,.asset-container .step-asset[data-v-e3061a7c] img{min-height:320px}.asset-container .step-asset[data-v-e3061a7c] .video-replay-container video{min-height:280px}.asset-container .step-asset[data-v-e3061a7c] [data-orientation=landscape]{max-width:min(841px,calc(50vw + 8.33333% - 80px))}@media only screen and (max-width:735px){.asset-container[data-v-e3061a7c]{display:none}}.asset-wrapper[data-v-e3061a7c]{width:63.2%;align-self:center;transition:transform .25s ease-out;will-change:transform}.asset-wrapper.ide .step-asset[data-v-e3061a7c] img{background-color:var(--background,var(--color-step-background))}.asset-wrapper[data-v-e3061a7c]:has([data-orientation=landscape]){width:unset}[data-v-e3061a7c] .runtime-preview-asset{display:grid}[data-v-e3061a7c] .runtime-preview-asset>*{grid-row:1;grid-column:1}.interstitial[data-v-e3061a7c]{padding:0 2rem}.interstitial[data-v-e3061a7c]:not(:first-child){margin-top:5.8823529412rem}.interstitial[data-v-e3061a7c]:not(:last-child){margin-bottom:30px}@media only screen and (max-width:735px){.interstitial[data-v-e3061a7c]{margin-left:auto;margin-right:auto;width:980px;padding:0}}@media only screen and (max-width:735px)and (max-width:1250px){.interstitial[data-v-e3061a7c]{width:692px}}@media only screen and (max-width:735px)and (max-width:735px){.interstitial[data-v-e3061a7c]{width:87.5%}}@media only screen and (max-width:735px)and (max-width:320px){.interstitial[data-v-e3061a7c]{width:215px}}@media only screen and (max-width:735px){.interstitial[data-v-e3061a7c]:not(:first-child){margin-top:0}}.fade-enter-active[data-v-e3061a7c],.fade-leave-active[data-v-e3061a7c]{transition:opacity .3s ease-in-out}.fade-enter[data-v-e3061a7c],.fade-leave-to[data-v-e3061a7c]{opacity:0}.section[data-v-6b3a0b3a]{padding-top:80px}.sections[data-v-79a75e9e]{margin-left:auto;margin-right:auto;width:980px}@media only screen and (max-width:1250px){.sections[data-v-79a75e9e]{width:692px}}@media only screen and (max-width:735px){.sections[data-v-79a75e9e]{width:87.5%}}@media only screen and (max-width:320px){.sections[data-v-79a75e9e]{width:215px}}@media only screen and (max-width:735px){.sections[data-v-79a75e9e]{margin:0;width:100%}}.tutorial[data-v-70ce4177]{background-color:var(--colors-text-background,var(--color-tutorial-background))} \ No newline at end of file diff --git a/docs/css/tutorials-overview.e4891d45.css b/docs/css/tutorials-overview.e4891d45.css new file mode 100644 index 00000000..780d02b3 --- /dev/null +++ b/docs/css/tutorials-overview.e4891d45.css @@ -0,0 +1,9 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */.tutorials-navigation-link[data-v-e9f9b59c]{color:var(--color-tutorials-overview-navigation-link);transition:color .3s linear}.tutorials-navigation-link[data-v-e9f9b59c]:hover{text-decoration:none;transition:none;color:var(--color-tutorials-overview-navigation-link-hover)}.tutorials-navigation-link.active[data-v-e9f9b59c]{color:var(--color-tutorials-overview-navigation-link-active)}.tutorials-navigation-list[data-v-4e0180fa]{list-style-type:none;margin:0}.tutorials-navigation-list li+li[data-v-4e0180fa]:not(.volume--named){margin-top:24px}.tutorials-navigation-list .volume--named+.volume--named[data-v-4e0180fa]{margin-top:12px}.expand-enter-active,.expand-leave-active{transition:height .3s ease-in-out;overflow:hidden}.expand-enter,.expand-leave-to{height:0}.toggle[data-v-489416f8]{color:#f0f0f0;line-height:21px;display:flex;align-items:center;width:100%;font-weight:600;padding:6px 6px 6px 0;border-bottom:1px solid #2a2a2a;text-decoration:none;box-sizing:border-box}@media only screen and (max-width:767px){.toggle[data-v-489416f8]{padding-right:6px;border-bottom-color:hsla(0,0%,100%,.1)}}.toggle .text[data-v-489416f8]{word-break:break-word}.toggle[data-v-489416f8]:hover{text-decoration:none}.toggle .toggle-icon[data-v-489416f8]{display:inline-block;transition:transform .2s ease-in;height:.4em;width:.4em;margin-left:auto;margin-right:.2em}.collapsed .toggle .toggle-icon[data-v-489416f8]{transform:rotate(45deg)}.collapsed .toggle[data-v-489416f8],.collapsed .toggle[data-v-489416f8]:hover{color:#b0b0b0}.tutorials-navigation-menu-content[data-v-489416f8]{opacity:1;transition:height .2s ease-in,opacity .2s ease-in}.collapsed .tutorials-navigation-menu-content[data-v-489416f8]{height:0;opacity:0}.tutorials-navigation-menu-content .tutorials-navigation-list[data-v-489416f8]{padding:24px 0 12px 0}.tutorials-navigation[data-v-79093ed6]{font-size:1rem;line-height:1.2352941176;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.nav-title-content[data-v-854b4dd6]{max-width:100%}.title[data-v-854b4dd6]{color:var(--color-nav-root-title,currentColor);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:inline-block;vertical-align:top;max-width:296px}@media only screen and (max-width:1023px){.title[data-v-854b4dd6]{max-width:205px}}@media only screen and (max-width:767px){.title[data-v-854b4dd6]{flex-basis:fill;display:initial;vertical-align:initial;max-width:none}}.subhead[data-v-854b4dd6]{color:var(--color-nav-root-subhead)}.theme-dark .subhead[data-v-854b4dd6]{color:var(--color-nav-dark-root-subhead)}.nav[data-v-54bcce6d] .nav-menu{padding-top:0}.nav[data-v-54bcce6d] .nav-menu .nav-menu-items{margin-left:auto}@media only screen and (min-width:768px){.nav[data-v-54bcce6d] .nav-menu .nav-menu-items .in-page-navigation{display:none}}@media only screen and (min-width:320px)and (max-width:735px){.nav[data-v-54bcce6d] .nav-menu .nav-menu-items{padding:18px 0 40px}}.hero[data-v-383dab71]{margin-left:auto;margin-right:auto;width:980px;padding-bottom:4.7058823529rem;padding-top:4.7058823529rem}@media only screen and (max-width:1250px){.hero[data-v-383dab71]{width:692px}}@media only screen and (max-width:735px){.hero[data-v-383dab71]{width:87.5%}}@media only screen and (max-width:320px){.hero[data-v-383dab71]{width:215px}}.copy-container[data-v-383dab71]{margin:0 auto;text-align:center;width:720px}.title[data-v-383dab71]{font-size:2.8235294118rem;line-height:1.0833333333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-tutorials-overview-content)}@media only screen and (max-width:1250px){.title[data-v-383dab71]{font-size:2.3529411765rem;line-height:1.1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.title[data-v-383dab71]{font-size:1.8823529412rem;line-height:1.125;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.content[data-v-383dab71]{font-size:1.2352941176rem;line-height:1.380952381;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-tutorials-overview-content)}@media only screen and (max-width:735px){.content[data-v-383dab71]{font-size:1.1176470588rem;line-height:1.4210526316;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.meta[data-v-383dab71]{color:var(--color-tutorials-overview-content-alt);align-items:center;display:flex;justify-content:center}.meta-content[data-v-383dab71]{font-size:.8235294118rem;line-height:1.4285714286;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.meta .timer-icon[data-v-383dab71]{margin-right:.3529411765rem;height:16px;width:16px;fill:var(--color-tutorials-overview-icon)}@media only screen and (max-width:735px){.meta .timer-icon[data-v-383dab71]{margin-right:.2941176471rem;height:.8235294118rem;width:.8235294118rem}}.meta .time[data-v-383dab71]{font-size:1.1176470588rem;line-height:1.2105263158;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:735px){.meta .time[data-v-383dab71]{font-size:1rem;line-height:1.1176470588;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.title+.content[data-v-383dab71]{margin-top:1.4705882353rem}.content+.meta[data-v-383dab71]{margin-top:1.1764705882rem}.button-cta[data-v-383dab71]{margin-top:1.7647058824rem}*+.asset[data-v-383dab71]{margin-top:4.1176470588rem}@media only screen and (max-width:1250px){.copy-container[data-v-383dab71]{width:636px}}@media only screen and (max-width:735px){.hero[data-v-383dab71]{padding-bottom:1.7647058824rem;padding-top:2.3529411765rem}.copy-container[data-v-383dab71]{width:100%}.title+.content[data-v-383dab71]{margin-top:.8823529412rem}.button-cta[data-v-383dab71]{margin-top:1.4117647059rem}*+.asset[data-v-383dab71]{margin-top:2.2352941176rem}}.image[data-v-569db166]{margin-bottom:10px}.name[data-v-569db166]{font-size:1.8823529412rem;line-height:1.125;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-tutorials-overview-header-text,#f0f0f0);word-break:break-word}@media only screen and (max-width:1250px){.name[data-v-569db166]{font-size:1.6470588235rem;line-height:1.1428571429;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.name[data-v-569db166]{font-size:1.4117647059rem;line-height:1.1666666667;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.content[data-v-569db166]{font-size:1rem;line-height:1.2352941176;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-tutorials-overview-content-alt);margin-top:10px}.volume-name[data-v-569db166]{padding:50px 60px;text-align:center;background:var(--color-tutorials-overview-fill-secondary,#161616);margin:2px 0}@media only screen and (max-width:735px){.volume-name[data-v-569db166]{padding:40px 20px}}.document-icon[data-v-3a80772b]{margin-left:-3px}.tile[data-v-74dbeb68]{background:var(--color-tutorials-overview-fill-secondary,#161616);padding:40px 30px;color:var(--color-tutorials-overview-content-alt)}.content[data-v-74dbeb68] a,a[data-v-74dbeb68]{color:var(--colors-link,var(--color-tutorials-overview-link))}.icon[data-v-74dbeb68]{display:block;height:1.4705882353rem;line-height:1.4705882353rem;margin-bottom:.5882352941rem;width:1.4705882353rem}.icon[data-v-74dbeb68] svg.svg-icon{width:100%;max-height:100%;fill:var(--color-tutorials-overview-icon)}.icon[data-v-74dbeb68] svg.svg-icon .svg-icon-stroke{stroke:var(--color-tutorials-overview-content-alt)}.title[data-v-74dbeb68]{font-size:1.2352941176rem;line-height:1.1904761905;font-weight:600;margin-bottom:.8em}.content[data-v-74dbeb68],.link[data-v-74dbeb68],.title[data-v-74dbeb68]{font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.content[data-v-74dbeb68],.link[data-v-74dbeb68]{font-size:.8235294118rem;line-height:1.4285714286;font-weight:400}.content[data-v-74dbeb68]{color:var(--color-tutorials-overview-content-alt)}.link[data-v-74dbeb68]{display:block;margin-top:1.1764705882rem}.link .link-icon[data-v-74dbeb68]{margin-left:.2em;width:.6em;height:.6em}[data-v-74dbeb68] .inline-link{text-decoration:none}[data-v-74dbeb68] .content ul{list-style-type:none;margin-left:0;font-size:.8235294118rem;line-height:1.2857142857;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}[data-v-74dbeb68] .content ul li:before{content:"​";position:absolute}[data-v-74dbeb68] .content li+li{margin-top:8px}@media only screen and (max-width:735px){.tile[data-v-74dbeb68]{padding:1.7647058824rem 1.1764705882rem}}.tile-group[data-v-4cacce0a]{display:grid;grid-column-gap:2px;grid-row-gap:2px}.tile-group.count-1[data-v-4cacce0a]{grid-template-columns:1fr;text-align:center}.tile-group.count-1[data-v-4cacce0a] .icon{margin-left:auto;margin-right:auto}.tile-group.count-2[data-v-4cacce0a]{grid-template-columns:repeat(2,1fr)}.tile-group.count-3[data-v-4cacce0a]{grid-template-columns:repeat(3,1fr)}.tile-group.count-4[data-v-4cacce0a]{grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,auto)}.tile-group.count-5[data-v-4cacce0a]{grid-template-columns:repeat(6,1fr);grid-template-rows:repeat(2,auto)}.tile-group.count-5 .tile[data-v-4cacce0a]{grid-column-end:span 2}.tile-group.count-5 .tile[data-v-4cacce0a]:nth-of-type(-n+2){grid-column-end:span 3}.tile-group.count-6[data-v-4cacce0a]{grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(3,auto)}@media only screen and (min-width:768px)and (max-width:1250px){.tile-group.tile-group[data-v-4cacce0a]{grid-template-columns:1fr;grid-template-rows:auto}}@media only screen and (max-width:735px){.tile-group.count-1[data-v-4cacce0a],.tile-group.count-2[data-v-4cacce0a],.tile-group.count-3[data-v-4cacce0a],.tile-group.count-4[data-v-4cacce0a],.tile-group.count-5[data-v-4cacce0a],.tile-group.count-6[data-v-4cacce0a]{grid-template-columns:1fr;grid-template-rows:auto}}.title[data-v-7f8022c1]{font-size:1.8823529412rem;line-height:1.125;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:#f0f0f0}@media only screen and (max-width:1250px){.title[data-v-7f8022c1]{font-size:1.6470588235rem;line-height:1.1428571429;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.title[data-v-7f8022c1]{font-size:1.4117647059rem;line-height:1.1666666667;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.content[data-v-7f8022c1]{font-size:1rem;line-height:1.2352941176;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:#b0b0b0;margin-top:10px}.topic-list[data-v-0589dc3b]{list-style-type:none;margin:50px 0 0 0;position:relative}.topic-list li[data-v-0589dc3b]:before{content:"​";position:absolute}.topic-list[data-v-0589dc3b]:before{content:"";border-left:1px solid var(--color-fill-quaternary);display:block;height:calc(100% - .88235rem);left:.8823529412rem;position:absolute;top:50%;transform:translateY(-50%);width:0}.topic[data-v-0589dc3b]{font-size:1rem;line-height:1.4705882353;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);display:flex;align-items:flex-start}@media only screen and (max-width:735px){.topic[data-v-0589dc3b]{font-size:.8235294118rem;line-height:1.2857142857;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.topic+.topic[data-v-0589dc3b]{margin-top:.5882352941rem}.topic .topic-icon[data-v-0589dc3b]{background-color:var(--color-fill-quaternary);border-radius:50%;flex-shrink:0;height:1.7647058824rem;width:1.7647058824rem;margin-right:1.1764705882rem;position:relative;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:.4705882353rem;box-sizing:border-box;display:flex;justify-content:center;align-items:center}.topic .topic-icon svg[data-v-0589dc3b]{fill:var(--color-tutorials-overview-icon);max-width:100%;max-height:100%;width:100%}.container[data-v-0589dc3b]{align-items:baseline;display:flex;justify-content:space-between;width:100%;padding-top:.1176470588rem}.container[data-v-0589dc3b]:hover{text-decoration:none}.container:hover .link[data-v-0589dc3b]{text-decoration:underline}.timer-icon[data-v-0589dc3b]{margin-right:.2941176471rem;height:.7058823529rem;width:.7058823529rem;fill:var(--color-tutorials-overview-icon)}.time[data-v-0589dc3b]{font-size:.8235294118rem;line-height:1.2857142857;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-tutorials-overview-content-alt);align-items:center;display:inline-flex}.link[data-v-0589dc3b]{padding-right:.5882352941rem;color:var(--colors-link,var(--color-tutorials-overview-link))}@media only screen and (min-width:768px)and (max-width:1250px){.topic-list[data-v-0589dc3b]{margin-top:2.3529411765rem}}@media only screen and (max-width:735px){.topic-list[data-v-0589dc3b]{margin-top:1.7647058824rem}.topic[data-v-0589dc3b]{height:auto;align-items:flex-start}.topic.no-time-estimate[data-v-0589dc3b]{align-items:center}.topic.no-time-estimate .topic-icon[data-v-0589dc3b]{align-self:flex-start;top:0}.topic+.topic[data-v-0589dc3b]{margin-top:1.1764705882rem}.topic .topic-icon[data-v-0589dc3b]{top:.2941176471rem;margin-right:.7647058824rem}.container[data-v-0589dc3b]{flex-wrap:wrap;padding-top:0}.link[data-v-0589dc3b],.time[data-v-0589dc3b]{flex-basis:100%}.time[data-v-0589dc3b]{margin-top:.2941176471rem}}.chapter[data-v-7468bc5e]:focus{outline:none!important}.info[data-v-7468bc5e]{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between}.name[data-v-7468bc5e]{font-size:1.2352941176rem;line-height:1.1904761905;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-tutorials-overview-header-text,#f0f0f0)}.name-text[data-v-7468bc5e]{word-break:break-word}.eyebrow[data-v-7468bc5e]{font-size:1rem;line-height:1.2352941176;font-weight:400;color:var(--color-tutorials-overview-eyebrow);display:block;font-weight:600;margin-bottom:5px}.content[data-v-7468bc5e],.eyebrow[data-v-7468bc5e]{font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.content[data-v-7468bc5e]{font-size:.8235294118rem;line-height:1.4285714286;font-weight:400;color:var(--color-tutorials-overview-content-alt)}.asset[data-v-7468bc5e]{flex:0 0 190px}.intro[data-v-7468bc5e]{flex:0 1 360px}@media only screen and (min-width:768px)and (max-width:1250px){.asset[data-v-7468bc5e]{flex:0 0 130px}.intro[data-v-7468bc5e]{flex:0 1 260px}}@media only screen and (max-width:767px){.intro[data-v-7468bc5e]{flex:0 1 340px}}@media only screen and (max-width:735px){.info[data-v-7468bc5e]{display:block;text-align:center}.asset[data-v-7468bc5e]{margin:0 45px}.eyebrow[data-v-7468bc5e]{margin-bottom:7px}.intro[data-v-7468bc5e]{margin-top:40px}}.tile[data-v-540dbf10]{background:var(--color-tutorials-overview-fill-secondary,#161616);margin:2px 0;padding:50px 60px}.asset[data-v-540dbf10]{margin-bottom:10px}@media only screen and (min-width:768px)and (max-width:1250px){.tile[data-v-540dbf10]{padding:40px 30px}}@media only screen and (max-width:735px){.volume[data-v-540dbf10]{border-radius:0}.tile[data-v-540dbf10]{padding:40px 20px}}.learning-path[data-v-69a72bbc]{background:var(--color-tutorials-overview-fill,#000);padding:4.7058823529rem 0}.main-container[data-v-69a72bbc]{margin-left:auto;margin-right:auto;width:980px;align-items:stretch;display:flex;justify-content:space-between}@media only screen and (max-width:1250px){.main-container[data-v-69a72bbc]{width:692px}}@media only screen and (max-width:735px){.main-container[data-v-69a72bbc]{width:87.5%}}@media only screen and (max-width:320px){.main-container[data-v-69a72bbc]{width:215px}}.ide .main-container[data-v-69a72bbc]{justify-content:center}.secondary-content-container[data-v-69a72bbc]{flex:0 0 200px;width:200px}.tutorials-navigation[data-v-69a72bbc]{position:sticky;top:7.7647058824rem}.primary-content-container[data-v-69a72bbc]{flex:0 1 720px;max-width:100%}.content-sections-container .content-section[data-v-69a72bbc]{border-radius:12px;overflow:hidden}.content-sections-container .content-section+.content-section[data-v-69a72bbc]{margin-top:1.1764705882rem}@media only screen and (min-width:768px)and (max-width:1250px){.learning-path[data-v-69a72bbc]{padding:2.3529411765rem 0}.primary-content-container[data-v-69a72bbc]{flex-basis:auto;margin-left:1.2941176471rem}.secondary-content-container[data-v-69a72bbc]{flex:0 0 180px;width:180px}}@media only screen and (max-width:767px){.secondary-content-container[data-v-69a72bbc]{display:none}}@media only screen and (max-width:735px){.content-sections-container .content-section[data-v-69a72bbc]{border-radius:0}.content-sections-container .content-section.volume[data-v-69a72bbc]{margin-top:1.1764705882rem}.learning-path[data-v-69a72bbc]{padding:0}.main-container[data-v-69a72bbc]{width:100%}}.tutorials-overview[data-v-40c62c57]{background:#000;flex:1;height:100%}.tutorials-overview .radial-gradient[data-v-40c62c57]{margin-top:-3.0588235294rem;padding-top:3.0588235294rem;background:var(--color-tutorials-overview-fill-secondary,var(--color-tutorials-overview-background))}@media only screen and (max-width:735px){.tutorials-overview .radial-gradient[data-v-40c62c57]{margin-top:-2.8235294118rem;padding-top:2.8235294118rem}}@-moz-document url-prefix(){.tutorials-overview .radial-gradient[data-v-40c62c57]{background:#111!important}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit.json b/docs/data/documentation/playdatekit.json new file mode 100644 index 00000000..855c9306 --- /dev/null +++ b/docs/data/documentation/playdatekit.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"kind":"content","content":[{"text":"Overview","type":"heading","anchor":"Overview","level":2},{"inlineContent":[{"type":"text","text":"Placeholder"}],"type":"paragraph"}]}],"variants":[{"paths":["\/documentation\/playdatekit"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[[]]},"schemaVersion":{"minor":3,"patch":0,"major":0},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","interfaceLanguage":"swift"},"topicSections":[{"identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite"],"title":"Placeholder"},{"identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame"],"generated":true,"title":"Protocols"},{"identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/posix_memalign(_:_:_:)"],"title":"Functions","generated":true},{"generated":true,"identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Display","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/File","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Graphics","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/JSON","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Scoreboards","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Sprite","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/System"],"title":"Type Aliases"},{"generated":true,"title":"Enumerations","identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate"]},{"identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/CPlaydate"],"generated":true,"title":"Extended Modules"}],"abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"sections":[],"metadata":{"title":"PlaydateKit","externalID":"PlaydateKit","modules":[{"name":"PlaydateKit"}],"role":"collection","roleHeading":"Framework","symbolKind":"module"},"kind":"symbol","references":{"doc://PlaydateKit/documentation/PlaydateKit/Display":{"title":"Display","type":"topic","abstract":[],"navigatorTitle":[{"text":"Display","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Display","url":"\/documentation\/playdatekit\/display","role":"symbol","kind":"symbol","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Display","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/System","url":"\/documentation\/playdatekit\/system","role":"symbol","title":"System","abstract":[],"fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"System","kind":"identifier"}],"type":"topic","navigatorTitle":[{"text":"System","kind":"identifier"}],"kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Scoreboards":{"title":"Scoreboards","type":"topic","abstract":[],"navigatorTitle":[{"text":"Scoreboards","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Scoreboards","url":"\/documentation\/playdatekit\/scoreboards","role":"symbol","kind":"symbol","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Scoreboards","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Sprite":{"url":"\/documentation\/playdatekit\/sprite","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Sprite","kind":"identifier"}],"navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"abstract":[],"title":"Sprite","role":"symbol","kind":"symbol","type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Sprite"},"doc://PlaydateKit/documentation/PlaydateKit/JSON":{"navigatorTitle":[{"text":"JSON","kind":"identifier"}],"role":"symbol","kind":"symbol","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JSON","kind":"identifier"}],"abstract":[],"url":"\/documentation\/playdatekit\/json","title":"JSON","type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/JSON"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite":{"navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"title":"Playdate.Sprite.Sprite","type":"topic","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Sprite"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite","kind":"symbol","abstract":[],"role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame","role":"symbol","url":"\/documentation\/playdatekit\/playdategame","kind":"symbol","fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"text":"PlaydateGame","kind":"identifier"}],"title":"PlaydateGame","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"PlaydateGame"}]},"doc://PlaydateKit/documentation/PlaydateKit/CPlaydate":{"kind":"symbol","title":"CPlaydate","url":"\/documentation\/playdatekit\/cplaydate","role":"collection","abstract":[],"type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/CPlaydate"},"doc://PlaydateKit/documentation/PlaydateKit/posix_memalign(_:_:_:)":{"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"posix_memalign"},{"text":"(","kind":"text"},{"text":"UnsafeMutablePointer","preciseIdentifier":"s:Sp","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"text":"UnsafeMutableRawPointer","kind":"typeIdentifier","preciseIdentifier":"s:Sv"},{"kind":"text","text":"?>, "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Si","text":"Int"},{"text":") -> ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"}],"url":"\/documentation\/playdatekit\/posix_memalign(_:_:_:)","kind":"symbol","abstract":[{"text":"Implement ","type":"text"},{"type":"codeVoice","code":"posix_memalign(3)"},{"type":"text","text":", which is required by the Swift runtime but is"},{"type":"text","text":" "},{"type":"text","text":"not provided by the Playdate C library."}],"title":"posix_memalign(_:_:_:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/posix_memalign(_:_:_:)","type":"topic","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Graphics":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Graphics","title":"Graphics","abstract":[],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Graphics","kind":"identifier"}],"type":"topic","kind":"symbol","url":"\/documentation\/playdatekit\/graphics","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/File":{"title":"File","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/File","role":"symbol","navigatorTitle":[{"text":"File","kind":"identifier"}],"kind":"symbol","fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"File"}],"url":"\/documentation\/playdatekit\/file","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/cplaydate.json b/docs/data/documentation/playdatekit/cplaydate.json new file mode 100644 index 00000000..769c6fbb --- /dev/null +++ b/docs/data/documentation/playdatekit/cplaydate.json @@ -0,0 +1 @@ +{"kind":"symbol","topicSections":[{"identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/CPlaydate\/LCDRect"],"generated":true,"title":"Extended Structures"}],"variants":[{"paths":["\/documentation\/playdatekit\/cplaydate"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"minor":3,"major":0,"patch":0},"sections":[],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit"]]},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/CPlaydate","interfaceLanguage":"swift"},"metadata":{"roleHeading":"Extended Module","modules":[{"name":"PlaydateKit"}],"title":"CPlaydate","role":"collection","symbolKind":"extension","externalID":"s:m:s:e:s:So7LCDRecta11PlaydateKitE1x1y5width6heightABs5Int32V_A3Itcfc"},"references":{"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/CPlaydate/LCDRect":{"navigatorTitle":[{"kind":"identifier","text":"LCDRect"}],"role":"symbol","kind":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Playdate","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O"},{"text":".","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO","kind":"typeIdentifier","text":"Graphics"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Rect","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO4Recta"}],"abstract":[],"url":"\/documentation\/playdatekit\/cplaydate\/lcdrect","title":"LCDRect","type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/CPlaydate\/LCDRect"},"doc://PlaydateKit/documentation/PlaydateKit/CPlaydate":{"kind":"symbol","title":"CPlaydate","url":"\/documentation\/playdatekit\/cplaydate","role":"collection","abstract":[],"type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/CPlaydate"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/cplaydate/lcdrect.json b/docs/data/documentation/playdatekit/cplaydate/lcdrect.json new file mode 100644 index 00000000..7ae26390 --- /dev/null +++ b/docs/data/documentation/playdatekit/cplaydate/lcdrect.json @@ -0,0 +1 @@ +{"kind":"symbol","metadata":{"navigatorTitle":[{"kind":"identifier","text":"LCDRect"}],"title":"LCDRect","role":"symbol","externalID":"s:e:s:So7LCDRecta11PlaydateKitE1x1y5width6heightABs5Int32V_A3Itcfc","symbolKind":"extension","modules":[{"name":"PlaydateKit","relatedModules":["CPlaydate"]}],"roleHeading":"Extended Structure","extendedModule":"CPlaydate","fragments":[{"kind":"keyword","text":"extension"},{"kind":"text","text":" "},{"kind":"typeIdentifier","text":"Playdate","preciseIdentifier":"s:11PlaydateKit0A0O"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Graphics","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO"},{"text":".","kind":"text"},{"text":"Rect","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO4Recta","kind":"typeIdentifier"}]},"schemaVersion":{"patch":0,"major":0,"minor":3},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/CPlaydate"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/CPlaydate\/LCDRect"},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/cplaydate\/lcdrect"]}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"extension"},{"kind":"text","text":" "},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","text":"Playdate"},{"kind":"text","text":"."},{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO","text":"Graphics"},{"text":".","kind":"text"},{"kind":"typeIdentifier","text":"Rect","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Rect","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO4Recta"}],"languages":["swift"]}],"kind":"declarations"}],"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/CPlaydate\/LCDRect\/init(x:y:width:height:)"],"generated":true},{"title":"Instance Methods","generated":true,"identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/CPlaydate\/LCDRect\/translated(dx:dy:)"]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/CPlaydate/LCDRect":{"navigatorTitle":[{"kind":"identifier","text":"LCDRect"}],"role":"symbol","kind":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Playdate","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O"},{"text":".","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO","kind":"typeIdentifier","text":"Graphics"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Rect","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO4Recta"}],"abstract":[],"url":"\/documentation\/playdatekit\/cplaydate\/lcdrect","title":"LCDRect","type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/CPlaydate\/LCDRect"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Rect":{"fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Rect"}],"abstract":[],"navigatorTitle":[{"kind":"identifier","text":"Rect"}],"type":"topic","kind":"symbol","role":"symbol","title":"Playdate.Graphics.Rect","url":"\/documentation\/playdatekit\/playdate\/graphics\/rect","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Rect"},"doc://PlaydateKit/documentation/PlaydateKit/CPlaydate/LCDRect/translated(dx:dy:)":{"url":"\/documentation\/playdatekit\/cplaydate\/lcdrect\/translated(dx:dy:)","title":"translated(dx:dy:)","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"translated","kind":"identifier"},{"kind":"text","text":"("},{"text":"dx","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"kind":"text","text":", "},{"kind":"externalParam","text":"dy"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":") -> ","kind":"text"},{"text":"Playdate","preciseIdentifier":"s:11PlaydateKit0A0O","kind":"typeIdentifier"},{"text":".","kind":"text"},{"kind":"typeIdentifier","text":"Graphics","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Rect","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO4Recta"}],"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/CPlaydate\/LCDRect\/translated(dx:dy:)","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/CPlaydate/LCDRect/init(x:y:width:height:)":{"abstract":[],"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/CPlaydate\/LCDRect\/init(x:y:width:height:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"x"},{"text":": ","kind":"text"},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"y"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"kind":"text","text":", "},{"kind":"externalParam","text":"width"},{"kind":"text","text":": "},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":", "},{"text":"height","kind":"externalParam"},{"kind":"text","text":": "},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":")"}],"title":"init(x:y:width:height:)","type":"topic","url":"\/documentation\/playdatekit\/cplaydate\/lcdrect\/init(x:y:width:height:)","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/CPlaydate":{"kind":"symbol","title":"CPlaydate","url":"\/documentation\/playdatekit\/cplaydate","role":"collection","abstract":[],"type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/CPlaydate"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/cplaydate/lcdrect/init(x:y:width:height:).json b/docs/data/documentation/playdatekit/cplaydate/lcdrect/init(x:y:width:height:).json new file mode 100644 index 00000000..d44d4afb --- /dev/null +++ b/docs/data/documentation/playdatekit/cplaydate/lcdrect/init(x:y:width:height:).json @@ -0,0 +1 @@ +{"kind":"symbol","schemaVersion":{"minor":3,"major":0,"patch":0},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/cplaydate\/lcdrect\/init(x:y:width:height:)"]}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"init","kind":"keyword"},{"kind":"text","text":"("},{"text":"x","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"y"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"CInt","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"text":"width","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"height"},{"text":": ","kind":"text"},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"text":")","kind":"text"}]}],"kind":"declarations"}],"metadata":{"modules":[{"name":"PlaydateKit","relatedModules":["CPlaydate"]}],"symbolKind":"init","extendedModule":"CPlaydate","role":"symbol","title":"init(x:y:width:height:)","externalID":"s:So7LCDRecta11PlaydateKitE1x1y5width6heightABs5Int32V_A3Itcfc","roleHeading":"Initializer","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"text":"x","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"},{"text":", ","kind":"text"},{"text":"y","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":", ","kind":"text"},{"text":"width","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":", "},{"text":"height","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"text":")","kind":"text"}]},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/CPlaydate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/CPlaydate\/LCDRect"]]},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/CPlaydate\/LCDRect\/init(x:y:width:height:)","interfaceLanguage":"swift"},"references":{"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/CPlaydate/LCDRect/init(x:y:width:height:)":{"abstract":[],"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/CPlaydate\/LCDRect\/init(x:y:width:height:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"x"},{"text":": ","kind":"text"},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"y"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"kind":"text","text":", "},{"kind":"externalParam","text":"width"},{"kind":"text","text":": "},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":", "},{"text":"height","kind":"externalParam"},{"kind":"text","text":": "},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":")"}],"title":"init(x:y:width:height:)","type":"topic","url":"\/documentation\/playdatekit\/cplaydate\/lcdrect\/init(x:y:width:height:)","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/CPlaydate/LCDRect":{"navigatorTitle":[{"kind":"identifier","text":"LCDRect"}],"role":"symbol","kind":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Playdate","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O"},{"text":".","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO","kind":"typeIdentifier","text":"Graphics"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Rect","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO4Recta"}],"abstract":[],"url":"\/documentation\/playdatekit\/cplaydate\/lcdrect","title":"LCDRect","type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/CPlaydate\/LCDRect"},"doc://PlaydateKit/documentation/PlaydateKit/CPlaydate":{"kind":"symbol","title":"CPlaydate","url":"\/documentation\/playdatekit\/cplaydate","role":"collection","abstract":[],"type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/CPlaydate"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/cplaydate/lcdrect/translated(dx:dy:).json b/docs/data/documentation/playdatekit/cplaydate/lcdrect/translated(dx:dy:).json new file mode 100644 index 00000000..9d024c81 --- /dev/null +++ b/docs/data/documentation/playdatekit/cplaydate/lcdrect/translated(dx:dy:).json @@ -0,0 +1 @@ +{"kind":"symbol","identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/CPlaydate\/LCDRect\/translated(dx:dy:)","interfaceLanguage":"swift"},"metadata":{"title":"translated(dx:dy:)","modules":[{"name":"PlaydateKit","relatedModules":["CPlaydate"]}],"roleHeading":"Instance Method","extendedModule":"CPlaydate","role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"translated","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"dx"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"dy"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Playdate","preciseIdentifier":"s:11PlaydateKit0A0O"},{"text":".","kind":"text"},{"text":"Graphics","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO"},{"text":".","kind":"text"},{"text":"Rect","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO4Recta"}],"externalID":"s:So7LCDRecta11PlaydateKitE10translated2dx2dyABs5Int32V_AHtF","symbolKind":"method"},"schemaVersion":{"patch":0,"major":0,"minor":3},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"translated"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"dx"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"kind":"text","text":", "},{"kind":"externalParam","text":"dy"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O","text":"Playdate"},{"text":".","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO","text":"Graphics","kind":"typeIdentifier","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},{"text":".","kind":"text"},{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Rect","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO4Recta","text":"Rect","kind":"typeIdentifier"}]}]}],"sections":[],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/CPlaydate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/CPlaydate\/LCDRect"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/cplaydate\/lcdrect\/translated(dx:dy:)"]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/CPlaydate/LCDRect":{"navigatorTitle":[{"kind":"identifier","text":"LCDRect"}],"role":"symbol","kind":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Playdate","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O"},{"text":".","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO","kind":"typeIdentifier","text":"Graphics"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Rect","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO4Recta"}],"abstract":[],"url":"\/documentation\/playdatekit\/cplaydate\/lcdrect","title":"LCDRect","type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/CPlaydate\/LCDRect"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/CPlaydate":{"kind":"symbol","title":"CPlaydate","url":"\/documentation\/playdatekit\/cplaydate","role":"collection","abstract":[],"type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/CPlaydate"},"doc://PlaydateKit/documentation/PlaydateKit/CPlaydate/LCDRect/translated(dx:dy:)":{"url":"\/documentation\/playdatekit\/cplaydate\/lcdrect\/translated(dx:dy:)","title":"translated(dx:dy:)","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"translated","kind":"identifier"},{"kind":"text","text":"("},{"text":"dx","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"kind":"text","text":", "},{"kind":"externalParam","text":"dy"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":") -> ","kind":"text"},{"text":"Playdate","preciseIdentifier":"s:11PlaydateKit0A0O","kind":"typeIdentifier"},{"text":".","kind":"text"},{"kind":"typeIdentifier","text":"Graphics","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Rect","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO4Recta"}],"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/CPlaydate\/LCDRect\/translated(dx:dy:)","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Rect":{"fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Rect"}],"abstract":[],"navigatorTitle":[{"kind":"identifier","text":"Rect"}],"type":"topic","kind":"symbol","role":"symbol","title":"Playdate.Graphics.Rect","url":"\/documentation\/playdatekit\/playdate\/graphics\/rect","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Rect"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/display.json b/docs/data/documentation/playdatekit/display.json new file mode 100644 index 00000000..9860669b --- /dev/null +++ b/docs/data/documentation/playdatekit/display.json @@ -0,0 +1 @@ +{"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"text":"Display","kind":"identifier"},{"text":" = ","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O","kind":"typeIdentifier","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","text":"Playdate"},{"text":".","kind":"text"},{"kind":"typeIdentifier","text":"Display","preciseIdentifier":"s:11PlaydateKit0A0O7DisplayO","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display"}],"languages":["swift"],"platforms":["macOS"]}]}],"metadata":{"role":"symbol","externalID":"s:11PlaydateKit7Displaya","roleHeading":"Type Alias","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Display"}],"title":"Display","modules":[{"name":"PlaydateKit"}],"navigatorTitle":[{"text":"Display","kind":"identifier"}],"symbolKind":"typealias"},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Display","interfaceLanguage":"swift"},"schemaVersion":{"patch":0,"major":0,"minor":3},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/display"]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit"]]},"sections":[],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Display":{"title":"Display","type":"topic","abstract":[],"navigatorTitle":[{"text":"Display","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Display","url":"\/documentation\/playdatekit\/display","role":"symbol","kind":"symbol","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Display","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Display":{"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/display","navigatorTitle":[{"kind":"identifier","text":"Display"}],"abstract":[],"type":"topic","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Display","kind":"identifier"}],"title":"Playdate.Display"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/file.json b/docs/data/documentation/playdatekit/file.json new file mode 100644 index 00000000..48d667df --- /dev/null +++ b/docs/data/documentation/playdatekit/file.json @@ -0,0 +1 @@ +{"sections":[],"metadata":{"symbolKind":"typealias","fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"File"}],"title":"File","modules":[{"name":"PlaydateKit"}],"roleHeading":"Type Alias","role":"symbol","navigatorTitle":[{"text":"File","kind":"identifier"}],"externalID":"s:11PlaydateKit4Filea"},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/file"]}],"schemaVersion":{"minor":3,"patch":0,"major":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"text":"File","kind":"identifier"},{"kind":"text","text":" = "},{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","kind":"typeIdentifier","text":"Playdate","preciseIdentifier":"s:11PlaydateKit0A0O"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O4FileO","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","text":"File"}]}]}],"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/File"},"references":{"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File":{"role":"symbol","navigatorTitle":[{"text":"File","kind":"identifier"}],"type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"File","kind":"identifier"}],"title":"Playdate.File","url":"\/documentation\/playdatekit\/playdate\/file","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/File":{"title":"File","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/File","role":"symbol","navigatorTitle":[{"text":"File","kind":"identifier"}],"kind":"symbol","fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"File"}],"url":"\/documentation\/playdatekit\/file","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/graphics.json b/docs/data/documentation/playdatekit/graphics.json new file mode 100644 index 00000000..e362fabc --- /dev/null +++ b/docs/data/documentation/playdatekit/graphics.json @@ -0,0 +1 @@ +{"metadata":{"externalID":"s:11PlaydateKit8Graphicsa","modules":[{"name":"PlaydateKit"}],"symbolKind":"typealias","title":"Graphics","roleHeading":"Type Alias","navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"role":"symbol","fragments":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"text":"Graphics","kind":"identifier"}]},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit"]]},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Graphics","interfaceLanguage":"swift"},"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"text":"Graphics","kind":"identifier"},{"kind":"text","text":" = "},{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","text":"Playdate","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O"},{"text":".","kind":"text"},{"text":"Graphics","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"variants":[{"paths":["\/documentation\/playdatekit\/graphics"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"patch":0,"minor":3},"kind":"symbol","sections":[],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Graphics":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Graphics","title":"Graphics","abstract":[],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Graphics","kind":"identifier"}],"type":"topic","kind":"symbol","url":"\/documentation\/playdatekit\/graphics","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/json.json b/docs/data/documentation/playdatekit/json.json new file mode 100644 index 00000000..b5c65e7d --- /dev/null +++ b/docs/data/documentation/playdatekit/json.json @@ -0,0 +1 @@ +{"sections":[],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/JSON","interfaceLanguage":"swift"},"schemaVersion":{"patch":0,"major":0,"minor":3},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"text":"JSON","kind":"identifier"},{"kind":"text","text":" = "},{"text":"Playdate","preciseIdentifier":"s:11PlaydateKit0A0O","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"JSON","kind":"typeIdentifier","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON","preciseIdentifier":"s:11PlaydateKit0A0O4JSONO"}],"platforms":["macOS"],"languages":["swift"]}]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/json"]}],"metadata":{"symbolKind":"typealias","navigatorTitle":[{"text":"JSON","kind":"identifier"}],"fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JSON","kind":"identifier"}],"title":"JSON","role":"symbol","roleHeading":"Type Alias","modules":[{"name":"PlaydateKit"}],"externalID":"s:11PlaydateKit4JSONa"},"kind":"symbol","references":{"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/JSON":{"navigatorTitle":[{"text":"JSON","kind":"identifier"}],"kind":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JSON","kind":"identifier"}],"title":"Playdate.JSON","url":"\/documentation\/playdatekit\/playdate\/json","role":"symbol","abstract":[],"type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON"},"doc://PlaydateKit/documentation/PlaydateKit/JSON":{"navigatorTitle":[{"text":"JSON","kind":"identifier"}],"role":"symbol","kind":"symbol","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JSON","kind":"identifier"}],"abstract":[],"url":"\/documentation\/playdatekit\/json","title":"JSON","type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/JSON"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate.json b/docs/data/documentation/playdatekit/playdate.json new file mode 100644 index 00000000..87c35cb2 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate.json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate"]}],"topicSections":[{"title":"Structures","identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error"],"generated":true},{"title":"Type Properties","identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/playdateAPI"],"generated":true},{"generated":true,"title":"Type Methods","identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/initialize(with:)"]},{"identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"],"title":"Enumerations","generated":true}],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","interfaceLanguage":"swift"},"sections":[],"kind":"symbol","schemaVersion":{"minor":3,"major":0,"patch":0},"metadata":{"modules":[{"name":"PlaydateKit"}],"externalID":"s:11PlaydateKit0A0O","symbolKind":"enum","title":"Playdate","roleHeading":"Enumeration","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"role":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Playdate"}]},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Playdate","kind":"identifier"}]}]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit"]]},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/initialize(with:)":{"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"initialize","kind":"identifier"},{"kind":"text","text":"("},{"text":"with","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sv","kind":"typeIdentifier","text":"UnsafeMutableRawPointer"},{"kind":"text","text":")"}],"url":"\/documentation\/playdatekit\/playdate\/initialize(with:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/initialize(with:)","kind":"symbol","title":"initialize(with:)","type":"topic","abstract":[],"role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/playdateAPI":{"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"playdateAPI"},{"text":": ","kind":"text"},{"text":"PlaydateAPI","kind":"typeIdentifier","preciseIdentifier":"c:@S@PlaydateAPI"},{"text":"!","kind":"text"}],"abstract":[],"title":"playdateAPI","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/playdateAPI","url":"\/documentation\/playdatekit\/playdate\/playdateapi","type":"topic","role":"symbol","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Error":{"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Error"}],"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/error","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","title":"Playdate.Error","role":"symbol","type":"topic","abstract":[]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File":{"role":"symbol","navigatorTitle":[{"text":"File","kind":"identifier"}],"type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"File","kind":"identifier"}],"title":"Playdate.File","url":"\/documentation\/playdatekit\/playdate\/file","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/JSON":{"navigatorTitle":[{"text":"JSON","kind":"identifier"}],"kind":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JSON","kind":"identifier"}],"title":"Playdate.JSON","url":"\/documentation\/playdatekit\/playdate\/json","role":"symbol","abstract":[],"type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards":{"type":"topic","title":"Playdate.Scoreboards","url":"\/documentation\/playdatekit\/playdate\/scoreboards","abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards","navigatorTitle":[{"kind":"identifier","text":"Scoreboards"}],"role":"symbol","kind":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Scoreboards","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite":{"abstract":[],"type":"topic","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite","navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Sprite"}],"title":"Playdate.Sprite","url":"\/documentation\/playdatekit\/playdate\/sprite"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Display":{"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/display","navigatorTitle":[{"kind":"identifier","text":"Display"}],"abstract":[],"type":"topic","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Display","kind":"identifier"}],"title":"Playdate.Display"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/display.json b/docs/data/documentation/playdatekit/playdate/display.json new file mode 100644 index 00000000..39f51791 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/display.json @@ -0,0 +1 @@ +{"schemaVersion":{"minor":3,"patch":0,"major":0},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display","interfaceLanguage":"swift"},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/display"]}],"metadata":{"symbolKind":"enum","navigatorTitle":[{"text":"Display","kind":"identifier"}],"externalID":"s:11PlaydateKit0A0O7DisplayO","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Display","kind":"identifier"}],"extendedModule":"PlaydateKit","roleHeading":"Enumeration","title":"Playdate.Display","role":"symbol","modules":[{"name":"PlaydateKit"}]},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate"]]},"topicSections":[{"title":"Type Properties","generated":true,"identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display\/flipped","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display\/height","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display\/inverted","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display\/refreshRate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display\/scale","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display\/width"]},{"generated":true,"title":"Type Methods","identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display\/setMosaic(x:y:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display\/setOffset(dx:dy:)"]}],"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Display"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Display/flipped":{"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display\/flipped","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"flipped"},{"text":": (x","kind":"text"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"text":", y","kind":"text"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"text":")","kind":"text"}],"abstract":[{"text":"Flips the display on the x or y axis, or both.","type":"text"}],"title":"flipped","url":"\/documentation\/playdatekit\/playdate\/display\/flipped","type":"topic","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Display":{"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/display","navigatorTitle":[{"kind":"identifier","text":"Display"}],"abstract":[],"type":"topic","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Display","kind":"identifier"}],"title":"Playdate.Display"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Display/inverted":{"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"inverted"},{"text":": ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"abstract":[{"type":"text","text":"If inverted is true, the frame buffer is drawn inverted—black instead of white, and vice versa."}],"title":"inverted","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display\/inverted","url":"\/documentation\/playdatekit\/playdate\/display\/inverted","type":"topic","role":"symbol","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Display/refreshRate":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display\/refreshRate","title":"refreshRate","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/display\/refreshrate","abstract":[{"text":"The nominal refresh rate in frames per second. The default is 30 fps, which is a recommended","type":"text"},{"type":"text","text":" "},{"type":"text","text":"figure that balances animation smoothness with performance and power considerations. Maximum is 50 fps."}],"kind":"symbol","type":"topic","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"refreshRate","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sf","text":"Float"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Display/setMosaic(x:y:)":{"role":"symbol","title":"setMosaic(x:y:)","kind":"symbol","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"setMosaic","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"x"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s12CUnsignedInta","text":"CUnsignedInt","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"y"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s12CUnsignedInta","text":"CUnsignedInt"},{"text":")","kind":"text"}],"type":"topic","url":"\/documentation\/playdatekit\/playdate\/display\/setmosaic(x:y:)","abstract":[{"type":"text","text":"Adds a mosaic effect to the display. Valid x and y values are between 0 and 3, inclusive."}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display\/setMosaic(x:y:)"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Display/setOffset(dx:dy:)":{"abstract":[{"text":"Offsets the display by the given amount.","type":"text"},{"text":" ","type":"text"},{"text":"Areas outside of the displayed area are filled with the current background color.","type":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display\/setOffset(dx:dy:)","title":"setOffset(dx:dy:)","type":"topic","url":"\/documentation\/playdatekit\/playdate\/display\/setoffset(dx:dy:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"setOffset","kind":"identifier"},{"kind":"text","text":"("},{"text":"dx","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"dy"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":")","kind":"text"}],"kind":"symbol","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Display/scale":{"title":"scale","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/display\/scale","type":"topic","kind":"symbol","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"scale"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s12CUnsignedInta","text":"CUnsignedInt","kind":"typeIdentifier"}],"abstract":[{"text":"Sets the display scale factor. Valid values for scale are 1, 2, 4, and 8.","type":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display\/scale"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Display/width":{"kind":"symbol","title":"width","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display\/width","type":"topic","url":"\/documentation\/playdatekit\/playdate\/display\/width","role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"width","kind":"identifier"},{"kind":"text","text":": "},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"}],"abstract":[{"type":"text","text":"Returns the width of the display, taking the current scale into account;"},{"text":" ","type":"text"},{"text":"e.g., if the scale is 2, this function returns 200 instead of 400.","type":"text"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Display/height":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display\/height","url":"\/documentation\/playdatekit\/playdate\/display\/height","abstract":[{"text":"Returns the height of the display, taking the current scale into account;","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"e.g., if the scale is 2, this function returns 120 instead of 240."}],"type":"topic","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"height","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"}],"kind":"symbol","title":"height","role":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/display/flipped.json b/docs/data/documentation/playdatekit/playdate/display/flipped.json new file mode 100644 index 00000000..3f155c87 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/display/flipped.json @@ -0,0 +1 @@ +{"sections":[],"kind":"symbol","schemaVersion":{"patch":0,"major":0,"minor":3},"metadata":{"roleHeading":"Type Property","externalID":"s:11PlaydateKit0A0O7DisplayO7flippedSb1x_Sb1ytvpZ","symbolKind":"property","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"flipped"},{"text":": (x","kind":"text"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"text":", y","kind":"text"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"kind":"text","text":")"}],"modules":[{"name":"PlaydateKit"}],"title":"flipped","role":"symbol"},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display\/flipped"},"abstract":[{"text":"Flips the display on the x or y axis, or both.","type":"text"}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"flipped","kind":"identifier"},{"kind":"text","text":": (x"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"text":", y","kind":"text"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sb","kind":"typeIdentifier","text":"Bool"},{"text":") { ","kind":"text"},{"kind":"keyword","text":"get"},{"text":" ","kind":"text"},{"text":"set","kind":"keyword"},{"text":" }","kind":"text"}]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/display\/flipped"]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display"]]},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Display":{"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/display","navigatorTitle":[{"kind":"identifier","text":"Display"}],"abstract":[],"type":"topic","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Display","kind":"identifier"}],"title":"Playdate.Display"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Display/flipped":{"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display\/flipped","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"flipped"},{"text":": (x","kind":"text"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"text":", y","kind":"text"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"text":")","kind":"text"}],"abstract":[{"text":"Flips the display on the x or y axis, or both.","type":"text"}],"title":"flipped","url":"\/documentation\/playdatekit\/playdate\/display\/flipped","type":"topic","role":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/display/height.json b/docs/data/documentation/playdatekit/playdate/display/height.json new file mode 100644 index 00000000..a07edbd5 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/display/height.json @@ -0,0 +1 @@ +{"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display\/height"},"schemaVersion":{"minor":3,"patch":0,"major":0},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display"]]},"sections":[],"abstract":[{"type":"text","text":"Returns the height of the display, taking the current scale into account;"},{"type":"text","text":" "},{"text":"e.g., if the scale is 2, this function returns 120 instead of 240.","type":"text"}],"metadata":{"modules":[{"name":"PlaydateKit"}],"symbolKind":"property","title":"height","role":"symbol","externalID":"s:11PlaydateKit0A0O7DisplayO6heights5Int32VvpZ","roleHeading":"Type Property","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"height"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"}]},"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"height","kind":"identifier"},{"text":": ","kind":"text"},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"text":" { ","kind":"text"},{"text":"get","kind":"keyword"},{"kind":"text","text":" }"}],"platforms":["macOS"]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/display\/height"]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Display":{"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/display","navigatorTitle":[{"kind":"identifier","text":"Display"}],"abstract":[],"type":"topic","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Display","kind":"identifier"}],"title":"Playdate.Display"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Display/height":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display\/height","url":"\/documentation\/playdatekit\/playdate\/display\/height","abstract":[{"text":"Returns the height of the display, taking the current scale into account;","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"e.g., if the scale is 2, this function returns 120 instead of 240."}],"type":"topic","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"height","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"}],"kind":"symbol","title":"height","role":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/display/inverted.json b/docs/data/documentation/playdatekit/playdate/display/inverted.json new file mode 100644 index 00000000..ee7058ef --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/display/inverted.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display"]]},"schemaVersion":{"major":0,"minor":3,"patch":0},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/display\/inverted"]}],"metadata":{"symbolKind":"property","externalID":"s:11PlaydateKit0A0O7DisplayO8invertedSbvpZ","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"inverted","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"}],"roleHeading":"Type Property","role":"symbol","title":"inverted","modules":[{"name":"PlaydateKit"}]},"primaryContentSections":[{"declarations":[{"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"inverted"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"kind":"text","text":" { "},{"kind":"keyword","text":"get"},{"kind":"text","text":" "},{"kind":"keyword","text":"set"},{"kind":"text","text":" }"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"kind":"symbol","sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display\/inverted"},"abstract":[{"type":"text","text":"If inverted is true, the frame buffer is drawn inverted—black instead of white, and vice versa."}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Display":{"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/display","navigatorTitle":[{"kind":"identifier","text":"Display"}],"abstract":[],"type":"topic","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Display","kind":"identifier"}],"title":"Playdate.Display"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Display/inverted":{"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"inverted"},{"text":": ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"abstract":[{"type":"text","text":"If inverted is true, the frame buffer is drawn inverted—black instead of white, and vice versa."}],"title":"inverted","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display\/inverted","url":"\/documentation\/playdatekit\/playdate\/display\/inverted","type":"topic","role":"symbol","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/display/refreshrate.json b/docs/data/documentation/playdatekit/playdate/display/refreshrate.json new file mode 100644 index 00000000..8c517505 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/display/refreshrate.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"refreshRate"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sf","text":"Float"},{"text":" { ","kind":"text"},{"kind":"keyword","text":"get"},{"text":" ","kind":"text"},{"text":"set","kind":"keyword"},{"text":" }","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}]},{"kind":"content","content":[{"text":"Discussion","type":"heading","level":2,"anchor":"discussion"},{"inlineContent":[{"text":"If rate is 0, the game’s update callback (the function specified by ","type":"text"},{"code":"Playdate.updateCallback","type":"codeVoice"},{"text":") is called as soon as possible.","type":"text"},{"type":"text","text":" "},{"text":"Since the display refreshes line-by-line, and unchanged lines aren’t sent to the display,","type":"text"},{"text":" ","type":"text"},{"text":"the update cycle will be faster than 30 times a second but at an indeterminate rate.","type":"text"}],"type":"paragraph"}]}],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/display\/refreshrate"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"schemaVersion":{"patch":0,"minor":3,"major":0},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display"]]},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display\/refreshRate","interfaceLanguage":"swift"},"metadata":{"title":"refreshRate","modules":[{"name":"PlaydateKit"}],"roleHeading":"Type Property","role":"symbol","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"refreshRate"},{"text":": ","kind":"text"},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"}],"externalID":"s:11PlaydateKit0A0O7DisplayO11refreshRateSfvpZ","symbolKind":"property"},"abstract":[{"type":"text","text":"The nominal refresh rate in frames per second. The default is 30 fps, which is a recommended"},{"text":" ","type":"text"},{"text":"figure that balances animation smoothness with performance and power considerations. Maximum is 50 fps.","type":"text"}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Display/refreshRate":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display\/refreshRate","title":"refreshRate","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/display\/refreshrate","abstract":[{"text":"The nominal refresh rate in frames per second. The default is 30 fps, which is a recommended","type":"text"},{"type":"text","text":" "},{"type":"text","text":"figure that balances animation smoothness with performance and power considerations. Maximum is 50 fps."}],"kind":"symbol","type":"topic","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"refreshRate","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sf","text":"Float"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Display":{"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/display","navigatorTitle":[{"kind":"identifier","text":"Display"}],"abstract":[],"type":"topic","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Display","kind":"identifier"}],"title":"Playdate.Display"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/display/scale.json b/docs/data/documentation/playdatekit/playdate/display/scale.json new file mode 100644 index 00000000..378fdde2 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/display/scale.json @@ -0,0 +1 @@ +{"kind":"symbol","schemaVersion":{"patch":0,"major":0,"minor":3},"sections":[],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"scale"},{"text":": ","kind":"text"},{"text":"CUnsignedInt","preciseIdentifier":"s:s12CUnsignedInta","kind":"typeIdentifier"},{"text":" { ","kind":"text"},{"kind":"keyword","text":"get"},{"text":" ","kind":"text"},{"kind":"keyword","text":"set"},{"text":" }","kind":"text"}],"languages":["swift"]}],"kind":"declarations"},{"kind":"content","content":[{"text":"Discussion","anchor":"discussion","type":"heading","level":2},{"type":"paragraph","inlineContent":[{"type":"text","text":"The top-left corner of the frame buffer is scaled up to fill the display; e.g., if the scale is set to 4,"},{"type":"text","text":" "},{"type":"text","text":"the pixels in rectangle [0,100] x [0,60] are drawn on the screen as 4 x 4 squares."}]}]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display"]]},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display\/scale","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/display\/scale"]}],"abstract":[{"type":"text","text":"Sets the display scale factor. Valid values for scale are 1, 2, 4, and 8."}],"metadata":{"roleHeading":"Type Property","externalID":"s:11PlaydateKit0A0O7DisplayO5scales6UInt32VvpZ","title":"scale","modules":[{"name":"PlaydateKit"}],"symbolKind":"property","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"scale","kind":"identifier"},{"kind":"text","text":": "},{"text":"CUnsignedInt","kind":"typeIdentifier","preciseIdentifier":"s:s12CUnsignedInta"}],"role":"symbol"},"references":{"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Display/scale":{"title":"scale","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/display\/scale","type":"topic","kind":"symbol","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"scale"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s12CUnsignedInta","text":"CUnsignedInt","kind":"typeIdentifier"}],"abstract":[{"text":"Sets the display scale factor. Valid values for scale are 1, 2, 4, and 8.","type":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display\/scale"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Display":{"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/display","navigatorTitle":[{"kind":"identifier","text":"Display"}],"abstract":[],"type":"topic","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Display","kind":"identifier"}],"title":"Playdate.Display"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/display/setmosaic(x:y:).json b/docs/data/documentation/playdatekit/playdate/display/setmosaic(x:y:).json new file mode 100644 index 00000000..3b180f8b --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/display/setmosaic(x:y:).json @@ -0,0 +1 @@ +{"metadata":{"roleHeading":"Type Method","externalID":"s:11PlaydateKit0A0O7DisplayO9setMosaic1x1yys6UInt32V_AJtFZ","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"setMosaic","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"x"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s12CUnsignedInta","text":"CUnsignedInt"},{"text":", ","kind":"text"},{"text":"y","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CUnsignedInt","preciseIdentifier":"s:s12CUnsignedInta"},{"text":")","kind":"text"}],"modules":[{"name":"PlaydateKit"}],"symbolKind":"method","title":"setMosaic(x:y:)","role":"symbol"},"kind":"symbol","primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"setMosaic","kind":"identifier"},{"kind":"text","text":"("},{"text":"x","kind":"externalParam"},{"kind":"text","text":": "},{"text":"CUnsignedInt","preciseIdentifier":"s:s12CUnsignedInta","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"y"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s12CUnsignedInta","text":"CUnsignedInt","kind":"typeIdentifier"},{"text":")","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/display\/setmosaic(x:y:)"]}],"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display\/setMosaic(x:y:)"},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display"]]},"abstract":[{"type":"text","text":"Adds a mosaic effect to the display. Valid x and y values are between 0 and 3, inclusive."}],"schemaVersion":{"patch":0,"minor":3,"major":0},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Display/setMosaic(x:y:)":{"role":"symbol","title":"setMosaic(x:y:)","kind":"symbol","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"setMosaic","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"x"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s12CUnsignedInta","text":"CUnsignedInt","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"y"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s12CUnsignedInta","text":"CUnsignedInt"},{"text":")","kind":"text"}],"type":"topic","url":"\/documentation\/playdatekit\/playdate\/display\/setmosaic(x:y:)","abstract":[{"type":"text","text":"Adds a mosaic effect to the display. Valid x and y values are between 0 and 3, inclusive."}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display\/setMosaic(x:y:)"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Display":{"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/display","navigatorTitle":[{"kind":"identifier","text":"Display"}],"abstract":[],"type":"topic","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Display","kind":"identifier"}],"title":"Playdate.Display"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/display/setoffset(dx:dy:).json b/docs/data/documentation/playdatekit/playdate/display/setoffset(dx:dy:).json new file mode 100644 index 00000000..b61b541e --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/display/setoffset(dx:dy:).json @@ -0,0 +1 @@ +{"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display\/setOffset(dx:dy:)"},"abstract":[{"type":"text","text":"Offsets the display by the given amount."},{"type":"text","text":" "},{"text":"Areas outside of the displayed area are filled with the current background color.","type":"text"}],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/display\/setoffset(dx:dy:)"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"minor":3,"major":0,"patch":0},"kind":"symbol","metadata":{"title":"setOffset(dx:dy:)","symbolKind":"method","externalID":"s:11PlaydateKit0A0O7DisplayO9setOffset2dx2dyys5Int32V_AJtFZ","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"setOffset","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"dx"},{"text":": ","kind":"text"},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"dy","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":")","kind":"text"}],"roleHeading":"Type Method","role":"symbol","modules":[{"name":"PlaydateKit"}]},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"setOffset","kind":"identifier"},{"text":"(","kind":"text"},{"text":"dx","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"dy"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":")","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display"]]},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Display/setOffset(dx:dy:)":{"abstract":[{"text":"Offsets the display by the given amount.","type":"text"},{"text":" ","type":"text"},{"text":"Areas outside of the displayed area are filled with the current background color.","type":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display\/setOffset(dx:dy:)","title":"setOffset(dx:dy:)","type":"topic","url":"\/documentation\/playdatekit\/playdate\/display\/setoffset(dx:dy:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"setOffset","kind":"identifier"},{"kind":"text","text":"("},{"text":"dx","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"dy"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":")","kind":"text"}],"kind":"symbol","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Display":{"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/display","navigatorTitle":[{"kind":"identifier","text":"Display"}],"abstract":[],"type":"topic","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Display","kind":"identifier"}],"title":"Playdate.Display"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/display/width.json b/docs/data/documentation/playdatekit/playdate/display/width.json new file mode 100644 index 00000000..1af748f2 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/display/width.json @@ -0,0 +1 @@ +{"sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"width","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"kind":"text","text":" { "},{"kind":"keyword","text":"get"},{"text":" }","kind":"text"}],"platforms":["macOS"]}]}],"kind":"symbol","metadata":{"externalID":"s:11PlaydateKit0A0O7DisplayO5widths5Int32VvpZ","role":"symbol","symbolKind":"property","roleHeading":"Type Property","title":"width","modules":[{"name":"PlaydateKit"}],"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"width"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"}]},"abstract":[{"text":"Returns the width of the display, taking the current scale into account;","type":"text"},{"type":"text","text":" "},{"type":"text","text":"e.g., if the scale is 2, this function returns 200 instead of 400."}],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/display\/width"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"patch":0,"minor":3},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display\/width"},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Display":{"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/display","navigatorTitle":[{"kind":"identifier","text":"Display"}],"abstract":[],"type":"topic","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Display","kind":"identifier"}],"title":"Playdate.Display"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Display/width":{"kind":"symbol","title":"width","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Display\/width","type":"topic","url":"\/documentation\/playdatekit\/playdate\/display\/width","role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"width","kind":"identifier"},{"kind":"text","text":": "},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"}],"abstract":[{"type":"text","text":"Returns the width of the display, taking the current scale into account;"},{"text":" ","type":"text"},{"text":"e.g., if the scale is 2, this function returns 200 instead of 400.","type":"text"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/error.json b/docs/data/documentation/playdatekit/playdate/error.json new file mode 100644 index 00000000..8e72f483 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/error.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate"]]},"schemaVersion":{"major":0,"minor":3,"patch":0},"relationshipsSections":[{"type":"conformsTo","identifiers":["doc:\/\/PlaydateKit\/s5ErrorP","doc:\/\/PlaydateKit\/s8SendableP"],"kind":"relationships","title":"Conforms To"}],"kind":"symbol","metadata":{"fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"symbolKind":"struct","externalID":"s:11PlaydateKit0A0O5ErrorV","navigatorTitle":[{"text":"Error","kind":"identifier"}],"roleHeading":"Structure","modules":[{"name":"PlaydateKit"}],"role":"symbol","title":"Playdate.Error"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}]}]}],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/error"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error"},"sections":[],"references":{"doc://PlaydateKit/s5ErrorP":{"identifier":"doc:\/\/PlaydateKit\/s5ErrorP","title":"Swift.Error","type":"unresolvable"},"doc://PlaydateKit/s8SendableP":{"identifier":"doc:\/\/PlaydateKit\/s8SendableP","title":"Swift.Sendable","type":"unresolvable"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Error":{"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Error"}],"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/error","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","title":"Playdate.Error","role":"symbol","type":"topic","abstract":[]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/file.json b/docs/data/documentation/playdatekit/playdate/file.json new file mode 100644 index 00000000..d4ea6ce4 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/file.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","interfaceLanguage":"swift"},"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/file"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"File"}],"platforms":["macOS"]}],"kind":"declarations"}],"sections":[],"schemaVersion":{"patch":0,"major":0,"minor":3},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate"]]},"metadata":{"modules":[{"name":"PlaydateKit"}],"externalID":"s:11PlaydateKit0A0O4FileO","symbolKind":"enum","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"File","kind":"identifier"}],"roleHeading":"Enumeration","navigatorTitle":[{"text":"File","kind":"identifier"}],"extendedModule":"PlaydateKit","role":"symbol","title":"Playdate.File"},"topicSections":[{"title":"Structures","identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle"],"generated":true},{"identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/Options"],"generated":true,"title":"Type Aliases"},{"generated":true,"title":"Type Methods","identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/listFiles(path:callback:userdata:showHidden:)-2w9lz","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/listFiles(path:callback:userdata:showHidden:)-59mk2","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/mkdir(path:)-4vzum","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/mkdir(path:)-9rwpo","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/open(path:mode:)-2yhbs","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/open(path:mode:)-8kp20","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/rename(from:to:)-3ff0y","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/rename(from:to:)-969yy","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/stat(path:)-6ac1z","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/stat(path:)-9vquc","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/unlink(path:recursive:)-4jt6t","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/unlink(path:recursive:)-9dq44"]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/open(path:mode:)-2yhbs":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/open(path:mode:)-2yhbs","title":"open(path:mode:)","kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/file\/open(path:mode:)-2yhbs","abstract":[{"type":"text","text":"Opens a handle for the file at path. The "},{"code":"fileRead","type":"codeVoice"},{"type":"text","text":" mode opens a file in the game pdx,"},{"type":"text","text":" "},{"type":"text","text":"while "},{"type":"codeVoice","code":"fileReadData"},{"text":" searches the game’s data folder; to search the data folder first then fall back on the game pdx,","type":"text"},{"text":" ","type":"text"},{"text":"use the bitwise combination ","type":"text"},{"code":"fileRead|fileReadData.fileWrite","type":"codeVoice"},{"type":"text","text":" and "},{"code":"fileAppend","type":"codeVoice"},{"type":"text","text":" always write to the data folder."},{"type":"text","text":" "},{"type":"text","text":"The function throws an error if a file at path cannot be opened."}],"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"open","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"path"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"UnsafePointer","preciseIdentifier":"s:SP"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"CChar","preciseIdentifier":"s:s5CChara"},{"text":">, ","kind":"text"},{"kind":"externalParam","text":"mode"},{"kind":"text","text":": "},{"text":"Options","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O4FileO7Optionsa"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":"("},{"preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"FileHandle","preciseIdentifier":"s:11PlaydateKit0A0O4FileO0C6HandleV"}],"type":"topic","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/stat(path:)-9vquc":{"kind":"symbol","abstract":[{"type":"text","text":"Returns the FileStat stat with information about the file at "},{"type":"codeVoice","code":"path"},{"text":".","type":"text"}],"title":"stat(path:)","url":"\/documentation\/playdatekit\/playdate\/file\/stat(path:)-9vquc","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/stat(path:)-9vquc","role":"symbol","type":"topic","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"stat"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"path"},{"kind":"text","text":": "},{"text":"UnsafePointer","kind":"typeIdentifier","preciseIdentifier":"s:SP"},{"kind":"text","text":"<"},{"text":"CChar","kind":"typeIdentifier","preciseIdentifier":"s:s5CChara"},{"text":">) ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":"("},{"preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:@SA@FileStat","text":"FileStat"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/rename(from:to:)-969yy":{"title":"rename(from:to:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/rename(from:to:)-969yy","url":"\/documentation\/playdatekit\/playdate\/file\/rename(from:to:)-969yy","abstract":[{"type":"text","text":"Renames the file at "},{"code":"from","type":"codeVoice"},{"type":"text","text":" to "},{"type":"codeVoice","code":"to"},{"text":". It will overwrite the file at to without confirmation.","type":"text"},{"type":"text","text":" "},{"text":"It does not create intermediate folders.","type":"text"}],"type":"topic","role":"symbol","kind":"symbol","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"rename","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SP","text":"UnsafePointer"},{"kind":"text","text":"<"},{"text":"CChar","preciseIdentifier":"s:s5CChara","kind":"typeIdentifier"},{"kind":"text","text":">, "},{"text":"to","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UnsafePointer","preciseIdentifier":"s:SP","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"text":"CChar","preciseIdentifier":"s:s5CChara","kind":"typeIdentifier"},{"text":">) ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error"},{"kind":"text","text":")"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File":{"role":"symbol","navigatorTitle":[{"text":"File","kind":"identifier"}],"type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"File","kind":"identifier"}],"title":"Playdate.File","url":"\/documentation\/playdatekit\/playdate\/file","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/Options":{"role":"symbol","navigatorTitle":[{"kind":"identifier","text":"Options"}],"type":"topic","abstract":[],"fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Options"}],"title":"Playdate.File.Options","url":"\/documentation\/playdatekit\/playdate\/file\/options","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/Options","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/mkdir(path:)-4vzum":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/mkdir(path:)-4vzum","kind":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"mkdir"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"path"},{"kind":"text","text":": "},{"text":"StaticString","kind":"typeIdentifier","preciseIdentifier":"s:s12StaticStringV"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"text":"Error","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV"},{"text":")","kind":"text"}],"title":"mkdir(path:)","url":"\/documentation\/playdatekit\/playdate\/file\/mkdir(path:)-4vzum","abstract":[{"type":"text","text":"Creates the given path in the "},{"type":"codeVoice","code":"Data\/"},{"type":"text","text":" folder. It does not create intermediate folders."}],"role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/listFiles(path:callback:userdata:showHidden:)-59mk2":{"url":"\/documentation\/playdatekit\/playdate\/file\/listfiles(path:callback:userdata:showhidden:)-59mk2","kind":"symbol","title":"listFiles(path:callback:userdata:showHidden:)","role":"symbol","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"listFiles"},{"kind":"text","text":"("},{"kind":"externalParam","text":"path"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SP","text":"UnsafePointer","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"text":"CChar","preciseIdentifier":"s:s5CChara","kind":"typeIdentifier"},{"text":">, ","kind":"text"},{"text":"callback","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"attribute","text":"@convention"},{"kind":"text","text":"(c) ("},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"kind":"internalParam","text":"filename"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SP","text":"UnsafePointer"},{"kind":"text","text":"<"},{"text":"CChar","preciseIdentifier":"s:s5CChara","kind":"typeIdentifier"},{"kind":"text","text":">?, "},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"userdata","kind":"internalParam"},{"kind":"text","text":": "},{"text":"UnsafeMutableRawPointer","preciseIdentifier":"s:Sv","kind":"typeIdentifier"},{"text":"?) -> ","kind":"text"},{"text":"Void","kind":"typeIdentifier","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":", "},{"kind":"externalParam","text":"userdata"},{"kind":"text","text":": "},{"text":"UnsafeMutableRawPointer","kind":"typeIdentifier","preciseIdentifier":"s:Sv"},{"text":"?, ","kind":"text"},{"text":"showHidden","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"text":"Error","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV"},{"text":")","kind":"text"}],"type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/listFiles(path:callback:userdata:showHidden:)-59mk2","abstract":[{"type":"text","text":"Calls the given callback function for every file at path. Subfolders are indicated by a trailing slash ‘\/’ in filename."},{"text":" ","type":"text"},{"type":"codeVoice","code":"listFiles()"},{"type":"text","text":" does not recurse into subfolders. If "},{"code":"showHidden","type":"codeVoice"},{"text":" is true, files beginning with a period will be included;","type":"text"},{"type":"text","text":" "},{"type":"text","text":"otherwise, they are skipped. Throws if no folder exists at path or it can’t be opened."}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/mkdir(path:)-9rwpo":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/mkdir(path:)-9rwpo","role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"mkdir"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"path"},{"kind":"text","text":": "},{"text":"UnsafePointer","kind":"typeIdentifier","preciseIdentifier":"s:SP"},{"kind":"text","text":"<"},{"text":"CChar","kind":"typeIdentifier","preciseIdentifier":"s:s5CChara"},{"text":">) ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":"("},{"text":"Error","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","kind":"typeIdentifier"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Creates the given path in the "},{"type":"codeVoice","code":"Data\/"},{"type":"text","text":" folder. It does not create intermediate folders."}],"url":"\/documentation\/playdatekit\/playdate\/file\/mkdir(path:)-9rwpo","type":"topic","kind":"symbol","title":"mkdir(path:)"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/rename(from:to:)-3ff0y":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/rename(from:to:)-3ff0y","kind":"symbol","type":"topic","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"rename"},{"kind":"text","text":"("},{"text":"from","kind":"externalParam"},{"kind":"text","text":": "},{"text":"StaticString","preciseIdentifier":"s:s12StaticStringV","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"to","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s12StaticStringV","text":"StaticString"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error"},{"text":")","kind":"text"}],"title":"rename(from:to:)","url":"\/documentation\/playdatekit\/playdate\/file\/rename(from:to:)-3ff0y","abstract":[{"type":"text","text":"Renames the file at "},{"type":"codeVoice","code":"from"},{"type":"text","text":" to "},{"type":"codeVoice","code":"to"},{"text":". It will overwrite the file at to without confirmation.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"It does not create intermediate folders."}],"role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle":{"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"FileHandle"}],"url":"\/documentation\/playdatekit\/playdate\/file\/filehandle","role":"symbol","type":"topic","title":"Playdate.File.FileHandle","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"FileHandle"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/stat(path:)-6ac1z":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/stat(path:)-6ac1z","role":"symbol","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"stat","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"path"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"StaticString","preciseIdentifier":"s:s12StaticStringV"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","text":"FileStat","preciseIdentifier":"c:@SA@FileStat"}],"abstract":[{"type":"text","text":"Returns the FileStat stat with information about the file at "},{"type":"codeVoice","code":"path"},{"text":".","type":"text"}],"url":"\/documentation\/playdatekit\/playdate\/file\/stat(path:)-6ac1z","type":"topic","kind":"symbol","title":"stat(path:)"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/unlink(path:recursive:)-4jt6t":{"fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"unlink"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"path"},{"text":": ","kind":"text"},{"text":"StaticString","preciseIdentifier":"s:s12StaticStringV","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"recursive"},{"text":": ","kind":"text"},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"text":"Error","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV"},{"text":")","kind":"text"}],"abstract":[{"type":"text","text":"Deletes the file at path. If recursive is true and the target path is a folder,"},{"type":"text","text":" "},{"text":"this deletes everything inside the folder (including folders, folders inside those, and so on) as well as the folder itself.","type":"text"}],"title":"unlink(path:recursive:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/unlink(path:recursive:)-4jt6t","url":"\/documentation\/playdatekit\/playdate\/file\/unlink(path:recursive:)-4jt6t","type":"topic","role":"symbol","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/listFiles(path:callback:userdata:showHidden:)-2w9lz":{"role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"listFiles","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"path"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s12StaticStringV","text":"StaticString"},{"kind":"text","text":", "},{"text":"callback","kind":"externalParam"},{"kind":"text","text":": "},{"text":"@convention","kind":"attribute"},{"text":"(c) (","kind":"text"},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"text":"filename","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SP","text":"UnsafePointer"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s5CChara","text":"CChar"},{"text":">?, ","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"userdata","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sv","text":"UnsafeMutableRawPointer"},{"kind":"text","text":"?) -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:s4Voida","text":"Void"},{"text":", ","kind":"text"},{"text":"userdata","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sv","text":"UnsafeMutableRawPointer"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"showHidden"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error"},{"text":")","kind":"text"}],"type":"topic","abstract":[{"type":"text","text":"Calls the given callback function for every file at path. Subfolders are indicated by a trailing slash ‘\/’ in filename."},{"type":"text","text":" "},{"code":"listFiles()","type":"codeVoice"},{"text":" does not recurse into subfolders. If ","type":"text"},{"type":"codeVoice","code":"showHidden"},{"type":"text","text":" is true, files beginning with a period will be included;"},{"type":"text","text":" "},{"type":"text","text":"otherwise, they are skipped. Throws if no folder exists at path or it can’t be opened."}],"kind":"symbol","title":"listFiles(path:callback:userdata:showHidden:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/listFiles(path:callback:userdata:showHidden:)-2w9lz","url":"\/documentation\/playdatekit\/playdate\/file\/listfiles(path:callback:userdata:showhidden:)-2w9lz"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/open(path:mode:)-8kp20":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/open(path:mode:)-8kp20","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/file\/open(path:mode:)-8kp20","kind":"symbol","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"open"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"path"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s12StaticStringV","text":"StaticString","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"mode"},{"text":": ","kind":"text"},{"text":"Options","preciseIdentifier":"s:11PlaydateKit0A0O4FileO7Optionsa","kind":"typeIdentifier"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O4FileO0C6HandleV","text":"FileHandle","kind":"typeIdentifier"}],"title":"open(path:mode:)","type":"topic","abstract":[{"type":"text","text":"Opens a handle for the file at path. The "},{"code":"fileRead","type":"codeVoice"},{"type":"text","text":" mode opens a file in the game pdx,"},{"text":" ","type":"text"},{"type":"text","text":"while "},{"code":"fileReadData","type":"codeVoice"},{"text":" searches the game’s data folder; to search the data folder first then fall back on the game pdx,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"use the bitwise combination "},{"type":"codeVoice","code":"fileRead|fileReadData.fileWrite"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"fileAppend"},{"text":" always write to the data folder.","type":"text"},{"text":" ","type":"text"},{"text":"The function throws an error if a file at path cannot be opened.","type":"text"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/unlink(path:recursive:)-9dq44":{"abstract":[{"type":"text","text":"Deletes the file at path. If "},{"code":"recursive","type":"codeVoice"},{"type":"text","text":" is true and the target path is a folder,"},{"type":"text","text":" "},{"text":"this deletes everything inside the folder (including folders, folders inside those, and so on) as well as the folder itself.","type":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/unlink(path:recursive:)-9dq44","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"unlink","kind":"identifier"},{"text":"(","kind":"text"},{"text":"path","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SP","text":"UnsafePointer"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s5CChara","text":"CChar"},{"text":">, ","kind":"text"},{"text":"recursive","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"Error","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV"},{"text":")","kind":"text"}],"url":"\/documentation\/playdatekit\/playdate\/file\/unlink(path:recursive:)-9dq44","role":"symbol","type":"topic","title":"unlink(path:recursive:)","kind":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/file/filehandle.json b/docs/data/documentation/playdatekit/playdate/file/filehandle.json new file mode 100644 index 00000000..72484e5f --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/file/filehandle.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"FileHandle"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"metadata":{"role":"symbol","symbolKind":"struct","modules":[{"name":"PlaydateKit"}],"externalID":"s:11PlaydateKit0A0O4FileO0C6HandleV","title":"Playdate.File.FileHandle","navigatorTitle":[{"text":"FileHandle","kind":"identifier"}],"roleHeading":"Structure","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"FileHandle","kind":"identifier"}]},"schemaVersion":{"patch":0,"major":0,"minor":3},"topicSections":[{"title":"Instance Methods","identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/close()","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/currentSeekPosition()","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/flush()","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/read(buffer:length:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/seek(to:seek:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/write(buffer:)"],"generated":true},{"generated":true,"identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek"],"title":"Enumerations"}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File"]]},"kind":"symbol","identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/file\/filehandle"]}],"sections":[],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle/Seek":{"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"Seek","kind":"identifier"}],"navigatorTitle":[{"text":"Seek","kind":"identifier"}],"title":"Playdate.File.FileHandle.Seek","url":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek","abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek","role":"symbol","kind":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle/close()":{"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/close()","title":"close()","type":"topic","url":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/close()","role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"close"},{"kind":"text","text":"() "},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error","kind":"typeIdentifier"},{"text":")","kind":"text"}],"abstract":[{"type":"text","text":"Closes the file handle."}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle/write(buffer:)":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/write(buffer:)","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/write(buffer:)","kind":"symbol","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"write"},{"kind":"text","text":"("},{"text":"buffer","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SW","kind":"typeIdentifier","text":"UnsafeRawBufferPointer"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"text":"(","kind":"text"},{"text":"Error","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"}],"title":"write(buffer:)","type":"topic","abstract":[{"type":"text","text":"Writes the buffer of bytes "},{"code":"buffer","type":"codeVoice"},{"type":"text","text":" to the file. Returns the number of bytes written"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File":{"role":"symbol","navigatorTitle":[{"text":"File","kind":"identifier"}],"type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"File","kind":"identifier"}],"title":"Playdate.File","url":"\/documentation\/playdatekit\/playdate\/file","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle/flush()":{"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/flush()","title":"flush()","type":"topic","url":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/flush()","role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"flush","kind":"identifier"},{"kind":"text","text":"() "},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"Error","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"}],"abstract":[{"type":"text","text":"Flushes the output buffer of file immediately. Returns the number of bytes written."}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle":{"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"FileHandle"}],"url":"\/documentation\/playdatekit\/playdate\/file\/filehandle","role":"symbol","type":"topic","title":"Playdate.File.FileHandle","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"FileHandle"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle/currentSeekPosition()":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/currentSeekPosition()","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/currentseekposition()","kind":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"currentSeekPosition"},{"text":"() ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"text":"Error","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"}],"title":"currentSeekPosition()","type":"topic","abstract":[{"type":"text","text":"Returns the current read\/write offset in the given file handle"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle/read(buffer:length:)":{"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/read(buffer:length:)","title":"read(buffer:length:)","type":"topic","url":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/read(buffer:length:)","role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"buffer"},{"text":": ","kind":"text"},{"text":"UnsafeMutableRawPointer","preciseIdentifier":"s:Sv","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"length"},{"text":": ","kind":"text"},{"text":"CUnsignedInt","preciseIdentifier":"s:s12CUnsignedInta","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"CInt","preciseIdentifier":"s:s4CInta"}],"abstract":[{"type":"text","text":"Reads up to "},{"code":"length","type":"codeVoice"},{"type":"text","text":" bytes from the file handle into the buffer "},{"code":"buffer","type":"codeVoice"},{"type":"text","text":". Returns the number of bytes read (0 indicating end of file)"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle/seek(to:seek:)":{"fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"seek","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"to"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":", ","kind":"text"},{"text":"seek","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Seek","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O4FileO0C6HandleV4SeekO"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"text":"Error","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","kind":"typeIdentifier"},{"text":")","kind":"text"}],"title":"seek(to:seek:)","url":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek(to:seek:)","abstract":[{"type":"text","text":"Sets the read\/write offset in the file handle to "},{"type":"codeVoice","code":"position"},{"type":"text","text":", relative to the "},{"type":"codeVoice","code":"seek"},{"text":".","type":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/seek(to:seek:)","role":"symbol","kind":"symbol","type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/file/filehandle/close().json b/docs/data/documentation/playdatekit/playdate/file/filehandle/close().json new file mode 100644 index 00000000..1e1697c0 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/file/filehandle/close().json @@ -0,0 +1 @@ +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/close()"},"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"close","kind":"identifier"},{"text":"() ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"text":"Error","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","kind":"typeIdentifier"},{"kind":"text","text":")"}],"platforms":["macOS"]}]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle"]]},"schemaVersion":{"minor":3,"major":0,"patch":0},"abstract":[{"text":"Closes the file handle.","type":"text"}],"metadata":{"modules":[{"name":"PlaydateKit"}],"externalID":"s:11PlaydateKit0A0O4FileO0C6HandleV5closeyyAC5ErrorVYKF","symbolKind":"method","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"close","kind":"identifier"},{"text":"() ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"text":"Error","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","kind":"typeIdentifier"},{"text":")","kind":"text"}],"roleHeading":"Instance Method","role":"symbol","title":"close()"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/file\/filehandle\/close()"]}],"sections":[],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Error":{"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Error"}],"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/error","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","title":"Playdate.Error","role":"symbol","type":"topic","abstract":[]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File":{"role":"symbol","navigatorTitle":[{"text":"File","kind":"identifier"}],"type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"File","kind":"identifier"}],"title":"Playdate.File","url":"\/documentation\/playdatekit\/playdate\/file","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle/close()":{"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/close()","title":"close()","type":"topic","url":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/close()","role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"close"},{"kind":"text","text":"() "},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error","kind":"typeIdentifier"},{"text":")","kind":"text"}],"abstract":[{"type":"text","text":"Closes the file handle."}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle":{"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"FileHandle"}],"url":"\/documentation\/playdatekit\/playdate\/file\/filehandle","role":"symbol","type":"topic","title":"Playdate.File.FileHandle","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"FileHandle"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/file/filehandle/currentseekposition().json b/docs/data/documentation/playdatekit/playdate/file/filehandle/currentseekposition().json new file mode 100644 index 00000000..d9f32273 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/file/filehandle/currentseekposition().json @@ -0,0 +1 @@ +{"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/file\/filehandle\/currentseekposition()"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle"]]},"abstract":[{"type":"text","text":"Returns the current read\/write offset in the given file handle"}],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/currentSeekPosition()","interfaceLanguage":"swift"},"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"metadata":{"title":"currentSeekPosition()","modules":[{"name":"PlaydateKit"}],"roleHeading":"Instance Method","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"currentSeekPosition"},{"text":"() ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"text":"Error","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"}],"externalID":"s:11PlaydateKit0A0O4FileO0C6HandleV19currentSeekPositions5Int32VyAC5ErrorVYKF","symbolKind":"method"},"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"currentSeekPosition"},{"kind":"text","text":"() "},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","kind":"typeIdentifier","text":"Error"},{"kind":"text","text":") -> "},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"}],"platforms":["macOS"]}],"kind":"declarations"}],"kind":"symbol","references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle/currentSeekPosition()":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/currentSeekPosition()","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/currentseekposition()","kind":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"currentSeekPosition"},{"text":"() ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"text":"Error","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"}],"title":"currentSeekPosition()","type":"topic","abstract":[{"type":"text","text":"Returns the current read\/write offset in the given file handle"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle":{"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"FileHandle"}],"url":"\/documentation\/playdatekit\/playdate\/file\/filehandle","role":"symbol","type":"topic","title":"Playdate.File.FileHandle","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"FileHandle"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Error":{"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Error"}],"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/error","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","title":"Playdate.Error","role":"symbol","type":"topic","abstract":[]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File":{"role":"symbol","navigatorTitle":[{"text":"File","kind":"identifier"}],"type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"File","kind":"identifier"}],"title":"Playdate.File","url":"\/documentation\/playdatekit\/playdate\/file","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/file/filehandle/flush().json b/docs/data/documentation/playdatekit/playdate/file/filehandle/flush().json new file mode 100644 index 00000000..ab3e45b8 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/file/filehandle/flush().json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/flush()","interfaceLanguage":"swift"},"kind":"symbol","sections":[],"schemaVersion":{"minor":3,"major":0,"patch":0},"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/file\/filehandle\/flush()"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle"]]},"abstract":[{"type":"text","text":"Flushes the output buffer of file immediately. Returns the number of bytes written."}],"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"flush","kind":"identifier"},{"kind":"text","text":"() "},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error"},{"kind":"text","text":") -> "},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"}],"platforms":["macOS"]}],"kind":"declarations"}],"metadata":{"modules":[{"name":"PlaydateKit"}],"externalID":"s:11PlaydateKit0A0O4FileO0C6HandleV5flushs5Int32VyAC5ErrorVYKF","symbolKind":"method","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"flush"},{"text":"() ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error"},{"text":") -> ","kind":"text"},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"}],"roleHeading":"Instance Method","role":"symbol","title":"flush()"},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File":{"role":"symbol","navigatorTitle":[{"text":"File","kind":"identifier"}],"type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"File","kind":"identifier"}],"title":"Playdate.File","url":"\/documentation\/playdatekit\/playdate\/file","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Error":{"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Error"}],"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/error","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","title":"Playdate.Error","role":"symbol","type":"topic","abstract":[]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle":{"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"FileHandle"}],"url":"\/documentation\/playdatekit\/playdate\/file\/filehandle","role":"symbol","type":"topic","title":"Playdate.File.FileHandle","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"FileHandle"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle/flush()":{"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/flush()","title":"flush()","type":"topic","url":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/flush()","role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"flush","kind":"identifier"},{"kind":"text","text":"() "},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"Error","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"}],"abstract":[{"type":"text","text":"Flushes the output buffer of file immediately. Returns the number of bytes written."}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/file/filehandle/read(buffer:length:).json b/docs/data/documentation/playdatekit/playdate/file/filehandle/read(buffer:length:).json new file mode 100644 index 00000000..55ceb885 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/file/filehandle/read(buffer:length:).json @@ -0,0 +1 @@ +{"abstract":[{"text":"Reads up to ","type":"text"},{"code":"length","type":"codeVoice"},{"text":" bytes from the file handle into the buffer ","type":"text"},{"type":"codeVoice","code":"buffer"},{"text":". Returns the number of bytes read (0 indicating end of file)","type":"text"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"read"},{"text":"(","kind":"text"},{"text":"buffer","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sv","text":"UnsafeMutableRawPointer"},{"text":", ","kind":"text"},{"text":"length","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:s12CUnsignedInta","text":"CUnsignedInt"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":"(","kind":"text"},{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","text":"Error","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV"},{"text":") -> ","kind":"text"},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"}],"platforms":["macOS"]}]}],"metadata":{"title":"read(buffer:length:)","roleHeading":"Instance Method","symbolKind":"method","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"read"},{"text":"(","kind":"text"},{"text":"buffer","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UnsafeMutableRawPointer","kind":"typeIdentifier","preciseIdentifier":"s:Sv"},{"kind":"text","text":", "},{"kind":"externalParam","text":"length"},{"text":": ","kind":"text"},{"text":"CUnsignedInt","kind":"typeIdentifier","preciseIdentifier":"s:s12CUnsignedInta"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"text":"Error","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","text":"CInt","preciseIdentifier":"s:s4CInta"}],"modules":[{"name":"PlaydateKit"}],"externalID":"s:11PlaydateKit0A0O4FileO0C6HandleV4read6buffer6lengths5Int32VSv_s6UInt32VtAC5ErrorVYKF"},"kind":"symbol","identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/read(buffer:length:)","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle"]]},"sections":[],"schemaVersion":{"major":0,"minor":3,"patch":0},"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/file\/filehandle\/read(buffer:length:)"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Error":{"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Error"}],"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/error","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","title":"Playdate.Error","role":"symbol","type":"topic","abstract":[]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle/read(buffer:length:)":{"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/read(buffer:length:)","title":"read(buffer:length:)","type":"topic","url":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/read(buffer:length:)","role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"read"},{"kind":"text","text":"("},{"kind":"externalParam","text":"buffer"},{"text":": ","kind":"text"},{"text":"UnsafeMutableRawPointer","preciseIdentifier":"s:Sv","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"length"},{"text":": ","kind":"text"},{"text":"CUnsignedInt","preciseIdentifier":"s:s12CUnsignedInta","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"CInt","preciseIdentifier":"s:s4CInta"}],"abstract":[{"type":"text","text":"Reads up to "},{"code":"length","type":"codeVoice"},{"type":"text","text":" bytes from the file handle into the buffer "},{"code":"buffer","type":"codeVoice"},{"type":"text","text":". Returns the number of bytes read (0 indicating end of file)"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle":{"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"FileHandle"}],"url":"\/documentation\/playdatekit\/playdate\/file\/filehandle","role":"symbol","type":"topic","title":"Playdate.File.FileHandle","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"FileHandle"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File":{"role":"symbol","navigatorTitle":[{"text":"File","kind":"identifier"}],"type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"File","kind":"identifier"}],"title":"Playdate.File","url":"\/documentation\/playdatekit\/playdate\/file","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/file/filehandle/seek(to:seek:).json b/docs/data/documentation/playdatekit/playdate/file/filehandle/seek(to:seek:).json new file mode 100644 index 00000000..0adf6243 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/file/filehandle/seek(to:seek:).json @@ -0,0 +1 @@ +{"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"seek","kind":"identifier"},{"kind":"text","text":"("},{"text":"to","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"position","kind":"internalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"seek"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek","preciseIdentifier":"s:11PlaydateKit0A0O4FileO0C6HandleV4SeekO","text":"Seek","kind":"typeIdentifier"},{"text":" = .current) ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"kind":"typeIdentifier","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","text":"Error","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV"},{"text":")","kind":"text"}]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek(to:seek:)"]}],"abstract":[{"type":"text","text":"Sets the read\/write offset in the file handle to "},{"code":"position","type":"codeVoice"},{"type":"text","text":", relative to the "},{"type":"codeVoice","code":"seek"},{"type":"text","text":"."}],"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/seek(to:seek:)"},"kind":"symbol","metadata":{"modules":[{"name":"PlaydateKit"}],"symbolKind":"method","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"seek","kind":"identifier"},{"text":"(","kind":"text"},{"text":"to","kind":"externalParam"},{"kind":"text","text":": "},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"seek","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O4FileO0C6HandleV4SeekO","text":"Seek"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"text":"(","kind":"text"},{"text":"Error","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","kind":"typeIdentifier"},{"text":")","kind":"text"}],"role":"symbol","title":"seek(to:seek:)","externalID":"s:11PlaydateKit0A0O4FileO0C6HandleV4seek2toAHys5Int32V_AG4SeekOtAC5ErrorVYKF","roleHeading":"Instance Method"},"schemaVersion":{"major":0,"minor":3,"patch":0},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle"]]},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File":{"role":"symbol","navigatorTitle":[{"text":"File","kind":"identifier"}],"type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"File","kind":"identifier"}],"title":"Playdate.File","url":"\/documentation\/playdatekit\/playdate\/file","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle/seek(to:seek:)":{"fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"seek","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"to"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":", ","kind":"text"},{"text":"seek","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Seek","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O4FileO0C6HandleV4SeekO"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"text":"Error","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","kind":"typeIdentifier"},{"text":")","kind":"text"}],"title":"seek(to:seek:)","url":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek(to:seek:)","abstract":[{"type":"text","text":"Sets the read\/write offset in the file handle to "},{"type":"codeVoice","code":"position"},{"type":"text","text":", relative to the "},{"type":"codeVoice","code":"seek"},{"text":".","type":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/seek(to:seek:)","role":"symbol","kind":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle":{"abstract":[],"url":"\/documentation\/playdatekit\/playdate\/file\/filehandle","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle","title":"Playdate.File.FileHandle","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"FileHandle"}],"kind":"symbol","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"FileHandle"}],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Error":{"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Error"}],"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/error","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","title":"Playdate.Error","role":"symbol","type":"topic","abstract":[]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle/Seek":{"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"Seek","kind":"identifier"}],"navigatorTitle":[{"text":"Seek","kind":"identifier"}],"title":"Playdate.File.FileHandle.Seek","url":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek","abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek","role":"symbol","kind":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/file/filehandle/seek.json b/docs/data/documentation/playdatekit/playdate/file/filehandle/seek.json new file mode 100644 index 00000000..f374ee4f --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/file/filehandle/seek.json @@ -0,0 +1 @@ +{"sections":[],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek","interfaceLanguage":"swift"},"kind":"symbol","variants":[{"paths":["\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"patch":0,"minor":3,"major":0},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Seek"}]}]}],"metadata":{"title":"Playdate.File.FileHandle.Seek","modules":[{"name":"PlaydateKit"}],"navigatorTitle":[{"kind":"identifier","text":"Seek"}],"roleHeading":"Enumeration","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Seek","kind":"identifier"}],"externalID":"s:11PlaydateKit0A0O4FileO0C6HandleV4SeekO","symbolKind":"enum"},"topicSections":[{"title":"Enumeration Cases","identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek\/beginning","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek\/current","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek\/end"],"generated":true},{"identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek\/init(rawValue:)"],"title":"Initializers","generated":true},{"generated":true,"identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek\/Equatable-Implementations","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek\/RawRepresentable-Implementations"],"title":"Default Implementations"}],"relationshipsSections":[{"kind":"relationships","identifiers":["doc:\/\/PlaydateKit\/SQ","doc:\/\/PlaydateKit\/SH","doc:\/\/PlaydateKit\/SY"],"type":"conformsTo","title":"Conforms To"}],"references":{"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle/Seek":{"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"Seek","kind":"identifier"}],"navigatorTitle":[{"text":"Seek","kind":"identifier"}],"title":"Playdate.File.FileHandle.Seek","url":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek","abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek","role":"symbol","kind":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle/Seek/init(rawValue:)":{"fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"?("},{"text":"rawValue","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"text":")","kind":"text"}],"abstract":[],"title":"init(rawValue:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek\/init(rawValue:)","url":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek\/init(rawvalue:)","type":"topic","role":"symbol","kind":"symbol"},"doc://PlaydateKit/SQ":{"title":"Swift.Equatable","identifier":"doc:\/\/PlaydateKit\/SQ","type":"unresolvable"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File":{"role":"symbol","navigatorTitle":[{"text":"File","kind":"identifier"}],"type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"File","kind":"identifier"}],"title":"Playdate.File","url":"\/documentation\/playdatekit\/playdate\/file","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle/Seek/beginning":{"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek\/beginning","type":"topic","abstract":[{"text":"relative to the beginning of the file","type":"text"}],"title":"Playdate.File.FileHandle.Seek.beginning","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"beginning"}],"role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek\/beginning"},"doc://PlaydateKit/SH":{"title":"Swift.Hashable","identifier":"doc:\/\/PlaydateKit\/SH","type":"unresolvable"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle/Seek/RawRepresentable-Implementations":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek\/RawRepresentable-Implementations","title":"RawRepresentable Implementations","role":"collectionGroup","url":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek\/rawrepresentable-implementations","abstract":[],"kind":"article","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle":{"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"FileHandle"}],"url":"\/documentation\/playdatekit\/playdate\/file\/filehandle","role":"symbol","type":"topic","title":"Playdate.File.FileHandle","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"FileHandle"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle/Seek/current":{"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"current"}],"abstract":[{"type":"text","text":"relative to the current position of the file pointer"}],"title":"Playdate.File.FileHandle.Seek.current","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek\/current","url":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek\/current","type":"topic","role":"symbol","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle/Seek/end":{"role":"symbol","title":"Playdate.File.FileHandle.Seek.end","type":"topic","kind":"symbol","abstract":[{"text":"relative to the end of the file","type":"text"}],"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"end","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek\/end","url":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek\/end"},"doc://PlaydateKit/SY":{"title":"Swift.RawRepresentable","identifier":"doc:\/\/PlaydateKit\/SY","type":"unresolvable"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle/Seek/Equatable-Implementations":{"type":"topic","abstract":[],"role":"collectionGroup","title":"Equatable Implementations","kind":"article","url":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek\/equatable-implementations","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek\/Equatable-Implementations"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/file/filehandle/seek/!=(_:_:).json b/docs/data/documentation/playdatekit/playdate/file/filehandle/seek/!=(_:_:).json new file mode 100644 index 00000000..52f6f339 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/file/filehandle/seek/!=(_:_:).json @@ -0,0 +1 @@ +{"schemaVersion":{"patch":0,"major":0,"minor":3},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek\/!=(_:_:)"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"Equatable.!=(_:_:)"},{"text":".","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek\/!=(_:_:)"]}],"metadata":{"role":"symbol","externalID":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:11PlaydateKit0A0O4FileO0C6HandleV4SeekO","roleHeading":"Operator","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"!=","kind":"identifier"},{"text":" ","kind":"text"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Self"},{"text":", ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"title":"!=(_:_:)","modules":[{"name":"PlaydateKit","relatedModules":["Swift"]}],"extendedModule":"Swift","symbolKind":"op"},"sections":[],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"!=","kind":"identifier"},{"text":" ","kind":"text"},{"text":"(","kind":"text"},{"text":"lhs","kind":"internalParam"},{"kind":"text","text":": "},{"text":"Self","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"internalParam","text":"rhs"},{"text":": ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}]}]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek\/Equatable-Implementations"]]},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle/Seek/!=(_:_:)":{"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek\/!=(_:_:)","abstract":[],"type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek\/!=(_:_:)","role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"!=","kind":"identifier"},{"text":" ","kind":"text"},{"kind":"text","text":"("},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Self"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:Sb","kind":"typeIdentifier","text":"Bool"}],"title":"!=(_:_:)"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle/Seek/Equatable-Implementations":{"type":"topic","abstract":[],"role":"collectionGroup","title":"Equatable Implementations","kind":"article","url":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek\/equatable-implementations","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek\/Equatable-Implementations"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle/Seek":{"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"Seek","kind":"identifier"}],"navigatorTitle":[{"text":"Seek","kind":"identifier"}],"title":"Playdate.File.FileHandle.Seek","url":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek","abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek","role":"symbol","kind":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File":{"role":"symbol","navigatorTitle":[{"text":"File","kind":"identifier"}],"type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"File","kind":"identifier"}],"title":"Playdate.File","url":"\/documentation\/playdatekit\/playdate\/file","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle":{"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"FileHandle"}],"url":"\/documentation\/playdatekit\/playdate\/file\/filehandle","role":"symbol","type":"topic","title":"Playdate.File.FileHandle","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"FileHandle"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/file/filehandle/seek/beginning.json b/docs/data/documentation/playdatekit/playdate/file/filehandle/seek/beginning.json new file mode 100644 index 00000000..e7825a94 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/file/filehandle/seek/beginning.json @@ -0,0 +1 @@ +{"sections":[],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek"]]},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek\/beginning","interfaceLanguage":"swift"},"primaryContentSections":[{"declarations":[{"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"beginning","kind":"identifier"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek\/beginning"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"modules":[{"name":"PlaydateKit"}],"fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"beginning","kind":"identifier"}],"role":"symbol","externalID":"s:11PlaydateKit0A0O4FileO0C6HandleV4SeekO9beginningyA2ImF","roleHeading":"Case","title":"Playdate.File.FileHandle.Seek.beginning","symbolKind":"case"},"abstract":[{"type":"text","text":"relative to the beginning of the file"}],"schemaVersion":{"minor":3,"patch":0,"major":0},"references":{"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File":{"role":"symbol","navigatorTitle":[{"text":"File","kind":"identifier"}],"type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"File","kind":"identifier"}],"title":"Playdate.File","url":"\/documentation\/playdatekit\/playdate\/file","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle/Seek/beginning":{"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek\/beginning","type":"topic","abstract":[{"text":"relative to the beginning of the file","type":"text"}],"title":"Playdate.File.FileHandle.Seek.beginning","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"beginning"}],"role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek\/beginning"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle":{"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"FileHandle"}],"url":"\/documentation\/playdatekit\/playdate\/file\/filehandle","role":"symbol","type":"topic","title":"Playdate.File.FileHandle","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"FileHandle"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle/Seek":{"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"Seek","kind":"identifier"}],"navigatorTitle":[{"text":"Seek","kind":"identifier"}],"title":"Playdate.File.FileHandle.Seek","url":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek","abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek","role":"symbol","kind":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/file/filehandle/seek/current.json b/docs/data/documentation/playdatekit/playdate/file/filehandle/seek/current.json new file mode 100644 index 00000000..55fef673 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/file/filehandle/seek/current.json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek\/current"]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek"]]},"abstract":[{"type":"text","text":"relative to the current position of the file pointer"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek\/current"},"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"metadata":{"title":"Playdate.File.FileHandle.Seek.current","roleHeading":"Case","symbolKind":"case","role":"symbol","modules":[{"name":"PlaydateKit"}],"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"current","kind":"identifier"}],"externalID":"s:11PlaydateKit0A0O4FileO0C6HandleV4SeekO7currentyA2ImF"},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"current","kind":"identifier"}]}],"kind":"declarations"}],"kind":"symbol","references":{"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File":{"role":"symbol","navigatorTitle":[{"text":"File","kind":"identifier"}],"type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"File","kind":"identifier"}],"title":"Playdate.File","url":"\/documentation\/playdatekit\/playdate\/file","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle":{"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"FileHandle"}],"url":"\/documentation\/playdatekit\/playdate\/file\/filehandle","role":"symbol","type":"topic","title":"Playdate.File.FileHandle","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"FileHandle"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle/Seek/current":{"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"current"}],"abstract":[{"type":"text","text":"relative to the current position of the file pointer"}],"title":"Playdate.File.FileHandle.Seek.current","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek\/current","url":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek\/current","type":"topic","role":"symbol","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle/Seek":{"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"Seek","kind":"identifier"}],"navigatorTitle":[{"text":"Seek","kind":"identifier"}],"title":"Playdate.File.FileHandle.Seek","url":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek","abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek","role":"symbol","kind":"symbol","type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/file/filehandle/seek/end.json b/docs/data/documentation/playdatekit/playdate/file/filehandle/seek/end.json new file mode 100644 index 00000000..1af6ab44 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/file/filehandle/seek/end.json @@ -0,0 +1 @@ +{"sections":[],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek\/end","interfaceLanguage":"swift"},"kind":"symbol","schemaVersion":{"minor":3,"patch":0,"major":0},"abstract":[{"type":"text","text":"relative to the end of the file"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"end"}],"languages":["swift"],"platforms":["macOS"]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek\/end"]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek"]]},"metadata":{"externalID":"s:11PlaydateKit0A0O4FileO0C6HandleV4SeekO3endyA2ImF","role":"symbol","roleHeading":"Case","modules":[{"name":"PlaydateKit"}],"title":"Playdate.File.FileHandle.Seek.end","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"end","kind":"identifier"}],"symbolKind":"case"},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle":{"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"FileHandle"}],"url":"\/documentation\/playdatekit\/playdate\/file\/filehandle","role":"symbol","type":"topic","title":"Playdate.File.FileHandle","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"FileHandle"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle/Seek/end":{"role":"symbol","title":"Playdate.File.FileHandle.Seek.end","type":"topic","kind":"symbol","abstract":[{"text":"relative to the end of the file","type":"text"}],"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"end","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek\/end","url":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek\/end"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File":{"role":"symbol","navigatorTitle":[{"text":"File","kind":"identifier"}],"type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"File","kind":"identifier"}],"title":"Playdate.File","url":"\/documentation\/playdatekit\/playdate\/file","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle/Seek":{"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"Seek","kind":"identifier"}],"navigatorTitle":[{"text":"Seek","kind":"identifier"}],"title":"Playdate.File.FileHandle.Seek","url":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek","abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek","role":"symbol","kind":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/file/filehandle/seek/equatable-implementations.json b/docs/data/documentation/playdatekit/playdate/file/filehandle/seek/equatable-implementations.json new file mode 100644 index 00000000..90219f34 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/file/filehandle/seek/equatable-implementations.json @@ -0,0 +1 @@ +{"kind":"article","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek\/Equatable-Implementations"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek\/equatable-implementations"]}],"sections":[],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek"]]},"topicSections":[{"identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek\/!=(_:_:)"],"generated":true,"title":"Operators"}],"metadata":{"role":"collectionGroup","modules":[{"name":"PlaydateKit"}],"roleHeading":"API Collection","title":"Equatable Implementations"},"schemaVersion":{"minor":3,"major":0,"patch":0},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File":{"role":"symbol","navigatorTitle":[{"text":"File","kind":"identifier"}],"type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"File","kind":"identifier"}],"title":"Playdate.File","url":"\/documentation\/playdatekit\/playdate\/file","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle/Seek/!=(_:_:)":{"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek\/!=(_:_:)","abstract":[],"type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek\/!=(_:_:)","role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"!=","kind":"identifier"},{"text":" ","kind":"text"},{"kind":"text","text":"("},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Self"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:Sb","kind":"typeIdentifier","text":"Bool"}],"title":"!=(_:_:)"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle/Seek":{"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"Seek","kind":"identifier"}],"navigatorTitle":[{"text":"Seek","kind":"identifier"}],"title":"Playdate.File.FileHandle.Seek","url":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek","abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek","role":"symbol","kind":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle":{"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"FileHandle"}],"url":"\/documentation\/playdatekit\/playdate\/file\/filehandle","role":"symbol","type":"topic","title":"Playdate.File.FileHandle","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"FileHandle"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/file/filehandle/seek/hash(into:).json b/docs/data/documentation/playdatekit/playdate/file/filehandle/seek/hash(into:).json new file mode 100644 index 00000000..348d0a73 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/file/filehandle/seek/hash(into:).json @@ -0,0 +1 @@ +{"abstract":[{"text":"Inherited from ","type":"text"},{"code":"RawRepresentable.hash(into:)","type":"codeVoice"},{"type":"text","text":"."}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek\/hash(into:)"]}],"kind":"symbol","primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"hash","kind":"identifier"},{"text":"(","kind":"text"},{"text":"into","kind":"externalParam"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"hasher"},{"text":": ","kind":"text"},{"text":"inout","kind":"keyword"},{"kind":"text","text":" "},{"preciseIdentifier":"s:s6HasherV","kind":"typeIdentifier","text":"Hasher"},{"text":")","kind":"text"}],"platforms":["macOS"]}],"kind":"declarations"}],"schemaVersion":{"patch":0,"major":0,"minor":3},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek\/hash(into:)","interfaceLanguage":"swift"},"sections":[],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek\/RawRepresentable-Implementations"]]},"metadata":{"title":"hash(into:)","modules":[{"name":"PlaydateKit","relatedModules":["Swift"]}],"roleHeading":"Instance Method","extendedModule":"Swift","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"hash","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"into"},{"kind":"text","text":": "},{"text":"inout","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Hasher","preciseIdentifier":"s:s6HasherV","kind":"typeIdentifier"},{"kind":"text","text":")"}],"externalID":"s:SYsSHRzSH8RawValueSYRpzrlE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:11PlaydateKit0A0O4FileO0C6HandleV4SeekO","symbolKind":"method","conformance":{"constraints":[{"code":"Self","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"code":"Hashable","type":"codeVoice"},{"type":"text","text":" and "},{"code":"RawValue","type":"codeVoice"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Hashable"},{"text":".","type":"text"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}],"availabilityPrefix":[{"type":"text","text":"Available when"}]}},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle":{"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"FileHandle"}],"url":"\/documentation\/playdatekit\/playdate\/file\/filehandle","role":"symbol","type":"topic","title":"Playdate.File.FileHandle","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"FileHandle"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle/Seek/hash(into:)":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"hash","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"into"},{"kind":"text","text":": "},{"text":"inout","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Hasher","kind":"typeIdentifier","preciseIdentifier":"s:s6HasherV"},{"kind":"text","text":")"}],"abstract":[],"title":"hash(into:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek\/hash(into:)","url":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek\/hash(into:)","type":"topic","conformance":{"availabilityPrefix":[{"text":"Available when","type":"text"}],"conformancePrefix":[{"text":"Conforms when","type":"text"}],"constraints":[{"type":"codeVoice","code":"Self"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":"."}]},"role":"symbol","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle/Seek":{"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"Seek","kind":"identifier"}],"navigatorTitle":[{"text":"Seek","kind":"identifier"}],"title":"Playdate.File.FileHandle.Seek","url":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek","abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek","role":"symbol","kind":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File":{"role":"symbol","navigatorTitle":[{"text":"File","kind":"identifier"}],"type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"File","kind":"identifier"}],"title":"Playdate.File","url":"\/documentation\/playdatekit\/playdate\/file","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle/Seek/RawRepresentable-Implementations":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek\/RawRepresentable-Implementations","title":"RawRepresentable Implementations","role":"collectionGroup","url":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek\/rawrepresentable-implementations","abstract":[],"kind":"article","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/file/filehandle/seek/hashvalue.json b/docs/data/documentation/playdatekit/playdate/file/filehandle/seek/hashvalue.json new file mode 100644 index 00000000..4e8abddd --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/file/filehandle/seek/hashvalue.json @@ -0,0 +1 @@ +{"kind":"symbol","variants":[{"paths":["\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek\/hashvalue"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"patch":0,"major":0,"minor":3},"sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"hashValue"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Si","text":"Int","kind":"typeIdentifier"},{"kind":"text","text":" { "},{"kind":"keyword","text":"get"},{"kind":"text","text":" }"}]}]}],"metadata":{"title":"hashValue","conformance":{"availabilityPrefix":[{"type":"text","text":"Available when"}],"constraints":[{"code":"Self","type":"codeVoice"},{"type":"text","text":" conforms to "},{"code":"Hashable","type":"codeVoice"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"text":" conforms to ","type":"text"},{"code":"Hashable","type":"codeVoice"},{"type":"text","text":"."}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"roleHeading":"Instance Property","symbolKind":"property","role":"symbol","extendedModule":"Swift","modules":[{"relatedModules":["Swift"],"name":"PlaydateKit"}],"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"hashValue","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Si","text":"Int","kind":"typeIdentifier"}],"externalID":"s:SYsSHRzSH8RawValueSYRpzrlE04hashB0Sivp::SYNTHESIZED::s:11PlaydateKit0A0O4FileO0C6HandleV4SeekO"},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek\/RawRepresentable-Implementations"]]},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek\/hashValue","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"RawRepresentable.hashValue"},{"type":"text","text":"."}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle/Seek":{"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"Seek","kind":"identifier"}],"navigatorTitle":[{"text":"Seek","kind":"identifier"}],"title":"Playdate.File.FileHandle.Seek","url":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek","abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek","role":"symbol","kind":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle/Seek/hashValue":{"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek\/hashValue","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"hashValue","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Si","kind":"typeIdentifier","text":"Int"}],"abstract":[],"conformance":{"constraints":[{"type":"codeVoice","code":"Self"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":"."}],"conformancePrefix":[{"text":"Conforms when","type":"text"}],"availabilityPrefix":[{"text":"Available when","type":"text"}]},"title":"hashValue","url":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek\/hashvalue","type":"topic","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File":{"role":"symbol","navigatorTitle":[{"text":"File","kind":"identifier"}],"type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"File","kind":"identifier"}],"title":"Playdate.File","url":"\/documentation\/playdatekit\/playdate\/file","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle":{"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"FileHandle"}],"url":"\/documentation\/playdatekit\/playdate\/file\/filehandle","role":"symbol","type":"topic","title":"Playdate.File.FileHandle","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"FileHandle"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle/Seek/RawRepresentable-Implementations":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek\/RawRepresentable-Implementations","title":"RawRepresentable Implementations","role":"collectionGroup","url":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek\/rawrepresentable-implementations","abstract":[],"kind":"article","type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/file/filehandle/seek/init(rawvalue:).json b/docs/data/documentation/playdatekit/playdate/file/filehandle/seek/init(rawvalue:).json new file mode 100644 index 00000000..ba08785a --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/file/filehandle/seek/init(rawvalue:).json @@ -0,0 +1 @@ +{"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek\/init(rawvalue:)"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek"]]},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"RawRepresentable.init(rawValue:)"},{"type":"text","text":"."}],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek\/init(rawValue:)","interfaceLanguage":"swift"},"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"metadata":{"title":"init(rawValue:)","roleHeading":"Initializer","symbolKind":"init","role":"symbol","modules":[{"name":"PlaydateKit"}],"fragments":[{"kind":"identifier","text":"init"},{"text":"?(","kind":"text"},{"text":"rawValue","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":")"}],"externalID":"s:11PlaydateKit0A0O4FileO0C6HandleV4SeekO8rawValueAISgs5Int32V_tcfc"},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"text":"init","kind":"keyword"},{"kind":"text","text":"?("},{"text":"rawValue","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"kind":"text","text":")"}],"languages":["swift"]}],"kind":"declarations"}],"kind":"symbol","references":{"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle":{"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"FileHandle"}],"url":"\/documentation\/playdatekit\/playdate\/file\/filehandle","role":"symbol","type":"topic","title":"Playdate.File.FileHandle","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"FileHandle"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File":{"role":"symbol","navigatorTitle":[{"text":"File","kind":"identifier"}],"type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"File","kind":"identifier"}],"title":"Playdate.File","url":"\/documentation\/playdatekit\/playdate\/file","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle/Seek/init(rawValue:)":{"fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"?("},{"text":"rawValue","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"text":")","kind":"text"}],"abstract":[],"title":"init(rawValue:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek\/init(rawValue:)","url":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek\/init(rawvalue:)","type":"topic","role":"symbol","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle/Seek":{"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"Seek","kind":"identifier"}],"navigatorTitle":[{"text":"Seek","kind":"identifier"}],"title":"Playdate.File.FileHandle.Seek","url":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek","abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek","role":"symbol","kind":"symbol","type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/file/filehandle/seek/rawrepresentable-implementations.json b/docs/data/documentation/playdatekit/playdate/file/filehandle/seek/rawrepresentable-implementations.json new file mode 100644 index 00000000..0a4caa63 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/file/filehandle/seek/rawrepresentable-implementations.json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek\/rawrepresentable-implementations"]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek"]]},"topicSections":[{"title":"Instance Properties","identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek\/hashValue"],"generated":true},{"generated":true,"title":"Instance Methods","identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek\/hash(into:)"]}],"schemaVersion":{"minor":3,"major":0,"patch":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek\/RawRepresentable-Implementations"},"sections":[],"metadata":{"roleHeading":"API Collection","modules":[{"name":"PlaydateKit"}],"role":"collectionGroup","title":"RawRepresentable Implementations"},"kind":"article","references":{"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle/Seek/hash(into:)":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"hash","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"into"},{"kind":"text","text":": "},{"text":"inout","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Hasher","kind":"typeIdentifier","preciseIdentifier":"s:s6HasherV"},{"kind":"text","text":")"}],"abstract":[],"title":"hash(into:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek\/hash(into:)","url":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek\/hash(into:)","type":"topic","conformance":{"availabilityPrefix":[{"text":"Available when","type":"text"}],"conformancePrefix":[{"text":"Conforms when","type":"text"}],"constraints":[{"type":"codeVoice","code":"Self"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":"."}]},"role":"symbol","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File":{"role":"symbol","navigatorTitle":[{"text":"File","kind":"identifier"}],"type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"File","kind":"identifier"}],"title":"Playdate.File","url":"\/documentation\/playdatekit\/playdate\/file","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle/Seek/hashValue":{"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek\/hashValue","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"hashValue","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Si","kind":"typeIdentifier","text":"Int"}],"abstract":[],"conformance":{"constraints":[{"type":"codeVoice","code":"Self"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":"."}],"conformancePrefix":[{"text":"Conforms when","type":"text"}],"availabilityPrefix":[{"text":"Available when","type":"text"}]},"title":"hashValue","url":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek\/hashvalue","type":"topic","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle":{"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"FileHandle"}],"url":"\/documentation\/playdatekit\/playdate\/file\/filehandle","role":"symbol","type":"topic","title":"Playdate.File.FileHandle","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"FileHandle"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle/Seek":{"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"Seek","kind":"identifier"}],"navigatorTitle":[{"text":"Seek","kind":"identifier"}],"title":"Playdate.File.FileHandle.Seek","url":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek","abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/Seek","role":"symbol","kind":"symbol","type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/file/filehandle/write(buffer:).json b/docs/data/documentation/playdatekit/playdate/file/filehandle/write(buffer:).json new file mode 100644 index 00000000..3fa9a221 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/file/filehandle/write(buffer:).json @@ -0,0 +1 @@ +{"schemaVersion":{"major":0,"minor":3,"patch":0},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/write(buffer:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Writes the buffer of bytes "},{"type":"codeVoice","code":"buffer"},{"text":" to the file. Returns the number of bytes written","type":"text"}],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/file\/filehandle\/write(buffer:)"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"role":"symbol","externalID":"s:11PlaydateKit0A0O4FileO0C6HandleV5write6buffers5Int32VSW_tAC5ErrorVYKF","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"write","kind":"identifier"},{"text":"(","kind":"text"},{"text":"buffer","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SW","kind":"typeIdentifier","text":"UnsafeRawBufferPointer"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"}],"title":"write(buffer:)","modules":[{"name":"PlaydateKit"}],"symbolKind":"method"},"sections":[],"kind":"symbol","primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"write"},{"kind":"text","text":"("},{"text":"buffer","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SW","text":"UnsafeRawBufferPointer"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"text":"Error","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","text":"CInt","preciseIdentifier":"s:s4CInta"}],"languages":["swift"]}],"kind":"declarations"}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle"]]},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle":{"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"FileHandle"}],"url":"\/documentation\/playdatekit\/playdate\/file\/filehandle","role":"symbol","type":"topic","title":"Playdate.File.FileHandle","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"FileHandle"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File":{"role":"symbol","navigatorTitle":[{"text":"File","kind":"identifier"}],"type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"File","kind":"identifier"}],"title":"Playdate.File","url":"\/documentation\/playdatekit\/playdate\/file","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Error":{"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Error"}],"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/error","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","title":"Playdate.Error","role":"symbol","type":"topic","abstract":[]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle/write(buffer:)":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle\/write(buffer:)","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/write(buffer:)","kind":"symbol","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"write"},{"kind":"text","text":"("},{"text":"buffer","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SW","kind":"typeIdentifier","text":"UnsafeRawBufferPointer"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"text":"(","kind":"text"},{"text":"Error","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"}],"title":"write(buffer:)","type":"topic","abstract":[{"type":"text","text":"Writes the buffer of bytes "},{"code":"buffer","type":"codeVoice"},{"type":"text","text":" to the file. Returns the number of bytes written"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/file/listfiles(path:callback:userdata:showhidden:)-2w9lz.json b/docs/data/documentation/playdatekit/playdate/file/listfiles(path:callback:userdata:showhidden:)-2w9lz.json new file mode 100644 index 00000000..9f8e0594 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/file/listfiles(path:callback:userdata:showhidden:)-2w9lz.json @@ -0,0 +1 @@ +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/listFiles(path:callback:userdata:showHidden:)-2w9lz"},"kind":"symbol","sections":[],"schemaVersion":{"patch":0,"minor":3,"major":0},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/file\/listfiles(path:callback:userdata:showhidden:)-2w9lz"]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File"]]},"abstract":[{"text":"Calls the given callback function for every file at path. Subfolders are indicated by a trailing slash ‘\/’ in filename.","type":"text"},{"text":" ","type":"text"},{"type":"codeVoice","code":"listFiles()"},{"type":"text","text":" does not recurse into subfolders. If "},{"type":"codeVoice","code":"showHidden"},{"type":"text","text":" is true, files beginning with a period will be included;"},{"type":"text","text":" "},{"text":"otherwise, they are skipped. Throws if no folder exists at path or it can’t be opened.","type":"text"}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"listFiles","kind":"identifier"},{"kind":"text","text":"("},{"text":"path","kind":"externalParam"},{"kind":"text","text":": "},{"text":"StaticString","kind":"typeIdentifier","preciseIdentifier":"s:s12StaticStringV"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"callback"},{"text":": ","kind":"text"},{"text":"@convention","kind":"attribute"},{"kind":"text","text":"(c) ("},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"text":"filename","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"UnsafePointer","preciseIdentifier":"s:SP"},{"text":"<","kind":"text"},{"preciseIdentifier":"s:s5CChara","kind":"typeIdentifier","text":"CChar"},{"kind":"text","text":">?, "},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"userdata"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sv","text":"UnsafeMutableRawPointer"},{"kind":"text","text":"?) -> "},{"text":"Void","kind":"typeIdentifier","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":", "},{"kind":"externalParam","text":"userdata"},{"text":": ","kind":"text"},{"text":"UnsafeMutableRawPointer","kind":"typeIdentifier","preciseIdentifier":"s:Sv"},{"text":"? = nil, ","kind":"text"},{"text":"showHidden","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"text":" = false) ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","text":"Error"},{"text":")","kind":"text"}]}],"kind":"declarations"}],"metadata":{"modules":[{"name":"PlaydateKit"}],"externalID":"s:11PlaydateKit0A0O4FileO9listFiles4path8callback8userdata10showHiddenys12StaticStringV_ySPys4Int8VGSg_SvSgtXCAQSbtAC5ErrorVYKFZ","symbolKind":"method","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"listFiles","kind":"identifier"},{"text":"(","kind":"text"},{"text":"path","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"StaticString","preciseIdentifier":"s:s12StaticStringV","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"callback"},{"text":": ","kind":"text"},{"text":"@convention","kind":"attribute"},{"kind":"text","text":"(c) ("},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"text":"filename","kind":"internalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SP","kind":"typeIdentifier","text":"UnsafePointer"},{"text":"<","kind":"text"},{"preciseIdentifier":"s:s5CChara","text":"CChar","kind":"typeIdentifier"},{"text":">?, ","kind":"text"},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"text":"userdata","kind":"internalParam"},{"kind":"text","text":": "},{"text":"UnsafeMutableRawPointer","kind":"typeIdentifier","preciseIdentifier":"s:Sv"},{"kind":"text","text":"?) -> "},{"text":"Void","kind":"typeIdentifier","preciseIdentifier":"s:s4Voida"},{"text":", ","kind":"text"},{"text":"userdata","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sv","text":"UnsafeMutableRawPointer"},{"kind":"text","text":"?, "},{"text":"showHidden","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"text":"Error","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV"},{"kind":"text","text":")"}],"roleHeading":"Type Method","role":"symbol","title":"listFiles(path:callback:userdata:showHidden:)"},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Error":{"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Error"}],"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/error","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","title":"Playdate.Error","role":"symbol","type":"topic","abstract":[]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/listFiles(path:callback:userdata:showHidden:)-2w9lz":{"role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"listFiles","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"path"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s12StaticStringV","text":"StaticString"},{"kind":"text","text":", "},{"text":"callback","kind":"externalParam"},{"kind":"text","text":": "},{"text":"@convention","kind":"attribute"},{"text":"(c) (","kind":"text"},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"text":"filename","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SP","text":"UnsafePointer"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s5CChara","text":"CChar"},{"text":">?, ","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"userdata","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sv","text":"UnsafeMutableRawPointer"},{"kind":"text","text":"?) -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:s4Voida","text":"Void"},{"text":", ","kind":"text"},{"text":"userdata","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sv","text":"UnsafeMutableRawPointer"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"showHidden"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error"},{"text":")","kind":"text"}],"type":"topic","abstract":[{"type":"text","text":"Calls the given callback function for every file at path. Subfolders are indicated by a trailing slash ‘\/’ in filename."},{"type":"text","text":" "},{"code":"listFiles()","type":"codeVoice"},{"text":" does not recurse into subfolders. If ","type":"text"},{"type":"codeVoice","code":"showHidden"},{"type":"text","text":" is true, files beginning with a period will be included;"},{"type":"text","text":" "},{"type":"text","text":"otherwise, they are skipped. Throws if no folder exists at path or it can’t be opened."}],"kind":"symbol","title":"listFiles(path:callback:userdata:showHidden:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/listFiles(path:callback:userdata:showHidden:)-2w9lz","url":"\/documentation\/playdatekit\/playdate\/file\/listfiles(path:callback:userdata:showhidden:)-2w9lz"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File":{"role":"symbol","navigatorTitle":[{"text":"File","kind":"identifier"}],"type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"File","kind":"identifier"}],"title":"Playdate.File","url":"\/documentation\/playdatekit\/playdate\/file","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/file/listfiles(path:callback:userdata:showhidden:)-59mk2.json b/docs/data/documentation/playdatekit/playdate/file/listfiles(path:callback:userdata:showhidden:)-59mk2.json new file mode 100644 index 00000000..e1e8ef15 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/file/listfiles(path:callback:userdata:showhidden:)-59mk2.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File"]]},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/listFiles(path:callback:userdata:showHidden:)-59mk2","interfaceLanguage":"swift"},"sections":[],"abstract":[{"type":"text","text":"Calls the given callback function for every file at path. Subfolders are indicated by a trailing slash ‘\/’ in filename."},{"type":"text","text":" "},{"type":"codeVoice","code":"listFiles()"},{"type":"text","text":" does not recurse into subfolders. If "},{"code":"showHidden","type":"codeVoice"},{"type":"text","text":" is true, files beginning with a period will be included;"},{"type":"text","text":" "},{"type":"text","text":"otherwise, they are skipped. Throws if no folder exists at path or it can’t be opened."}],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/file\/listfiles(path:callback:userdata:showhidden:)-59mk2"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"modules":[{"name":"PlaydateKit"}],"symbolKind":"method","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"listFiles"},{"kind":"text","text":"("},{"kind":"externalParam","text":"path"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SP","text":"UnsafePointer"},{"kind":"text","text":"<"},{"text":"CChar","kind":"typeIdentifier","preciseIdentifier":"s:s5CChara"},{"text":">, ","kind":"text"},{"text":"callback","kind":"externalParam"},{"kind":"text","text":": "},{"text":"@convention","kind":"attribute"},{"kind":"text","text":"(c) ("},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"filename"},{"text":": ","kind":"text"},{"text":"UnsafePointer","kind":"typeIdentifier","preciseIdentifier":"s:SP"},{"kind":"text","text":"<"},{"text":"CChar","preciseIdentifier":"s:s5CChara","kind":"typeIdentifier"},{"text":">?, ","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"userdata"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sv","text":"UnsafeMutableRawPointer"},{"text":"?) -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4Voida","text":"Void"},{"text":", ","kind":"text"},{"text":"userdata","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UnsafeMutableRawPointer","kind":"typeIdentifier","preciseIdentifier":"s:Sv"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"showHidden"},{"kind":"text","text":": "},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error","kind":"typeIdentifier"},{"kind":"text","text":")"}],"title":"listFiles(path:callback:userdata:showHidden:)","role":"symbol","roleHeading":"Type Method","externalID":"s:11PlaydateKit0A0O4FileO9listFiles4path8callback8userdata10showHiddenySPys4Int8VG_yAMSg_SvSgtXCAOSbtAC5ErrorVYKFZ"},"schemaVersion":{"patch":0,"minor":3,"major":0},"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"listFiles","kind":"identifier"},{"text":"(","kind":"text"},{"text":"path","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SP","text":"UnsafePointer","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s5CChara","text":"CChar"},{"text":">, ","kind":"text"},{"text":"callback","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"attribute","text":"@convention"},{"text":"(c) (","kind":"text"},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"filename"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SP","kind":"typeIdentifier","text":"UnsafePointer"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s5CChara","text":"CChar"},{"kind":"text","text":">?, "},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"text":"userdata","kind":"internalParam"},{"kind":"text","text":": "},{"text":"UnsafeMutableRawPointer","kind":"typeIdentifier","preciseIdentifier":"s:Sv"},{"text":"?) -> ","kind":"text"},{"preciseIdentifier":"s:s4Voida","text":"Void","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"userdata","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"UnsafeMutableRawPointer","preciseIdentifier":"s:Sv"},{"text":"? = nil, ","kind":"text"},{"text":"showHidden","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"},{"kind":"text","text":" = false) "},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","text":"Error","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV"},{"kind":"text","text":")"}]}]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/listFiles(path:callback:userdata:showHidden:)-59mk2":{"url":"\/documentation\/playdatekit\/playdate\/file\/listfiles(path:callback:userdata:showhidden:)-59mk2","kind":"symbol","title":"listFiles(path:callback:userdata:showHidden:)","role":"symbol","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"listFiles"},{"kind":"text","text":"("},{"kind":"externalParam","text":"path"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SP","text":"UnsafePointer","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"text":"CChar","preciseIdentifier":"s:s5CChara","kind":"typeIdentifier"},{"text":">, ","kind":"text"},{"text":"callback","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"attribute","text":"@convention"},{"kind":"text","text":"(c) ("},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"kind":"internalParam","text":"filename"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SP","text":"UnsafePointer"},{"kind":"text","text":"<"},{"text":"CChar","preciseIdentifier":"s:s5CChara","kind":"typeIdentifier"},{"kind":"text","text":">?, "},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"userdata","kind":"internalParam"},{"kind":"text","text":": "},{"text":"UnsafeMutableRawPointer","preciseIdentifier":"s:Sv","kind":"typeIdentifier"},{"text":"?) -> ","kind":"text"},{"text":"Void","kind":"typeIdentifier","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":", "},{"kind":"externalParam","text":"userdata"},{"kind":"text","text":": "},{"text":"UnsafeMutableRawPointer","kind":"typeIdentifier","preciseIdentifier":"s:Sv"},{"text":"?, ","kind":"text"},{"text":"showHidden","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"text":"Error","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV"},{"text":")","kind":"text"}],"type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/listFiles(path:callback:userdata:showHidden:)-59mk2","abstract":[{"type":"text","text":"Calls the given callback function for every file at path. Subfolders are indicated by a trailing slash ‘\/’ in filename."},{"text":" ","type":"text"},{"type":"codeVoice","code":"listFiles()"},{"type":"text","text":" does not recurse into subfolders. If "},{"code":"showHidden","type":"codeVoice"},{"text":" is true, files beginning with a period will be included;","type":"text"},{"type":"text","text":" "},{"type":"text","text":"otherwise, they are skipped. Throws if no folder exists at path or it can’t be opened."}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File":{"role":"symbol","navigatorTitle":[{"text":"File","kind":"identifier"}],"type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"File","kind":"identifier"}],"title":"Playdate.File","url":"\/documentation\/playdatekit\/playdate\/file","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Error":{"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Error"}],"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/error","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","title":"Playdate.Error","role":"symbol","type":"topic","abstract":[]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/file/mkdir(path:)-4vzum.json b/docs/data/documentation/playdatekit/playdate/file/mkdir(path:)-4vzum.json new file mode 100644 index 00000000..f54a3274 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/file/mkdir(path:)-4vzum.json @@ -0,0 +1 @@ +{"abstract":[{"text":"Creates the given path in the ","type":"text"},{"type":"codeVoice","code":"Data\/"},{"type":"text","text":" folder. It does not create intermediate folders."}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File"]]},"metadata":{"modules":[{"name":"PlaydateKit"}],"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"mkdir"},{"kind":"text","text":"("},{"kind":"externalParam","text":"path"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s12StaticStringV","kind":"typeIdentifier","text":"StaticString"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"text":"(","kind":"text"},{"text":"Error","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","kind":"typeIdentifier"},{"kind":"text","text":")"}],"role":"symbol","externalID":"s:11PlaydateKit0A0O4FileO5mkdir4pathys12StaticStringV_tAC5ErrorVYKFZ","roleHeading":"Type Method","title":"mkdir(path:)","symbolKind":"method"},"kind":"symbol","schemaVersion":{"minor":3,"major":0,"patch":0},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/mkdir(path:)-4vzum","interfaceLanguage":"swift"},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"mkdir"},{"kind":"text","text":"("},{"text":"path","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"StaticString","preciseIdentifier":"s:s12StaticStringV"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"Error","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV"},{"text":")","kind":"text"}],"languages":["swift"]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/file\/mkdir(path:)-4vzum"]}],"sections":[],"references":{"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File":{"role":"symbol","navigatorTitle":[{"text":"File","kind":"identifier"}],"type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"File","kind":"identifier"}],"title":"Playdate.File","url":"\/documentation\/playdatekit\/playdate\/file","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Error":{"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Error"}],"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/error","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","title":"Playdate.Error","role":"symbol","type":"topic","abstract":[]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/mkdir(path:)-4vzum":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/mkdir(path:)-4vzum","kind":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"mkdir"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"path"},{"kind":"text","text":": "},{"text":"StaticString","kind":"typeIdentifier","preciseIdentifier":"s:s12StaticStringV"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"text":"Error","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV"},{"text":")","kind":"text"}],"title":"mkdir(path:)","url":"\/documentation\/playdatekit\/playdate\/file\/mkdir(path:)-4vzum","abstract":[{"type":"text","text":"Creates the given path in the "},{"type":"codeVoice","code":"Data\/"},{"type":"text","text":" folder. It does not create intermediate folders."}],"role":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/file/mkdir(path:)-9rwpo.json b/docs/data/documentation/playdatekit/playdate/file/mkdir(path:)-9rwpo.json new file mode 100644 index 00000000..a2095df3 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/file/mkdir(path:)-9rwpo.json @@ -0,0 +1 @@ +{"sections":[],"metadata":{"modules":[{"name":"PlaydateKit"}],"symbolKind":"method","title":"mkdir(path:)","role":"symbol","externalID":"s:11PlaydateKit0A0O4FileO5mkdir4pathySPys4Int8VG_tAC5ErrorVYKFZ","roleHeading":"Type Method","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"mkdir","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"path"},{"text":": ","kind":"text"},{"text":"UnsafePointer","kind":"typeIdentifier","preciseIdentifier":"s:SP"},{"text":"<","kind":"text"},{"text":"CChar","preciseIdentifier":"s:s5CChara","kind":"typeIdentifier"},{"kind":"text","text":">) "},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error"},{"text":")","kind":"text"}]},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/file\/mkdir(path:)-9rwpo"]}],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/mkdir(path:)-9rwpo","interfaceLanguage":"swift"},"schemaVersion":{"patch":0,"minor":3,"major":0},"abstract":[{"text":"Creates the given path in the ","type":"text"},{"type":"codeVoice","code":"Data\/"},{"type":"text","text":" folder. It does not create intermediate folders."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"mkdir"},{"text":"(","kind":"text"},{"text":"path","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UnsafePointer","kind":"typeIdentifier","preciseIdentifier":"s:SP"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","preciseIdentifier":"s:s5CChara","text":"CChar"},{"text":">) ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"Error","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV"},{"text":")","kind":"text"}],"languages":["swift"]}]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/mkdir(path:)-9rwpo":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/mkdir(path:)-9rwpo","role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"mkdir"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"path"},{"kind":"text","text":": "},{"text":"UnsafePointer","kind":"typeIdentifier","preciseIdentifier":"s:SP"},{"kind":"text","text":"<"},{"text":"CChar","kind":"typeIdentifier","preciseIdentifier":"s:s5CChara"},{"text":">) ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":"("},{"text":"Error","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","kind":"typeIdentifier"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Creates the given path in the "},{"type":"codeVoice","code":"Data\/"},{"type":"text","text":" folder. It does not create intermediate folders."}],"url":"\/documentation\/playdatekit\/playdate\/file\/mkdir(path:)-9rwpo","type":"topic","kind":"symbol","title":"mkdir(path:)"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Error":{"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Error"}],"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/error","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","title":"Playdate.Error","role":"symbol","type":"topic","abstract":[]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File":{"role":"symbol","navigatorTitle":[{"text":"File","kind":"identifier"}],"type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"File","kind":"identifier"}],"title":"Playdate.File","url":"\/documentation\/playdatekit\/playdate\/file","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/file/open(path:mode:)-2yhbs.json b/docs/data/documentation/playdatekit/playdate/file/open(path:mode:)-2yhbs.json new file mode 100644 index 00000000..d83430e1 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/file/open(path:mode:)-2yhbs.json @@ -0,0 +1 @@ +{"metadata":{"roleHeading":"Type Method","title":"open(path:mode:)","externalID":"s:11PlaydateKit0A0O4FileO4open4path4modeAE0C6HandleVSPys4Int8VG_So0C7OptionsatAC5ErrorVYKFZ","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"open","kind":"identifier"},{"kind":"text","text":"("},{"text":"path","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SP","text":"UnsafePointer"},{"text":"<","kind":"text"},{"preciseIdentifier":"s:s5CChara","text":"CChar","kind":"typeIdentifier"},{"kind":"text","text":">, "},{"kind":"externalParam","text":"mode"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O4FileO7Optionsa","text":"Options","kind":"typeIdentifier"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"text":"FileHandle","preciseIdentifier":"s:11PlaydateKit0A0O4FileO0C6HandleV","kind":"typeIdentifier"}],"role":"symbol","symbolKind":"method","modules":[{"name":"PlaydateKit"}]},"kind":"symbol","schemaVersion":{"minor":3,"patch":0,"major":0},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/file\/open(path:mode:)-2yhbs"]}],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/open(path:mode:)-2yhbs","interfaceLanguage":"swift"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"open"},{"kind":"text","text":"("},{"kind":"externalParam","text":"path"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UnsafePointer","preciseIdentifier":"s:SP"},{"text":"<","kind":"text"},{"preciseIdentifier":"s:s5CChara","text":"CChar","kind":"typeIdentifier"},{"text":">, ","kind":"text"},{"text":"mode","kind":"externalParam"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/Options","preciseIdentifier":"s:11PlaydateKit0A0O4FileO7Optionsa","kind":"typeIdentifier","text":"Options"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","kind":"typeIdentifier","text":"Error"},{"text":") -> ","kind":"text"},{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O4FileO0C6HandleV","text":"FileHandle"}]}]},{"content":[{"level":2,"type":"heading","anchor":"discussion","text":"Discussion"},{"style":"warning","type":"aside","name":"Warning","content":[{"inlineContent":[{"type":"text","text":"The filesystem has a limit of 64 simultaneous open files. The returned file handle should be closed,"},{"type":"text","text":" "},{"type":"text","text":"when it is no longer in use (before deinit)."}],"type":"paragraph"}]}],"kind":"content"}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File"]]},"sections":[],"abstract":[{"text":"Opens a handle for the file at path. The ","type":"text"},{"type":"codeVoice","code":"fileRead"},{"type":"text","text":" mode opens a file in the game pdx,"},{"text":" ","type":"text"},{"type":"text","text":"while "},{"code":"fileReadData","type":"codeVoice"},{"type":"text","text":" searches the game’s data folder; to search the data folder first then fall back on the game pdx,"},{"type":"text","text":" "},{"text":"use the bitwise combination ","type":"text"},{"type":"codeVoice","code":"fileRead|fileReadData.fileWrite"},{"text":" and ","type":"text"},{"code":"fileAppend","type":"codeVoice"},{"text":" always write to the data folder.","type":"text"},{"text":" ","type":"text"},{"text":"The function throws an error if a file at path cannot be opened.","type":"text"}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/open(path:mode:)-2yhbs":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/open(path:mode:)-2yhbs","title":"open(path:mode:)","kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/file\/open(path:mode:)-2yhbs","abstract":[{"type":"text","text":"Opens a handle for the file at path. The "},{"code":"fileRead","type":"codeVoice"},{"type":"text","text":" mode opens a file in the game pdx,"},{"type":"text","text":" "},{"type":"text","text":"while "},{"type":"codeVoice","code":"fileReadData"},{"text":" searches the game’s data folder; to search the data folder first then fall back on the game pdx,","type":"text"},{"text":" ","type":"text"},{"text":"use the bitwise combination ","type":"text"},{"code":"fileRead|fileReadData.fileWrite","type":"codeVoice"},{"type":"text","text":" and "},{"code":"fileAppend","type":"codeVoice"},{"type":"text","text":" always write to the data folder."},{"type":"text","text":" "},{"type":"text","text":"The function throws an error if a file at path cannot be opened."}],"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"open","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"path"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"UnsafePointer","preciseIdentifier":"s:SP"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"CChar","preciseIdentifier":"s:s5CChara"},{"text":">, ","kind":"text"},{"kind":"externalParam","text":"mode"},{"kind":"text","text":": "},{"text":"Options","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O4FileO7Optionsa"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":"("},{"preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"FileHandle","preciseIdentifier":"s:11PlaydateKit0A0O4FileO0C6HandleV"}],"type":"topic","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Error":{"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Error"}],"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/error","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","title":"Playdate.Error","role":"symbol","type":"topic","abstract":[]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/Options":{"role":"symbol","navigatorTitle":[{"kind":"identifier","text":"Options"}],"type":"topic","abstract":[],"fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Options"}],"title":"Playdate.File.Options","url":"\/documentation\/playdatekit\/playdate\/file\/options","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/Options","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle":{"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"FileHandle"}],"url":"\/documentation\/playdatekit\/playdate\/file\/filehandle","role":"symbol","type":"topic","title":"Playdate.File.FileHandle","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"FileHandle"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File":{"role":"symbol","navigatorTitle":[{"text":"File","kind":"identifier"}],"type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"File","kind":"identifier"}],"title":"Playdate.File","url":"\/documentation\/playdatekit\/playdate\/file","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","kind":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/file/open(path:mode:)-8kp20.json b/docs/data/documentation/playdatekit/playdate/file/open(path:mode:)-8kp20.json new file mode 100644 index 00000000..72f26b3d --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/file/open(path:mode:)-8kp20.json @@ -0,0 +1 @@ +{"metadata":{"role":"symbol","title":"open(path:mode:)","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"open","kind":"identifier"},{"kind":"text","text":"("},{"text":"path","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s12StaticStringV","text":"StaticString","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"mode","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Options","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O4FileO7Optionsa"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","kind":"typeIdentifier","text":"Error"},{"text":") -> ","kind":"text"},{"text":"FileHandle","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O4FileO0C6HandleV"}],"symbolKind":"method","modules":[{"name":"PlaydateKit"}],"externalID":"s:11PlaydateKit0A0O4FileO4open4path4modeAE0C6HandleVs12StaticStringV_So0C7OptionsatAC5ErrorVYKFZ","roleHeading":"Type Method"},"sections":[],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"open","kind":"identifier"},{"kind":"text","text":"("},{"text":"path","kind":"externalParam"},{"kind":"text","text":": "},{"text":"StaticString","preciseIdentifier":"s:s12StaticStringV","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"mode","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O4FileO7Optionsa","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/Options","text":"Options"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":"("},{"preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error","kind":"typeIdentifier","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","text":"FileHandle","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle","preciseIdentifier":"s:11PlaydateKit0A0O4FileO0C6HandleV"}],"languages":["swift"]}],"kind":"declarations"},{"kind":"content","content":[{"anchor":"discussion","text":"Discussion","type":"heading","level":2},{"name":"Warning","style":"warning","content":[{"inlineContent":[{"type":"text","text":"The filesystem has a limit of 64 simultaneous open files. The returned file handle should be closed,"},{"text":" ","type":"text"},{"type":"text","text":"when it is no longer in use (before deinit)."}],"type":"paragraph"}],"type":"aside"}]}],"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/file\/open(path:mode:)-8kp20"]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/open(path:mode:)-8kp20"},"schemaVersion":{"major":0,"minor":3,"patch":0},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File"]]},"abstract":[{"type":"text","text":"Opens a handle for the file at path. The "},{"type":"codeVoice","code":"fileRead"},{"type":"text","text":" mode opens a file in the game pdx,"},{"type":"text","text":" "},{"type":"text","text":"while "},{"type":"codeVoice","code":"fileReadData"},{"type":"text","text":" searches the game’s data folder; to search the data folder first then fall back on the game pdx,"},{"text":" ","type":"text"},{"text":"use the bitwise combination ","type":"text"},{"type":"codeVoice","code":"fileRead|fileReadData.fileWrite"},{"type":"text","text":" and "},{"type":"codeVoice","code":"fileAppend"},{"type":"text","text":" always write to the data folder."},{"text":" ","type":"text"},{"text":"The function throws an error if a file at path cannot be opened.","type":"text"}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/open(path:mode:)-8kp20":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/open(path:mode:)-8kp20","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/file\/open(path:mode:)-8kp20","kind":"symbol","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"open"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"path"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s12StaticStringV","text":"StaticString","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"mode"},{"text":": ","kind":"text"},{"text":"Options","preciseIdentifier":"s:11PlaydateKit0A0O4FileO7Optionsa","kind":"typeIdentifier"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O4FileO0C6HandleV","text":"FileHandle","kind":"typeIdentifier"}],"title":"open(path:mode:)","type":"topic","abstract":[{"type":"text","text":"Opens a handle for the file at path. The "},{"code":"fileRead","type":"codeVoice"},{"type":"text","text":" mode opens a file in the game pdx,"},{"text":" ","type":"text"},{"type":"text","text":"while "},{"code":"fileReadData","type":"codeVoice"},{"text":" searches the game’s data folder; to search the data folder first then fall back on the game pdx,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"use the bitwise combination "},{"type":"codeVoice","code":"fileRead|fileReadData.fileWrite"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"fileAppend"},{"text":" always write to the data folder.","type":"text"},{"text":" ","type":"text"},{"text":"The function throws an error if a file at path cannot be opened.","type":"text"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/Options":{"role":"symbol","navigatorTitle":[{"kind":"identifier","text":"Options"}],"type":"topic","abstract":[],"fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Options"}],"title":"Playdate.File.Options","url":"\/documentation\/playdatekit\/playdate\/file\/options","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/Options","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File":{"role":"symbol","navigatorTitle":[{"text":"File","kind":"identifier"}],"type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"File","kind":"identifier"}],"title":"Playdate.File","url":"\/documentation\/playdatekit\/playdate\/file","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/FileHandle":{"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/FileHandle","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"FileHandle"}],"url":"\/documentation\/playdatekit\/playdate\/file\/filehandle","role":"symbol","type":"topic","title":"Playdate.File.FileHandle","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"FileHandle"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Error":{"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Error"}],"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/error","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","title":"Playdate.Error","role":"symbol","type":"topic","abstract":[]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/file/options.json b/docs/data/documentation/playdatekit/playdate/file/options.json new file mode 100644 index 00000000..e1cc7ddb --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/file/options.json @@ -0,0 +1 @@ +{"metadata":{"externalID":"s:11PlaydateKit0A0O4FileO7Optionsa","roleHeading":"Type Alias","modules":[{"name":"PlaydateKit"}],"title":"Playdate.File.Options","role":"symbol","symbolKind":"typealias","fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"text":"Options","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Options"}]},"schemaVersion":{"patch":0,"minor":3,"major":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/Options"},"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"text":"Options","kind":"identifier"},{"text":" = ","kind":"text"},{"preciseIdentifier":"c:@EA@FileOptions","kind":"typeIdentifier","text":"FileOptions"}],"languages":["swift"]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/file\/options"]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File"]]},"sections":[],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/Options":{"role":"symbol","navigatorTitle":[{"kind":"identifier","text":"Options"}],"type":"topic","abstract":[],"fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Options"}],"title":"Playdate.File.Options","url":"\/documentation\/playdatekit\/playdate\/file\/options","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/Options","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File":{"role":"symbol","navigatorTitle":[{"text":"File","kind":"identifier"}],"type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"File","kind":"identifier"}],"title":"Playdate.File","url":"\/documentation\/playdatekit\/playdate\/file","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/file/rename(from:to:)-3ff0y.json b/docs/data/documentation/playdatekit/playdate/file/rename(from:to:)-3ff0y.json new file mode 100644 index 00000000..b8ad13f6 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/file/rename(from:to:)-3ff0y.json @@ -0,0 +1 @@ +{"schemaVersion":{"minor":3,"patch":0,"major":0},"abstract":[{"text":"Renames the file at ","type":"text"},{"code":"from","type":"codeVoice"},{"type":"text","text":" to "},{"code":"to","type":"codeVoice"},{"text":". It will overwrite the file at to without confirmation.","type":"text"},{"type":"text","text":" "},{"text":"It does not create intermediate folders.","type":"text"}],"metadata":{"externalID":"s:11PlaydateKit0A0O4FileO6rename4from2toys12StaticStringV_AJtAC5ErrorVYKFZ","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"rename","kind":"identifier"},{"text":"(","kind":"text"},{"text":"from","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s12StaticStringV","text":"StaticString"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"to"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"StaticString","preciseIdentifier":"s:s12StaticStringV"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error"},{"text":")","kind":"text"}],"modules":[{"name":"PlaydateKit"}],"roleHeading":"Type Method","title":"rename(from:to:)","role":"symbol","symbolKind":"method"},"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/rename(from:to:)-3ff0y"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/file\/rename(from:to:)-3ff0y"]}],"kind":"symbol","primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"rename"},{"text":"(","kind":"text"},{"text":"from","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s12StaticStringV","text":"StaticString"},{"kind":"text","text":", "},{"kind":"externalParam","text":"to"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"StaticString","preciseIdentifier":"s:s12StaticStringV"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error","kind":"typeIdentifier"},{"text":")","kind":"text"}],"platforms":["macOS"]}],"kind":"declarations"}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File"]]},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/rename(from:to:)-3ff0y":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/rename(from:to:)-3ff0y","kind":"symbol","type":"topic","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"rename"},{"kind":"text","text":"("},{"text":"from","kind":"externalParam"},{"kind":"text","text":": "},{"text":"StaticString","preciseIdentifier":"s:s12StaticStringV","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"to","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s12StaticStringV","text":"StaticString"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error"},{"text":")","kind":"text"}],"title":"rename(from:to:)","url":"\/documentation\/playdatekit\/playdate\/file\/rename(from:to:)-3ff0y","abstract":[{"type":"text","text":"Renames the file at "},{"type":"codeVoice","code":"from"},{"type":"text","text":" to "},{"type":"codeVoice","code":"to"},{"text":". It will overwrite the file at to without confirmation.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"It does not create intermediate folders."}],"role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Error":{"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Error"}],"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/error","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","title":"Playdate.Error","role":"symbol","type":"topic","abstract":[]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File":{"role":"symbol","navigatorTitle":[{"text":"File","kind":"identifier"}],"type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"File","kind":"identifier"}],"title":"Playdate.File","url":"\/documentation\/playdatekit\/playdate\/file","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","kind":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/file/rename(from:to:)-969yy.json b/docs/data/documentation/playdatekit/playdate/file/rename(from:to:)-969yy.json new file mode 100644 index 00000000..19a6ddc0 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/file/rename(from:to:)-969yy.json @@ -0,0 +1 @@ +{"metadata":{"role":"symbol","title":"rename(from:to:)","externalID":"s:11PlaydateKit0A0O4FileO6rename4from2toySPys4Int8VG_AKtAC5ErrorVYKFZ","symbolKind":"method","modules":[{"name":"PlaydateKit"}],"roleHeading":"Type Method","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"rename","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SP","text":"UnsafePointer"},{"kind":"text","text":"<"},{"text":"CChar","preciseIdentifier":"s:s5CChara","kind":"typeIdentifier"},{"kind":"text","text":">, "},{"text":"to","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"UnsafePointer","preciseIdentifier":"s:SP"},{"text":"<","kind":"text"},{"preciseIdentifier":"s:s5CChara","text":"CChar","kind":"typeIdentifier"},{"kind":"text","text":">) "},{"kind":"keyword","text":"throws"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error","kind":"typeIdentifier"},{"kind":"text","text":")"}]},"schemaVersion":{"minor":3,"major":0,"patch":0},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/rename(from:to:)-969yy","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/file\/rename(from:to:)-969yy"]}],"sections":[],"abstract":[{"text":"Renames the file at ","type":"text"},{"type":"codeVoice","code":"from"},{"type":"text","text":" to "},{"code":"to","type":"codeVoice"},{"type":"text","text":". It will overwrite the file at to without confirmation."},{"text":" ","type":"text"},{"text":"It does not create intermediate folders.","type":"text"}],"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"rename"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"from"},{"kind":"text","text":": "},{"text":"UnsafePointer","kind":"typeIdentifier","preciseIdentifier":"s:SP"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","preciseIdentifier":"s:s5CChara","text":"CChar"},{"text":">, ","kind":"text"},{"kind":"externalParam","text":"to"},{"kind":"text","text":": "},{"text":"UnsafePointer","kind":"typeIdentifier","preciseIdentifier":"s:SP"},{"text":"<","kind":"text"},{"text":"CChar","preciseIdentifier":"s:s5CChara","kind":"typeIdentifier"},{"text":">) ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","text":"Error"},{"text":")","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"kind":"symbol","references":{"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Error":{"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Error"}],"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/error","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","title":"Playdate.Error","role":"symbol","type":"topic","abstract":[]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/rename(from:to:)-969yy":{"title":"rename(from:to:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/rename(from:to:)-969yy","url":"\/documentation\/playdatekit\/playdate\/file\/rename(from:to:)-969yy","abstract":[{"type":"text","text":"Renames the file at "},{"code":"from","type":"codeVoice"},{"type":"text","text":" to "},{"type":"codeVoice","code":"to"},{"text":". It will overwrite the file at to without confirmation.","type":"text"},{"type":"text","text":" "},{"text":"It does not create intermediate folders.","type":"text"}],"type":"topic","role":"symbol","kind":"symbol","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"rename","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SP","text":"UnsafePointer"},{"kind":"text","text":"<"},{"text":"CChar","preciseIdentifier":"s:s5CChara","kind":"typeIdentifier"},{"kind":"text","text":">, "},{"text":"to","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UnsafePointer","preciseIdentifier":"s:SP","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"text":"CChar","preciseIdentifier":"s:s5CChara","kind":"typeIdentifier"},{"text":">) ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error"},{"kind":"text","text":")"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File":{"role":"symbol","navigatorTitle":[{"text":"File","kind":"identifier"}],"type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"File","kind":"identifier"}],"title":"Playdate.File","url":"\/documentation\/playdatekit\/playdate\/file","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/file/stat(path:)-6ac1z.json b/docs/data/documentation/playdatekit/playdate/file/stat(path:)-6ac1z.json new file mode 100644 index 00000000..0788d1c3 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/file/stat(path:)-6ac1z.json @@ -0,0 +1 @@ +{"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"stat","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"path"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"StaticString","preciseIdentifier":"s:s12StaticStringV"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error"},{"text":") -> ","kind":"text"},{"text":"FileStat","kind":"typeIdentifier","preciseIdentifier":"c:@SA@FileStat"}],"languages":["swift"]}]}],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/stat(path:)-6ac1z","interfaceLanguage":"swift"},"sections":[],"schemaVersion":{"major":0,"minor":3,"patch":0},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File"]]},"abstract":[{"text":"Returns the FileStat stat with information about the file at ","type":"text"},{"code":"path","type":"codeVoice"},{"type":"text","text":"."}],"metadata":{"modules":[{"name":"PlaydateKit"}],"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"stat","kind":"identifier"},{"kind":"text","text":"("},{"text":"path","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s12StaticStringV","text":"StaticString"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"FileStat","kind":"typeIdentifier","preciseIdentifier":"c:@SA@FileStat"}],"role":"symbol","externalID":"s:11PlaydateKit0A0O4FileO4stat4pathSo0C4Statas12StaticStringV_tAC5ErrorVYKFZ","roleHeading":"Type Method","title":"stat(path:)","symbolKind":"method"},"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/file\/stat(path:)-6ac1z"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Error":{"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Error"}],"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/error","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","title":"Playdate.Error","role":"symbol","type":"topic","abstract":[]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/stat(path:)-6ac1z":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/stat(path:)-6ac1z","role":"symbol","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"stat","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"path"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"StaticString","preciseIdentifier":"s:s12StaticStringV"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","text":"FileStat","preciseIdentifier":"c:@SA@FileStat"}],"abstract":[{"type":"text","text":"Returns the FileStat stat with information about the file at "},{"type":"codeVoice","code":"path"},{"text":".","type":"text"}],"url":"\/documentation\/playdatekit\/playdate\/file\/stat(path:)-6ac1z","type":"topic","kind":"symbol","title":"stat(path:)"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File":{"role":"symbol","navigatorTitle":[{"text":"File","kind":"identifier"}],"type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"File","kind":"identifier"}],"title":"Playdate.File","url":"\/documentation\/playdatekit\/playdate\/file","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/file/stat(path:)-9vquc.json b/docs/data/documentation/playdatekit/playdate/file/stat(path:)-9vquc.json new file mode 100644 index 00000000..293de2ec --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/file/stat(path:)-9vquc.json @@ -0,0 +1 @@ +{"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/stat(path:)-9vquc"},"schemaVersion":{"minor":3,"major":0,"patch":0},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File"]]},"sections":[],"abstract":[{"type":"text","text":"Returns the FileStat stat with information about the file at "},{"type":"codeVoice","code":"path"},{"type":"text","text":"."}],"metadata":{"modules":[{"name":"PlaydateKit"}],"fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"stat","kind":"identifier"},{"text":"(","kind":"text"},{"text":"path","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UnsafePointer","kind":"typeIdentifier","preciseIdentifier":"s:SP"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"CChar","preciseIdentifier":"s:s5CChara"},{"kind":"text","text":">) "},{"kind":"keyword","text":"throws"},{"kind":"text","text":"("},{"preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","preciseIdentifier":"c:@SA@FileStat","text":"FileStat"}],"role":"symbol","externalID":"s:11PlaydateKit0A0O4FileO4stat4pathSo0C4StataSPys4Int8VG_tAC5ErrorVYKFZ","roleHeading":"Type Method","title":"stat(path:)","symbolKind":"method"},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"stat"},{"text":"(","kind":"text"},{"text":"path","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UnsafePointer","preciseIdentifier":"s:SP","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"CChar","preciseIdentifier":"s:s5CChara"},{"text":">) ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"kind":"typeIdentifier","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error"},{"kind":"text","text":") -> "},{"text":"FileStat","kind":"typeIdentifier","preciseIdentifier":"c:@SA@FileStat"}],"languages":["swift"]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/file\/stat(path:)-9vquc"]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/stat(path:)-9vquc":{"kind":"symbol","abstract":[{"type":"text","text":"Returns the FileStat stat with information about the file at "},{"type":"codeVoice","code":"path"},{"text":".","type":"text"}],"title":"stat(path:)","url":"\/documentation\/playdatekit\/playdate\/file\/stat(path:)-9vquc","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/stat(path:)-9vquc","role":"symbol","type":"topic","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"stat"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"path"},{"kind":"text","text":": "},{"text":"UnsafePointer","kind":"typeIdentifier","preciseIdentifier":"s:SP"},{"kind":"text","text":"<"},{"text":"CChar","kind":"typeIdentifier","preciseIdentifier":"s:s5CChara"},{"text":">) ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":"("},{"preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:@SA@FileStat","text":"FileStat"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Error":{"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Error"}],"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/error","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","title":"Playdate.Error","role":"symbol","type":"topic","abstract":[]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File":{"role":"symbol","navigatorTitle":[{"text":"File","kind":"identifier"}],"type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"File","kind":"identifier"}],"title":"Playdate.File","url":"\/documentation\/playdatekit\/playdate\/file","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","kind":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/file/unlink(path:recursive:)-4jt6t.json b/docs/data/documentation/playdatekit/playdate/file/unlink(path:recursive:)-4jt6t.json new file mode 100644 index 00000000..b567f059 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/file/unlink(path:recursive:)-4jt6t.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File"]]},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"unlink"},{"kind":"text","text":"("},{"kind":"externalParam","text":"path"},{"text":": ","kind":"text"},{"text":"StaticString","preciseIdentifier":"s:s12StaticStringV","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"recursive"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"text":" = false) ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error"},{"kind":"text","text":")"}]}],"kind":"declarations"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/unlink(path:recursive:)-4jt6t"},"kind":"symbol","variants":[{"paths":["\/documentation\/playdatekit\/playdate\/file\/unlink(path:recursive:)-4jt6t"],"traits":[{"interfaceLanguage":"swift"}]}],"abstract":[{"text":"Deletes the file at path. If recursive is true and the target path is a folder,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"this deletes everything inside the folder (including folders, folders inside those, and so on) as well as the folder itself."}],"sections":[],"schemaVersion":{"major":0,"minor":3,"patch":0},"metadata":{"fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"unlink"},{"text":"(","kind":"text"},{"text":"path","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"StaticString","preciseIdentifier":"s:s12StaticStringV"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"recursive"},{"text":": ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error","kind":"typeIdentifier"},{"kind":"text","text":")"}],"role":"symbol","roleHeading":"Type Method","symbolKind":"method","modules":[{"name":"PlaydateKit"}],"externalID":"s:11PlaydateKit0A0O4FileO6unlink4path9recursiveys12StaticStringV_SbtAC5ErrorVYKFZ","title":"unlink(path:recursive:)"},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/unlink(path:recursive:)-4jt6t":{"fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"unlink"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"path"},{"text":": ","kind":"text"},{"text":"StaticString","preciseIdentifier":"s:s12StaticStringV","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"recursive"},{"text":": ","kind":"text"},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"text":"Error","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV"},{"text":")","kind":"text"}],"abstract":[{"type":"text","text":"Deletes the file at path. If recursive is true and the target path is a folder,"},{"type":"text","text":" "},{"text":"this deletes everything inside the folder (including folders, folders inside those, and so on) as well as the folder itself.","type":"text"}],"title":"unlink(path:recursive:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/unlink(path:recursive:)-4jt6t","url":"\/documentation\/playdatekit\/playdate\/file\/unlink(path:recursive:)-4jt6t","type":"topic","role":"symbol","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File":{"role":"symbol","navigatorTitle":[{"text":"File","kind":"identifier"}],"type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"File","kind":"identifier"}],"title":"Playdate.File","url":"\/documentation\/playdatekit\/playdate\/file","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Error":{"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Error"}],"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/error","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","title":"Playdate.Error","role":"symbol","type":"topic","abstract":[]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/file/unlink(path:recursive:)-9dq44.json b/docs/data/documentation/playdatekit/playdate/file/unlink(path:recursive:)-9dq44.json new file mode 100644 index 00000000..5f583708 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/file/unlink(path:recursive:)-9dq44.json @@ -0,0 +1 @@ +{"kind":"symbol","metadata":{"symbolKind":"method","modules":[{"name":"PlaydateKit"}],"title":"unlink(path:recursive:)","role":"symbol","externalID":"s:11PlaydateKit0A0O4FileO6unlink4path9recursiveySPys4Int8VG_SbtAC5ErrorVYKFZ","roleHeading":"Type Method","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"unlink","kind":"identifier"},{"kind":"text","text":"("},{"text":"path","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SP","text":"UnsafePointer","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"text":"CChar","preciseIdentifier":"s:s5CChara","kind":"typeIdentifier"},{"text":">, ","kind":"text"},{"text":"recursive","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"Error","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV"},{"kind":"text","text":")"}]},"sections":[],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File"]]},"abstract":[{"type":"text","text":"Deletes the file at path. If "},{"type":"codeVoice","code":"recursive"},{"type":"text","text":" is true and the target path is a folder,"},{"text":" ","type":"text"},{"type":"text","text":"this deletes everything inside the folder (including folders, folders inside those, and so on) as well as the folder itself."}],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/file\/unlink(path:recursive:)-9dq44"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"unlink","kind":"identifier"},{"kind":"text","text":"("},{"text":"path","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SP","text":"UnsafePointer"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","preciseIdentifier":"s:s5CChara","text":"CChar"},{"kind":"text","text":">, "},{"text":"recursive","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"text":" = false) ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"text":"Error","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error"},{"kind":"text","text":")"}],"platforms":["macOS"]}],"kind":"declarations"}],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/unlink(path:recursive:)-9dq44","interfaceLanguage":"swift"},"schemaVersion":{"major":0,"minor":3,"patch":0},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File":{"role":"symbol","navigatorTitle":[{"text":"File","kind":"identifier"}],"type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"File","kind":"identifier"}],"title":"Playdate.File","url":"\/documentation\/playdatekit\/playdate\/file","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Error":{"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Error"}],"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/error","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","title":"Playdate.Error","role":"symbol","type":"topic","abstract":[]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/File/unlink(path:recursive:)-9dq44":{"abstract":[{"type":"text","text":"Deletes the file at path. If "},{"code":"recursive","type":"codeVoice"},{"type":"text","text":" is true and the target path is a folder,"},{"type":"text","text":" "},{"text":"this deletes everything inside the folder (including folders, folders inside those, and so on) as well as the folder itself.","type":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/File\/unlink(path:recursive:)-9dq44","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"unlink","kind":"identifier"},{"text":"(","kind":"text"},{"text":"path","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SP","text":"UnsafePointer"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s5CChara","text":"CChar"},{"text":">, ","kind":"text"},{"text":"recursive","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"Error","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV"},{"text":")","kind":"text"}],"url":"\/documentation\/playdatekit\/playdate\/file\/unlink(path:recursive:)-9dq44","role":"symbol","type":"topic","title":"unlink(path:recursive:)","kind":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics.json b/docs/data/documentation/playdatekit/playdate/graphics.json new file mode 100644 index 00000000..2b4e452e --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics.json @@ -0,0 +1 @@ +{"kind":"symbol","topicSections":[{"identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/BitmapTable","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font"],"generated":true,"title":"Classes"},{"identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Color","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/LineCapStyle","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Pattern","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/PolygonFillRule","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Rect","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/SolidColor","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/StringEncoding"],"title":"Type Aliases","generated":true},{"generated":true,"identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/textTracking"],"title":"Type Properties"},{"title":"Type Methods","identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/checkMaskCollision(bitmap1:x1:y1:flip1:bitmap2:x2:y2:flip2:rect:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/clear(color:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/clearClipRect()","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/colorFromPattern(_:x:y:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/copyFrameBufferBitmap()","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/display()","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/drawBitmap(_:x:y:degrees:centerX:centerY:xScale:yScale:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/drawBitmap(_:x:y:flip:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/drawBitmap(_:x:y:xScale:yScale:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/drawEllipse(x:y:width:height:lineWidth:startAngle:endAngle:color:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/drawLine(x1:y1:x2:y2:lineWidth:color:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/drawRect(x:y:width:height:color:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/drawText(_:length:encoding:x:y:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/fillEllipse(x:y:width:height:startAngle:endAngle:color:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/fillPolygon(points:color:fillRule:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/fillRect(x:y:width:height:color:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/fillTriangle(x1:y1:x2:y2:x3:y3:color:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/getDebugBitmap()","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/getDisplayBufferBitmap()","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/getDisplayFrame()","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/getFrame()","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/markUpdatedRows(start:end:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/popContext()","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/pushContext(_:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/setBackgroundColor(_:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/setClipRect(x:y:width:height:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/setDrawMode(_:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/setDrawOffset(dx:dy:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/setFont(_:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/setLineCapStyle(_:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/setScreenClipRect(x:y:width:height:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/setStencil(_:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/setStencilImage(_:tile:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/setTextLeading(_:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/tileBitmap(_:x:y:width:height:flip:)"],"generated":true},{"title":"Enumerations","identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video"],"generated":true}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics"]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Graphics"}],"platforms":["macOS"],"languages":["swift"]}]}],"metadata":{"modules":[{"name":"PlaydateKit"}],"extendedModule":"PlaydateKit","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"role":"symbol","externalID":"s:11PlaydateKit0A0O8GraphicsO","roleHeading":"Enumeration","title":"Playdate.Graphics","symbolKind":"enum","navigatorTitle":[{"text":"Graphics","kind":"identifier"}]},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap":{"navigatorTitle":[{"text":"Bitmap","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Bitmap","kind":"identifier"}],"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"symbol","title":"Playdate.Graphics.Bitmap","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap","role":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/setStencil(_:)":{"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"setStencil"},{"kind":"text","text":"("},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier","text":"Bitmap"},{"text":"?)","kind":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/setStencil(_:)","type":"topic","title":"setStencil(_:)","role":"symbol","kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/graphics\/setstencil(_:)","abstract":[{"type":"text","text":"Sets the stencil used for drawing. For a tiled stencil, use setStencilImage() instead."},{"text":" ","type":"text"},{"type":"text","text":"To clear the stencil, set it to nil."}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/LineCapStyle":{"navigatorTitle":[{"kind":"identifier","text":"LineCapStyle"}],"role":"symbol","kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/LineCapStyle","url":"\/documentation\/playdatekit\/playdate\/graphics\/linecapstyle","abstract":[],"title":"Playdate.Graphics.LineCapStyle","type":"topic","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"LineCapStyle"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/setBackgroundColor(_:)":{"abstract":[{"type":"text","text":"Sets the background color shown when the display is offset or for clearing dirty areas in the sprite system."}],"type":"topic","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"setBackgroundColor","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO10SolidColora","kind":"typeIdentifier","text":"SolidColor"},{"text":")","kind":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/setBackgroundColor(_:)","url":"\/documentation\/playdatekit\/playdate\/graphics\/setbackgroundcolor(_:)","role":"symbol","kind":"symbol","title":"setBackgroundColor(_:)"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/display()":{"abstract":[{"type":"text","text":"Manually flushes the current frame buffer out to the display. This function is automatically called"},{"text":" ","type":"text"},{"text":"after each pass through the run loop, so there shouldn’t be any need to call it yourself.","type":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/display()","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"display"},{"kind":"text","text":"()"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/display()","title":"display()","role":"symbol","kind":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/StringEncoding":{"kind":"symbol","type":"topic","title":"Playdate.Graphics.StringEncoding","abstract":[],"role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/StringEncoding","navigatorTitle":[{"text":"StringEncoding","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"StringEncoding"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/stringencoding"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/fillRect(x:y:width:height:color:)":{"url":"\/documentation\/playdatekit\/playdate\/graphics\/fillrect(x:y:width:height:color:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/fillRect(x:y:width:height:color:)","title":"fillRect(x:y:width:height:color:)","role":"symbol","type":"topic","kind":"symbol","abstract":[{"type":"text","text":"Draws a filled "},{"type":"codeVoice","code":"width"},{"type":"text","text":" by "},{"type":"codeVoice","code":"height"},{"text":" rect at ","type":"text"},{"code":"x","type":"codeVoice"},{"type":"text","text":", "},{"type":"codeVoice","code":"y"},{"type":"text","text":"."}],"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"fillRect"},{"text":"(","kind":"text"},{"text":"x","kind":"externalParam"},{"kind":"text","text":": "},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":", "},{"text":"y","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"width"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"height","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"kind":"text","text":", "},{"text":"color","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Color","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO5Colora","kind":"typeIdentifier"},{"text":")","kind":"text"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/pushContext(_:)":{"url":"\/documentation\/playdatekit\/playdate\/graphics\/pushcontext(_:)","kind":"symbol","abstract":[{"type":"text","text":"Push a new drawing context for drawing into the given bitmap."},{"type":"text","text":" "},{"text":"If context is nil, the drawing functions will use the display framebuffer.","type":"text"}],"title":"pushContext(_:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/pushContext(_:)","role":"symbol","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"pushContext"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap"},{"kind":"text","text":"?)"}],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/clearClipRect()":{"url":"\/documentation\/playdatekit\/playdate\/graphics\/clearcliprect()","kind":"symbol","abstract":[{"text":"Clears the current clip rect.","type":"text"}],"title":"clearClipRect()","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/clearClipRect()","role":"symbol","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"clearClipRect"},{"text":"()","kind":"text"}],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/copyFrameBufferBitmap()":{"abstract":[{"type":"text","text":"Returns a copy the contents of the working frame buffer as a bitmap."}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/copyFrameBufferBitmap()","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"copyFrameBufferBitmap"},{"text":"() -> ","kind":"text"},{"text":"Bitmap","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC"},{"text":"?","kind":"text"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/copyframebufferbitmap()","role":"symbol","type":"topic","title":"copyFrameBufferBitmap()","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/fillPolygon(points:color:fillRule:)":{"type":"topic","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"fillPolygon"},{"kind":"text","text":"("},{"text":"points","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UnsafeMutableBufferPointer","preciseIdentifier":"s:Sr","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"text":"CUnsignedInt","kind":"typeIdentifier","preciseIdentifier":"s:s12CUnsignedInta"},{"text":">, ","kind":"text"},{"text":"color","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Color","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO5Colora"},{"text":", ","kind":"text"},{"text":"fillRule","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO15PolygonFillRulea","kind":"typeIdentifier","text":"PolygonFillRule"},{"text":")","kind":"text"}],"title":"fillPolygon(points:color:fillRule:)","url":"\/documentation\/playdatekit\/playdate\/graphics\/fillpolygon(points:color:fillrule:)","role":"symbol","kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/fillPolygon(points:color:fillRule:)","abstract":[{"text":"Fills the polygon with vertices at the given coordinates (an array of 2*nPoints ints containing alternating x and y values)","type":"text"},{"type":"text","text":" "},{"type":"text","text":"using the given "},{"code":"color","type":"codeVoice"},{"type":"text","text":" and fill, or winding, rule. See https:\/\/en.wikipedia.org\/wiki\/Nonzero-rule"},{"text":" ","type":"text"},{"type":"text","text":"for an explanation of the winding rule. An edge between the last vertex and the first is assumed."}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/textTracking":{"url":"\/documentation\/playdatekit\/playdate\/graphics\/texttracking","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/textTracking","title":"textTracking","role":"symbol","type":"topic","kind":"symbol","abstract":[{"text":"The tracking to use when drawing text.","type":"text"}],"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"textTracking","kind":"identifier"},{"kind":"text","text":": "},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Pattern":{"url":"\/documentation\/playdatekit\/playdate\/graphics\/pattern","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Pattern","navigatorTitle":[{"kind":"identifier","text":"Pattern"}],"title":"Playdate.Graphics.Pattern","role":"symbol","type":"topic","abstract":[],"kind":"symbol","fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"text":"Pattern","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/setLineCapStyle(_:)":{"title":"setLineCapStyle(_:)","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"setLineCapStyle","kind":"identifier"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO12LineCapStylea","text":"LineCapStyle","kind":"typeIdentifier"},{"kind":"text","text":")"}],"abstract":[{"text":"Sets the end cap style used in the line drawing functions.","type":"text"}],"type":"topic","url":"\/documentation\/playdatekit\/playdate\/graphics\/setlinecapstyle(_:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/setLineCapStyle(_:)","role":"symbol","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/drawBitmap(_:x:y:degrees:centerX:centerY:xScale:yScale:)":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/drawBitmap(_:x:y:degrees:centerX:centerY:xScale:yScale:)","url":"\/documentation\/playdatekit\/playdate\/graphics\/drawbitmap(_:x:y:degrees:centerx:centery:xscale:yscale:)","type":"topic","abstract":[{"text":"Draws the ","type":"text"},{"type":"codeVoice","code":"bitmap"},{"text":" scaled to ","type":"text"},{"type":"codeVoice","code":"xScale"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"yScale"},{"type":"text","text":" then rotated by "},{"code":"degrees","type":"codeVoice"},{"type":"text","text":" with its center as given by proportions"},{"type":"text","text":" "},{"code":"centerX","type":"codeVoice"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"centerY"},{"text":" at ","type":"text"},{"type":"codeVoice","code":"x"},{"text":", ","type":"text"},{"code":"y","type":"codeVoice"},{"text":"; that is: if ","type":"text"},{"type":"codeVoice","code":"centerX"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"centerY"},{"text":" are both 0.5 the center of the image is at (x,y),","type":"text"},{"type":"text","text":" "},{"type":"text","text":"if "},{"code":"centerX","type":"codeVoice"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"centerY"},{"type":"text","text":" are both 0 the top left corner of the image (before rotation) is at (x,y), etc."}],"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"drawBitmap","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"x","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"text":"y","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"degrees","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"kind":"text","text":", "},{"text":"centerX","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Float","preciseIdentifier":"s:Sf","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"centerY"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sf","kind":"typeIdentifier","text":"Float"},{"kind":"text","text":", "},{"text":"xScale","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sf","text":"Float","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"yScale","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sf","kind":"typeIdentifier","text":"Float"},{"kind":"text","text":")"}],"kind":"symbol","title":"drawBitmap(_:x:y:degrees:centerX:centerY:xScale:yScale:)","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/getDisplayFrame()":{"abstract":[{"type":"text","text":"Returns the raw bits in the display buffer, the last completed frame."}],"type":"topic","title":"getDisplayFrame()","kind":"symbol","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"getDisplayFrame"},{"text":"() -> ","kind":"text"},{"kind":"typeIdentifier","text":"UnsafeMutablePointer","preciseIdentifier":"s:Sp"},{"kind":"text","text":"<"},{"preciseIdentifier":"s:s5UInt8V","text":"UInt8","kind":"typeIdentifier"},{"text":">?","kind":"text"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/getdisplayframe()","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/getDisplayFrame()"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/setTextLeading(_:)":{"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"setTextLeading","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Sets the leading adjustment (added to the leading specified in the font) to use when drawing text."}],"title":"setTextLeading(_:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/setTextLeading(_:)","url":"\/documentation\/playdatekit\/playdate\/graphics\/settextleading(_:)","type":"topic","role":"symbol","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/drawRect(x:y:width:height:color:)":{"abstract":[{"type":"text","text":"Draws a "},{"code":"width","type":"codeVoice"},{"text":" by ","type":"text"},{"type":"codeVoice","code":"height"},{"type":"text","text":" rect at "},{"type":"codeVoice","code":"x"},{"type":"text","text":", "},{"code":"y","type":"codeVoice"},{"text":".","type":"text"}],"title":"drawRect(x:y:width:height:color:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/drawRect(x:y:width:height:color:)","url":"\/documentation\/playdatekit\/playdate\/graphics\/drawrect(x:y:width:height:color:)","kind":"symbol","type":"topic","role":"symbol","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"drawRect","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"x"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"text":"y","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"width"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"kind":"text","text":", "},{"text":"height","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"kind":"text","text":", "},{"text":"color","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Color","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO5Colora"},{"text":")","kind":"text"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/drawText(_:length:encoding:x:y:)":{"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"drawText","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"s:SV","text":"UnsafeRawPointer","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"length","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"},{"kind":"text","text":", "},{"kind":"externalParam","text":"encoding"},{"text":": ","kind":"text"},{"text":"StringEncoding","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO14StringEncodinga"},{"kind":"text","text":", "},{"text":"x","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"},{"text":", ","kind":"text"},{"text":"y","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/drawtext(_:length:encoding:x:y:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/drawText(_:length:encoding:x:y:)","title":"drawText(_:length:encoding:x:y:)","role":"symbol","abstract":[{"text":"Draws the given ","type":"text"},{"type":"codeVoice","code":"text"},{"type":"text","text":" using the provided options. If no font has been set with "},{"type":"codeVoice","code":"setFont"},{"type":"text","text":", the default"},{"type":"text","text":" "},{"text":"system font Asheville Sans 14 Light is used.","type":"text"}],"kind":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/setFont(_:)":{"url":"\/documentation\/playdatekit\/playdate\/graphics\/setfont(_:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/setFont(_:)","title":"setFont(_:)","role":"symbol","type":"topic","kind":"symbol","abstract":[{"type":"text","text":"Sets the font to use in subsequent drawText calls."}],"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"setFont","kind":"identifier"},{"text":"(","kind":"text"},{"text":"Font","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO4FontC"},{"text":")","kind":"text"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/setScreenClipRect(x:y:width:height:)":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/setScreenClipRect(x:y:width:height:)","url":"\/documentation\/playdatekit\/playdate\/graphics\/setscreencliprect(x:y:width:height:)","title":"setScreenClipRect(x:y:width:height:)","role":"symbol","type":"topic","kind":"symbol","abstract":[{"type":"text","text":"Sets the current clip rect in screen coordinates."}],"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"setScreenClipRect"},{"kind":"text","text":"("},{"text":"x","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"y","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"kind":"text","text":", "},{"text":"width","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"height"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"CInt","preciseIdentifier":"s:s4CInta"},{"text":")","kind":"text"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/setDrawOffset(dx:dy:)":{"url":"\/documentation\/playdatekit\/playdate\/graphics\/setdrawoffset(dx:dy:)","title":"setDrawOffset(dx:dy:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"setDrawOffset"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"dx"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":", "},{"text":"dy","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"kind":"text","text":")"}],"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/setDrawOffset(dx:dy:)","role":"symbol","abstract":[{"type":"text","text":"Offsets the origin point for all drawing calls to "},{"code":"dx","type":"codeVoice"},{"type":"text","text":", "},{"code":"dy","type":"codeVoice"},{"text":" (can be negative).","type":"text"}],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/drawEllipse(x:y:width:height:lineWidth:startAngle:endAngle:color:)":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/drawEllipse(x:y:width:height:lineWidth:startAngle:endAngle:color:)","title":"drawEllipse(x:y:width:height:lineWidth:startAngle:endAngle:color:)","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/graphics\/drawellipse(x:y:width:height:linewidth:startangle:endangle:color:)","abstract":[{"type":"text","text":"Draws an ellipse inside the rectangle {"},{"type":"codeVoice","code":"x"},{"type":"text","text":", "},{"type":"codeVoice","code":"y"},{"type":"text","text":", "},{"type":"codeVoice","code":"width"},{"text":", ","type":"text"},{"type":"codeVoice","code":"height"},{"text":"} of width ","type":"text"},{"type":"codeVoice","code":"lineWidth"},{"type":"text","text":" (inset from the rectangle bounds)."},{"text":" ","type":"text"},{"type":"text","text":"If "},{"code":"startAngle","type":"codeVoice"},{"type":"text","text":" != "},{"type":"codeVoice","code":"endAngle"},{"text":", this draws an arc between the given angles. Angles are given in degrees, clockwise from due north.","type":"text"}],"kind":"symbol","type":"topic","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"drawEllipse"},{"text":"(","kind":"text"},{"text":"x","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"text":"y","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"width","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"height"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"kind":"text","text":", "},{"kind":"externalParam","text":"lineWidth"},{"text":": ","kind":"text"},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"startAngle"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sf","text":"Float"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"endAngle"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sf","text":"Float","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"color","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO5Colora","text":"Color"},{"kind":"text","text":")"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/clear(color:)":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/clear(color:)","type":"topic","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"clear","kind":"identifier"},{"text":"(","kind":"text"},{"text":"color","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Color","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO5Colora"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Clears the entire display, filling it with "},{"type":"codeVoice","code":"color"},{"type":"text","text":"."}],"title":"clear(color:)","role":"symbol","kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/graphics\/clear(color:)"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/BitmapTable":{"kind":"symbol","navigatorTitle":[{"text":"BitmapTable","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmaptable","title":"Playdate.Graphics.BitmapTable","type":"topic","fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"BitmapTable"}],"role":"symbol","abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/BitmapTable"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/drawBitmap(_:x:y:xScale:yScale:)":{"type":"topic","kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/drawBitmap(_:x:y:xScale:yScale:)","abstract":[{"text":"Draws the ","type":"text"},{"code":"bitmap","type":"codeVoice"},{"text":" scaled to ","type":"text"},{"code":"xScale","type":"codeVoice"},{"text":" and ","type":"text"},{"code":"yScale","type":"codeVoice"},{"text":" with its upper-left corner at location ","type":"text"},{"code":"x","type":"codeVoice"},{"type":"text","text":", "},{"type":"codeVoice","code":"y"},{"text":".","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Note that "},{"code":"flip","type":"codeVoice"},{"type":"text","text":" is not available when drawing scaled bitmaps but negative scale values will achieve the same effect."}],"role":"symbol","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"drawBitmap"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap"},{"text":", ","kind":"text"},{"text":"x","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"},{"text":", ","kind":"text"},{"text":"y","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":", ","kind":"text"},{"text":"xScale","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Float","preciseIdentifier":"s:Sf","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"yScale"},{"text":": ","kind":"text"},{"text":"Float","preciseIdentifier":"s:Sf","kind":"typeIdentifier"},{"text":")","kind":"text"}],"title":"drawBitmap(_:x:y:xScale:yScale:)","url":"\/documentation\/playdatekit\/playdate\/graphics\/drawbitmap(_:x:y:xscale:yscale:)"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/setDrawMode(_:)":{"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"setDrawMode","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap"},{"kind":"text","text":"."},{"text":"DrawMode","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC8DrawModea"},{"text":")","kind":"text"}],"abstract":[{"text":"Sets the mode used for drawing bitmaps. Note that text drawing uses bitmaps, so this affects how fonts are displayed as well.","type":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/setDrawMode(_:)","kind":"symbol","title":"setDrawMode(_:)","url":"\/documentation\/playdatekit\/playdate\/graphics\/setdrawmode(_:)","role":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Font":{"navigatorTitle":[{"text":"Font","kind":"identifier"}],"role":"symbol","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"Font","kind":"identifier"}],"type":"topic","abstract":[],"kind":"symbol","title":"Playdate.Graphics.Font","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font","url":"\/documentation\/playdatekit\/playdate\/graphics\/font"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/checkMaskCollision(bitmap1:x1:y1:flip1:bitmap2:x2:y2:flip2:rect:)":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/checkMaskCollision(bitmap1:x1:y1:flip1:bitmap2:x2:y2:flip2:rect:)","title":"checkMaskCollision(bitmap1:x1:y1:flip1:bitmap2:x2:y2:flip2:rect:)","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/graphics\/checkmaskcollision(bitmap1:x1:y1:flip1:bitmap2:x2:y2:flip2:rect:)","abstract":[{"text":"Returns true if any of the opaque pixels in ","type":"text"},{"code":"bitmap1","type":"codeVoice"},{"type":"text","text":" when positioned at "},{"code":"x1","type":"codeVoice"},{"type":"text","text":", "},{"type":"codeVoice","code":"y1"},{"type":"text","text":" with "},{"type":"codeVoice","code":"flip1"},{"type":"text","text":" overlap any"},{"type":"text","text":" "},{"type":"text","text":"of the opaque pixels in "},{"type":"codeVoice","code":"bitmap2"},{"text":" at ","type":"text"},{"type":"codeVoice","code":"x2"},{"text":", ","type":"text"},{"type":"codeVoice","code":"y2"},{"text":" with ","type":"text"},{"type":"codeVoice","code":"flip2"},{"text":" within the non-empty rect, or false","type":"text"},{"type":"text","text":" "},{"text":"if no pixels overlap or if one or both fall completely outside of rect.","type":"text"}],"kind":"symbol","type":"topic","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"checkMaskCollision","kind":"identifier"},{"text":"(","kind":"text"},{"text":"bitmap1","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Bitmap","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC"},{"kind":"text","text":", "},{"text":"x1","kind":"externalParam"},{"kind":"text","text":": "},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"y1","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"CInt","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"flip1"},{"kind":"text","text":": "},{"text":"Bitmap","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier"},{"kind":"text","text":"."},{"text":"Flip","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC4Flipa","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"bitmap2"},{"kind":"text","text":": "},{"text":"Bitmap","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"x2","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"y2"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"flip2"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier","text":"Bitmap"},{"kind":"text","text":"."},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC4Flipa","kind":"typeIdentifier","text":"Flip"},{"kind":"text","text":", "},{"text":"rect","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Rect","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO4Recta","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/setClipRect(x:y:width:height:)":{"url":"\/documentation\/playdatekit\/playdate\/graphics\/setcliprect(x:y:width:height:)","kind":"symbol","abstract":[{"type":"text","text":"Sets the current clip rect, using world coordinates—​that is, the given rectangle will be translated by"},{"type":"text","text":" "},{"type":"text","text":"the current drawing offset. The clip rect is cleared at the beginning of each update."}],"title":"setClipRect(x:y:width:height:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/setClipRect(x:y:width:height:)","role":"symbol","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"setClipRect"},{"kind":"text","text":"("},{"kind":"externalParam","text":"x"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":", "},{"text":"y","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"CInt","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":", "},{"text":"width","kind":"externalParam"},{"kind":"text","text":": "},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"height","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"text":")","kind":"text"}],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/drawBitmap(_:x:y:flip:)":{"title":"drawBitmap(_:x:y:flip:)","type":"topic","abstract":[{"text":"Draws the ","type":"text"},{"type":"codeVoice","code":"bitmap"},{"text":" with its upper-left corner at location ","type":"text"},{"type":"codeVoice","code":"x"},{"text":", ","type":"text"},{"type":"codeVoice","code":"y"},{"text":", using the given ","type":"text"},{"type":"codeVoice","code":"flip"},{"type":"text","text":" orientation."}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/drawBitmap(_:x:y:flip:)","url":"\/documentation\/playdatekit\/playdate\/graphics\/drawbitmap(_:x:y:flip:)","role":"symbol","kind":"symbol","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"drawBitmap","kind":"identifier"},{"text":"(","kind":"text"},{"text":"Bitmap","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"x","kind":"externalParam"},{"kind":"text","text":": "},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":", "},{"text":"y","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"flip"},{"text":": ","kind":"text"},{"text":"Bitmap","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"Flip","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC4Flipa"},{"text":")","kind":"text"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/colorFromPattern(_:x:y:)":{"url":"\/documentation\/playdatekit\/playdate\/graphics\/colorfrompattern(_:x:y:)","title":"colorFromPattern(_:x:y:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"colorFromPattern","kind":"identifier"},{"text":"(","kind":"text"},{"text":"Bitmap","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"x","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"CInt","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"y"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"},{"kind":"text","text":") -> "},{"text":"Color","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO5Colora"}],"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/colorFromPattern(_:x:y:)","role":"symbol","abstract":[{"type":"text","text":"Returns a color using an 8 x 8 pattern using the given "},{"type":"codeVoice","code":"bitmap"},{"text":". ","type":"text"},{"code":"x","type":"codeVoice"},{"text":", ","type":"text"},{"code":"y","type":"codeVoice"},{"type":"text","text":" indicates the top left corner of the 8 x 8 pattern."}],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/markUpdatedRows(start:end:)":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/markUpdatedRows(start:end:)","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/graphics\/markupdatedrows(start:end:)","kind":"symbol","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"markUpdatedRows","kind":"identifier"},{"kind":"text","text":"("},{"text":"start","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"end","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"kind":"text","text":")"}],"title":"markUpdatedRows(start:end:)","type":"topic","abstract":[{"type":"text","text":"After updating pixels in the buffer returned by "},{"type":"codeVoice","code":"getFrame()"},{"type":"text","text":", you must tell the graphics system which rows were updated."},{"type":"text","text":" "},{"text":"This function marks a contiguous range of rows as updated (e.g., ","type":"text"},{"type":"codeVoice","code":"markUpdatedRows(0, LCD_ROWS - 1)"},{"text":" tells the system","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"to update the entire display). Both "},{"type":"codeVoice","code":"start"},{"type":"text","text":" and "},{"code":"end","type":"codeVoice"},{"text":" are included in the range.","type":"text"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/popContext()":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/popContext()","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/graphics\/popcontext()","kind":"symbol","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"popContext","kind":"identifier"},{"text":"()","kind":"text"}],"title":"popContext()","type":"topic","abstract":[{"type":"text","text":"Pops a context off the stack (if any are left), restoring the drawing settings from before the context was pushed."}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/PolygonFillRule":{"url":"\/documentation\/playdatekit\/playdate\/graphics\/polygonfillrule","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/PolygonFillRule","abstract":[],"type":"topic","navigatorTitle":[{"kind":"identifier","text":"PolygonFillRule"}],"title":"Playdate.Graphics.PolygonFillRule","fragments":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"PolygonFillRule"}],"role":"symbol","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Rect":{"fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Rect"}],"abstract":[],"navigatorTitle":[{"kind":"identifier","text":"Rect"}],"type":"topic","kind":"symbol","role":"symbol","title":"Playdate.Graphics.Rect","url":"\/documentation\/playdatekit\/playdate\/graphics\/rect","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Rect"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/SolidColor":{"url":"\/documentation\/playdatekit\/playdate\/graphics\/solidcolor","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/SolidColor","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"SolidColor","kind":"identifier"}],"abstract":[],"kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"SolidColor"}],"title":"Playdate.Graphics.SolidColor","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/getDebugBitmap()":{"fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"getDebugBitmap"},{"text":"() -> ","kind":"text"},{"text":"Bitmap","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC"},{"text":"?","kind":"text"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/getdebugbitmap()","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/getDebugBitmap()","title":"getDebugBitmap()","role":"symbol","abstract":[{"text":"Only valid in the Simulator; function returns nil on device. Returns the debug framebuffer as a bitmap.","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"White pixels drawn in the image are overlaid on the display in 50% transparent red."}],"kind":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/tileBitmap(_:x:y:width:height:flip:)":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/tileBitmap(_:x:y:width:height:flip:)","title":"tileBitmap(_:x:y:width:height:flip:)","role":"symbol","kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/graphics\/tilebitmap(_:x:y:width:height:flip:)","abstract":[{"type":"text","text":"Draws the "},{"code":"bitmap","type":"codeVoice"},{"text":" with its upper-left corner at location ","type":"text"},{"code":"x","type":"codeVoice"},{"text":", ","type":"text"},{"type":"codeVoice","code":"y"},{"type":"text","text":" tiled inside a "},{"type":"codeVoice","code":"width"},{"text":" by ","type":"text"},{"type":"codeVoice","code":"height"},{"type":"text","text":" rectangle."}],"type":"topic","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"tileBitmap","kind":"identifier"},{"kind":"text","text":"("},{"text":"Bitmap","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"x","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"y"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"CInt","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"width"},{"kind":"text","text":": "},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":", "},{"text":"height","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"flip"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier","text":"Bitmap"},{"text":".","kind":"text"},{"text":"Flip","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC4Flipa","kind":"typeIdentifier"},{"text":")","kind":"text"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Color":{"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Color","type":"topic","role":"symbol","title":"Playdate.Graphics.Color","url":"\/documentation\/playdatekit\/playdate\/graphics\/color","abstract":[],"fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Color","kind":"identifier"}],"navigatorTitle":[{"text":"Color","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/getFrame()":{"title":"getFrame()","type":"topic","url":"\/documentation\/playdatekit\/playdate\/graphics\/getframe()","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"getFrame"},{"text":"() -> ","kind":"text"},{"text":"UnsafeMutablePointer","kind":"typeIdentifier","preciseIdentifier":"s:Sp"},{"text":"<","kind":"text"},{"text":"UInt8","kind":"typeIdentifier","preciseIdentifier":"s:s5UInt8V"},{"text":">?","kind":"text"}],"role":"symbol","kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/getFrame()","abstract":[{"type":"text","text":"Returns the current display frame buffer. Rows are 32-bit aligned, so the row stride is 52 bytes,"},{"text":" ","type":"text"},{"type":"text","text":"with the extra 2 bytes per row ignored. Bytes are MSB-ordered; i.e., the pixel in column 0 is the"},{"type":"text","text":" "},{"type":"text","text":"0x80 bit of the first byte of the row."}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/drawLine(x1:y1:x2:y2:lineWidth:color:)":{"abstract":[{"text":"Draws a line from ","type":"text"},{"type":"codeVoice","code":"x1"},{"type":"text","text":", "},{"code":"y1","type":"codeVoice"},{"type":"text","text":" to "},{"code":"x2","type":"codeVoice"},{"text":", ","type":"text"},{"type":"codeVoice","code":"y2"},{"type":"text","text":" with a stroke width of "},{"code":"lineWidth","type":"codeVoice"},{"type":"text","text":"."}],"role":"symbol","kind":"symbol","title":"drawLine(x1:y1:x2:y2:lineWidth:color:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/drawLine(x1:y1:x2:y2:lineWidth:color:)","url":"\/documentation\/playdatekit\/playdate\/graphics\/drawline(x1:y1:x2:y2:linewidth:color:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"drawLine"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"x1"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"CInt","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":", "},{"kind":"externalParam","text":"y1"},{"kind":"text","text":": "},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"text":"x2","kind":"externalParam"},{"kind":"text","text":": "},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"y2"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"},{"text":", ","kind":"text"},{"text":"lineWidth","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":", "},{"kind":"externalParam","text":"color"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO5Colora","text":"Color","kind":"typeIdentifier"},{"text":")","kind":"text"}],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/setStencilImage(_:tile:)":{"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/graphics\/setstencilimage(_:tile:)","title":"setStencilImage(_:tile:)","type":"topic","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"setStencilImage"},{"text":"(","kind":"text"},{"text":"Bitmap","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"tile","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"},{"kind":"text","text":")"}],"role":"symbol","abstract":[{"type":"text","text":"Sets the stencil used for drawing. If "},{"code":"tile","type":"codeVoice"},{"type":"text","text":" is true the stencil image will be tiled."},{"text":" ","type":"text"},{"type":"text","text":"Tiled stencils must have width equal to a multiple of 32 pixels."},{"text":" ","type":"text"},{"type":"text","text":"To clear the stencil, call "},{"code":"setStencil(nil)","type":"codeVoice"},{"text":".","type":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/setStencilImage(_:tile:)"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/getDisplayBufferBitmap()":{"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/graphics\/getdisplaybufferbitmap()","title":"getDisplayBufferBitmap()","type":"topic","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"getDisplayBufferBitmap","kind":"identifier"},{"kind":"text","text":"() -> "},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"role":"symbol","abstract":[{"text":"Returns a bitmap containing the contents of the display buffer.","type":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/getDisplayBufferBitmap()"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/fillEllipse(x:y:width:height:startAngle:endAngle:color:)":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/fillEllipse(x:y:width:height:startAngle:endAngle:color:)","url":"\/documentation\/playdatekit\/playdate\/graphics\/fillellipse(x:y:width:height:startangle:endangle:color:)","title":"fillEllipse(x:y:width:height:startAngle:endAngle:color:)","role":"symbol","type":"topic","kind":"symbol","abstract":[{"text":"Fills an ellipse inside the rectangle {","type":"text"},{"code":"x","type":"codeVoice"},{"text":", ","type":"text"},{"type":"codeVoice","code":"y"},{"text":", ","type":"text"},{"type":"codeVoice","code":"width"},{"type":"text","text":", "},{"code":"height","type":"codeVoice"},{"text":"}. If ","type":"text"},{"code":"startAngle","type":"codeVoice"},{"text":" != ","type":"text"},{"code":"endAngle","type":"codeVoice"},{"type":"text","text":", this draws a"},{"type":"text","text":" "},{"type":"text","text":"wedge\/Pacman between the given angles. Angles are given in degrees, clockwise from due north."}],"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"fillEllipse","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"x"},{"text":": ","kind":"text"},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"y","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"width","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"text":"height","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":", ","kind":"text"},{"text":"startAngle","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sf","text":"Float","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"endAngle","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sf","kind":"typeIdentifier","text":"Float"},{"text":", ","kind":"text"},{"text":"color","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Color","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO5Colora"},{"kind":"text","text":")"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Video":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Video","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Video"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/video","title":"Playdate.Graphics.Video","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/fillTriangle(x1:y1:x2:y2:x3:y3:color:)":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/fillTriangle(x1:y1:x2:y2:x3:y3:color:)","url":"\/documentation\/playdatekit\/playdate\/graphics\/filltriangle(x1:y1:x2:y2:x3:y3:color:)","type":"topic","abstract":[{"type":"text","text":"Draws a filled triangle with points at "},{"type":"codeVoice","code":"x1"},{"type":"text","text":", "},{"code":"y1","type":"codeVoice"},{"text":", ","type":"text"},{"type":"codeVoice","code":"x2"},{"type":"text","text":", "},{"type":"codeVoice","code":"y2"},{"type":"text","text":", and "},{"type":"codeVoice","code":"x3"},{"type":"text","text":", "},{"code":"y3","type":"codeVoice"},{"text":".","type":"text"}],"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"fillTriangle","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"x1"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"y1","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"CInt","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"text":"x2","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"y2"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"x3","kind":"externalParam"},{"kind":"text","text":": "},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"text":"y3","kind":"externalParam"},{"kind":"text","text":": "},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"color","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Color","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO5Colora"},{"text":")","kind":"text"}],"kind":"symbol","title":"fillTriangle(x1:y1:x2:y2:x3:y3:color:)","role":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/bitmap.json b/docs/data/documentation/playdatekit/playdate/graphics/bitmap.json new file mode 100644 index 00000000..ab219da2 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/bitmap.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"]]},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/bitmap"]}],"schemaVersion":{"major":0,"patch":0,"minor":3},"topicSections":[{"identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/init(path:)-2idv2","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/init(path:)-3qejh","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/init(width:height:bgColor:)"],"generated":true,"title":"Initializers"},{"title":"Instance Properties","generated":true,"identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/mask"]},{"generated":true,"identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/clear(bgColor:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/copy()","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/getData(mask:data:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/load(from:)-39up6","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/load(from:)-9wm1t","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/rotated(by:xScale:yScale:)"],"title":"Instance Methods"},{"title":"Type Aliases","identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/DrawMode","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/Flip"],"generated":true}],"metadata":{"externalID":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","title":"Playdate.Graphics.Bitmap","navigatorTitle":[{"text":"Bitmap","kind":"identifier"}],"fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"Bitmap","kind":"identifier"}],"role":"symbol","symbolKind":"class","modules":[{"name":"PlaydateKit"}],"roleHeading":"Class"},"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Bitmap"}]}],"kind":"declarations"}],"sections":[],"kind":"symbol","references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap/load(from:)-9wm1t":{"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/load(from:)-9wm1t","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"load","kind":"identifier"},{"kind":"text","text":"("},{"text":"from","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s12StaticStringV","text":"StaticString"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"text":"Error","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV"},{"text":")","kind":"text"}],"abstract":[{"type":"text","text":"Loads the image at "},{"type":"codeVoice","code":"path"},{"type":"text","text":" into the bitmap."}],"title":"load(from:)","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/load(from:)-9wm1t","type":"topic","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap/clear(bgColor:)":{"type":"topic","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"clear"},{"text":"(","kind":"text"},{"text":"bgColor","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO5Colora","text":"Color","kind":"typeIdentifier"},{"kind":"text","text":")"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/clear(bgcolor:)","title":"clear(bgColor:)","abstract":[{"text":"Clears the bitmap, filling with the given ","type":"text"},{"type":"codeVoice","code":"bgcolor"},{"text":".","type":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/clear(bgColor:)","role":"symbol","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap/init(width:height:bgColor:)":{"url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/init(width:height:bgcolor:)","title":"init(width:height:bgColor:)","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"width"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"CInt","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"text":"height","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"bgColor"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Color","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO5Colora"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Allocates and returns a new "},{"type":"codeVoice","code":"width"},{"type":"text","text":" by "},{"type":"codeVoice","code":"height"},{"type":"text","text":" "},{"type":"codeVoice","code":"Bitmap"},{"type":"text","text":" filled with "},{"code":"bgcolor","type":"codeVoice"},{"type":"text","text":"."}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/init(width:height:bgColor:)","type":"topic","role":"symbol","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap/copy()":{"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/copy()","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"copy","kind":"identifier"},{"text":"() -> ","kind":"text"},{"text":"Bitmap","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC"}],"abstract":[{"type":"text","text":"Returns a new LCDBitmap that is an exact copy of the bitmap."}],"title":"copy()","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/copy()","type":"topic","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap/mask":{"url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/mask","title":"mask","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"mask"},{"kind":"text","text":": "},{"text":"Bitmap","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Gets\/sets a "},{"type":"codeVoice","code":"mask"},{"type":"text","text":" image for the bitmap, or returns nil if the bitmap doesn’t have a mask layer."},{"type":"text","text":" "},{"type":"text","text":"The set mask must be the same size as the target bitmap. The returned mask points to bitmap’s data,"},{"text":" ","type":"text"},{"type":"text","text":"so drawing into the mask image affects the source bitmap directly."}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/mask","type":"topic","role":"symbol","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap/DrawMode":{"fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"DrawMode","kind":"identifier"}],"role":"symbol","abstract":[],"kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"DrawMode"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/drawmode","title":"Playdate.Graphics.Bitmap.DrawMode","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/DrawMode","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap":{"navigatorTitle":[{"text":"Bitmap","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Bitmap","kind":"identifier"}],"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"symbol","title":"Playdate.Graphics.Bitmap","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap","role":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap/rotated(by:xScale:yScale:)":{"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/rotated(by:xScale:yScale:)","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"rotated"},{"text":"(","kind":"text"},{"text":"by","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sf","text":"Float"},{"kind":"text","text":", "},{"kind":"externalParam","text":"xScale"},{"text":": ","kind":"text"},{"text":"Float","preciseIdentifier":"s:Sf","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"yScale","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sf","text":"Float"},{"text":") -> (bitmap","kind":"text"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap"},{"text":", allocatedSize","kind":"text"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CInt","preciseIdentifier":"s:s4CInta"},{"text":")","kind":"text"}],"abstract":[{"type":"text","text":"Returns a new, rotated and scaled "},{"code":"Bitmap","type":"codeVoice"},{"type":"text","text":" based on the given "},{"type":"codeVoice","code":"bitmap"},{"type":"text","text":"."}],"title":"rotated(by:xScale:yScale:)","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/rotated(by:xscale:yscale:)","type":"topic","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap/Flip":{"abstract":[],"type":"topic","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/flip","role":"symbol","title":"Playdate.Graphics.Bitmap.Flip","kind":"symbol","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Flip","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Flip"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/Flip"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap/load(from:)-39up6":{"abstract":[{"type":"text","text":"Loads the image at "},{"type":"codeVoice","code":"path"},{"type":"text","text":" into the bitmap."}],"role":"symbol","kind":"symbol","title":"load(from:)","type":"topic","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/load(from:)-39up6","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/load(from:)-39up6","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"load","kind":"identifier"},{"text":"(","kind":"text"},{"text":"from","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sp","text":"UnsafeMutablePointer","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"preciseIdentifier":"s:s5CChara","text":"CChar","kind":"typeIdentifier"},{"text":">) ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":"("},{"preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","kind":"typeIdentifier","text":"Error"},{"text":")","kind":"text"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap/getData(mask:data:)":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/getData(mask:data:)","title":"getData(mask:data:)","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/getdata(mask:data:)","abstract":[{"type":"text","text":"Gets various info about the bitmap including its "},{"type":"codeVoice","code":"width"},{"type":"text","text":" and "},{"type":"codeVoice","code":"height"},{"text":" and raw pixel ","type":"text"},{"type":"codeVoice","code":"data"},{"type":"text","text":"."},{"type":"text","text":" "},{"type":"text","text":"The data is 1 bit per pixel packed format, in MSB order; in other words, the high bit of the first byte"},{"type":"text","text":" "},{"text":"in data is the top left pixel of the image. If the bitmap has a mask, a pointer to its data is returned in ","type":"text"},{"code":"mask","type":"codeVoice"},{"type":"text","text":","},{"text":" ","type":"text"},{"text":"else nil is returned.","type":"text"}],"kind":"symbol","type":"topic","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"getData","kind":"identifier"},{"kind":"text","text":"("},{"text":"mask","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UnsafeMutablePointer","kind":"typeIdentifier","preciseIdentifier":"s:Sp"},{"text":"<","kind":"text"},{"text":"UnsafeMutablePointer","kind":"typeIdentifier","preciseIdentifier":"s:Sp"},{"kind":"text","text":"<"},{"text":"UInt8","kind":"typeIdentifier","preciseIdentifier":"s:s5UInt8V"},{"kind":"text","text":">?>?, "},{"text":"data","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UnsafeMutablePointer","kind":"typeIdentifier","preciseIdentifier":"s:Sp"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sp","text":"UnsafeMutablePointer"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"UInt8","preciseIdentifier":"s:s5UInt8V"},{"text":">?>?) -> (width","kind":"text"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":", height","kind":"text"},{"kind":"text","text":": "},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"kind":"text","text":", rowBytes"},{"kind":"text","text":": "},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"text":")","kind":"text"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap/init(path:)-3qejh":{"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/init(path:)-3qejh","fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"text":"path","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s12StaticStringV","kind":"typeIdentifier","text":"StaticString"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":"("},{"preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error","kind":"typeIdentifier"},{"kind":"text","text":")"}],"abstract":[{"text":"Allocates and returns a new ","type":"text"},{"code":"Bitmap","type":"codeVoice"},{"type":"text","text":" from the file at path. If there is no file at "},{"code":"path","type":"codeVoice"},{"type":"text","text":", the function throws."}],"title":"init(path:)","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/init(path:)-3qejh","type":"topic","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap/init(path:)-2idv2":{"abstract":[{"type":"text","text":"Allocates and returns a new "},{"type":"codeVoice","code":"Bitmap"},{"type":"text","text":" from the file at path. If there is no file at "},{"type":"codeVoice","code":"path"},{"text":", the function throws.","type":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/init(path:)-2idv2","title":"init(path:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"text":"path","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UnsafeMutablePointer","kind":"typeIdentifier","preciseIdentifier":"s:Sp"},{"text":"<","kind":"text"},{"preciseIdentifier":"s:s5CChara","text":"CChar","kind":"typeIdentifier"},{"kind":"text","text":">) "},{"kind":"keyword","text":"throws"},{"kind":"text","text":"("},{"text":"Error","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV"},{"text":")","kind":"text"}],"type":"topic","kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/init(path:)-2idv2","role":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/bitmap/clear(bgcolor:).json b/docs/data/documentation/playdatekit/playdate/graphics/bitmap/clear(bgcolor:).json new file mode 100644 index 00000000..745bc8c5 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/bitmap/clear(bgcolor:).json @@ -0,0 +1 @@ +{"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"clear","kind":"identifier"},{"kind":"text","text":"("},{"text":"bgColor","kind":"externalParam"},{"kind":"text","text":": "},{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Color","text":"Color","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO5Colora","kind":"typeIdentifier"},{"kind":"text","text":")"}],"platforms":["macOS"]}],"kind":"declarations"}],"kind":"symbol","metadata":{"role":"symbol","symbolKind":"method","title":"clear(bgColor:)","externalID":"s:11PlaydateKit0A0O8GraphicsO6BitmapC5clear7bgColorySu_tF","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"clear","kind":"identifier"},{"kind":"text","text":"("},{"text":"bgColor","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Color","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO5Colora"},{"text":")","kind":"text"}],"modules":[{"name":"PlaydateKit"}],"roleHeading":"Instance Method"},"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/clear(bgcolor:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/clear(bgColor:)","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap"]]},"sections":[],"abstract":[{"type":"text","text":"Clears the bitmap, filling with the given "},{"code":"bgcolor","type":"codeVoice"},{"text":".","type":"text"}],"schemaVersion":{"minor":3,"patch":0,"major":0},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Color":{"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Color","type":"topic","role":"symbol","title":"Playdate.Graphics.Color","url":"\/documentation\/playdatekit\/playdate\/graphics\/color","abstract":[],"fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Color","kind":"identifier"}],"navigatorTitle":[{"text":"Color","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap/clear(bgColor:)":{"type":"topic","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"clear"},{"text":"(","kind":"text"},{"text":"bgColor","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO5Colora","text":"Color","kind":"typeIdentifier"},{"kind":"text","text":")"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/clear(bgcolor:)","title":"clear(bgColor:)","abstract":[{"text":"Clears the bitmap, filling with the given ","type":"text"},{"type":"codeVoice","code":"bgcolor"},{"text":".","type":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/clear(bgColor:)","role":"symbol","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap":{"navigatorTitle":[{"text":"Bitmap","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Bitmap","kind":"identifier"}],"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"symbol","title":"Playdate.Graphics.Bitmap","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap","role":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/bitmap/copy().json b/docs/data/documentation/playdatekit/playdate/graphics/bitmap/copy().json new file mode 100644 index 00000000..0c89b883 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/bitmap/copy().json @@ -0,0 +1 @@ +{"metadata":{"role":"symbol","externalID":"s:11PlaydateKit0A0O8GraphicsO6BitmapC4copyAGyF","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"copy","kind":"identifier"},{"text":"() -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap"}],"title":"copy()","modules":[{"name":"PlaydateKit"}],"symbolKind":"method"},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap"]]},"sections":[],"schemaVersion":{"patch":0,"major":0,"minor":3},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"copy","kind":"identifier"},{"text":"() -> ","kind":"text"},{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap"}]}]}],"abstract":[{"text":"Returns a new LCDBitmap that is an exact copy of the bitmap.","type":"text"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/copy()"},"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/copy()"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap/copy()":{"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/copy()","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"copy","kind":"identifier"},{"text":"() -> ","kind":"text"},{"text":"Bitmap","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC"}],"abstract":[{"type":"text","text":"Returns a new LCDBitmap that is an exact copy of the bitmap."}],"title":"copy()","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/copy()","type":"topic","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap":{"navigatorTitle":[{"text":"Bitmap","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Bitmap","kind":"identifier"}],"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"symbol","title":"Playdate.Graphics.Bitmap","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap","role":"symbol","type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/bitmap/drawmode.json b/docs/data/documentation/playdatekit/playdate/graphics/bitmap/drawmode.json new file mode 100644 index 00000000..f1e3a4bc --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/bitmap/drawmode.json @@ -0,0 +1 @@ +{"metadata":{"modules":[{"name":"PlaydateKit"}],"externalID":"s:11PlaydateKit0A0O8GraphicsO6BitmapC8DrawModea","symbolKind":"typealias","fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DrawMode"}],"roleHeading":"Type Alias","navigatorTitle":[{"text":"DrawMode","kind":"identifier"}],"title":"Playdate.Graphics.Bitmap.DrawMode","role":"symbol"},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap"]]},"sections":[],"schemaVersion":{"minor":3,"patch":0,"major":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DrawMode"},{"kind":"text","text":" = "},{"text":"LCDBitmapDrawMode","preciseIdentifier":"c:@EA@LCDBitmapDrawMode","kind":"typeIdentifier"}]}]}],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/drawmode"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/DrawMode","interfaceLanguage":"swift"},"kind":"symbol","references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap":{"navigatorTitle":[{"text":"Bitmap","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Bitmap","kind":"identifier"}],"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"symbol","title":"Playdate.Graphics.Bitmap","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap","role":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap/DrawMode":{"fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"DrawMode","kind":"identifier"}],"role":"symbol","abstract":[],"kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"DrawMode"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/drawmode","title":"Playdate.Graphics.Bitmap.DrawMode","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/DrawMode","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/bitmap/flip.json b/docs/data/documentation/playdatekit/playdate/graphics/bitmap/flip.json new file mode 100644 index 00000000..a4b2a7b9 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/bitmap/flip.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/Flip","interfaceLanguage":"swift"},"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Flip","kind":"identifier"},{"kind":"text","text":" = "},{"text":"LCDBitmapFlip","kind":"typeIdentifier","preciseIdentifier":"c:@EA@LCDBitmapFlip"}],"languages":["swift"],"platforms":["macOS"]}]}],"metadata":{"title":"Playdate.Graphics.Bitmap.Flip","modules":[{"name":"PlaydateKit"}],"navigatorTitle":[{"text":"Flip","kind":"identifier"}],"roleHeading":"Type Alias","role":"symbol","fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Flip"}],"externalID":"s:11PlaydateKit0A0O8GraphicsO6BitmapC4Flipa","symbolKind":"typealias"},"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/flip"]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap/Flip":{"abstract":[],"type":"topic","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/flip","role":"symbol","title":"Playdate.Graphics.Bitmap.Flip","kind":"symbol","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Flip","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Flip"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/Flip"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap":{"navigatorTitle":[{"text":"Bitmap","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Bitmap","kind":"identifier"}],"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"symbol","title":"Playdate.Graphics.Bitmap","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap","role":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/bitmap/getdata(mask:data:).json b/docs/data/documentation/playdatekit/playdate/graphics/bitmap/getdata(mask:data:).json new file mode 100644 index 00000000..1bea8a1d --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/bitmap/getdata(mask:data:).json @@ -0,0 +1 @@ +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/getData(mask:data:)"},"kind":"symbol","sections":[],"schemaVersion":{"patch":0,"major":0,"minor":3},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/getdata(mask:data:)"]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap"]]},"abstract":[{"type":"text","text":"Gets various info about the bitmap including its "},{"type":"codeVoice","code":"width"},{"type":"text","text":" and "},{"type":"codeVoice","code":"height"},{"text":" and raw pixel ","type":"text"},{"code":"data","type":"codeVoice"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"The data is 1 bit per pixel packed format, in MSB order; in other words, the high bit of the first byte","type":"text"},{"type":"text","text":" "},{"type":"text","text":"in data is the top left pixel of the image. If the bitmap has a mask, a pointer to its data is returned in "},{"type":"codeVoice","code":"mask"},{"text":",","type":"text"},{"type":"text","text":" "},{"text":"else nil is returned.","type":"text"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"getData","kind":"identifier"},{"kind":"text","text":"("},{"text":"mask","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sp","kind":"typeIdentifier","text":"UnsafeMutablePointer"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sp","text":"UnsafeMutablePointer"},{"text":"<","kind":"text"},{"text":"UInt8","preciseIdentifier":"s:s5UInt8V","kind":"typeIdentifier"},{"kind":"text","text":">?>?, "},{"text":"data","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UnsafeMutablePointer","kind":"typeIdentifier","preciseIdentifier":"s:Sp"},{"text":"<","kind":"text"},{"text":"UnsafeMutablePointer","preciseIdentifier":"s:Sp","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"text":"UInt8","preciseIdentifier":"s:s5UInt8V","kind":"typeIdentifier"},{"text":">?>?) -> (width","kind":"text"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":", height","kind":"text"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":", rowBytes"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"},{"text":")","kind":"text"}]}]}],"metadata":{"modules":[{"name":"PlaydateKit"}],"externalID":"s:11PlaydateKit0A0O8GraphicsO6BitmapC7getData4mask4datas5Int32V5width_AL6heightAL8rowBytestSpySpys5UInt8VGSgGSg_AUtF","symbolKind":"method","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"getData"},{"text":"(","kind":"text"},{"text":"mask","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"UnsafeMutablePointer","preciseIdentifier":"s:Sp"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sp","text":"UnsafeMutablePointer"},{"kind":"text","text":"<"},{"text":"UInt8","kind":"typeIdentifier","preciseIdentifier":"s:s5UInt8V"},{"text":">?>?, ","kind":"text"},{"text":"data","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"UnsafeMutablePointer","preciseIdentifier":"s:Sp"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sp","text":"UnsafeMutablePointer"},{"kind":"text","text":"<"},{"preciseIdentifier":"s:s5UInt8V","text":"UInt8","kind":"typeIdentifier"},{"kind":"text","text":">?>?) -> (width"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"text":", height","kind":"text"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"kind":"text","text":", rowBytes"},{"kind":"text","text":": "},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"kind":"text","text":")"}],"roleHeading":"Instance Method","role":"symbol","title":"getData(mask:data:)"},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap/getData(mask:data:)":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/getData(mask:data:)","title":"getData(mask:data:)","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/getdata(mask:data:)","abstract":[{"type":"text","text":"Gets various info about the bitmap including its "},{"type":"codeVoice","code":"width"},{"type":"text","text":" and "},{"type":"codeVoice","code":"height"},{"text":" and raw pixel ","type":"text"},{"type":"codeVoice","code":"data"},{"type":"text","text":"."},{"type":"text","text":" "},{"type":"text","text":"The data is 1 bit per pixel packed format, in MSB order; in other words, the high bit of the first byte"},{"type":"text","text":" "},{"text":"in data is the top left pixel of the image. If the bitmap has a mask, a pointer to its data is returned in ","type":"text"},{"code":"mask","type":"codeVoice"},{"type":"text","text":","},{"text":" ","type":"text"},{"text":"else nil is returned.","type":"text"}],"kind":"symbol","type":"topic","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"getData","kind":"identifier"},{"kind":"text","text":"("},{"text":"mask","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UnsafeMutablePointer","kind":"typeIdentifier","preciseIdentifier":"s:Sp"},{"text":"<","kind":"text"},{"text":"UnsafeMutablePointer","kind":"typeIdentifier","preciseIdentifier":"s:Sp"},{"kind":"text","text":"<"},{"text":"UInt8","kind":"typeIdentifier","preciseIdentifier":"s:s5UInt8V"},{"kind":"text","text":">?>?, "},{"text":"data","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UnsafeMutablePointer","kind":"typeIdentifier","preciseIdentifier":"s:Sp"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sp","text":"UnsafeMutablePointer"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"UInt8","preciseIdentifier":"s:s5UInt8V"},{"text":">?>?) -> (width","kind":"text"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":", height","kind":"text"},{"kind":"text","text":": "},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"kind":"text","text":", rowBytes"},{"kind":"text","text":": "},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"text":")","kind":"text"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap":{"navigatorTitle":[{"text":"Bitmap","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Bitmap","kind":"identifier"}],"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"symbol","title":"Playdate.Graphics.Bitmap","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap","role":"symbol","type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/bitmap/init(path:)-2idv2.json b/docs/data/documentation/playdatekit/playdate/graphics/bitmap/init(path:)-2idv2.json new file mode 100644 index 00000000..648f591d --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/bitmap/init(path:)-2idv2.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap"]]},"schemaVersion":{"major":0,"patch":0,"minor":3},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"init","kind":"keyword"},{"kind":"text","text":"("},{"kind":"externalParam","text":"path"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sp","text":"UnsafeMutablePointer"},{"kind":"text","text":"<"},{"text":"CChar","preciseIdentifier":"s:s5CChara","kind":"typeIdentifier"},{"text":">) ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"text":"Error","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","kind":"typeIdentifier"},{"text":")","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/init(path:)-2idv2"]}],"abstract":[{"text":"Allocates and returns a new ","type":"text"},{"code":"Bitmap","type":"codeVoice"},{"text":" from the file at path. If there is no file at ","type":"text"},{"code":"path","type":"codeVoice"},{"type":"text","text":", the function throws."}],"metadata":{"fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"text":"path","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UnsafeMutablePointer","preciseIdentifier":"s:Sp","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s5CChara","text":"CChar"},{"kind":"text","text":">) "},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","kind":"typeIdentifier","text":"Error"},{"text":")","kind":"text"}],"symbolKind":"init","role":"symbol","roleHeading":"Initializer","title":"init(path:)","externalID":"s:11PlaydateKit0A0O8GraphicsO6BitmapC4pathAGSpys4Int8VG_tAC5ErrorVYKcfc","modules":[{"name":"PlaydateKit"}]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/init(path:)-2idv2"},"kind":"symbol","sections":[],"references":{"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Error":{"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Error"}],"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/error","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","title":"Playdate.Error","role":"symbol","type":"topic","abstract":[]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap":{"navigatorTitle":[{"text":"Bitmap","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Bitmap","kind":"identifier"}],"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"symbol","title":"Playdate.Graphics.Bitmap","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap","role":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap/init(path:)-2idv2":{"abstract":[{"type":"text","text":"Allocates and returns a new "},{"type":"codeVoice","code":"Bitmap"},{"type":"text","text":" from the file at path. If there is no file at "},{"type":"codeVoice","code":"path"},{"text":", the function throws.","type":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/init(path:)-2idv2","title":"init(path:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"text":"path","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UnsafeMutablePointer","kind":"typeIdentifier","preciseIdentifier":"s:Sp"},{"text":"<","kind":"text"},{"preciseIdentifier":"s:s5CChara","text":"CChar","kind":"typeIdentifier"},{"kind":"text","text":">) "},{"kind":"keyword","text":"throws"},{"kind":"text","text":"("},{"text":"Error","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV"},{"text":")","kind":"text"}],"type":"topic","kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/init(path:)-2idv2","role":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/bitmap/init(path:)-3qejh.json b/docs/data/documentation/playdatekit/playdate/graphics/bitmap/init(path:)-3qejh.json new file mode 100644 index 00000000..7eb77897 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/bitmap/init(path:)-3qejh.json @@ -0,0 +1 @@ +{"sections":[],"abstract":[{"type":"text","text":"Allocates and returns a new "},{"code":"Bitmap","type":"codeVoice"},{"type":"text","text":" from the file at path. If there is no file at "},{"code":"path","type":"codeVoice"},{"text":", the function throws.","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/init(path:)-3qejh"]}],"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/init(path:)-3qejh"},"metadata":{"externalID":"s:11PlaydateKit0A0O8GraphicsO6BitmapC4pathAGs12StaticStringV_tAC5ErrorVYKcfc","role":"symbol","modules":[{"name":"PlaydateKit"}],"title":"init(path:)","roleHeading":"Initializer","fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"path"},{"text":": ","kind":"text"},{"text":"StaticString","kind":"typeIdentifier","preciseIdentifier":"s:s12StaticStringV"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error","kind":"typeIdentifier"},{"kind":"text","text":")"}],"symbolKind":"init"},"schemaVersion":{"patch":0,"major":0,"minor":3},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"init","kind":"keyword"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"path"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"StaticString","preciseIdentifier":"s:s12StaticStringV"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error"},{"text":")","kind":"text"}]}]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap"]]},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap/init(path:)-3qejh":{"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/init(path:)-3qejh","fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"text":"path","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s12StaticStringV","kind":"typeIdentifier","text":"StaticString"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":"("},{"preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error","kind":"typeIdentifier"},{"kind":"text","text":")"}],"abstract":[{"text":"Allocates and returns a new ","type":"text"},{"code":"Bitmap","type":"codeVoice"},{"type":"text","text":" from the file at path. If there is no file at "},{"code":"path","type":"codeVoice"},{"type":"text","text":", the function throws."}],"title":"init(path:)","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/init(path:)-3qejh","type":"topic","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap":{"navigatorTitle":[{"text":"Bitmap","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Bitmap","kind":"identifier"}],"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"symbol","title":"Playdate.Graphics.Bitmap","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap","role":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Error":{"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Error"}],"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/error","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","title":"Playdate.Error","role":"symbol","type":"topic","abstract":[]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/bitmap/init(width:height:bgcolor:).json b/docs/data/documentation/playdatekit/playdate/graphics/bitmap/init(width:height:bgcolor:).json new file mode 100644 index 00000000..889982ae --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/bitmap/init(width:height:bgcolor:).json @@ -0,0 +1 @@ +{"sections":[],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap"]]},"abstract":[{"type":"text","text":"Allocates and returns a new "},{"code":"width","type":"codeVoice"},{"type":"text","text":" by "},{"type":"codeVoice","code":"height"},{"type":"text","text":" "},{"code":"Bitmap","type":"codeVoice"},{"text":" filled with ","type":"text"},{"code":"bgcolor","type":"codeVoice"},{"text":".","type":"text"}],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/init(width:height:bgcolor:)"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"minor":3,"patch":0,"major":0},"metadata":{"externalID":"s:11PlaydateKit0A0O8GraphicsO6BitmapC5width6height7bgColorAGs5Int32V_ALSutcfc","modules":[{"name":"PlaydateKit"}],"symbolKind":"init","title":"init(width:height:bgColor:)","roleHeading":"Initializer","role":"symbol","fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"text":"width","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"height","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"},{"text":", ","kind":"text"},{"text":"bgColor","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO5Colora","kind":"typeIdentifier","text":"Color"},{"text":")","kind":"text"}]},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"width"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":", ","kind":"text"},{"text":"height","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"},{"kind":"text","text":", "},{"text":"bgColor","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO5Colora","text":"Color","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Color"},{"kind":"text","text":")"}]}]}],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/init(width:height:bgColor:)","interfaceLanguage":"swift"},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap":{"navigatorTitle":[{"text":"Bitmap","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Bitmap","kind":"identifier"}],"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"symbol","title":"Playdate.Graphics.Bitmap","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap","role":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap/init(width:height:bgColor:)":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/init(width:height:bgColor:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"text":"width","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"height","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":", "},{"kind":"externalParam","text":"bgColor"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO5Colora","text":"Color","kind":"typeIdentifier"},{"text":")","kind":"text"}],"kind":"symbol","abstract":[{"text":"Allocates and returns a new ","type":"text"},{"code":"width","type":"codeVoice"},{"type":"text","text":" by "},{"code":"height","type":"codeVoice"},{"text":" ","type":"text"},{"type":"codeVoice","code":"Bitmap"},{"text":" filled with ","type":"text"},{"type":"codeVoice","code":"bgcolor"},{"type":"text","text":"."}],"title":"init(width:height:bgColor:)","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/init(width:height:bgcolor:)","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Color":{"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Color","type":"topic","role":"symbol","title":"Playdate.Graphics.Color","url":"\/documentation\/playdatekit\/playdate\/graphics\/color","abstract":[],"fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Color","kind":"identifier"}],"navigatorTitle":[{"text":"Color","kind":"identifier"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/bitmap/load(from:)-39up6.json b/docs/data/documentation/playdatekit/playdate/graphics/bitmap/load(from:)-39up6.json new file mode 100644 index 00000000..a5d535a1 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/bitmap/load(from:)-39up6.json @@ -0,0 +1 @@ +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/load(from:)-39up6"},"kind":"symbol","sections":[],"schemaVersion":{"minor":3,"major":0,"patch":0},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/load(from:)-39up6"]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap"]]},"abstract":[{"type":"text","text":"Loads the image at "},{"code":"path","type":"codeVoice"},{"text":" into the bitmap.","type":"text"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"load"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"kind":"text","text":" "},{"kind":"internalParam","text":"path"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sp","text":"UnsafeMutablePointer","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"preciseIdentifier":"s:s5CChara","kind":"typeIdentifier","text":"CChar"},{"kind":"text","text":">) "},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"text":"Error","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error"},{"text":")","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}]}],"metadata":{"modules":[{"name":"PlaydateKit"}],"externalID":"s:11PlaydateKit0A0O8GraphicsO6BitmapC4load4fromySpys4Int8VG_tAC5ErrorVYKF","symbolKind":"method","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"load","kind":"identifier"},{"kind":"text","text":"("},{"text":"from","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UnsafeMutablePointer","kind":"typeIdentifier","preciseIdentifier":"s:Sp"},{"kind":"text","text":"<"},{"preciseIdentifier":"s:s5CChara","text":"CChar","kind":"typeIdentifier"},{"text":">) ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"Error","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV"},{"kind":"text","text":")"}],"roleHeading":"Instance Method","role":"symbol","title":"load(from:)"},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap/load(from:)-39up6":{"abstract":[{"type":"text","text":"Loads the image at "},{"type":"codeVoice","code":"path"},{"type":"text","text":" into the bitmap."}],"role":"symbol","kind":"symbol","title":"load(from:)","type":"topic","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/load(from:)-39up6","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/load(from:)-39up6","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"load","kind":"identifier"},{"text":"(","kind":"text"},{"text":"from","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sp","text":"UnsafeMutablePointer","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"preciseIdentifier":"s:s5CChara","text":"CChar","kind":"typeIdentifier"},{"text":">) ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":"("},{"preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","kind":"typeIdentifier","text":"Error"},{"text":")","kind":"text"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap":{"navigatorTitle":[{"text":"Bitmap","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Bitmap","kind":"identifier"}],"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"symbol","title":"Playdate.Graphics.Bitmap","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap","role":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Error":{"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Error"}],"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/error","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","title":"Playdate.Error","role":"symbol","type":"topic","abstract":[]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/bitmap/load(from:)-9wm1t.json b/docs/data/documentation/playdatekit/playdate/graphics/bitmap/load(from:)-9wm1t.json new file mode 100644 index 00000000..8f0f32a2 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/bitmap/load(from:)-9wm1t.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap"]]},"sections":[],"schemaVersion":{"patch":0,"major":0,"minor":3},"metadata":{"fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"load","kind":"identifier"},{"text":"(","kind":"text"},{"text":"from","kind":"externalParam"},{"kind":"text","text":": "},{"text":"StaticString","kind":"typeIdentifier","preciseIdentifier":"s:s12StaticStringV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"Error","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV"},{"text":")","kind":"text"}],"roleHeading":"Instance Method","externalID":"s:11PlaydateKit0A0O8GraphicsO6BitmapC4load4fromys12StaticStringV_tAC5ErrorVYKF","modules":[{"name":"PlaydateKit"}],"title":"load(from:)","symbolKind":"method","role":"symbol"},"abstract":[{"text":"Loads the image at ","type":"text"},{"code":"path","type":"codeVoice"},{"type":"text","text":" into the bitmap."}],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/load(from:)-9wm1t"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/load(from:)-9wm1t","interfaceLanguage":"swift"},"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"load","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"from"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"path"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s12StaticStringV","text":"StaticString"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":"(","kind":"text"},{"text":"Error","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV"},{"text":")","kind":"text"}]}]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Error":{"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Error"}],"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/error","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","title":"Playdate.Error","role":"symbol","type":"topic","abstract":[]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap":{"navigatorTitle":[{"text":"Bitmap","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Bitmap","kind":"identifier"}],"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"symbol","title":"Playdate.Graphics.Bitmap","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap","role":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap/load(from:)-9wm1t":{"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/load(from:)-9wm1t","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"load","kind":"identifier"},{"kind":"text","text":"("},{"text":"from","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s12StaticStringV","text":"StaticString"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"text":"Error","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV"},{"text":")","kind":"text"}],"abstract":[{"type":"text","text":"Loads the image at "},{"type":"codeVoice","code":"path"},{"type":"text","text":" into the bitmap."}],"title":"load(from:)","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/load(from:)-9wm1t","type":"topic","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/bitmap/mask.json b/docs/data/documentation/playdatekit/playdate/graphics/bitmap/mask.json new file mode 100644 index 00000000..9444917f --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/bitmap/mask.json @@ -0,0 +1 @@ +{"sections":[],"abstract":[{"text":"Gets\/sets a ","type":"text"},{"code":"mask","type":"codeVoice"},{"type":"text","text":" image for the bitmap, or returns nil if the bitmap doesn’t have a mask layer."},{"type":"text","text":" "},{"type":"text","text":"The set mask must be the same size as the target bitmap. The returned mask points to bitmap’s data,"},{"type":"text","text":" "},{"type":"text","text":"so drawing into the mask image affects the source bitmap directly."}],"metadata":{"symbolKind":"property","title":"mask","roleHeading":"Instance Property","role":"symbol","externalID":"s:11PlaydateKit0A0O8GraphicsO6BitmapC4maskAGSgvp","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"mask"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier","text":"Bitmap"},{"kind":"text","text":"?"}],"modules":[{"name":"PlaydateKit"}]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/mask"},"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/mask"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"mask","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Bitmap","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap"},{"text":"? { ","kind":"text"},{"kind":"keyword","text":"get"},{"text":" ","kind":"text"},{"kind":"keyword","text":"set"},{"text":" }","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}]}],"kind":"symbol","schemaVersion":{"major":0,"minor":3,"patch":0},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap"]]},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap/mask":{"url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/mask","title":"mask","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"mask"},{"kind":"text","text":": "},{"text":"Bitmap","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Gets\/sets a "},{"type":"codeVoice","code":"mask"},{"type":"text","text":" image for the bitmap, or returns nil if the bitmap doesn’t have a mask layer."},{"type":"text","text":" "},{"type":"text","text":"The set mask must be the same size as the target bitmap. The returned mask points to bitmap’s data,"},{"text":" ","type":"text"},{"type":"text","text":"so drawing into the mask image affects the source bitmap directly."}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/mask","type":"topic","role":"symbol","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap":{"navigatorTitle":[{"text":"Bitmap","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Bitmap","kind":"identifier"}],"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"symbol","title":"Playdate.Graphics.Bitmap","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap","role":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/bitmap/rotated(by:xscale:yscale:).json b/docs/data/documentation/playdatekit/playdate/graphics/bitmap/rotated(by:xscale:yscale:).json new file mode 100644 index 00000000..a81c4451 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/bitmap/rotated(by:xscale:yscale:).json @@ -0,0 +1 @@ +{"schemaVersion":{"major":0,"minor":3,"patch":0},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/rotated(by:xScale:yScale:)","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap"]]},"abstract":[{"text":"Returns a new, rotated and scaled ","type":"text"},{"code":"Bitmap","type":"codeVoice"},{"type":"text","text":" based on the given "},{"type":"codeVoice","code":"bitmap"},{"type":"text","text":"."}],"sections":[],"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"rotated","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"by"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"rotation"},{"text":": ","kind":"text"},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"xScale"},{"text":": ","kind":"text"},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"text":", ","kind":"text"},{"text":"yScale","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Float","preciseIdentifier":"s:Sf","kind":"typeIdentifier"},{"text":") -> (bitmap","kind":"text"},{"kind":"text","text":": "},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"typeIdentifier"},{"kind":"text","text":", allocatedSize"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"},{"kind":"text","text":")"}],"platforms":["macOS"]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/rotated(by:xscale:yscale:)"]}],"kind":"symbol","metadata":{"modules":[{"name":"PlaydateKit"}],"fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"rotated","kind":"identifier"},{"text":"(","kind":"text"},{"text":"by","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sf","text":"Float","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"xScale"},{"text":": ","kind":"text"},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"kind":"text","text":", "},{"text":"yScale","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"text":") -> (bitmap","kind":"text"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap"},{"text":", allocatedSize","kind":"text"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"kind":"text","text":")"}],"role":"symbol","externalID":"s:11PlaydateKit0A0O8GraphicsO6BitmapC7rotated2by6xScale01yG0AG6bitmap_s5Int32V13allocatedSizetSf_S2ftF","roleHeading":"Instance Method","title":"rotated(by:xScale:yScale:)","symbolKind":"method"},"references":{"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap":{"navigatorTitle":[{"text":"Bitmap","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Bitmap","kind":"identifier"}],"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"symbol","title":"Playdate.Graphics.Bitmap","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap","role":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap/rotated(by:xScale:yScale:)":{"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/rotated(by:xScale:yScale:)","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"rotated"},{"text":"(","kind":"text"},{"text":"by","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sf","text":"Float"},{"kind":"text","text":", "},{"kind":"externalParam","text":"xScale"},{"text":": ","kind":"text"},{"text":"Float","preciseIdentifier":"s:Sf","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"yScale","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sf","text":"Float"},{"text":") -> (bitmap","kind":"text"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap"},{"text":", allocatedSize","kind":"text"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CInt","preciseIdentifier":"s:s4CInta"},{"text":")","kind":"text"}],"abstract":[{"type":"text","text":"Returns a new, rotated and scaled "},{"code":"Bitmap","type":"codeVoice"},{"type":"text","text":" based on the given "},{"type":"codeVoice","code":"bitmap"},{"type":"text","text":"."}],"title":"rotated(by:xScale:yScale:)","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/rotated(by:xscale:yscale:)","type":"topic","role":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/bitmaptable.json b/docs/data/documentation/playdatekit/playdate/graphics/bitmaptable.json new file mode 100644 index 00000000..bbe7cc00 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/bitmaptable.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"BitmapTable"}],"languages":["swift"]}],"kind":"declarations"}],"metadata":{"role":"symbol","modules":[{"name":"PlaydateKit"}],"title":"Playdate.Graphics.BitmapTable","navigatorTitle":[{"text":"BitmapTable","kind":"identifier"}],"externalID":"s:11PlaydateKit0A0O8GraphicsO11BitmapTableC","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"BitmapTable","kind":"identifier"}],"roleHeading":"Class","symbolKind":"class"},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"]]},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/bitmaptable"]}],"topicSections":[{"identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/BitmapTable\/init(count:width:height:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/BitmapTable\/init(path:)-2zigw","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/BitmapTable\/init(path:)-8fybj"],"generated":true,"title":"Initializers"},{"identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/BitmapTable\/bitmap(at:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/BitmapTable\/load(from:)-2e5co","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/BitmapTable\/load(from:)-9txdn"],"generated":true,"title":"Instance Methods"}],"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/BitmapTable"},"schemaVersion":{"major":0,"minor":3,"patch":0},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/BitmapTable":{"kind":"symbol","navigatorTitle":[{"text":"BitmapTable","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmaptable","title":"Playdate.Graphics.BitmapTable","type":"topic","fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"BitmapTable"}],"role":"symbol","abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/BitmapTable"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/BitmapTable/bitmap(at:)":{"abstract":[{"type":"text","text":"Returns the "},{"code":"index","type":"codeVoice"},{"type":"text","text":" bitmap in "},{"code":"table","type":"codeVoice"},{"text":", If ","type":"text"},{"code":"index","type":"codeVoice"},{"type":"text","text":" is out of bounds, the function returns nil."}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/BitmapTable\/bitmap(at:)","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"bitmap"},{"kind":"text","text":"("},{"kind":"externalParam","text":"at"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"Bitmap","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC"},{"text":"?","kind":"text"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmaptable\/bitmap(at:)","role":"symbol","type":"topic","title":"bitmap(at:)","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/BitmapTable/init(count:width:height:)":{"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmaptable\/init(count:width:height:)","title":"init(count:width:height:)","type":"topic","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"count","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"width","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":", "},{"text":"height","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"kind":"text","text":")"}],"role":"symbol","abstract":[{"type":"text","text":"Allocates and returns a new "},{"code":"BitmapTable","type":"codeVoice"},{"text":" that can hold ","type":"text"},{"type":"codeVoice","code":"count"},{"text":" ","type":"text"},{"type":"codeVoice","code":"width"},{"text":" by ","type":"text"},{"type":"codeVoice","code":"height"},{"text":" ","type":"text"},{"code":"Bitmaps","type":"codeVoice"},{"type":"text","text":"."}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/BitmapTable\/init(count:width:height:)"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/BitmapTable/load(from:)-2e5co":{"abstract":[{"type":"text","text":"Loads the image table at "},{"code":"path","type":"codeVoice"},{"text":" into the previously allocated ","type":"text"},{"type":"codeVoice","code":"table"},{"text":".","type":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/BitmapTable\/load(from:)-2e5co","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"load","kind":"identifier"},{"text":"(","kind":"text"},{"text":"from","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s12StaticStringV","text":"StaticString"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"Error","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV"},{"text":")","kind":"text"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmaptable\/load(from:)-2e5co","role":"symbol","type":"topic","title":"load(from:)","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/BitmapTable/init(path:)-2zigw":{"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmaptable\/init(path:)-2zigw","title":"init(path:)","type":"topic","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"path","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"StaticString","preciseIdentifier":"s:s12StaticStringV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error","kind":"typeIdentifier"},{"kind":"text","text":")"}],"role":"symbol","abstract":[{"type":"text","text":"Allocates and returns a new "},{"code":"BitmapTable","type":"codeVoice"},{"type":"text","text":" from the file at "},{"code":"path","type":"codeVoice"},{"text":". If there is no file at ","type":"text"},{"type":"codeVoice","code":"path"},{"type":"text","text":", the function throws an error."}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/BitmapTable\/init(path:)-2zigw"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/BitmapTable/load(from:)-9txdn":{"abstract":[{"type":"text","text":"Loads the image table at "},{"type":"codeVoice","code":"path"},{"text":" into the previously allocated ","type":"text"},{"code":"table","type":"codeVoice"},{"type":"text","text":"."}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/BitmapTable\/load(from:)-9txdn","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"load"},{"text":"(","kind":"text"},{"text":"from","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sp","text":"UnsafeMutablePointer"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","preciseIdentifier":"s:s5CChara","text":"CChar"},{"text":">) ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"text":"Error","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV"},{"text":")","kind":"text"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmaptable\/load(from:)-9txdn","role":"symbol","type":"topic","title":"load(from:)","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/BitmapTable/init(path:)-8fybj":{"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmaptable\/init(path:)-8fybj","title":"init(path:)","type":"topic","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"text":"path","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sp","kind":"typeIdentifier","text":"UnsafeMutablePointer"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"CChar","preciseIdentifier":"s:s5CChara"},{"text":">) ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error"},{"text":")","kind":"text"}],"role":"symbol","abstract":[{"type":"text","text":"Allocates and returns a new "},{"type":"codeVoice","code":"BitmapTable"},{"text":" from the file at ","type":"text"},{"code":"path","type":"codeVoice"},{"type":"text","text":". If there is no file at "},{"code":"path","type":"codeVoice"},{"type":"text","text":", the function throws an error."}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/BitmapTable\/init(path:)-8fybj"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/bitmaptable/bitmap(at:).json b/docs/data/documentation/playdatekit/playdate/graphics/bitmaptable/bitmap(at:).json new file mode 100644 index 00000000..98aeed78 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/bitmaptable/bitmap(at:).json @@ -0,0 +1 @@ +{"kind":"symbol","schemaVersion":{"major":0,"minor":3,"patch":0},"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/graphics\/bitmaptable\/bitmap(at:)"],"traits":[{"interfaceLanguage":"swift"}]}],"abstract":[{"text":"Returns the ","type":"text"},{"type":"codeVoice","code":"index"},{"type":"text","text":" bitmap in "},{"type":"codeVoice","code":"table"},{"text":", If ","type":"text"},{"type":"codeVoice","code":"index"},{"type":"text","text":" is out of bounds, the function returns nil."}],"metadata":{"modules":[{"name":"PlaydateKit"}],"fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"bitmap","kind":"identifier"},{"text":"(","kind":"text"},{"text":"at","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"role":"symbol","externalID":"s:11PlaydateKit0A0O8GraphicsO11BitmapTableC6bitmap2atAE0D0CSgs5Int32V_tF","roleHeading":"Instance Method","title":"bitmap(at:)","symbolKind":"method"},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/BitmapTable\/bitmap(at:)"},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"bitmap","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"at"},{"text":" ","kind":"text"},{"text":"index","kind":"internalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"},{"text":") -> ","kind":"text"},{"text":"Bitmap","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"languages":["swift"]}],"kind":"declarations"}],"sections":[],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/BitmapTable"]]},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/BitmapTable":{"kind":"symbol","navigatorTitle":[{"text":"BitmapTable","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmaptable","title":"Playdate.Graphics.BitmapTable","type":"topic","fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"BitmapTable"}],"role":"symbol","abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/BitmapTable"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/BitmapTable/bitmap(at:)":{"abstract":[{"type":"text","text":"Returns the "},{"code":"index","type":"codeVoice"},{"type":"text","text":" bitmap in "},{"code":"table","type":"codeVoice"},{"text":", If ","type":"text"},{"code":"index","type":"codeVoice"},{"type":"text","text":" is out of bounds, the function returns nil."}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/BitmapTable\/bitmap(at:)","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"bitmap"},{"kind":"text","text":"("},{"kind":"externalParam","text":"at"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"Bitmap","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC"},{"text":"?","kind":"text"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmaptable\/bitmap(at:)","role":"symbol","type":"topic","title":"bitmap(at:)","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap":{"navigatorTitle":[{"text":"Bitmap","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Bitmap","kind":"identifier"}],"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"symbol","title":"Playdate.Graphics.Bitmap","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap","role":"symbol","type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/bitmaptable/init(count:width:height:).json b/docs/data/documentation/playdatekit/playdate/graphics/bitmaptable/init(count:width:height:).json new file mode 100644 index 00000000..be553e01 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/bitmaptable/init(count:width:height:).json @@ -0,0 +1 @@ +{"metadata":{"symbolKind":"init","modules":[{"name":"PlaydateKit"}],"role":"symbol","roleHeading":"Initializer","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"count","kind":"externalParam"},{"kind":"text","text":": "},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":", "},{"kind":"externalParam","text":"width"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"CInt","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"text":"height","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":")","kind":"text"}],"externalID":"s:11PlaydateKit0A0O8GraphicsO11BitmapTableC5count5width6heightAGs5Int32V_A2Ltcfc","title":"init(count:width:height:)"},"kind":"symbol","primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"init"},{"text":"(","kind":"text"},{"text":"count","kind":"externalParam"},{"kind":"text","text":": "},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"width"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"height"},{"text":": ","kind":"text"},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"text":")","kind":"text"}],"languages":["swift"]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/bitmaptable\/init(count:width:height:)"]}],"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/BitmapTable\/init(count:width:height:)"},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/BitmapTable"]]},"abstract":[{"type":"text","text":"Allocates and returns a new "},{"type":"codeVoice","code":"BitmapTable"},{"text":" that can hold ","type":"text"},{"code":"count","type":"codeVoice"},{"text":" ","type":"text"},{"type":"codeVoice","code":"width"},{"text":" by ","type":"text"},{"code":"height","type":"codeVoice"},{"type":"text","text":" "},{"type":"codeVoice","code":"Bitmaps"},{"type":"text","text":"."}],"schemaVersion":{"major":0,"patch":0,"minor":3},"references":{"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/BitmapTable/init(count:width:height:)":{"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmaptable\/init(count:width:height:)","title":"init(count:width:height:)","type":"topic","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"count","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"width","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":", "},{"text":"height","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"kind":"text","text":")"}],"role":"symbol","abstract":[{"type":"text","text":"Allocates and returns a new "},{"code":"BitmapTable","type":"codeVoice"},{"text":" that can hold ","type":"text"},{"type":"codeVoice","code":"count"},{"text":" ","type":"text"},{"type":"codeVoice","code":"width"},{"text":" by ","type":"text"},{"type":"codeVoice","code":"height"},{"text":" ","type":"text"},{"code":"Bitmaps","type":"codeVoice"},{"type":"text","text":"."}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/BitmapTable\/init(count:width:height:)"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/BitmapTable":{"kind":"symbol","navigatorTitle":[{"text":"BitmapTable","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmaptable","title":"Playdate.Graphics.BitmapTable","type":"topic","fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"BitmapTable"}],"role":"symbol","abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/BitmapTable"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/bitmaptable/init(path:)-2zigw.json b/docs/data/documentation/playdatekit/playdate/graphics/bitmaptable/init(path:)-2zigw.json new file mode 100644 index 00000000..3f51127e --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/bitmaptable/init(path:)-2zigw.json @@ -0,0 +1 @@ +{"abstract":[{"type":"text","text":"Allocates and returns a new "},{"type":"codeVoice","code":"BitmapTable"},{"text":" from the file at ","type":"text"},{"code":"path","type":"codeVoice"},{"text":". If there is no file at ","type":"text"},{"code":"path","type":"codeVoice"},{"text":", the function throws an error.","type":"text"}],"kind":"symbol","metadata":{"symbolKind":"init","externalID":"s:11PlaydateKit0A0O8GraphicsO11BitmapTableC4pathAGs12StaticStringV_tAC5ErrorVYKcfc","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"path","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s12StaticStringV","text":"StaticString","kind":"typeIdentifier"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"Error","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV"},{"text":")","kind":"text"}],"roleHeading":"Initializer","role":"symbol","title":"init(path:)","modules":[{"name":"PlaydateKit"}]},"schemaVersion":{"minor":3,"patch":0,"major":0},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/BitmapTable"]]},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/BitmapTable\/init(path:)-2zigw","interfaceLanguage":"swift"},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/bitmaptable\/init(path:)-2zigw"]}],"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"init","kind":"keyword"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"path"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"StaticString","preciseIdentifier":"s:s12StaticStringV"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","text":"Error"},{"text":")","kind":"text"}],"platforms":["macOS"]}],"kind":"declarations"}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/BitmapTable/init(path:)-2zigw":{"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmaptable\/init(path:)-2zigw","title":"init(path:)","type":"topic","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"path","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"StaticString","preciseIdentifier":"s:s12StaticStringV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error","kind":"typeIdentifier"},{"kind":"text","text":")"}],"role":"symbol","abstract":[{"type":"text","text":"Allocates and returns a new "},{"code":"BitmapTable","type":"codeVoice"},{"type":"text","text":" from the file at "},{"code":"path","type":"codeVoice"},{"text":". If there is no file at ","type":"text"},{"type":"codeVoice","code":"path"},{"type":"text","text":", the function throws an error."}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/BitmapTable\/init(path:)-2zigw"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Error":{"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Error"}],"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/error","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","title":"Playdate.Error","role":"symbol","type":"topic","abstract":[]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/BitmapTable":{"kind":"symbol","navigatorTitle":[{"text":"BitmapTable","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmaptable","title":"Playdate.Graphics.BitmapTable","type":"topic","fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"BitmapTable"}],"role":"symbol","abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/BitmapTable"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/bitmaptable/init(path:)-8fybj.json b/docs/data/documentation/playdatekit/playdate/graphics/bitmaptable/init(path:)-8fybj.json new file mode 100644 index 00000000..20ed34e5 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/bitmaptable/init(path:)-8fybj.json @@ -0,0 +1 @@ +{"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/graphics\/bitmaptable\/init(path:)-8fybj"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","abstract":[{"type":"text","text":"Allocates and returns a new "},{"code":"BitmapTable","type":"codeVoice"},{"type":"text","text":" from the file at "},{"type":"codeVoice","code":"path"},{"type":"text","text":". If there is no file at "},{"type":"codeVoice","code":"path"},{"type":"text","text":", the function throws an error."}],"schemaVersion":{"major":0,"minor":3,"patch":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/BitmapTable\/init(path:)-8fybj"},"sections":[],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/BitmapTable"]]},"metadata":{"role":"symbol","title":"init(path:)","externalID":"s:11PlaydateKit0A0O8GraphicsO11BitmapTableC4pathAGSpys4Int8VG_tAC5ErrorVYKcfc","symbolKind":"init","modules":[{"name":"PlaydateKit"}],"roleHeading":"Initializer","fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"text":"path","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sp","text":"UnsafeMutablePointer"},{"kind":"text","text":"<"},{"preciseIdentifier":"s:s5CChara","kind":"typeIdentifier","text":"CChar"},{"kind":"text","text":">) "},{"kind":"keyword","text":"throws"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error"},{"text":")","kind":"text"}]},"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"text":"(","kind":"text"},{"text":"path","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sp","text":"UnsafeMutablePointer"},{"text":"<","kind":"text"},{"text":"CChar","preciseIdentifier":"s:s5CChara","kind":"typeIdentifier"},{"kind":"text","text":">) "},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","text":"Error"},{"text":")","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/BitmapTable":{"kind":"symbol","navigatorTitle":[{"text":"BitmapTable","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmaptable","title":"Playdate.Graphics.BitmapTable","type":"topic","fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"BitmapTable"}],"role":"symbol","abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/BitmapTable"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Error":{"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Error"}],"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/error","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","title":"Playdate.Error","role":"symbol","type":"topic","abstract":[]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/BitmapTable/init(path:)-8fybj":{"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmaptable\/init(path:)-8fybj","title":"init(path:)","type":"topic","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"text":"path","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sp","kind":"typeIdentifier","text":"UnsafeMutablePointer"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"CChar","preciseIdentifier":"s:s5CChara"},{"text":">) ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error"},{"text":")","kind":"text"}],"role":"symbol","abstract":[{"type":"text","text":"Allocates and returns a new "},{"type":"codeVoice","code":"BitmapTable"},{"text":" from the file at ","type":"text"},{"code":"path","type":"codeVoice"},{"type":"text","text":". If there is no file at "},{"code":"path","type":"codeVoice"},{"type":"text","text":", the function throws an error."}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/BitmapTable\/init(path:)-8fybj"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/bitmaptable/load(from:)-2e5co.json b/docs/data/documentation/playdatekit/playdate/graphics/bitmaptable/load(from:)-2e5co.json new file mode 100644 index 00000000..4c346929 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/bitmaptable/load(from:)-2e5co.json @@ -0,0 +1 @@ +{"kind":"symbol","metadata":{"role":"symbol","title":"load(from:)","externalID":"s:11PlaydateKit0A0O8GraphicsO11BitmapTableC4load4fromys12StaticStringV_tAC5ErrorVYKF","symbolKind":"method","modules":[{"name":"PlaydateKit"}],"roleHeading":"Instance Method","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"load"},{"text":"(","kind":"text"},{"text":"from","kind":"externalParam"},{"kind":"text","text":": "},{"text":"StaticString","kind":"typeIdentifier","preciseIdentifier":"s:s12StaticStringV"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"text":"Error","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV"},{"text":")","kind":"text"}]},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/BitmapTable\/load(from:)-2e5co","interfaceLanguage":"swift"},"schemaVersion":{"major":0,"minor":3,"patch":0},"abstract":[{"text":"Loads the image table at ","type":"text"},{"type":"codeVoice","code":"path"},{"text":" into the previously allocated ","type":"text"},{"type":"codeVoice","code":"table"},{"text":".","type":"text"}],"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"load","kind":"identifier"},{"kind":"text","text":"("},{"text":"from","kind":"externalParam"},{"kind":"text","text":" "},{"text":"path","kind":"internalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s12StaticStringV","kind":"typeIdentifier","text":"StaticString"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","text":"Error"},{"text":")","kind":"text"}],"platforms":["macOS"]}],"kind":"declarations"}],"sections":[],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/BitmapTable"]]},"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/graphics\/bitmaptable\/load(from:)-2e5co"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/BitmapTable":{"kind":"symbol","navigatorTitle":[{"text":"BitmapTable","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmaptable","title":"Playdate.Graphics.BitmapTable","type":"topic","fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"BitmapTable"}],"role":"symbol","abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/BitmapTable"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Error":{"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Error"}],"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/error","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","title":"Playdate.Error","role":"symbol","type":"topic","abstract":[]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/BitmapTable/load(from:)-2e5co":{"abstract":[{"type":"text","text":"Loads the image table at "},{"code":"path","type":"codeVoice"},{"text":" into the previously allocated ","type":"text"},{"type":"codeVoice","code":"table"},{"text":".","type":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/BitmapTable\/load(from:)-2e5co","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"load","kind":"identifier"},{"text":"(","kind":"text"},{"text":"from","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s12StaticStringV","text":"StaticString"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"Error","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV"},{"text":")","kind":"text"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmaptable\/load(from:)-2e5co","role":"symbol","type":"topic","title":"load(from:)","kind":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/bitmaptable/load(from:)-9txdn.json b/docs/data/documentation/playdatekit/playdate/graphics/bitmaptable/load(from:)-9txdn.json new file mode 100644 index 00000000..6295bf70 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/bitmaptable/load(from:)-9txdn.json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/bitmaptable\/load(from:)-9txdn"]}],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"load","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"from"},{"text":" ","kind":"text"},{"text":"path","kind":"internalParam"},{"kind":"text","text":": "},{"text":"UnsafeMutablePointer","kind":"typeIdentifier","preciseIdentifier":"s:Sp"},{"text":"<","kind":"text"},{"preciseIdentifier":"s:s5CChara","text":"CChar","kind":"typeIdentifier"},{"kind":"text","text":">) "},{"kind":"keyword","text":"throws"},{"kind":"text","text":"("},{"preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","kind":"typeIdentifier","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","text":"Error"},{"kind":"text","text":")"}],"languages":["swift"]}]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/BitmapTable"]]},"metadata":{"title":"load(from:)","modules":[{"name":"PlaydateKit"}],"externalID":"s:11PlaydateKit0A0O8GraphicsO11BitmapTableC4load4fromySpys4Int8VG_tAC5ErrorVYKF","symbolKind":"method","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"load"},{"text":"(","kind":"text"},{"text":"from","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UnsafeMutablePointer","preciseIdentifier":"s:Sp","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"preciseIdentifier":"s:s5CChara","text":"CChar","kind":"typeIdentifier"},{"text":">) ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"text":"Error","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","kind":"typeIdentifier"},{"kind":"text","text":")"}],"roleHeading":"Instance Method"},"schemaVersion":{"minor":3,"major":0,"patch":0},"sections":[],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/BitmapTable\/load(from:)-9txdn","interfaceLanguage":"swift"},"abstract":[{"text":"Loads the image table at ","type":"text"},{"type":"codeVoice","code":"path"},{"type":"text","text":" into the previously allocated "},{"type":"codeVoice","code":"table"},{"type":"text","text":"."}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Error":{"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Error"}],"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/error","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","title":"Playdate.Error","role":"symbol","type":"topic","abstract":[]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/BitmapTable/load(from:)-9txdn":{"abstract":[{"type":"text","text":"Loads the image table at "},{"type":"codeVoice","code":"path"},{"text":" into the previously allocated ","type":"text"},{"code":"table","type":"codeVoice"},{"type":"text","text":"."}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/BitmapTable\/load(from:)-9txdn","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"load"},{"text":"(","kind":"text"},{"text":"from","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sp","text":"UnsafeMutablePointer"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","preciseIdentifier":"s:s5CChara","text":"CChar"},{"text":">) ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"text":"Error","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV"},{"text":")","kind":"text"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmaptable\/load(from:)-9txdn","role":"symbol","type":"topic","title":"load(from:)","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/BitmapTable":{"kind":"symbol","navigatorTitle":[{"text":"BitmapTable","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmaptable","title":"Playdate.Graphics.BitmapTable","type":"topic","fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"BitmapTable"}],"role":"symbol","abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/BitmapTable"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/checkmaskcollision(bitmap1:x1:y1:flip1:bitmap2:x2:y2:flip2:rect:).json b/docs/data/documentation/playdatekit/playdate/graphics/checkmaskcollision(bitmap1:x1:y1:flip1:bitmap2:x2:y2:flip2:rect:).json new file mode 100644 index 00000000..f5e99cdc --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/checkmaskcollision(bitmap1:x1:y1:flip1:bitmap2:x2:y2:flip2:rect:).json @@ -0,0 +1 @@ +{"schemaVersion":{"patch":0,"minor":3,"major":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/checkMaskCollision(bitmap1:x1:y1:flip1:bitmap2:x2:y2:flip2:rect:)"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/checkmaskcollision(bitmap1:x1:y1:flip1:bitmap2:x2:y2:flip2:rect:)"]}],"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"checkMaskCollision"},{"kind":"text","text":"("},{"text":"bitmap1","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Bitmap","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"x1","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"kind":"text","text":", "},{"kind":"externalParam","text":"y1"},{"text":": ","kind":"text"},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"flip1","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","text":"Bitmap"},{"text":".","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC4Flipa","kind":"typeIdentifier","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/Flip","text":"Flip"},{"kind":"text","text":", "},{"text":"bitmap2","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"x2","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"CInt","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":", "},{"kind":"externalParam","text":"y2"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"},{"kind":"text","text":", "},{"text":"flip2","kind":"externalParam"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap"},{"kind":"text","text":"."},{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/Flip","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC4Flipa","kind":"typeIdentifier","text":"Flip"},{"kind":"text","text":", "},{"text":"rect","kind":"externalParam"},{"kind":"text","text":": "},{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Rect","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO4Recta","text":"Rect","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"kind":"symbol","abstract":[{"type":"text","text":"Returns true if any of the opaque pixels in "},{"type":"codeVoice","code":"bitmap1"},{"text":" when positioned at ","type":"text"},{"code":"x1","type":"codeVoice"},{"type":"text","text":", "},{"code":"y1","type":"codeVoice"},{"type":"text","text":" with "},{"code":"flip1","type":"codeVoice"},{"type":"text","text":" overlap any"},{"type":"text","text":" "},{"type":"text","text":"of the opaque pixels in "},{"code":"bitmap2","type":"codeVoice"},{"type":"text","text":" at "},{"type":"codeVoice","code":"x2"},{"text":", ","type":"text"},{"code":"y2","type":"codeVoice"},{"text":" with ","type":"text"},{"code":"flip2","type":"codeVoice"},{"type":"text","text":" within the non-empty rect, or false"},{"text":" ","type":"text"},{"text":"if no pixels overlap or if one or both fall completely outside of rect.","type":"text"}],"sections":[],"metadata":{"modules":[{"name":"PlaydateKit"}],"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"checkMaskCollision"},{"text":"(","kind":"text"},{"text":"bitmap1","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Bitmap","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC"},{"kind":"text","text":", "},{"text":"x1","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"y1"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"text":"flip1","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap","kind":"typeIdentifier"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC4Flipa","text":"Flip"},{"kind":"text","text":", "},{"text":"bitmap2","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"x2"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"y2"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":", "},{"text":"flip2","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Bitmap","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC"},{"kind":"text","text":"."},{"text":"Flip","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC4Flipa","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"rect","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO4Recta","kind":"typeIdentifier","text":"Rect"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"}],"role":"symbol","externalID":"s:11PlaydateKit0A0O8GraphicsO18checkMaskCollision7bitmap12x12y15flip17bitmap22x22y25flip24rectSbAE6BitmapC_s5Int32VASSo13LCDBitmapFlipaAq2sUSo7LCDRectatFZ","roleHeading":"Type Method","title":"checkMaskCollision(bitmap1:x1:y1:flip1:bitmap2:x2:y2:flip2:rect:)","symbolKind":"method"},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"]]},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/checkMaskCollision(bitmap1:x1:y1:flip1:bitmap2:x2:y2:flip2:rect:)":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/checkMaskCollision(bitmap1:x1:y1:flip1:bitmap2:x2:y2:flip2:rect:)","title":"checkMaskCollision(bitmap1:x1:y1:flip1:bitmap2:x2:y2:flip2:rect:)","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/graphics\/checkmaskcollision(bitmap1:x1:y1:flip1:bitmap2:x2:y2:flip2:rect:)","abstract":[{"text":"Returns true if any of the opaque pixels in ","type":"text"},{"code":"bitmap1","type":"codeVoice"},{"type":"text","text":" when positioned at "},{"code":"x1","type":"codeVoice"},{"type":"text","text":", "},{"type":"codeVoice","code":"y1"},{"type":"text","text":" with "},{"type":"codeVoice","code":"flip1"},{"type":"text","text":" overlap any"},{"type":"text","text":" "},{"type":"text","text":"of the opaque pixels in "},{"type":"codeVoice","code":"bitmap2"},{"text":" at ","type":"text"},{"type":"codeVoice","code":"x2"},{"text":", ","type":"text"},{"type":"codeVoice","code":"y2"},{"text":" with ","type":"text"},{"type":"codeVoice","code":"flip2"},{"text":" within the non-empty rect, or false","type":"text"},{"type":"text","text":" "},{"text":"if no pixels overlap or if one or both fall completely outside of rect.","type":"text"}],"kind":"symbol","type":"topic","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"checkMaskCollision","kind":"identifier"},{"text":"(","kind":"text"},{"text":"bitmap1","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Bitmap","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC"},{"kind":"text","text":", "},{"text":"x1","kind":"externalParam"},{"kind":"text","text":": "},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"y1","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"CInt","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"flip1"},{"kind":"text","text":": "},{"text":"Bitmap","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier"},{"kind":"text","text":"."},{"text":"Flip","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC4Flipa","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"bitmap2"},{"kind":"text","text":": "},{"text":"Bitmap","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"x2","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"y2"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"flip2"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier","text":"Bitmap"},{"kind":"text","text":"."},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC4Flipa","kind":"typeIdentifier","text":"Flip"},{"kind":"text","text":", "},{"text":"rect","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Rect","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO4Recta","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap":{"navigatorTitle":[{"text":"Bitmap","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Bitmap","kind":"identifier"}],"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"symbol","title":"Playdate.Graphics.Bitmap","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap","role":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap/Flip":{"abstract":[],"type":"topic","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/flip","role":"symbol","title":"Playdate.Graphics.Bitmap.Flip","kind":"symbol","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Flip","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Flip"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/Flip"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Rect":{"fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Rect"}],"abstract":[],"navigatorTitle":[{"kind":"identifier","text":"Rect"}],"type":"topic","kind":"symbol","role":"symbol","title":"Playdate.Graphics.Rect","url":"\/documentation\/playdatekit\/playdate\/graphics\/rect","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Rect"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/clear(color:).json b/docs/data/documentation/playdatekit/playdate/graphics/clear(color:).json new file mode 100644 index 00000000..f6e4e917 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/clear(color:).json @@ -0,0 +1 @@ +{"sections":[],"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"clear"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"color"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Color","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Color","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO5Colora"},{"kind":"text","text":" = LCDColor(LCDSolidColor.clear.rawValue))"}],"platforms":["macOS"]}],"kind":"declarations"}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"]]},"kind":"symbol","abstract":[{"text":"Clears the entire display, filling it with ","type":"text"},{"type":"codeVoice","code":"color"},{"type":"text","text":"."}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/clear(color:)"]}],"schemaVersion":{"minor":3,"major":0,"patch":0},"metadata":{"modules":[{"name":"PlaydateKit"}],"externalID":"s:11PlaydateKit0A0O8GraphicsO5clear5colorySu_tFZ","roleHeading":"Type Method","title":"clear(color:)","role":"symbol","symbolKind":"method","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"clear"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"color"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO5Colora","text":"Color"},{"text":")","kind":"text"}]},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/clear(color:)","interfaceLanguage":"swift"},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Color":{"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Color","type":"topic","role":"symbol","title":"Playdate.Graphics.Color","url":"\/documentation\/playdatekit\/playdate\/graphics\/color","abstract":[],"fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Color","kind":"identifier"}],"navigatorTitle":[{"text":"Color","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/clear(color:)":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/clear(color:)","type":"topic","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"clear","kind":"identifier"},{"text":"(","kind":"text"},{"text":"color","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Color","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO5Colora"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Clears the entire display, filling it with "},{"type":"codeVoice","code":"color"},{"type":"text","text":"."}],"title":"clear(color:)","role":"symbol","kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/graphics\/clear(color:)"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/clearcliprect().json b/docs/data/documentation/playdatekit/playdate/graphics/clearcliprect().json new file mode 100644 index 00000000..8b8ccbde --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/clearcliprect().json @@ -0,0 +1 @@ +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/clearClipRect()"},"kind":"symbol","sections":[],"schemaVersion":{"minor":3,"major":0,"patch":0},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/clearcliprect()"]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"]]},"abstract":[{"type":"text","text":"Clears the current clip rect."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"clearClipRect"},{"kind":"text","text":"()"}],"platforms":["macOS"]}]}],"metadata":{"modules":[{"name":"PlaydateKit"}],"externalID":"s:11PlaydateKit0A0O8GraphicsO13clearClipRectyyFZ","symbolKind":"method","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"clearClipRect","kind":"identifier"},{"text":"()","kind":"text"}],"roleHeading":"Type Method","role":"symbol","title":"clearClipRect()"},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/clearClipRect()":{"url":"\/documentation\/playdatekit\/playdate\/graphics\/clearcliprect()","kind":"symbol","abstract":[{"text":"Clears the current clip rect.","type":"text"}],"title":"clearClipRect()","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/clearClipRect()","role":"symbol","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"clearClipRect"},{"text":"()","kind":"text"}],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/color.json b/docs/data/documentation/playdatekit/playdate/graphics/color.json new file mode 100644 index 00000000..bb35ea58 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/color.json @@ -0,0 +1 @@ +{"schemaVersion":{"patch":0,"major":0,"minor":3},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Color","interfaceLanguage":"swift"},"sections":[],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/graphics\/color"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"roleHeading":"Type Alias","externalID":"s:11PlaydateKit0A0O8GraphicsO5Colora","symbolKind":"typealias","navigatorTitle":[{"text":"Color","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Color"}],"title":"Playdate.Graphics.Color","modules":[{"name":"PlaydateKit"}],"role":"symbol"},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"]]},"primaryContentSections":[{"declarations":[{"tokens":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"text":"Color","kind":"identifier"},{"text":" = ","kind":"text"},{"text":"LCDColor","kind":"typeIdentifier","preciseIdentifier":"c:@T@LCDColor"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Color":{"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Color","type":"topic","role":"symbol","title":"Playdate.Graphics.Color","url":"\/documentation\/playdatekit\/playdate\/graphics\/color","abstract":[],"fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Color","kind":"identifier"}],"navigatorTitle":[{"text":"Color","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/colorfrompattern(_:x:y:).json b/docs/data/documentation/playdatekit/playdate/graphics/colorfrompattern(_:x:y:).json new file mode 100644 index 00000000..f470016b --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/colorfrompattern(_:x:y:).json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"]]},"metadata":{"title":"colorFromPattern(_:x:y:)","roleHeading":"Type Method","symbolKind":"method","role":"symbol","modules":[{"name":"PlaydateKit"}],"fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"colorFromPattern","kind":"identifier"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"x"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"y"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO5Colora","text":"Color","kind":"typeIdentifier"}],"externalID":"s:11PlaydateKit0A0O8GraphicsO16colorFromPattern_1x1ySuAE6BitmapC_s5Int32VALtFZ"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/colorfrompattern(_:x:y:)"]}],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/colorFromPattern(_:x:y:)","interfaceLanguage":"swift"},"sections":[],"schemaVersion":{"major":0,"minor":3,"patch":0},"abstract":[{"type":"text","text":"Returns a color using an 8 x 8 pattern using the given "},{"code":"bitmap","type":"codeVoice"},{"type":"text","text":". "},{"type":"codeVoice","code":"x"},{"type":"text","text":", "},{"code":"y","type":"codeVoice"},{"text":" indicates the top left corner of the 8 x 8 pattern.","type":"text"}],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"colorFromPattern"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"text":"pattern","kind":"internalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap"},{"kind":"text","text":", "},{"kind":"externalParam","text":"x"},{"kind":"text","text":": "},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":", "},{"kind":"externalParam","text":"y"},{"text":": ","kind":"text"},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Color","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO5Colora","text":"Color","kind":"typeIdentifier"}],"platforms":["macOS"],"languages":["swift"]}]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap":{"navigatorTitle":[{"text":"Bitmap","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Bitmap","kind":"identifier"}],"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"symbol","title":"Playdate.Graphics.Bitmap","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap","role":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/colorFromPattern(_:x:y:)":{"url":"\/documentation\/playdatekit\/playdate\/graphics\/colorfrompattern(_:x:y:)","title":"colorFromPattern(_:x:y:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"colorFromPattern","kind":"identifier"},{"text":"(","kind":"text"},{"text":"Bitmap","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"x","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"CInt","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"y"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"},{"kind":"text","text":") -> "},{"text":"Color","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO5Colora"}],"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/colorFromPattern(_:x:y:)","role":"symbol","abstract":[{"type":"text","text":"Returns a color using an 8 x 8 pattern using the given "},{"type":"codeVoice","code":"bitmap"},{"text":". ","type":"text"},{"code":"x","type":"codeVoice"},{"text":", ","type":"text"},{"code":"y","type":"codeVoice"},{"type":"text","text":" indicates the top left corner of the 8 x 8 pattern."}],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Color":{"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Color","type":"topic","role":"symbol","title":"Playdate.Graphics.Color","url":"\/documentation\/playdatekit\/playdate\/graphics\/color","abstract":[],"fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Color","kind":"identifier"}],"navigatorTitle":[{"text":"Color","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/copyframebufferbitmap().json b/docs/data/documentation/playdatekit/playdate/graphics/copyframebufferbitmap().json new file mode 100644 index 00000000..f6d6856c --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/copyframebufferbitmap().json @@ -0,0 +1 @@ +{"schemaVersion":{"major":0,"minor":3,"patch":0},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/copyFrameBufferBitmap()","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/copyframebufferbitmap()"]}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"copyFrameBufferBitmap"},{"text":"() -> ","kind":"text"},{"text":"Bitmap","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier"},{"text":"?","kind":"text"}]}],"kind":"declarations"}],"kind":"symbol","abstract":[{"type":"text","text":"Returns a copy the contents of the working frame buffer as a bitmap."}],"sections":[],"metadata":{"modules":[{"name":"PlaydateKit"}],"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"copyFrameBufferBitmap"},{"text":"() -> ","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier","text":"Bitmap"},{"text":"?","kind":"text"}],"role":"symbol","externalID":"s:11PlaydateKit0A0O8GraphicsO21copyFrameBufferBitmapAE0G0CSgyFZ","roleHeading":"Type Method","title":"copyFrameBufferBitmap()","symbolKind":"method"},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"]]},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/copyFrameBufferBitmap()":{"abstract":[{"type":"text","text":"Returns a copy the contents of the working frame buffer as a bitmap."}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/copyFrameBufferBitmap()","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"copyFrameBufferBitmap"},{"text":"() -> ","kind":"text"},{"text":"Bitmap","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC"},{"text":"?","kind":"text"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/copyframebufferbitmap()","role":"symbol","type":"topic","title":"copyFrameBufferBitmap()","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap":{"navigatorTitle":[{"text":"Bitmap","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Bitmap","kind":"identifier"}],"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"symbol","title":"Playdate.Graphics.Bitmap","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap","role":"symbol","type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/display().json b/docs/data/documentation/playdatekit/playdate/graphics/display().json new file mode 100644 index 00000000..ed0a2200 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/display().json @@ -0,0 +1 @@ +{"kind":"symbol","hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"]]},"schemaVersion":{"patch":0,"major":0,"minor":3},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/display()"},"metadata":{"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"display"},{"text":"()","kind":"text"}],"externalID":"s:11PlaydateKit0A0O8GraphicsO7displayyyFZ","modules":[{"name":"PlaydateKit"}],"title":"display()","role":"symbol","roleHeading":"Type Method","symbolKind":"method"},"abstract":[{"type":"text","text":"Manually flushes the current frame buffer out to the display. This function is automatically called"},{"type":"text","text":" "},{"text":"after each pass through the run loop, so there shouldn’t be any need to call it yourself.","type":"text"}],"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"display","kind":"identifier"},{"text":"()","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"sections":[],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/graphics\/display()"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/display()":{"abstract":[{"type":"text","text":"Manually flushes the current frame buffer out to the display. This function is automatically called"},{"text":" ","type":"text"},{"text":"after each pass through the run loop, so there shouldn’t be any need to call it yourself.","type":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/display()","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"display"},{"kind":"text","text":"()"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/display()","title":"display()","role":"symbol","kind":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/drawbitmap(_:x:y:degrees:centerx:centery:xscale:yscale:).json b/docs/data/documentation/playdatekit/playdate/graphics/drawbitmap(_:x:y:degrees:centerx:centery:xscale:yscale:).json new file mode 100644 index 00000000..09f4bc60 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/drawbitmap(_:x:y:degrees:centerx:centery:xscale:yscale:).json @@ -0,0 +1 @@ +{"kind":"symbol","sections":[],"primaryContentSections":[{"declarations":[{"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"drawBitmap"},{"kind":"text","text":"("},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"bitmap","kind":"internalParam"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap"},{"text":", ","kind":"text"},{"text":"x","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":", ","kind":"text"},{"text":"y","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":", ","kind":"text"},{"text":"degrees","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"text":", ","kind":"text"},{"text":"centerX","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sf","text":"Float"},{"text":", ","kind":"text"},{"text":"centerY","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sf","text":"Float","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"xScale","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Float","preciseIdentifier":"s:Sf","kind":"typeIdentifier"},{"text":" = 1, ","kind":"text"},{"kind":"externalParam","text":"yScale"},{"text":": ","kind":"text"},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"text":" = 1)","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/drawbitmap(_:x:y:degrees:centerx:centery:xscale:yscale:)"]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"metadata":{"externalID":"s:11PlaydateKit0A0O8GraphicsO10drawBitmap_1x1y7degrees7centerX0G1Y6xScale01yH0yAE0E0C_s5Int32VAQS5ftFZ","roleHeading":"Type Method","modules":[{"name":"PlaydateKit"}],"title":"drawBitmap(_:x:y:degrees:centerX:centerY:xScale:yScale:)","role":"symbol","symbolKind":"method","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"drawBitmap"},{"kind":"text","text":"("},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier","text":"Bitmap"},{"text":", ","kind":"text"},{"text":"x","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"y","kind":"externalParam"},{"kind":"text","text":": "},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":", "},{"text":"degrees","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"text":", ","kind":"text"},{"text":"centerX","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"text":", ","kind":"text"},{"text":"centerY","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"kind":"text","text":", "},{"text":"xScale","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sf","kind":"typeIdentifier","text":"Float"},{"text":", ","kind":"text"},{"text":"yScale","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sf","text":"Float","kind":"typeIdentifier"},{"text":")","kind":"text"}]},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/drawBitmap(_:x:y:degrees:centerX:centerY:xScale:yScale:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Draws the "},{"type":"codeVoice","code":"bitmap"},{"type":"text","text":" scaled to "},{"code":"xScale","type":"codeVoice"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"yScale"},{"type":"text","text":" then rotated by "},{"code":"degrees","type":"codeVoice"},{"type":"text","text":" with its center as given by proportions"},{"type":"text","text":" "},{"type":"codeVoice","code":"centerX"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"centerY"},{"text":" at ","type":"text"},{"code":"x","type":"codeVoice"},{"text":", ","type":"text"},{"code":"y","type":"codeVoice"},{"type":"text","text":"; that is: if "},{"type":"codeVoice","code":"centerX"},{"type":"text","text":" and "},{"type":"codeVoice","code":"centerY"},{"type":"text","text":" are both 0.5 the center of the image is at (x,y),"},{"type":"text","text":" "},{"text":"if ","type":"text"},{"code":"centerX","type":"codeVoice"},{"type":"text","text":" and "},{"type":"codeVoice","code":"centerY"},{"type":"text","text":" are both 0 the top left corner of the image (before rotation) is at (x,y), etc."}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/drawBitmap(_:x:y:degrees:centerX:centerY:xScale:yScale:)":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/drawBitmap(_:x:y:degrees:centerX:centerY:xScale:yScale:)","url":"\/documentation\/playdatekit\/playdate\/graphics\/drawbitmap(_:x:y:degrees:centerx:centery:xscale:yscale:)","type":"topic","abstract":[{"text":"Draws the ","type":"text"},{"type":"codeVoice","code":"bitmap"},{"text":" scaled to ","type":"text"},{"type":"codeVoice","code":"xScale"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"yScale"},{"type":"text","text":" then rotated by "},{"code":"degrees","type":"codeVoice"},{"type":"text","text":" with its center as given by proportions"},{"type":"text","text":" "},{"code":"centerX","type":"codeVoice"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"centerY"},{"text":" at ","type":"text"},{"type":"codeVoice","code":"x"},{"text":", ","type":"text"},{"code":"y","type":"codeVoice"},{"text":"; that is: if ","type":"text"},{"type":"codeVoice","code":"centerX"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"centerY"},{"text":" are both 0.5 the center of the image is at (x,y),","type":"text"},{"type":"text","text":" "},{"type":"text","text":"if "},{"code":"centerX","type":"codeVoice"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"centerY"},{"type":"text","text":" are both 0 the top left corner of the image (before rotation) is at (x,y), etc."}],"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"drawBitmap","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"x","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"text":"y","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"degrees","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"kind":"text","text":", "},{"text":"centerX","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Float","preciseIdentifier":"s:Sf","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"centerY"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sf","kind":"typeIdentifier","text":"Float"},{"kind":"text","text":", "},{"text":"xScale","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sf","text":"Float","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"yScale","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sf","kind":"typeIdentifier","text":"Float"},{"kind":"text","text":")"}],"kind":"symbol","title":"drawBitmap(_:x:y:degrees:centerX:centerY:xScale:yScale:)","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap":{"navigatorTitle":[{"text":"Bitmap","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Bitmap","kind":"identifier"}],"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"symbol","title":"Playdate.Graphics.Bitmap","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap","role":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/drawbitmap(_:x:y:flip:).json b/docs/data/documentation/playdatekit/playdate/graphics/drawbitmap(_:x:y:flip:).json new file mode 100644 index 00000000..19400f2e --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/drawbitmap(_:x:y:flip:).json @@ -0,0 +1 @@ +{"schemaVersion":{"minor":3,"major":0,"patch":0},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/drawBitmap(_:x:y:flip:)","interfaceLanguage":"swift"},"sections":[],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"]]},"abstract":[{"type":"text","text":"Draws the "},{"code":"bitmap","type":"codeVoice"},{"text":" with its upper-left corner at location ","type":"text"},{"code":"x","type":"codeVoice"},{"type":"text","text":", "},{"code":"y","type":"codeVoice"},{"type":"text","text":", using the given "},{"type":"codeVoice","code":"flip"},{"type":"text","text":" orientation."}],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/graphics\/drawbitmap(_:x:y:flip:)"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"drawBitmap","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"bitmap"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"typeIdentifier","text":"Bitmap","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC"},{"kind":"text","text":", "},{"text":"x","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"y"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CInt","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":", "},{"kind":"externalParam","text":"flip"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"Flip","kind":"typeIdentifier","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/Flip","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC4Flipa"},{"text":")","kind":"text"}]}]}],"metadata":{"modules":[{"name":"PlaydateKit"}],"title":"drawBitmap(_:x:y:flip:)","roleHeading":"Type Method","externalID":"s:11PlaydateKit0A0O8GraphicsO10drawBitmap_1x1y4flipyAE0E0C_s5Int32VAMSo13LCDBitmapFlipatFZ","symbolKind":"method","role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"drawBitmap"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"Bitmap","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"x"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"kind":"text","text":", "},{"text":"y","kind":"externalParam"},{"kind":"text","text":": "},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":", "},{"kind":"externalParam","text":"flip"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Bitmap","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC4Flipa","text":"Flip"},{"text":")","kind":"text"}]},"kind":"symbol","references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap":{"navigatorTitle":[{"text":"Bitmap","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Bitmap","kind":"identifier"}],"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"symbol","title":"Playdate.Graphics.Bitmap","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap","role":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/drawBitmap(_:x:y:flip:)":{"title":"drawBitmap(_:x:y:flip:)","type":"topic","abstract":[{"text":"Draws the ","type":"text"},{"type":"codeVoice","code":"bitmap"},{"text":" with its upper-left corner at location ","type":"text"},{"type":"codeVoice","code":"x"},{"text":", ","type":"text"},{"type":"codeVoice","code":"y"},{"text":", using the given ","type":"text"},{"type":"codeVoice","code":"flip"},{"type":"text","text":" orientation."}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/drawBitmap(_:x:y:flip:)","url":"\/documentation\/playdatekit\/playdate\/graphics\/drawbitmap(_:x:y:flip:)","role":"symbol","kind":"symbol","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"drawBitmap","kind":"identifier"},{"text":"(","kind":"text"},{"text":"Bitmap","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"x","kind":"externalParam"},{"kind":"text","text":": "},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":", "},{"text":"y","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"flip"},{"text":": ","kind":"text"},{"text":"Bitmap","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"Flip","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC4Flipa"},{"text":")","kind":"text"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap/Flip":{"abstract":[],"type":"topic","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/flip","role":"symbol","title":"Playdate.Graphics.Bitmap.Flip","kind":"symbol","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Flip","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Flip"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/Flip"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/drawbitmap(_:x:y:xscale:yscale:).json b/docs/data/documentation/playdatekit/playdate/graphics/drawbitmap(_:x:y:xscale:yscale:).json new file mode 100644 index 00000000..a23f78f4 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/drawbitmap(_:x:y:xscale:yscale:).json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/drawBitmap(_:x:y:xScale:yScale:)","interfaceLanguage":"swift"},"kind":"symbol","sections":[],"schemaVersion":{"major":0,"patch":0,"minor":3},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/drawbitmap(_:x:y:xscale:yscale:)"]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"]]},"abstract":[{"text":"Draws the ","type":"text"},{"type":"codeVoice","code":"bitmap"},{"type":"text","text":" scaled to "},{"type":"codeVoice","code":"xScale"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"yScale"},{"text":" with its upper-left corner at location ","type":"text"},{"code":"x","type":"codeVoice"},{"text":", ","type":"text"},{"type":"codeVoice","code":"y"},{"type":"text","text":"."},{"text":" ","type":"text"},{"type":"text","text":"Note that "},{"code":"flip","type":"codeVoice"},{"text":" is not available when drawing scaled bitmaps but negative scale values will achieve the same effect.","type":"text"}],"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"drawBitmap"},{"kind":"text","text":"("},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"kind":"internalParam","text":"bitmap"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"x"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"y"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"xScale"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sf","kind":"typeIdentifier","text":"Float"},{"kind":"text","text":" = 1, "},{"text":"yScale","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Float","preciseIdentifier":"s:Sf","kind":"typeIdentifier"},{"text":" = 1)","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"metadata":{"modules":[{"name":"PlaydateKit"}],"externalID":"s:11PlaydateKit0A0O8GraphicsO10drawBitmap_1x1y6xScale01yF0yAE0E0C_s5Int32VANS2ftFZ","symbolKind":"method","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"drawBitmap","kind":"identifier"},{"text":"(","kind":"text"},{"text":"Bitmap","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC"},{"text":", ","kind":"text"},{"text":"x","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"y"},{"kind":"text","text":": "},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"xScale","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"text":", ","kind":"text"},{"text":"yScale","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sf","text":"Float","kind":"typeIdentifier"},{"text":")","kind":"text"}],"roleHeading":"Type Method","role":"symbol","title":"drawBitmap(_:x:y:xScale:yScale:)"},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap":{"navigatorTitle":[{"text":"Bitmap","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Bitmap","kind":"identifier"}],"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"symbol","title":"Playdate.Graphics.Bitmap","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap","role":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/drawBitmap(_:x:y:xScale:yScale:)":{"type":"topic","kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/drawBitmap(_:x:y:xScale:yScale:)","abstract":[{"text":"Draws the ","type":"text"},{"code":"bitmap","type":"codeVoice"},{"text":" scaled to ","type":"text"},{"code":"xScale","type":"codeVoice"},{"text":" and ","type":"text"},{"code":"yScale","type":"codeVoice"},{"text":" with its upper-left corner at location ","type":"text"},{"code":"x","type":"codeVoice"},{"type":"text","text":", "},{"type":"codeVoice","code":"y"},{"text":".","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Note that "},{"code":"flip","type":"codeVoice"},{"type":"text","text":" is not available when drawing scaled bitmaps but negative scale values will achieve the same effect."}],"role":"symbol","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"drawBitmap"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap"},{"text":", ","kind":"text"},{"text":"x","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"},{"text":", ","kind":"text"},{"text":"y","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":", ","kind":"text"},{"text":"xScale","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Float","preciseIdentifier":"s:Sf","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"yScale"},{"text":": ","kind":"text"},{"text":"Float","preciseIdentifier":"s:Sf","kind":"typeIdentifier"},{"text":")","kind":"text"}],"title":"drawBitmap(_:x:y:xScale:yScale:)","url":"\/documentation\/playdatekit\/playdate\/graphics\/drawbitmap(_:x:y:xscale:yscale:)"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/drawellipse(x:y:width:height:linewidth:startangle:endangle:color:).json b/docs/data/documentation/playdatekit/playdate/graphics/drawellipse(x:y:width:height:linewidth:startangle:endangle:color:).json new file mode 100644 index 00000000..09adbfae --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/drawellipse(x:y:width:height:linewidth:startangle:endangle:color:).json @@ -0,0 +1 @@ +{"metadata":{"role":"symbol","title":"drawEllipse(x:y:width:height:lineWidth:startAngle:endAngle:color:)","externalID":"s:11PlaydateKit0A0O8GraphicsO11drawEllipse1x1y5width6height9lineWidth10startAngle03endK05colorys5Int32V_A4PS2fSutFZ","symbolKind":"method","modules":[{"name":"PlaydateKit"}],"roleHeading":"Type Method","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"drawEllipse"},{"kind":"text","text":"("},{"text":"x","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"kind":"text","text":", "},{"text":"y","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"width"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"text":"height","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"lineWidth","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"startAngle","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"text":", ","kind":"text"},{"text":"endAngle","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sf","text":"Float","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"color"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO5Colora","text":"Color"},{"text":")","kind":"text"}]},"sections":[],"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"drawEllipse","kind":"identifier"},{"kind":"text","text":"("},{"text":"x","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"y"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":", ","kind":"text"},{"text":"width","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"text":"height","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"},{"text":", ","kind":"text"},{"text":"lineWidth","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"kind":"text","text":" = 1, "},{"text":"startAngle","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Float","preciseIdentifier":"s:Sf","kind":"typeIdentifier"},{"text":" = 0, ","kind":"text"},{"kind":"externalParam","text":"endAngle"},{"kind":"text","text":": "},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"text":" = 360, ","kind":"text"},{"kind":"externalParam","text":"color"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO5Colora","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Color","text":"Color"},{"text":" = LCDColor(LCDSolidColor.black.rawValue))","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/drawellipse(x:y:width:height:linewidth:startangle:endangle:color:)"]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/drawEllipse(x:y:width:height:lineWidth:startAngle:endAngle:color:)"},"schemaVersion":{"patch":0,"major":0,"minor":3},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"]]},"abstract":[{"text":"Draws an ellipse inside the rectangle {","type":"text"},{"type":"codeVoice","code":"x"},{"text":", ","type":"text"},{"type":"codeVoice","code":"y"},{"type":"text","text":", "},{"code":"width","type":"codeVoice"},{"type":"text","text":", "},{"type":"codeVoice","code":"height"},{"type":"text","text":"} of width "},{"type":"codeVoice","code":"lineWidth"},{"type":"text","text":" (inset from the rectangle bounds)."},{"text":" ","type":"text"},{"text":"If ","type":"text"},{"type":"codeVoice","code":"startAngle"},{"text":" != ","type":"text"},{"code":"endAngle","type":"codeVoice"},{"text":", this draws an arc between the given angles. Angles are given in degrees, clockwise from due north.","type":"text"}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Color":{"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Color","type":"topic","role":"symbol","title":"Playdate.Graphics.Color","url":"\/documentation\/playdatekit\/playdate\/graphics\/color","abstract":[],"fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Color","kind":"identifier"}],"navigatorTitle":[{"text":"Color","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/drawEllipse(x:y:width:height:lineWidth:startAngle:endAngle:color:)":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/drawEllipse(x:y:width:height:lineWidth:startAngle:endAngle:color:)","title":"drawEllipse(x:y:width:height:lineWidth:startAngle:endAngle:color:)","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/graphics\/drawellipse(x:y:width:height:linewidth:startangle:endangle:color:)","abstract":[{"type":"text","text":"Draws an ellipse inside the rectangle {"},{"type":"codeVoice","code":"x"},{"type":"text","text":", "},{"type":"codeVoice","code":"y"},{"type":"text","text":", "},{"type":"codeVoice","code":"width"},{"text":", ","type":"text"},{"type":"codeVoice","code":"height"},{"text":"} of width ","type":"text"},{"type":"codeVoice","code":"lineWidth"},{"type":"text","text":" (inset from the rectangle bounds)."},{"text":" ","type":"text"},{"type":"text","text":"If "},{"code":"startAngle","type":"codeVoice"},{"type":"text","text":" != "},{"type":"codeVoice","code":"endAngle"},{"text":", this draws an arc between the given angles. Angles are given in degrees, clockwise from due north.","type":"text"}],"kind":"symbol","type":"topic","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"drawEllipse"},{"text":"(","kind":"text"},{"text":"x","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"text":"y","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"width","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"height"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"kind":"text","text":", "},{"kind":"externalParam","text":"lineWidth"},{"text":": ","kind":"text"},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"startAngle"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sf","text":"Float"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"endAngle"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sf","text":"Float","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"color","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO5Colora","text":"Color"},{"kind":"text","text":")"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/drawline(x1:y1:x2:y2:linewidth:color:).json b/docs/data/documentation/playdatekit/playdate/graphics/drawline(x1:y1:x2:y2:linewidth:color:).json new file mode 100644 index 00000000..31237cd5 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/drawline(x1:y1:x2:y2:linewidth:color:).json @@ -0,0 +1 @@ +{"schemaVersion":{"patch":0,"minor":3,"major":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/drawLine(x1:y1:x2:y2:lineWidth:color:)"},"abstract":[{"type":"text","text":"Draws a line from "},{"type":"codeVoice","code":"x1"},{"type":"text","text":", "},{"type":"codeVoice","code":"y1"},{"type":"text","text":" to "},{"type":"codeVoice","code":"x2"},{"text":", ","type":"text"},{"code":"y2","type":"codeVoice"},{"type":"text","text":" with a stroke width of "},{"type":"codeVoice","code":"lineWidth"},{"text":".","type":"text"}],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/graphics\/drawline(x1:y1:x2:y2:linewidth:color:)"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"drawLine","kind":"identifier"},{"kind":"text","text":"("},{"text":"x1","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"y1","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"text":"x2","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"y2"},{"kind":"text","text":": "},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"lineWidth","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"},{"text":", ","kind":"text"},{"text":"color","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Color","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO5Colora"},{"kind":"text","text":")"}],"role":"symbol","title":"drawLine(x1:y1:x2:y2:lineWidth:color:)","roleHeading":"Type Method","modules":[{"name":"PlaydateKit"}],"externalID":"s:11PlaydateKit0A0O8GraphicsO8drawLine2x12y12x22y29lineWidth5colorys5Int32V_A4NSutFZ","symbolKind":"method"},"sections":[],"kind":"symbol","primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"drawLine"},{"text":"(","kind":"text"},{"text":"x1","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"CInt","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":", "},{"kind":"externalParam","text":"y1"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"x2","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"y2"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"kind":"text","text":", "},{"text":"lineWidth","kind":"externalParam"},{"kind":"text","text":": "},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"text":" = 1, ","kind":"text"},{"kind":"externalParam","text":"color"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Color","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO5Colora","text":"Color"},{"kind":"text","text":" = LCDColor(LCDSolidColor.black.rawValue))"}],"platforms":["macOS"]}],"kind":"declarations"}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"]]},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Color":{"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Color","type":"topic","role":"symbol","title":"Playdate.Graphics.Color","url":"\/documentation\/playdatekit\/playdate\/graphics\/color","abstract":[],"fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Color","kind":"identifier"}],"navigatorTitle":[{"text":"Color","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/drawLine(x1:y1:x2:y2:lineWidth:color:)":{"abstract":[{"text":"Draws a line from ","type":"text"},{"type":"codeVoice","code":"x1"},{"type":"text","text":", "},{"code":"y1","type":"codeVoice"},{"type":"text","text":" to "},{"code":"x2","type":"codeVoice"},{"text":", ","type":"text"},{"type":"codeVoice","code":"y2"},{"type":"text","text":" with a stroke width of "},{"code":"lineWidth","type":"codeVoice"},{"type":"text","text":"."}],"role":"symbol","kind":"symbol","title":"drawLine(x1:y1:x2:y2:lineWidth:color:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/drawLine(x1:y1:x2:y2:lineWidth:color:)","url":"\/documentation\/playdatekit\/playdate\/graphics\/drawline(x1:y1:x2:y2:linewidth:color:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"drawLine"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"x1"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"CInt","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":", "},{"kind":"externalParam","text":"y1"},{"kind":"text","text":": "},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"text":"x2","kind":"externalParam"},{"kind":"text","text":": "},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"y2"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"},{"text":", ","kind":"text"},{"text":"lineWidth","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":", "},{"kind":"externalParam","text":"color"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO5Colora","text":"Color","kind":"typeIdentifier"},{"text":")","kind":"text"}],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/drawrect(x:y:width:height:color:).json b/docs/data/documentation/playdatekit/playdate/graphics/drawrect(x:y:width:height:color:).json new file mode 100644 index 00000000..a42bc682 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/drawrect(x:y:width:height:color:).json @@ -0,0 +1 @@ +{"kind":"symbol","identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/drawRect(x:y:width:height:color:)","interfaceLanguage":"swift"},"metadata":{"externalID":"s:11PlaydateKit0A0O8GraphicsO8drawRect1x1y5width6height5colorys5Int32V_A3MSutFZ","symbolKind":"method","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"drawRect"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"x"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"CInt","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"y"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"width","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"height","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"text":"color","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Color","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO5Colora","kind":"typeIdentifier"},{"text":")","kind":"text"}],"role":"symbol","roleHeading":"Type Method","modules":[{"name":"PlaydateKit"}],"title":"drawRect(x:y:width:height:color:)"},"sections":[],"schemaVersion":{"major":0,"patch":0,"minor":3},"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/graphics\/drawrect(x:y:width:height:color:)"],"traits":[{"interfaceLanguage":"swift"}]}],"abstract":[{"type":"text","text":"Draws a "},{"type":"codeVoice","code":"width"},{"type":"text","text":" by "},{"type":"codeVoice","code":"height"},{"type":"text","text":" rect at "},{"code":"x","type":"codeVoice"},{"type":"text","text":", "},{"type":"codeVoice","code":"y"},{"type":"text","text":"."}],"primaryContentSections":[{"declarations":[{"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"drawRect","kind":"identifier"},{"text":"(","kind":"text"},{"text":"x","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"y"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":", "},{"kind":"externalParam","text":"width"},{"kind":"text","text":": "},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":", "},{"text":"height","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"color"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO5Colora","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Color","text":"Color","kind":"typeIdentifier"},{"text":" = LCDColor(LCDSolidColor.black.rawValue))","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"]]},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/drawRect(x:y:width:height:color:)":{"abstract":[{"type":"text","text":"Draws a "},{"code":"width","type":"codeVoice"},{"text":" by ","type":"text"},{"type":"codeVoice","code":"height"},{"type":"text","text":" rect at "},{"type":"codeVoice","code":"x"},{"type":"text","text":", "},{"code":"y","type":"codeVoice"},{"text":".","type":"text"}],"title":"drawRect(x:y:width:height:color:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/drawRect(x:y:width:height:color:)","url":"\/documentation\/playdatekit\/playdate\/graphics\/drawrect(x:y:width:height:color:)","kind":"symbol","type":"topic","role":"symbol","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"drawRect","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"x"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"text":"y","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"width"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"kind":"text","text":", "},{"text":"height","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"kind":"text","text":", "},{"text":"color","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Color","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO5Colora"},{"text":")","kind":"text"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Color":{"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Color","type":"topic","role":"symbol","title":"Playdate.Graphics.Color","url":"\/documentation\/playdatekit\/playdate\/graphics\/color","abstract":[],"fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Color","kind":"identifier"}],"navigatorTitle":[{"text":"Color","kind":"identifier"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/drawtext(_:length:encoding:x:y:).json b/docs/data/documentation/playdatekit/playdate/graphics/drawtext(_:length:encoding:x:y:).json new file mode 100644 index 00000000..eb3bcd7f --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/drawtext(_:length:encoding:x:y:).json @@ -0,0 +1 @@ +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"drawText","kind":"identifier"},{"text":"(","kind":"text"},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"text":"text","kind":"internalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SV","text":"UnsafeRawPointer","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"length"},{"text":": ","kind":"text"},{"text":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"},{"kind":"text","text":", "},{"text":"encoding","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO14StringEncodinga","text":"StringEncoding","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/StringEncoding"},{"kind":"text","text":", "},{"kind":"externalParam","text":"x"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"y"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"},{"text":") -> ","kind":"text"},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"}],"languages":["swift"],"platforms":["macOS"]}]}],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/graphics\/drawtext(_:length:encoding:x:y:)"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"]]},"schemaVersion":{"minor":3,"major":0,"patch":0},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/drawText(_:length:encoding:x:y:)","interfaceLanguage":"swift"},"abstract":[{"text":"Draws the given ","type":"text"},{"type":"codeVoice","code":"text"},{"type":"text","text":" using the provided options. If no font has been set with "},{"type":"codeVoice","code":"setFont"},{"type":"text","text":", the default"},{"type":"text","text":" "},{"text":"system font Asheville Sans 14 Light is used.","type":"text"}],"sections":[],"kind":"symbol","metadata":{"roleHeading":"Type Method","externalID":"s:11PlaydateKit0A0O8GraphicsO8drawText_6length8encoding1x1ys5Int32VSVSg_SiSo16PDStringEncodingaA2LtFZ","title":"drawText(_:length:encoding:x:y:)","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"drawText","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"s:SV","text":"UnsafeRawPointer","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"length"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Si","text":"Int"},{"text":", ","kind":"text"},{"text":"encoding","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO14StringEncodinga","text":"StringEncoding","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"x"},{"text":": ","kind":"text"},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"y","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"}],"modules":[{"name":"PlaydateKit"}],"role":"symbol","symbolKind":"method"},"references":{"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/StringEncoding":{"kind":"symbol","type":"topic","title":"Playdate.Graphics.StringEncoding","abstract":[],"role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/StringEncoding","navigatorTitle":[{"text":"StringEncoding","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"StringEncoding"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/stringencoding"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/drawText(_:length:encoding:x:y:)":{"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"drawText","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"s:SV","text":"UnsafeRawPointer","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"length","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"},{"kind":"text","text":", "},{"kind":"externalParam","text":"encoding"},{"text":": ","kind":"text"},{"text":"StringEncoding","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO14StringEncodinga"},{"kind":"text","text":", "},{"text":"x","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"},{"text":", ","kind":"text"},{"text":"y","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/drawtext(_:length:encoding:x:y:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/drawText(_:length:encoding:x:y:)","title":"drawText(_:length:encoding:x:y:)","role":"symbol","abstract":[{"text":"Draws the given ","type":"text"},{"type":"codeVoice","code":"text"},{"type":"text","text":" using the provided options. If no font has been set with "},{"type":"codeVoice","code":"setFont"},{"type":"text","text":", the default"},{"type":"text","text":" "},{"text":"system font Asheville Sans 14 Light is used.","type":"text"}],"kind":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/fillellipse(x:y:width:height:startangle:endangle:color:).json b/docs/data/documentation/playdatekit/playdate/graphics/fillellipse(x:y:width:height:startangle:endangle:color:).json new file mode 100644 index 00000000..b10efa5c --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/fillellipse(x:y:width:height:startangle:endangle:color:).json @@ -0,0 +1 @@ +{"sections":[],"metadata":{"roleHeading":"Type Method","symbolKind":"method","title":"fillEllipse(x:y:width:height:startAngle:endAngle:color:)","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"fillEllipse","kind":"identifier"},{"text":"(","kind":"text"},{"text":"x","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"y"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"CInt","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"width"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"height","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"startAngle","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sf","text":"Float","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"endAngle"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sf","kind":"typeIdentifier","text":"Float"},{"text":", ","kind":"text"},{"text":"color","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO5Colora","kind":"typeIdentifier","text":"Color"},{"kind":"text","text":")"}],"externalID":"s:11PlaydateKit0A0O8GraphicsO11fillEllipse1x1y5width6height10startAngle03endI05colorys5Int32V_A3OS2fSutFZ","modules":[{"name":"PlaydateKit"}],"role":"symbol"},"primaryContentSections":[{"declarations":[{"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"fillEllipse"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"x"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":", "},{"text":"y","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"width"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":", "},{"text":"height","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"text":"startAngle","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Float","preciseIdentifier":"s:Sf"},{"text":" = 0, ","kind":"text"},{"text":"endAngle","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sf","text":"Float"},{"text":" = 360, ","kind":"text"},{"text":"color","kind":"externalParam"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Color","text":"Color","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO5Colora"},{"kind":"text","text":" = LCDColor(LCDSolidColor.black.rawValue))"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"abstract":[{"type":"text","text":"Fills an ellipse inside the rectangle {"},{"type":"codeVoice","code":"x"},{"type":"text","text":", "},{"type":"codeVoice","code":"y"},{"text":", ","type":"text"},{"code":"width","type":"codeVoice"},{"type":"text","text":", "},{"type":"codeVoice","code":"height"},{"type":"text","text":"}. If "},{"type":"codeVoice","code":"startAngle"},{"type":"text","text":" != "},{"type":"codeVoice","code":"endAngle"},{"text":", this draws a","type":"text"},{"text":" ","type":"text"},{"text":"wedge\/Pacman between the given angles. Angles are given in degrees, clockwise from due north.","type":"text"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/fillEllipse(x:y:width:height:startAngle:endAngle:color:)"},"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/fillellipse(x:y:width:height:startangle:endangle:color:)"]}],"schemaVersion":{"minor":3,"major":0,"patch":0},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"]]},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/fillEllipse(x:y:width:height:startAngle:endAngle:color:)":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/fillEllipse(x:y:width:height:startAngle:endAngle:color:)","url":"\/documentation\/playdatekit\/playdate\/graphics\/fillellipse(x:y:width:height:startangle:endangle:color:)","title":"fillEllipse(x:y:width:height:startAngle:endAngle:color:)","role":"symbol","type":"topic","kind":"symbol","abstract":[{"text":"Fills an ellipse inside the rectangle {","type":"text"},{"code":"x","type":"codeVoice"},{"text":", ","type":"text"},{"type":"codeVoice","code":"y"},{"text":", ","type":"text"},{"type":"codeVoice","code":"width"},{"type":"text","text":", "},{"code":"height","type":"codeVoice"},{"text":"}. If ","type":"text"},{"code":"startAngle","type":"codeVoice"},{"text":" != ","type":"text"},{"code":"endAngle","type":"codeVoice"},{"type":"text","text":", this draws a"},{"type":"text","text":" "},{"type":"text","text":"wedge\/Pacman between the given angles. Angles are given in degrees, clockwise from due north."}],"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"fillEllipse","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"x"},{"text":": ","kind":"text"},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"y","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"width","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"text":"height","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":", ","kind":"text"},{"text":"startAngle","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sf","text":"Float","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"endAngle","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sf","kind":"typeIdentifier","text":"Float"},{"text":", ","kind":"text"},{"text":"color","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Color","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO5Colora"},{"kind":"text","text":")"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Color":{"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Color","type":"topic","role":"symbol","title":"Playdate.Graphics.Color","url":"\/documentation\/playdatekit\/playdate\/graphics\/color","abstract":[],"fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Color","kind":"identifier"}],"navigatorTitle":[{"text":"Color","kind":"identifier"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/fillpolygon(points:color:fillrule:).json b/docs/data/documentation/playdatekit/playdate/graphics/fillpolygon(points:color:fillrule:).json new file mode 100644 index 00000000..e6bf1d2c --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/fillpolygon(points:color:fillrule:).json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/fillpolygon(points:color:fillrule:)"]}],"schemaVersion":{"minor":3,"major":0,"patch":0},"metadata":{"title":"fillPolygon(points:color:fillRule:)","role":"symbol","symbolKind":"method","externalID":"s:11PlaydateKit0A0O8GraphicsO11fillPolygon6points5color0D4RuleySrys6UInt32VG_SuSo014LCDPolygonFillH0atFZ","modules":[{"name":"PlaydateKit"}],"roleHeading":"Type Method","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"fillPolygon","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"points"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sr","text":"UnsafeMutableBufferPointer","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"preciseIdentifier":"s:s12CUnsignedInta","kind":"typeIdentifier","text":"CUnsignedInt"},{"text":">, ","kind":"text"},{"text":"color","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO5Colora","text":"Color"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"fillRule"},{"text":": ","kind":"text"},{"text":"PolygonFillRule","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO15PolygonFillRulea","kind":"typeIdentifier"},{"kind":"text","text":")"}]},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/fillPolygon(points:color:fillRule:)","interfaceLanguage":"swift"},"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"fillPolygon","kind":"identifier"},{"kind":"text","text":"("},{"text":"points","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sr","text":"UnsafeMutableBufferPointer","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"text":"CUnsignedInt","kind":"typeIdentifier","preciseIdentifier":"s:s12CUnsignedInta"},{"text":">, ","kind":"text"},{"text":"color","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO5Colora","text":"Color","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Color"},{"kind":"text","text":" = LCDColor(LCDSolidColor.black.rawValue), "},{"text":"fillRule","kind":"externalParam"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/PolygonFillRule","text":"PolygonFillRule","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO15PolygonFillRulea","kind":"typeIdentifier"},{"text":")","kind":"text"}]}],"kind":"declarations"}],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"]]},"sections":[],"abstract":[{"text":"Fills the polygon with vertices at the given coordinates (an array of 2*nPoints ints containing alternating x and y values)","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"using the given "},{"code":"color","type":"codeVoice"},{"type":"text","text":" and fill, or winding, rule. See https:\/\/en.wikipedia.org\/wiki\/Nonzero-rule"},{"type":"text","text":" "},{"text":"for an explanation of the winding rule. An edge between the last vertex and the first is assumed.","type":"text"}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Color":{"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Color","type":"topic","role":"symbol","title":"Playdate.Graphics.Color","url":"\/documentation\/playdatekit\/playdate\/graphics\/color","abstract":[],"fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Color","kind":"identifier"}],"navigatorTitle":[{"text":"Color","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/PolygonFillRule":{"url":"\/documentation\/playdatekit\/playdate\/graphics\/polygonfillrule","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/PolygonFillRule","abstract":[],"type":"topic","navigatorTitle":[{"kind":"identifier","text":"PolygonFillRule"}],"title":"Playdate.Graphics.PolygonFillRule","fragments":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"PolygonFillRule"}],"role":"symbol","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/fillPolygon(points:color:fillRule:)":{"type":"topic","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"fillPolygon"},{"kind":"text","text":"("},{"text":"points","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UnsafeMutableBufferPointer","preciseIdentifier":"s:Sr","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"text":"CUnsignedInt","kind":"typeIdentifier","preciseIdentifier":"s:s12CUnsignedInta"},{"text":">, ","kind":"text"},{"text":"color","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Color","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO5Colora"},{"text":", ","kind":"text"},{"text":"fillRule","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO15PolygonFillRulea","kind":"typeIdentifier","text":"PolygonFillRule"},{"text":")","kind":"text"}],"title":"fillPolygon(points:color:fillRule:)","url":"\/documentation\/playdatekit\/playdate\/graphics\/fillpolygon(points:color:fillrule:)","role":"symbol","kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/fillPolygon(points:color:fillRule:)","abstract":[{"text":"Fills the polygon with vertices at the given coordinates (an array of 2*nPoints ints containing alternating x and y values)","type":"text"},{"type":"text","text":" "},{"type":"text","text":"using the given "},{"code":"color","type":"codeVoice"},{"type":"text","text":" and fill, or winding, rule. See https:\/\/en.wikipedia.org\/wiki\/Nonzero-rule"},{"text":" ","type":"text"},{"type":"text","text":"for an explanation of the winding rule. An edge between the last vertex and the first is assumed."}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/fillrect(x:y:width:height:color:).json b/docs/data/documentation/playdatekit/playdate/graphics/fillrect(x:y:width:height:color:).json new file mode 100644 index 00000000..f7c0c766 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/fillrect(x:y:width:height:color:).json @@ -0,0 +1 @@ +{"kind":"symbol","abstract":[{"text":"Draws a filled ","type":"text"},{"code":"width","type":"codeVoice"},{"text":" by ","type":"text"},{"code":"height","type":"codeVoice"},{"type":"text","text":" rect at "},{"type":"codeVoice","code":"x"},{"type":"text","text":", "},{"code":"y","type":"codeVoice"},{"type":"text","text":"."}],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/graphics\/fillrect(x:y:width:height:color:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/fillRect(x:y:width:height:color:)"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"fillRect","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"x"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"y"},{"kind":"text","text":": "},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"text":"width","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CInt","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":", "},{"kind":"externalParam","text":"height"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"kind":"text","text":", "},{"kind":"externalParam","text":"color"},{"kind":"text","text":": "},{"text":"Color","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Color","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO5Colora"},{"text":" = LCDColor(LCDSolidColor.black.rawValue))","kind":"text"}]}]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"]]},"sections":[],"metadata":{"externalID":"s:11PlaydateKit0A0O8GraphicsO8fillRect1x1y5width6height5colorys5Int32V_A3MSutFZ","role":"symbol","roleHeading":"Type Method","modules":[{"name":"PlaydateKit"}],"title":"fillRect(x:y:width:height:color:)","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"fillRect","kind":"identifier"},{"kind":"text","text":"("},{"text":"x","kind":"externalParam"},{"kind":"text","text":": "},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"y"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"kind":"text","text":", "},{"text":"width","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"height"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"color","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Color","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO5Colora"},{"kind":"text","text":")"}],"symbolKind":"method"},"schemaVersion":{"patch":0,"major":0,"minor":3},"references":{"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Color":{"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Color","type":"topic","role":"symbol","title":"Playdate.Graphics.Color","url":"\/documentation\/playdatekit\/playdate\/graphics\/color","abstract":[],"fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Color","kind":"identifier"}],"navigatorTitle":[{"text":"Color","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/fillRect(x:y:width:height:color:)":{"url":"\/documentation\/playdatekit\/playdate\/graphics\/fillrect(x:y:width:height:color:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/fillRect(x:y:width:height:color:)","title":"fillRect(x:y:width:height:color:)","role":"symbol","type":"topic","kind":"symbol","abstract":[{"type":"text","text":"Draws a filled "},{"type":"codeVoice","code":"width"},{"type":"text","text":" by "},{"type":"codeVoice","code":"height"},{"text":" rect at ","type":"text"},{"code":"x","type":"codeVoice"},{"type":"text","text":", "},{"type":"codeVoice","code":"y"},{"type":"text","text":"."}],"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"fillRect"},{"text":"(","kind":"text"},{"text":"x","kind":"externalParam"},{"kind":"text","text":": "},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":", "},{"text":"y","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"width"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"height","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"kind":"text","text":", "},{"text":"color","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Color","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO5Colora","kind":"typeIdentifier"},{"text":")","kind":"text"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/filltriangle(x1:y1:x2:y2:x3:y3:color:).json b/docs/data/documentation/playdatekit/playdate/graphics/filltriangle(x1:y1:x2:y2:x3:y3:color:).json new file mode 100644 index 00000000..8f5871eb --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/filltriangle(x1:y1:x2:y2:x3:y3:color:).json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/fillTriangle(x1:y1:x2:y2:x3:y3:color:)"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/filltriangle(x1:y1:x2:y2:x3:y3:color:)"]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"fillTriangle"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"x1"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"},{"kind":"text","text":", "},{"kind":"externalParam","text":"y1"},{"kind":"text","text":": "},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"x2"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"y2","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":", ","kind":"text"},{"text":"x3","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"y3","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"color"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO5Colora","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Color","text":"Color"},{"text":" = LCDColor(LCDSolidColor.black.rawValue))","kind":"text"}],"languages":["swift"]}]}],"kind":"symbol","abstract":[{"type":"text","text":"Draws a filled triangle with points at "},{"code":"x1","type":"codeVoice"},{"type":"text","text":", "},{"type":"codeVoice","code":"y1"},{"type":"text","text":", "},{"type":"codeVoice","code":"x2"},{"type":"text","text":", "},{"type":"codeVoice","code":"y2"},{"type":"text","text":", and "},{"type":"codeVoice","code":"x3"},{"text":", ","type":"text"},{"type":"codeVoice","code":"y3"},{"text":".","type":"text"}],"sections":[],"schemaVersion":{"major":0,"minor":3,"patch":0},"metadata":{"modules":[{"name":"PlaydateKit"}],"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"fillTriangle","kind":"identifier"},{"kind":"text","text":"("},{"text":"x1","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"y1"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"x2"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"text":"y2","kind":"externalParam"},{"kind":"text","text":": "},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"x3"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"y3"},{"text":": ","kind":"text"},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"color","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Color","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO5Colora"},{"text":")","kind":"text"}],"role":"symbol","externalID":"s:11PlaydateKit0A0O8GraphicsO12fillTriangle2x12y12x22y22x32y35colorys5Int32V_A5OSutFZ","roleHeading":"Type Method","title":"fillTriangle(x1:y1:x2:y2:x3:y3:color:)","symbolKind":"method"},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/fillTriangle(x1:y1:x2:y2:x3:y3:color:)":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/fillTriangle(x1:y1:x2:y2:x3:y3:color:)","url":"\/documentation\/playdatekit\/playdate\/graphics\/filltriangle(x1:y1:x2:y2:x3:y3:color:)","type":"topic","abstract":[{"type":"text","text":"Draws a filled triangle with points at "},{"type":"codeVoice","code":"x1"},{"type":"text","text":", "},{"code":"y1","type":"codeVoice"},{"text":", ","type":"text"},{"type":"codeVoice","code":"x2"},{"type":"text","text":", "},{"type":"codeVoice","code":"y2"},{"type":"text","text":", and "},{"type":"codeVoice","code":"x3"},{"type":"text","text":", "},{"code":"y3","type":"codeVoice"},{"text":".","type":"text"}],"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"fillTriangle","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"x1"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"y1","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"CInt","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"text":"x2","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"y2"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"x3","kind":"externalParam"},{"kind":"text","text":": "},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"text":"y3","kind":"externalParam"},{"kind":"text","text":": "},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"color","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Color","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO5Colora"},{"text":")","kind":"text"}],"kind":"symbol","title":"fillTriangle(x1:y1:x2:y2:x3:y3:color:)","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Color":{"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Color","type":"topic","role":"symbol","title":"Playdate.Graphics.Color","url":"\/documentation\/playdatekit\/playdate\/graphics\/color","abstract":[],"fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Color","kind":"identifier"}],"navigatorTitle":[{"text":"Color","kind":"identifier"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/font.json b/docs/data/documentation/playdatekit/playdate/graphics/font.json new file mode 100644 index 00000000..10c32405 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/font.json @@ -0,0 +1 @@ +{"kind":"symbol","metadata":{"navigatorTitle":[{"text":"Font","kind":"identifier"}],"role":"symbol","title":"Playdate.Graphics.Font","externalID":"s:11PlaydateKit0A0O8GraphicsO4FontC","symbolKind":"class","modules":[{"name":"PlaydateKit"}],"roleHeading":"Class","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"Font","kind":"identifier"}]},"schemaVersion":{"patch":0,"major":0,"minor":3},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"]]},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font","interfaceLanguage":"swift"},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/font"]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"Font","kind":"identifier"}],"platforms":["macOS"]}]}],"topicSections":[{"title":"Classes","generated":true,"identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font\/Glyph","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font\/Page"]},{"title":"Instance Properties","identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font\/height"],"generated":true},{"title":"Instance Methods","generated":true,"identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font\/getPage(for:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font\/getTextWidth(for:length:encoding:tracking:)"]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Font":{"navigatorTitle":[{"text":"Font","kind":"identifier"}],"role":"symbol","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"Font","kind":"identifier"}],"type":"topic","abstract":[],"kind":"symbol","title":"Playdate.Graphics.Font","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font","url":"\/documentation\/playdatekit\/playdate\/graphics\/font"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Font/height":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font\/height","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/graphics\/font\/height","kind":"symbol","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"height","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s5UInt8V","text":"UInt8"}],"title":"height","type":"topic","abstract":[{"type":"text","text":"Returns the height of the font."}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Font/getPage(for:)":{"title":"getPage(for:)","type":"topic","url":"\/documentation\/playdatekit\/playdate\/graphics\/font\/getpage(for:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"getPage"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"for"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CUnsignedInt","preciseIdentifier":"s:s12CUnsignedInta"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO4FontC4PageC","text":"Page"},{"kind":"text","text":"?"}],"role":"symbol","kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font\/getPage(for:)","abstract":[{"text":"Returns a ","type":"text"},{"type":"codeVoice","code":"Font.Page"},{"type":"text","text":" object for the given character code. Each font page contains information"},{"type":"text","text":" "},{"text":"for 256 characters; specifically, if ","type":"text"},{"type":"codeVoice","code":"(c1 & ~0xff) == (c2 & ~0xff)"},{"type":"text","text":", then "},{"type":"codeVoice","code":"c1"},{"type":"text","text":" and "},{"type":"codeVoice","code":"c2"},{"text":" belong to the","type":"text"},{"text":" ","type":"text"},{"text":"same page and the same font page can be used to fetch the character data for both instead of searching","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"for the page twice."}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Font/Glyph":{"abstract":[],"role":"symbol","title":"Playdate.Graphics.Font.Glyph","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font\/Glyph","navigatorTitle":[{"text":"Glyph","kind":"identifier"}],"type":"topic","url":"\/documentation\/playdatekit\/playdate\/graphics\/font\/glyph","kind":"symbol","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"Glyph","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Font/Page":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font\/Page","title":"Playdate.Graphics.Font.Page","role":"symbol","navigatorTitle":[{"text":"Page","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/font\/page","abstract":[],"kind":"symbol","type":"topic","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"Page","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Font/getTextWidth(for:length:encoding:tracking:)":{"fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"getTextWidth","kind":"identifier"},{"text":"(","kind":"text"},{"text":"for","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UnsafeRawPointer","kind":"typeIdentifier","preciseIdentifier":"s:SV"},{"kind":"text","text":", "},{"text":"length","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Si","text":"Int"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"encoding"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO14StringEncodinga","text":"StringEncoding","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"tracking"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/font\/gettextwidth(for:length:encoding:tracking:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font\/getTextWidth(for:length:encoding:tracking:)","title":"getTextWidth(for:length:encoding:tracking:)","role":"symbol","abstract":[{"type":"text","text":"Returns the width of the given "},{"type":"codeVoice","code":"text"},{"text":" in the font.","type":"text"}],"type":"topic","kind":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/font/getpage(for:).json b/docs/data/documentation/playdatekit/playdate/graphics/font/getpage(for:).json new file mode 100644 index 00000000..e6f5730d --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/font/getpage(for:).json @@ -0,0 +1 @@ +{"schemaVersion":{"major":0,"patch":0,"minor":3},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font\/getPage(for:)","interfaceLanguage":"swift"},"abstract":[{"text":"Returns a ","type":"text"},{"type":"codeVoice","code":"Font.Page"},{"type":"text","text":" object for the given character code. Each font page contains information"},{"type":"text","text":" "},{"text":"for 256 characters; specifically, if ","type":"text"},{"code":"(c1 & ~0xff) == (c2 & ~0xff)","type":"codeVoice"},{"text":", then ","type":"text"},{"code":"c1","type":"codeVoice"},{"type":"text","text":" and "},{"type":"codeVoice","code":"c2"},{"text":" belong to the","type":"text"},{"type":"text","text":" "},{"type":"text","text":"same page and the same font page can be used to fetch the character data for both instead of searching"},{"type":"text","text":" "},{"type":"text","text":"for the page twice."}],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/graphics\/font\/getpage(for:)"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"role":"symbol","externalID":"s:11PlaydateKit0A0O8GraphicsO4FontC7getPage3forAG0F0CSgs6UInt32V_tF","roleHeading":"Instance Method","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"getPage"},{"kind":"text","text":"("},{"text":"for","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CUnsignedInt","kind":"typeIdentifier","preciseIdentifier":"s:s12CUnsignedInta"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO4FontC4PageC","kind":"typeIdentifier","text":"Page"},{"text":"?","kind":"text"}],"title":"getPage(for:)","modules":[{"name":"PlaydateKit"}],"symbolKind":"method"},"sections":[],"kind":"symbol","primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"getPage","kind":"identifier"},{"text":"(","kind":"text"},{"text":"for","kind":"externalParam"},{"kind":"text","text":" "},{"text":"character","kind":"internalParam"},{"kind":"text","text":": "},{"text":"CUnsignedInt","kind":"typeIdentifier","preciseIdentifier":"s:s12CUnsignedInta"},{"kind":"text","text":") -> "},{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font\/Page","kind":"typeIdentifier","text":"Page","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO4FontC4PageC"},{"text":"?","kind":"text"}]}],"kind":"declarations"}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font"]]},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Font/Page":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font\/Page","title":"Playdate.Graphics.Font.Page","role":"symbol","navigatorTitle":[{"text":"Page","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/font\/page","abstract":[],"kind":"symbol","type":"topic","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"Page","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Font":{"navigatorTitle":[{"text":"Font","kind":"identifier"}],"role":"symbol","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"Font","kind":"identifier"}],"type":"topic","abstract":[],"kind":"symbol","title":"Playdate.Graphics.Font","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font","url":"\/documentation\/playdatekit\/playdate\/graphics\/font"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Font/getPage(for:)":{"title":"getPage(for:)","type":"topic","url":"\/documentation\/playdatekit\/playdate\/graphics\/font\/getpage(for:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"getPage"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"for"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CUnsignedInt","preciseIdentifier":"s:s12CUnsignedInta"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO4FontC4PageC","text":"Page"},{"kind":"text","text":"?"}],"role":"symbol","kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font\/getPage(for:)","abstract":[{"text":"Returns a ","type":"text"},{"type":"codeVoice","code":"Font.Page"},{"type":"text","text":" object for the given character code. Each font page contains information"},{"type":"text","text":" "},{"text":"for 256 characters; specifically, if ","type":"text"},{"type":"codeVoice","code":"(c1 & ~0xff) == (c2 & ~0xff)"},{"type":"text","text":", then "},{"type":"codeVoice","code":"c1"},{"type":"text","text":" and "},{"type":"codeVoice","code":"c2"},{"text":" belong to the","type":"text"},{"text":" ","type":"text"},{"text":"same page and the same font page can be used to fetch the character data for both instead of searching","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"for the page twice."}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/font/gettextwidth(for:length:encoding:tracking:).json b/docs/data/documentation/playdatekit/playdate/graphics/font/gettextwidth(for:length:encoding:tracking:).json new file mode 100644 index 00000000..f7ff257d --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/font/gettextwidth(for:length:encoding:tracking:).json @@ -0,0 +1 @@ +{"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"getTextWidth","kind":"identifier"},{"text":"(","kind":"text"},{"text":"for","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"text","kind":"internalParam"},{"text":": ","kind":"text"},{"text":"UnsafeRawPointer","preciseIdentifier":"s:SV","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"length","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Int","preciseIdentifier":"s:Si","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"encoding"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/StringEncoding","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO14StringEncodinga","text":"StringEncoding"},{"text":", ","kind":"text"},{"text":"tracking","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"}],"languages":["swift"]}],"kind":"declarations"}],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/graphics\/font\/gettextwidth(for:length:encoding:tracking:)"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"externalID":"s:11PlaydateKit0A0O8GraphicsO4FontC12getTextWidth3for6length8encoding8trackings5Int32VSV_SiSo16PDStringEncodingaANtF","role":"symbol","symbolKind":"method","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"getTextWidth"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"for"},{"kind":"text","text":": "},{"text":"UnsafeRawPointer","kind":"typeIdentifier","preciseIdentifier":"s:SV"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"length"},{"text":": ","kind":"text"},{"text":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"},{"text":", ","kind":"text"},{"text":"encoding","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO14StringEncodinga","text":"StringEncoding","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"tracking"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":") -> ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"}],"modules":[{"name":"PlaydateKit"}],"roleHeading":"Instance Method","title":"getTextWidth(for:length:encoding:tracking:)"},"schemaVersion":{"major":0,"patch":0,"minor":3},"abstract":[{"text":"Returns the width of the given ","type":"text"},{"type":"codeVoice","code":"text"},{"type":"text","text":" in the font."}],"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font\/getTextWidth(for:length:encoding:tracking:)"},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font"]]},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/StringEncoding":{"kind":"symbol","type":"topic","title":"Playdate.Graphics.StringEncoding","abstract":[],"role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/StringEncoding","navigatorTitle":[{"text":"StringEncoding","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"StringEncoding"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/stringencoding"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Font":{"navigatorTitle":[{"text":"Font","kind":"identifier"}],"role":"symbol","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"Font","kind":"identifier"}],"type":"topic","abstract":[],"kind":"symbol","title":"Playdate.Graphics.Font","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font","url":"\/documentation\/playdatekit\/playdate\/graphics\/font"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Font/getTextWidth(for:length:encoding:tracking:)":{"fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"getTextWidth","kind":"identifier"},{"text":"(","kind":"text"},{"text":"for","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UnsafeRawPointer","kind":"typeIdentifier","preciseIdentifier":"s:SV"},{"kind":"text","text":", "},{"text":"length","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Si","text":"Int"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"encoding"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO14StringEncodinga","text":"StringEncoding","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"tracking"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/font\/gettextwidth(for:length:encoding:tracking:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font\/getTextWidth(for:length:encoding:tracking:)","title":"getTextWidth(for:length:encoding:tracking:)","role":"symbol","abstract":[{"type":"text","text":"Returns the width of the given "},{"type":"codeVoice","code":"text"},{"text":" in the font.","type":"text"}],"type":"topic","kind":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/font/glyph.json b/docs/data/documentation/playdatekit/playdate/graphics/font/glyph.json new file mode 100644 index 00000000..aab8cb15 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/font/glyph.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Glyph","kind":"identifier"}],"languages":["swift"]}]}],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/graphics\/font\/glyph"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"schemaVersion":{"minor":3,"patch":0,"major":0},"topicSections":[{"generated":true,"identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font\/Glyph\/kerning(between:and:)"],"title":"Instance Methods"}],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font\/Glyph"},"metadata":{"title":"Playdate.Graphics.Font.Glyph","modules":[{"name":"PlaydateKit"}],"navigatorTitle":[{"text":"Glyph","kind":"identifier"}],"roleHeading":"Class","role":"symbol","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"Glyph","kind":"identifier"}],"externalID":"s:11PlaydateKit0A0O8GraphicsO4FontC5GlyphC","symbolKind":"class"},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Font/Glyph/kerning(between:and:)":{"title":"kerning(between:and:)","type":"topic","url":"\/documentation\/playdatekit\/playdate\/graphics\/font\/glyph\/kerning(between:and:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"kerning","kind":"identifier"},{"kind":"text","text":"("},{"text":"between","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CUnsignedInt","kind":"typeIdentifier","preciseIdentifier":"s:s12CUnsignedInta"},{"kind":"text","text":", "},{"text":"and","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CUnsignedInt","kind":"typeIdentifier","preciseIdentifier":"s:s12CUnsignedInta"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"}],"role":"symbol","kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font\/Glyph\/kerning(between:and:)","abstract":[{"type":"text","text":"Returns the kerning adjustment between characters "},{"type":"codeVoice","code":"character1"},{"type":"text","text":" and "},{"code":"character2","type":"codeVoice"},{"type":"text","text":" as specified by the font."}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Font/Glyph":{"abstract":[],"role":"symbol","title":"Playdate.Graphics.Font.Glyph","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font\/Glyph","navigatorTitle":[{"text":"Glyph","kind":"identifier"}],"type":"topic","url":"\/documentation\/playdatekit\/playdate\/graphics\/font\/glyph","kind":"symbol","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"Glyph","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Font":{"navigatorTitle":[{"text":"Font","kind":"identifier"}],"role":"symbol","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"Font","kind":"identifier"}],"type":"topic","abstract":[],"kind":"symbol","title":"Playdate.Graphics.Font","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font","url":"\/documentation\/playdatekit\/playdate\/graphics\/font"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/font/glyph/kerning(between:and:).json b/docs/data/documentation/playdatekit/playdate/graphics/font/glyph/kerning(between:and:).json new file mode 100644 index 00000000..e411f171 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/font/glyph/kerning(between:and:).json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/font\/glyph\/kerning(between:and:)"]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"abstract":[{"type":"text","text":"Returns the kerning adjustment between characters "},{"code":"character1","type":"codeVoice"},{"type":"text","text":" and "},{"type":"codeVoice","code":"character2"},{"type":"text","text":" as specified by the font."}],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font\/Glyph\/kerning(between:and:)","interfaceLanguage":"swift"},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font\/Glyph"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"kerning"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"between"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"character1"},{"text":": ","kind":"text"},{"text":"CUnsignedInt","kind":"typeIdentifier","preciseIdentifier":"s:s12CUnsignedInta"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"and"},{"kind":"text","text":" "},{"text":"character2","kind":"internalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s12CUnsignedInta","text":"CUnsignedInt","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"}],"platforms":["macOS"]}]}],"metadata":{"role":"symbol","roleHeading":"Instance Method","title":"kerning(between:and:)","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"kerning","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"between"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s12CUnsignedInta","text":"CUnsignedInt","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"and"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s12CUnsignedInta","text":"CUnsignedInt","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"}],"symbolKind":"method","externalID":"s:11PlaydateKit0A0O8GraphicsO4FontC5GlyphC7kerning7between3ands5Int32Vs6UInt32V_APtF","modules":[{"name":"PlaydateKit"}]},"references":{"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Font":{"navigatorTitle":[{"text":"Font","kind":"identifier"}],"role":"symbol","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"Font","kind":"identifier"}],"type":"topic","abstract":[],"kind":"symbol","title":"Playdate.Graphics.Font","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font","url":"\/documentation\/playdatekit\/playdate\/graphics\/font"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Font/Glyph/kerning(between:and:)":{"title":"kerning(between:and:)","type":"topic","url":"\/documentation\/playdatekit\/playdate\/graphics\/font\/glyph\/kerning(between:and:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"kerning","kind":"identifier"},{"kind":"text","text":"("},{"text":"between","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CUnsignedInt","kind":"typeIdentifier","preciseIdentifier":"s:s12CUnsignedInta"},{"kind":"text","text":", "},{"text":"and","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CUnsignedInt","kind":"typeIdentifier","preciseIdentifier":"s:s12CUnsignedInta"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"}],"role":"symbol","kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font\/Glyph\/kerning(between:and:)","abstract":[{"type":"text","text":"Returns the kerning adjustment between characters "},{"type":"codeVoice","code":"character1"},{"type":"text","text":" and "},{"code":"character2","type":"codeVoice"},{"type":"text","text":" as specified by the font."}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Font/Glyph":{"abstract":[],"role":"symbol","title":"Playdate.Graphics.Font.Glyph","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font\/Glyph","navigatorTitle":[{"text":"Glyph","kind":"identifier"}],"type":"topic","url":"\/documentation\/playdatekit\/playdate\/graphics\/font\/glyph","kind":"symbol","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"Glyph","kind":"identifier"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/font/height.json b/docs/data/documentation/playdatekit/playdate/graphics/font/height.json new file mode 100644 index 00000000..b575f203 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/font/height.json @@ -0,0 +1 @@ +{"schemaVersion":{"minor":3,"patch":0,"major":0},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font\/height","interfaceLanguage":"swift"},"abstract":[{"text":"Returns the height of the font.","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/font\/height"]}],"metadata":{"role":"symbol","externalID":"s:11PlaydateKit0A0O8GraphicsO4FontC6heights5UInt8Vvp","roleHeading":"Instance Property","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"height","kind":"identifier"},{"text":": ","kind":"text"},{"text":"UInt8","preciseIdentifier":"s:s5UInt8V","kind":"typeIdentifier"}],"title":"height","modules":[{"name":"PlaydateKit"}],"symbolKind":"property"},"sections":[],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"height"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s5UInt8V","text":"UInt8"},{"text":" { ","kind":"text"},{"text":"get","kind":"keyword"},{"kind":"text","text":" }"}],"languages":["swift"]}]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font"]]},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Font/height":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font\/height","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/graphics\/font\/height","kind":"symbol","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"height","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s5UInt8V","text":"UInt8"}],"title":"height","type":"topic","abstract":[{"type":"text","text":"Returns the height of the font."}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Font":{"navigatorTitle":[{"text":"Font","kind":"identifier"}],"role":"symbol","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"Font","kind":"identifier"}],"type":"topic","abstract":[],"kind":"symbol","title":"Playdate.Graphics.Font","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font","url":"\/documentation\/playdatekit\/playdate\/graphics\/font"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/font/page.json b/docs/data/documentation/playdatekit/playdate/graphics/font/page.json new file mode 100644 index 00000000..1ccf52d2 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/font/page.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font\/Page","interfaceLanguage":"swift"},"schemaVersion":{"minor":3,"patch":0,"major":0},"sections":[],"kind":"symbol","topicSections":[{"identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font\/Page\/glyph(for:)"],"title":"Instance Methods","generated":true}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Page","kind":"identifier"}],"platforms":["macOS"],"languages":["swift"]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/font\/page"]}],"metadata":{"modules":[{"name":"PlaydateKit"}],"externalID":"s:11PlaydateKit0A0O8GraphicsO4FontC4PageC","symbolKind":"class","fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Page","kind":"identifier"}],"roleHeading":"Class","navigatorTitle":[{"kind":"identifier","text":"Page"}],"role":"symbol","title":"Playdate.Graphics.Font.Page"},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Font/Page":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font\/Page","title":"Playdate.Graphics.Font.Page","role":"symbol","navigatorTitle":[{"text":"Page","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/font\/page","abstract":[],"kind":"symbol","type":"topic","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"Page","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Font/Page/glyph(for:)":{"abstract":[{"type":"text","text":"Returns a "},{"type":"codeVoice","code":"Font.Glyph"},{"type":"text","text":" object for character "},{"type":"codeVoice","code":"character"},{"type":"text","text":" in the page, and returns the glyph’s"},{"type":"text","text":" "},{"type":"codeVoice","code":"bitmap"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"advance"},{"type":"text","text":" value."}],"role":"symbol","kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/graphics\/font\/page\/glyph(for:)","title":"glyph(for:)","type":"topic","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"glyph","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"for"},{"kind":"text","text":": "},{"text":"CUnsignedInt","kind":"typeIdentifier","preciseIdentifier":"s:s12CUnsignedInta"},{"text":") -> (pageGlyph","kind":"text"},{"kind":"text","text":": "},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO4FontC5GlyphC","kind":"typeIdentifier","text":"Glyph"},{"text":"?, bitmap","kind":"text"},{"kind":"text","text":": "},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap","kind":"typeIdentifier"},{"text":"?, advance","kind":"text"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"},{"text":")","kind":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font\/Page\/glyph(for:)"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Font":{"navigatorTitle":[{"text":"Font","kind":"identifier"}],"role":"symbol","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"Font","kind":"identifier"}],"type":"topic","abstract":[],"kind":"symbol","title":"Playdate.Graphics.Font","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font","url":"\/documentation\/playdatekit\/playdate\/graphics\/font"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/font/page/glyph(for:).json b/docs/data/documentation/playdatekit/playdate/graphics/font/page/glyph(for:).json new file mode 100644 index 00000000..08b2e0b4 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/font/page/glyph(for:).json @@ -0,0 +1 @@ +{"schemaVersion":{"major":0,"minor":3,"patch":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"glyph"},{"text":"(","kind":"text"},{"text":"for","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"character","kind":"internalParam"},{"kind":"text","text":": "},{"text":"CUnsignedInt","kind":"typeIdentifier","preciseIdentifier":"s:s12CUnsignedInta"},{"text":") -> (pageGlyph","kind":"text"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font\/Glyph","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO4FontC5GlyphC","text":"Glyph"},{"kind":"text","text":"?, bitmap"},{"kind":"text","text":": "},{"text":"Bitmap","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC"},{"text":"?, advance","kind":"text"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":")","kind":"text"}],"languages":["swift"]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/font\/page\/glyph(for:)"]}],"sections":[],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font\/Page"]]},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font\/Page\/glyph(for:)","interfaceLanguage":"swift"},"abstract":[{"text":"Returns a ","type":"text"},{"code":"Font.Glyph","type":"codeVoice"},{"type":"text","text":" object for character "},{"code":"character","type":"codeVoice"},{"text":" in the page, and returns the glyph’s","type":"text"},{"type":"text","text":" "},{"code":"bitmap","type":"codeVoice"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"advance"},{"type":"text","text":" value."}],"kind":"symbol","metadata":{"modules":[{"name":"PlaydateKit"}],"symbolKind":"method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"glyph"},{"text":"(","kind":"text"},{"text":"for","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CUnsignedInt","preciseIdentifier":"s:s12CUnsignedInta"},{"kind":"text","text":") -> (pageGlyph"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO4FontC5GlyphC","text":"Glyph","kind":"typeIdentifier"},{"kind":"text","text":"?, bitmap"},{"kind":"text","text":": "},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap","kind":"typeIdentifier"},{"kind":"text","text":"?, advance"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"text":")","kind":"text"}],"roleHeading":"Instance Method","role":"symbol","title":"glyph(for:)","externalID":"s:11PlaydateKit0A0O8GraphicsO4FontC4PageC5glyph3forAG5GlyphCSg04pageH0_AE6BitmapCSg6bitmaps5Int32V7advancets6UInt32V_tF"},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Font/Page/glyph(for:)":{"abstract":[{"type":"text","text":"Returns a "},{"type":"codeVoice","code":"Font.Glyph"},{"type":"text","text":" object for character "},{"type":"codeVoice","code":"character"},{"type":"text","text":" in the page, and returns the glyph’s"},{"type":"text","text":" "},{"type":"codeVoice","code":"bitmap"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"advance"},{"type":"text","text":" value."}],"role":"symbol","kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/graphics\/font\/page\/glyph(for:)","title":"glyph(for:)","type":"topic","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"glyph","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"for"},{"kind":"text","text":": "},{"text":"CUnsignedInt","kind":"typeIdentifier","preciseIdentifier":"s:s12CUnsignedInta"},{"text":") -> (pageGlyph","kind":"text"},{"kind":"text","text":": "},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO4FontC5GlyphC","kind":"typeIdentifier","text":"Glyph"},{"text":"?, bitmap","kind":"text"},{"kind":"text","text":": "},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap","kind":"typeIdentifier"},{"text":"?, advance","kind":"text"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"},{"text":")","kind":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font\/Page\/glyph(for:)"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap":{"navigatorTitle":[{"text":"Bitmap","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Bitmap","kind":"identifier"}],"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"symbol","title":"Playdate.Graphics.Bitmap","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap","role":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Font":{"navigatorTitle":[{"text":"Font","kind":"identifier"}],"role":"symbol","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"Font","kind":"identifier"}],"type":"topic","abstract":[],"kind":"symbol","title":"Playdate.Graphics.Font","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font","url":"\/documentation\/playdatekit\/playdate\/graphics\/font"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Font/Glyph":{"abstract":[],"role":"symbol","title":"Playdate.Graphics.Font.Glyph","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font\/Glyph","navigatorTitle":[{"text":"Glyph","kind":"identifier"}],"type":"topic","url":"\/documentation\/playdatekit\/playdate\/graphics\/font\/glyph","kind":"symbol","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"Glyph","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Font/Page":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font\/Page","title":"Playdate.Graphics.Font.Page","role":"symbol","navigatorTitle":[{"text":"Page","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/font\/page","abstract":[],"kind":"symbol","type":"topic","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"Page","kind":"identifier"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/getdebugbitmap().json b/docs/data/documentation/playdatekit/playdate/graphics/getdebugbitmap().json new file mode 100644 index 00000000..75d4ce0e --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/getdebugbitmap().json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/getdebugbitmap()"]}],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/getDebugBitmap()","interfaceLanguage":"swift"},"sections":[],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"]]},"kind":"symbol","schemaVersion":{"minor":3,"major":0,"patch":0},"metadata":{"role":"symbol","symbolKind":"method","modules":[{"name":"PlaydateKit"}],"title":"getDebugBitmap()","externalID":"s:11PlaydateKit0A0O8GraphicsO14getDebugBitmapAE0F0CSgyFZ","roleHeading":"Type Method","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"getDebugBitmap","kind":"identifier"},{"text":"() -> ","kind":"text"},{"text":"Bitmap","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC"},{"kind":"text","text":"?"}]},"abstract":[{"type":"text","text":"Only valid in the Simulator; function returns nil on device. Returns the debug framebuffer as a bitmap."},{"text":" ","type":"text"},{"type":"text","text":"White pixels drawn in the image are overlaid on the display in 50% transparent red."}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"getDebugBitmap"},{"text":"() -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap"},{"kind":"text","text":"?"}]}],"kind":"declarations"}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/getDebugBitmap()":{"fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"getDebugBitmap"},{"text":"() -> ","kind":"text"},{"text":"Bitmap","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC"},{"text":"?","kind":"text"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/getdebugbitmap()","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/getDebugBitmap()","title":"getDebugBitmap()","role":"symbol","abstract":[{"text":"Only valid in the Simulator; function returns nil on device. Returns the debug framebuffer as a bitmap.","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"White pixels drawn in the image are overlaid on the display in 50% transparent red."}],"kind":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap":{"navigatorTitle":[{"text":"Bitmap","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Bitmap","kind":"identifier"}],"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"symbol","title":"Playdate.Graphics.Bitmap","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap","role":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/getdisplaybufferbitmap().json b/docs/data/documentation/playdatekit/playdate/graphics/getdisplaybufferbitmap().json new file mode 100644 index 00000000..33c11c4a --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/getdisplaybufferbitmap().json @@ -0,0 +1 @@ +{"kind":"symbol","schemaVersion":{"minor":3,"major":0,"patch":0},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/getdisplaybufferbitmap()"]}],"primaryContentSections":[{"declarations":[{"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"getDisplayBufferBitmap"},{"kind":"text","text":"() -> "},{"text":"Bitmap","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"metadata":{"modules":[{"name":"PlaydateKit"}],"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"getDisplayBufferBitmap","kind":"identifier"},{"kind":"text","text":"() -> "},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"role":"symbol","externalID":"s:11PlaydateKit0A0O8GraphicsO22getDisplayBufferBitmapAE0G0CSgyFZ","roleHeading":"Type Method","title":"getDisplayBufferBitmap()","symbolKind":"method"},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/getDisplayBufferBitmap()"},"abstract":[{"text":"Returns a bitmap containing the contents of the display buffer.","type":"text"}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/getDisplayBufferBitmap()":{"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/graphics\/getdisplaybufferbitmap()","title":"getDisplayBufferBitmap()","type":"topic","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"getDisplayBufferBitmap","kind":"identifier"},{"kind":"text","text":"() -> "},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"role":"symbol","abstract":[{"text":"Returns a bitmap containing the contents of the display buffer.","type":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/getDisplayBufferBitmap()"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap":{"navigatorTitle":[{"text":"Bitmap","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Bitmap","kind":"identifier"}],"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"symbol","title":"Playdate.Graphics.Bitmap","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap","role":"symbol","type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/getdisplayframe().json b/docs/data/documentation/playdatekit/playdate/graphics/getdisplayframe().json new file mode 100644 index 00000000..075ddf03 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/getdisplayframe().json @@ -0,0 +1 @@ +{"metadata":{"roleHeading":"Type Method","externalID":"s:11PlaydateKit0A0O8GraphicsO15getDisplayFrameSpys5UInt8VGSgyFZ","symbolKind":"method","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"getDisplayFrame"},{"kind":"text","text":"() -> "},{"text":"UnsafeMutablePointer","preciseIdentifier":"s:Sp","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"text":"UInt8","preciseIdentifier":"s:s5UInt8V","kind":"typeIdentifier"},{"kind":"text","text":">?"}],"modules":[{"name":"PlaydateKit"}],"title":"getDisplayFrame()","role":"symbol"},"sections":[],"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"getDisplayFrame"},{"text":"() -> ","kind":"text"},{"text":"UnsafeMutablePointer","preciseIdentifier":"s:Sp","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"preciseIdentifier":"s:s5UInt8V","text":"UInt8","kind":"typeIdentifier"},{"kind":"text","text":">?"}],"platforms":["macOS"]}],"kind":"declarations"}],"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/getdisplayframe()"]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/getDisplayFrame()"},"schemaVersion":{"minor":3,"major":0,"patch":0},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"]]},"abstract":[{"text":"Returns the raw bits in the display buffer, the last completed frame.","type":"text"}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/getDisplayFrame()":{"abstract":[{"type":"text","text":"Returns the raw bits in the display buffer, the last completed frame."}],"type":"topic","title":"getDisplayFrame()","kind":"symbol","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"getDisplayFrame"},{"text":"() -> ","kind":"text"},{"kind":"typeIdentifier","text":"UnsafeMutablePointer","preciseIdentifier":"s:Sp"},{"kind":"text","text":"<"},{"preciseIdentifier":"s:s5UInt8V","text":"UInt8","kind":"typeIdentifier"},{"text":">?","kind":"text"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/getdisplayframe()","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/getDisplayFrame()"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/getframe().json b/docs/data/documentation/playdatekit/playdate/graphics/getframe().json new file mode 100644 index 00000000..22398824 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/getframe().json @@ -0,0 +1 @@ +{"primaryContentSections":[{"declarations":[{"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"getFrame","kind":"identifier"},{"text":"() -> ","kind":"text"},{"text":"UnsafeMutablePointer","kind":"typeIdentifier","preciseIdentifier":"s:Sp"},{"text":"<","kind":"text"},{"preciseIdentifier":"s:s5UInt8V","text":"UInt8","kind":"typeIdentifier"},{"text":">?","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/getframe()"]}],"sections":[],"schemaVersion":{"minor":3,"patch":0,"major":0},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"]]},"kind":"symbol","identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/getFrame()","interfaceLanguage":"swift"},"metadata":{"title":"getFrame()","modules":[{"name":"PlaydateKit"}],"roleHeading":"Type Method","role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"getFrame","kind":"identifier"},{"kind":"text","text":"() -> "},{"kind":"typeIdentifier","text":"UnsafeMutablePointer","preciseIdentifier":"s:Sp"},{"text":"<","kind":"text"},{"text":"UInt8","kind":"typeIdentifier","preciseIdentifier":"s:s5UInt8V"},{"kind":"text","text":">?"}],"externalID":"s:11PlaydateKit0A0O8GraphicsO8getFrameSpys5UInt8VGSgyFZ","symbolKind":"method"},"abstract":[{"type":"text","text":"Returns the current display frame buffer. Rows are 32-bit aligned, so the row stride is 52 bytes,"},{"type":"text","text":" "},{"type":"text","text":"with the extra 2 bytes per row ignored. Bytes are MSB-ordered; i.e., the pixel in column 0 is the"},{"text":" ","type":"text"},{"type":"text","text":"0x80 bit of the first byte of the row."}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/getFrame()":{"title":"getFrame()","type":"topic","url":"\/documentation\/playdatekit\/playdate\/graphics\/getframe()","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"getFrame"},{"text":"() -> ","kind":"text"},{"text":"UnsafeMutablePointer","kind":"typeIdentifier","preciseIdentifier":"s:Sp"},{"text":"<","kind":"text"},{"text":"UInt8","kind":"typeIdentifier","preciseIdentifier":"s:s5UInt8V"},{"text":">?","kind":"text"}],"role":"symbol","kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/getFrame()","abstract":[{"type":"text","text":"Returns the current display frame buffer. Rows are 32-bit aligned, so the row stride is 52 bytes,"},{"text":" ","type":"text"},{"type":"text","text":"with the extra 2 bytes per row ignored. Bytes are MSB-ordered; i.e., the pixel in column 0 is the"},{"type":"text","text":" "},{"type":"text","text":"0x80 bit of the first byte of the row."}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/linecapstyle.json b/docs/data/documentation/playdatekit/playdate/graphics/linecapstyle.json new file mode 100644 index 00000000..bcec16c3 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/linecapstyle.json @@ -0,0 +1 @@ +{"metadata":{"role":"symbol","externalID":"s:11PlaydateKit0A0O8GraphicsO12LineCapStylea","title":"Playdate.Graphics.LineCapStyle","symbolKind":"typealias","modules":[{"name":"PlaydateKit"}],"navigatorTitle":[{"kind":"identifier","text":"LineCapStyle"}],"fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"text":"LineCapStyle","kind":"identifier"}],"roleHeading":"Type Alias"},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/LineCapStyle"},"sections":[],"schemaVersion":{"patch":0,"major":0,"minor":3},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"LineCapStyle"},{"text":" = ","kind":"text"},{"preciseIdentifier":"c:@EA@LCDLineCapStyle","kind":"typeIdentifier","text":"LCDLineCapStyle"}],"platforms":["macOS"],"languages":["swift"]}]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"]]},"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/graphics\/linecapstyle"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/LineCapStyle":{"navigatorTitle":[{"kind":"identifier","text":"LineCapStyle"}],"role":"symbol","kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/LineCapStyle","url":"\/documentation\/playdatekit\/playdate\/graphics\/linecapstyle","abstract":[],"title":"Playdate.Graphics.LineCapStyle","type":"topic","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"LineCapStyle"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/markupdatedrows(start:end:).json b/docs/data/documentation/playdatekit/playdate/graphics/markupdatedrows(start:end:).json new file mode 100644 index 00000000..cdb4175c --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/markupdatedrows(start:end:).json @@ -0,0 +1 @@ +{"sections":[],"schemaVersion":{"major":0,"patch":0,"minor":3},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/markUpdatedRows(start:end:)","interfaceLanguage":"swift"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"markUpdatedRows"},{"kind":"text","text":"("},{"text":"start","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"end"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":")"}],"languages":["swift"]}]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"]]},"kind":"symbol","abstract":[{"type":"text","text":"After updating pixels in the buffer returned by "},{"type":"codeVoice","code":"getFrame()"},{"text":", you must tell the graphics system which rows were updated.","type":"text"},{"text":" ","type":"text"},{"text":"This function marks a contiguous range of rows as updated (e.g., ","type":"text"},{"type":"codeVoice","code":"markUpdatedRows(0, LCD_ROWS - 1)"},{"type":"text","text":" tells the system"},{"type":"text","text":" "},{"type":"text","text":"to update the entire display). Both "},{"type":"codeVoice","code":"start"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"end"},{"type":"text","text":" are included in the range."}],"metadata":{"modules":[{"name":"PlaydateKit"}],"externalID":"s:11PlaydateKit0A0O8GraphicsO15markUpdatedRows5start3endys5Int32V_AJtFZ","symbolKind":"method","role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"markUpdatedRows","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"start"},{"text":": ","kind":"text"},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"end"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":")","kind":"text"}],"roleHeading":"Type Method","title":"markUpdatedRows(start:end:)"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/markupdatedrows(start:end:)"]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/markUpdatedRows(start:end:)":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/markUpdatedRows(start:end:)","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/graphics\/markupdatedrows(start:end:)","kind":"symbol","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"markUpdatedRows","kind":"identifier"},{"kind":"text","text":"("},{"text":"start","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"end","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"kind":"text","text":")"}],"title":"markUpdatedRows(start:end:)","type":"topic","abstract":[{"type":"text","text":"After updating pixels in the buffer returned by "},{"type":"codeVoice","code":"getFrame()"},{"type":"text","text":", you must tell the graphics system which rows were updated."},{"type":"text","text":" "},{"text":"This function marks a contiguous range of rows as updated (e.g., ","type":"text"},{"type":"codeVoice","code":"markUpdatedRows(0, LCD_ROWS - 1)"},{"text":" tells the system","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"to update the entire display). Both "},{"type":"codeVoice","code":"start"},{"type":"text","text":" and "},{"code":"end","type":"codeVoice"},{"text":" are included in the range.","type":"text"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/pattern.json b/docs/data/documentation/playdatekit/playdate/graphics/pattern.json new file mode 100644 index 00000000..6c06b4b3 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/pattern.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Pattern","interfaceLanguage":"swift"},"sections":[],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/pattern"]}],"metadata":{"role":"symbol","externalID":"s:11PlaydateKit0A0O8GraphicsO7Patterna","symbolKind":"typealias","modules":[{"name":"PlaydateKit"}],"fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Pattern"}],"navigatorTitle":[{"text":"Pattern","kind":"identifier"}],"roleHeading":"Type Alias","title":"Playdate.Graphics.Pattern"},"kind":"symbol","schemaVersion":{"minor":3,"patch":0,"major":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"text":"Pattern","kind":"identifier"},{"kind":"text","text":" = "},{"text":"LCDPattern","preciseIdentifier":"c:@T@LCDPattern","kind":"typeIdentifier"}],"languages":["swift"]}]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Pattern":{"url":"\/documentation\/playdatekit\/playdate\/graphics\/pattern","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Pattern","navigatorTitle":[{"kind":"identifier","text":"Pattern"}],"title":"Playdate.Graphics.Pattern","role":"symbol","type":"topic","abstract":[],"kind":"symbol","fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"text":"Pattern","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/polygonfillrule.json b/docs/data/documentation/playdatekit/playdate/graphics/polygonfillrule.json new file mode 100644 index 00000000..918b4240 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/polygonfillrule.json @@ -0,0 +1 @@ +{"metadata":{"title":"Playdate.Graphics.PolygonFillRule","roleHeading":"Type Alias","symbolKind":"typealias","role":"symbol","modules":[{"name":"PlaydateKit"}],"fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"PolygonFillRule"}],"navigatorTitle":[{"kind":"identifier","text":"PolygonFillRule"}],"externalID":"s:11PlaydateKit0A0O8GraphicsO15PolygonFillRulea"},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"PolygonFillRule","kind":"identifier"},{"kind":"text","text":" = "},{"text":"LCDPolygonFillRule","kind":"typeIdentifier","preciseIdentifier":"c:@EA@LCDPolygonFillRule"}]}],"kind":"declarations"}],"schemaVersion":{"minor":3,"patch":0,"major":0},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"]]},"sections":[],"kind":"symbol","identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/PolygonFillRule","interfaceLanguage":"swift"},"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/graphics\/polygonfillrule"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/PolygonFillRule":{"url":"\/documentation\/playdatekit\/playdate\/graphics\/polygonfillrule","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/PolygonFillRule","abstract":[],"type":"topic","navigatorTitle":[{"kind":"identifier","text":"PolygonFillRule"}],"title":"Playdate.Graphics.PolygonFillRule","fragments":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"PolygonFillRule"}],"role":"symbol","kind":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/popcontext().json b/docs/data/documentation/playdatekit/playdate/graphics/popcontext().json new file mode 100644 index 00000000..87178c6e --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/popcontext().json @@ -0,0 +1 @@ +{"schemaVersion":{"patch":0,"minor":3,"major":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/popContext()"},"abstract":[{"text":"Pops a context off the stack (if any are left), restoring the drawing settings from before the context was pushed.","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/popcontext()"]}],"metadata":{"role":"symbol","externalID":"s:11PlaydateKit0A0O8GraphicsO10popContextyyFZ","roleHeading":"Type Method","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"popContext","kind":"identifier"},{"text":"()","kind":"text"}],"title":"popContext()","modules":[{"name":"PlaydateKit"}],"symbolKind":"method"},"sections":[],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"popContext","kind":"identifier"},{"text":"()","kind":"text"}]}]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"]]},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/popContext()":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/popContext()","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/graphics\/popcontext()","kind":"symbol","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"popContext","kind":"identifier"},{"text":"()","kind":"text"}],"title":"popContext()","type":"topic","abstract":[{"type":"text","text":"Pops a context off the stack (if any are left), restoring the drawing settings from before the context was pushed."}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/pushcontext(_:).json b/docs/data/documentation/playdatekit/playdate/graphics/pushcontext(_:).json new file mode 100644 index 00000000..ef1ba39f --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/pushcontext(_:).json @@ -0,0 +1 @@ +{"kind":"symbol","abstract":[{"type":"text","text":"Push a new drawing context for drawing into the given bitmap."},{"text":" ","type":"text"},{"text":"If context is nil, the drawing functions will use the display framebuffer.","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/pushcontext(_:)"]}],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/pushContext(_:)","interfaceLanguage":"swift"},"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"pushContext","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"text":"context","kind":"internalParam"},{"text":": ","kind":"text"},{"text":"Bitmap","kind":"typeIdentifier","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC"},{"text":"?)","kind":"text"}]}],"kind":"declarations"}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"]]},"sections":[],"metadata":{"externalID":"s:11PlaydateKit0A0O8GraphicsO11pushContextyyAE6BitmapCSgFZ","role":"symbol","title":"pushContext(_:)","modules":[{"name":"PlaydateKit"}],"roleHeading":"Type Method","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"pushContext","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier","text":"Bitmap"},{"kind":"text","text":"?)"}],"symbolKind":"method"},"schemaVersion":{"patch":0,"minor":3,"major":0},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/pushContext(_:)":{"url":"\/documentation\/playdatekit\/playdate\/graphics\/pushcontext(_:)","kind":"symbol","abstract":[{"type":"text","text":"Push a new drawing context for drawing into the given bitmap."},{"type":"text","text":" "},{"text":"If context is nil, the drawing functions will use the display framebuffer.","type":"text"}],"title":"pushContext(_:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/pushContext(_:)","role":"symbol","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"pushContext"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap"},{"kind":"text","text":"?)"}],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap":{"navigatorTitle":[{"text":"Bitmap","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Bitmap","kind":"identifier"}],"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"symbol","title":"Playdate.Graphics.Bitmap","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap","role":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/rect.json b/docs/data/documentation/playdatekit/playdate/graphics/rect.json new file mode 100644 index 00000000..556f9a87 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/rect.json @@ -0,0 +1 @@ +{"schemaVersion":{"patch":0,"minor":3,"major":0},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Rect","interfaceLanguage":"swift"},"sections":[],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/graphics\/rect"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"symbolKind":"typealias","navigatorTitle":[{"text":"Rect","kind":"identifier"}],"externalID":"s:11PlaydateKit0A0O8GraphicsO4Recta","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Rect","kind":"identifier"}],"roleHeading":"Type Alias","role":"symbol","title":"Playdate.Graphics.Rect","modules":[{"name":"PlaydateKit"}]},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"]]},"primaryContentSections":[{"declarations":[{"tokens":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Rect"},{"kind":"text","text":" = "},{"text":"LCDRect","preciseIdentifier":"c:@SA@LCDRect","kind":"typeIdentifier"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Rect":{"fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Rect"}],"abstract":[],"navigatorTitle":[{"kind":"identifier","text":"Rect"}],"type":"topic","kind":"symbol","role":"symbol","title":"Playdate.Graphics.Rect","url":"\/documentation\/playdatekit\/playdate\/graphics\/rect","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Rect"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/setbackgroundcolor(_:).json b/docs/data/documentation/playdatekit/playdate/graphics/setbackgroundcolor(_:).json new file mode 100644 index 00000000..b7c91893 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/setbackgroundcolor(_:).json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/setbackgroundcolor(_:)"]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"]]},"abstract":[{"type":"text","text":"Sets the background color shown when the display is offset or for clearing dirty areas in the sprite system."}],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/setBackgroundColor(_:)","interfaceLanguage":"swift"},"schemaVersion":{"major":0,"patch":0,"minor":3},"sections":[],"metadata":{"title":"setBackgroundColor(_:)","modules":[{"name":"PlaydateKit"}],"roleHeading":"Type Method","role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"setBackgroundColor"},{"text":"(","kind":"text"},{"text":"SolidColor","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO10SolidColora"},{"kind":"text","text":")"}],"externalID":"s:11PlaydateKit0A0O8GraphicsO18setBackgroundColoryySo08LCDSolidF0aFZ","symbolKind":"method"},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"setBackgroundColor","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"text":"color","kind":"internalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO10SolidColora","text":"SolidColor","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/SolidColor"},{"kind":"text","text":")"}],"platforms":["macOS"]}]}],"kind":"symbol","references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/SolidColor":{"url":"\/documentation\/playdatekit\/playdate\/graphics\/solidcolor","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/SolidColor","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"SolidColor","kind":"identifier"}],"abstract":[],"kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"SolidColor"}],"title":"Playdate.Graphics.SolidColor","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/setBackgroundColor(_:)":{"abstract":[{"type":"text","text":"Sets the background color shown when the display is offset or for clearing dirty areas in the sprite system."}],"type":"topic","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"setBackgroundColor","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO10SolidColora","kind":"typeIdentifier","text":"SolidColor"},{"text":")","kind":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/setBackgroundColor(_:)","url":"\/documentation\/playdatekit\/playdate\/graphics\/setbackgroundcolor(_:)","role":"symbol","kind":"symbol","title":"setBackgroundColor(_:)"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/setcliprect(x:y:width:height:).json b/docs/data/documentation/playdatekit/playdate/graphics/setcliprect(x:y:width:height:).json new file mode 100644 index 00000000..556fe48b --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/setcliprect(x:y:width:height:).json @@ -0,0 +1 @@ +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"setClipRect","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"x"},{"kind":"text","text":": "},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"y","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"},{"text":", ","kind":"text"},{"text":"width","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"height"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":")"}],"languages":["swift"],"platforms":["macOS"]}]}],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/graphics\/setcliprect(x:y:width:height:)"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"schemaVersion":{"major":0,"minor":3,"patch":0},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"]]},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/setClipRect(x:y:width:height:)","interfaceLanguage":"swift"},"metadata":{"title":"setClipRect(x:y:width:height:)","modules":[{"name":"PlaydateKit"}],"roleHeading":"Type Method","role":"symbol","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"setClipRect"},{"kind":"text","text":"("},{"kind":"externalParam","text":"x"},{"kind":"text","text":": "},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"y"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"},{"text":", ","kind":"text"},{"text":"width","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":", "},{"text":"height","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"},{"text":")","kind":"text"}],"externalID":"s:11PlaydateKit0A0O8GraphicsO11setClipRect1x1y5width6heightys5Int32V_A3LtFZ","symbolKind":"method"},"abstract":[{"text":"Sets the current clip rect, using world coordinates—​that is, the given rectangle will be translated by","type":"text"},{"type":"text","text":" "},{"text":"the current drawing offset. The clip rect is cleared at the beginning of each update.","type":"text"}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/setClipRect(x:y:width:height:)":{"url":"\/documentation\/playdatekit\/playdate\/graphics\/setcliprect(x:y:width:height:)","kind":"symbol","abstract":[{"type":"text","text":"Sets the current clip rect, using world coordinates—​that is, the given rectangle will be translated by"},{"type":"text","text":" "},{"type":"text","text":"the current drawing offset. The clip rect is cleared at the beginning of each update."}],"title":"setClipRect(x:y:width:height:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/setClipRect(x:y:width:height:)","role":"symbol","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"setClipRect"},{"kind":"text","text":"("},{"kind":"externalParam","text":"x"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":", "},{"text":"y","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"CInt","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":", "},{"text":"width","kind":"externalParam"},{"kind":"text","text":": "},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"height","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"text":")","kind":"text"}],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/setdrawmode(_:).json b/docs/data/documentation/playdatekit/playdate/graphics/setdrawmode(_:).json new file mode 100644 index 00000000..1ad50973 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/setdrawmode(_:).json @@ -0,0 +1 @@ +{"metadata":{"role":"symbol","externalID":"s:11PlaydateKit0A0O8GraphicsO11setDrawModeyySo09LCDBitmapeF0aFZ","symbolKind":"method","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"setDrawMode"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Bitmap","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC8DrawModea","text":"DrawMode"},{"kind":"text","text":")"}],"title":"setDrawMode(_:)","roleHeading":"Type Method","modules":[{"name":"PlaydateKit"}]},"primaryContentSections":[{"declarations":[{"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"setDrawMode"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"text":"mode","kind":"internalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap"},{"kind":"text","text":"."},{"text":"DrawMode","kind":"typeIdentifier","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/DrawMode","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC8DrawModea"},{"text":")","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/setdrawmode(_:)"]}],"abstract":[{"text":"Sets the mode used for drawing bitmaps. Note that text drawing uses bitmaps, so this affects how fonts are displayed as well.","type":"text"}],"kind":"symbol","sections":[],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"]]},"schemaVersion":{"major":0,"minor":3,"patch":0},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/setDrawMode(_:)","interfaceLanguage":"swift"},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/setDrawMode(_:)":{"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"setDrawMode","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap"},{"kind":"text","text":"."},{"text":"DrawMode","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC8DrawModea"},{"text":")","kind":"text"}],"abstract":[{"text":"Sets the mode used for drawing bitmaps. Note that text drawing uses bitmaps, so this affects how fonts are displayed as well.","type":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/setDrawMode(_:)","kind":"symbol","title":"setDrawMode(_:)","url":"\/documentation\/playdatekit\/playdate\/graphics\/setdrawmode(_:)","role":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap/DrawMode":{"fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"DrawMode","kind":"identifier"}],"role":"symbol","abstract":[],"kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"DrawMode"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/drawmode","title":"Playdate.Graphics.Bitmap.DrawMode","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/DrawMode","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap":{"navigatorTitle":[{"text":"Bitmap","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Bitmap","kind":"identifier"}],"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"symbol","title":"Playdate.Graphics.Bitmap","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap","role":"symbol","type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/setdrawoffset(dx:dy:).json b/docs/data/documentation/playdatekit/playdate/graphics/setdrawoffset(dx:dy:).json new file mode 100644 index 00000000..aab23710 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/setdrawoffset(dx:dy:).json @@ -0,0 +1 @@ +{"primaryContentSections":[{"declarations":[{"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"setDrawOffset"},{"text":"(","kind":"text"},{"text":"dx","kind":"externalParam"},{"kind":"text","text":": "},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"dy"},{"kind":"text","text":": "},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"text":")","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"},{"content":[{"type":"heading","anchor":"discussion","text":"Discussion","level":2},{"inlineContent":[{"text":"This is useful, for example, for centering a “camera” on a sprite that is moving around a world larger than the screen.","type":"text"}],"type":"paragraph"}],"kind":"content"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/setdrawoffset(dx:dy:)"]}],"sections":[],"schemaVersion":{"patch":0,"minor":3,"major":0},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"]]},"metadata":{"title":"setDrawOffset(dx:dy:)","modules":[{"name":"PlaydateKit"}],"roleHeading":"Type Method","role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"setDrawOffset"},{"text":"(","kind":"text"},{"text":"dx","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"},{"kind":"text","text":", "},{"kind":"externalParam","text":"dy"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"},{"kind":"text","text":")"}],"externalID":"s:11PlaydateKit0A0O8GraphicsO13setDrawOffset2dx2dyys5Int32V_AJtFZ","symbolKind":"method"},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/setDrawOffset(dx:dy:)"},"abstract":[{"type":"text","text":"Offsets the origin point for all drawing calls to "},{"code":"dx","type":"codeVoice"},{"text":", ","type":"text"},{"type":"codeVoice","code":"dy"},{"type":"text","text":" (can be negative)."}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/setDrawOffset(dx:dy:)":{"url":"\/documentation\/playdatekit\/playdate\/graphics\/setdrawoffset(dx:dy:)","title":"setDrawOffset(dx:dy:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"setDrawOffset"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"dx"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":", "},{"text":"dy","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"kind":"text","text":")"}],"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/setDrawOffset(dx:dy:)","role":"symbol","abstract":[{"type":"text","text":"Offsets the origin point for all drawing calls to "},{"code":"dx","type":"codeVoice"},{"type":"text","text":", "},{"code":"dy","type":"codeVoice"},{"text":" (can be negative).","type":"text"}],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/setfont(_:).json b/docs/data/documentation/playdatekit/playdate/graphics/setfont(_:).json new file mode 100644 index 00000000..63c15d15 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/setfont(_:).json @@ -0,0 +1 @@ +{"kind":"symbol","abstract":[{"type":"text","text":"Sets the font to use in subsequent drawText calls."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"setFont","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"text":"font","kind":"internalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO4FontC","kind":"typeIdentifier","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font","text":"Font"},{"text":")","kind":"text"}],"platforms":["macOS"]}]}],"metadata":{"modules":[{"name":"PlaydateKit"}],"symbolKind":"method","title":"setFont(_:)","role":"symbol","externalID":"s:11PlaydateKit0A0O8GraphicsO7setFontyyAE0E0CFZ","roleHeading":"Type Method","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"setFont"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Font","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO4FontC"},{"kind":"text","text":")"}]},"schemaVersion":{"major":0,"minor":3,"patch":0},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/setfont(_:)"]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"]]},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/setFont(_:)","interfaceLanguage":"swift"},"sections":[],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/setFont(_:)":{"url":"\/documentation\/playdatekit\/playdate\/graphics\/setfont(_:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/setFont(_:)","title":"setFont(_:)","role":"symbol","type":"topic","kind":"symbol","abstract":[{"type":"text","text":"Sets the font to use in subsequent drawText calls."}],"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"setFont","kind":"identifier"},{"text":"(","kind":"text"},{"text":"Font","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO4FontC"},{"text":")","kind":"text"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Font":{"navigatorTitle":[{"text":"Font","kind":"identifier"}],"role":"symbol","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"Font","kind":"identifier"}],"type":"topic","abstract":[],"kind":"symbol","title":"Playdate.Graphics.Font","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Font","url":"\/documentation\/playdatekit\/playdate\/graphics\/font"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/setlinecapstyle(_:).json b/docs/data/documentation/playdatekit/playdate/graphics/setlinecapstyle(_:).json new file mode 100644 index 00000000..44eb7ca7 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/setlinecapstyle(_:).json @@ -0,0 +1 @@ +{"abstract":[{"type":"text","text":"Sets the end cap style used in the line drawing functions."}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/setlinecapstyle(_:)"]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/setLineCapStyle(_:)"},"schemaVersion":{"patch":0,"minor":3,"major":0},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"]]},"metadata":{"modules":[{"name":"PlaydateKit"}],"title":"setLineCapStyle(_:)","roleHeading":"Type Method","externalID":"s:11PlaydateKit0A0O8GraphicsO15setLineCapStyleyySo07LCDLinefG0aFZ","role":"symbol","symbolKind":"method","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"setLineCapStyle","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO12LineCapStylea","text":"LineCapStyle","kind":"typeIdentifier"},{"text":")","kind":"text"}]},"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"setLineCapStyle","kind":"identifier"},{"text":"(","kind":"text"},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"text":"style","kind":"internalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"LineCapStyle","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO12LineCapStylea","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/LineCapStyle"},{"text":")","kind":"text"}],"platforms":["macOS"]}],"kind":"declarations"}],"sections":[],"kind":"symbol","references":{"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/setLineCapStyle(_:)":{"title":"setLineCapStyle(_:)","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"setLineCapStyle","kind":"identifier"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO12LineCapStylea","text":"LineCapStyle","kind":"typeIdentifier"},{"kind":"text","text":")"}],"abstract":[{"text":"Sets the end cap style used in the line drawing functions.","type":"text"}],"type":"topic","url":"\/documentation\/playdatekit\/playdate\/graphics\/setlinecapstyle(_:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/setLineCapStyle(_:)","role":"symbol","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/LineCapStyle":{"navigatorTitle":[{"kind":"identifier","text":"LineCapStyle"}],"role":"symbol","kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/LineCapStyle","url":"\/documentation\/playdatekit\/playdate\/graphics\/linecapstyle","abstract":[],"title":"Playdate.Graphics.LineCapStyle","type":"topic","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"LineCapStyle"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/setscreencliprect(x:y:width:height:).json b/docs/data/documentation/playdatekit/playdate/graphics/setscreencliprect(x:y:width:height:).json new file mode 100644 index 00000000..154c2131 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/setscreencliprect(x:y:width:height:).json @@ -0,0 +1 @@ +{"schemaVersion":{"minor":3,"major":0,"patch":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/setScreenClipRect(x:y:width:height:)"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/setscreencliprect(x:y:width:height:)"]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"setScreenClipRect","kind":"identifier"},{"kind":"text","text":"("},{"text":"x","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"CInt","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"y"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"width","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":", ","kind":"text"},{"text":"height","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"text":")","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}]}],"kind":"symbol","abstract":[{"text":"Sets the current clip rect in screen coordinates.","type":"text"}],"sections":[],"metadata":{"modules":[{"name":"PlaydateKit"}],"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"setScreenClipRect"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"x"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":", "},{"kind":"externalParam","text":"y"},{"text":": ","kind":"text"},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"width","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"height","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"text":")","kind":"text"}],"role":"symbol","externalID":"s:11PlaydateKit0A0O8GraphicsO17setScreenClipRect1x1y5width6heightys5Int32V_A3LtFZ","roleHeading":"Type Method","title":"setScreenClipRect(x:y:width:height:)","symbolKind":"method"},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"]]},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/setScreenClipRect(x:y:width:height:)":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/setScreenClipRect(x:y:width:height:)","url":"\/documentation\/playdatekit\/playdate\/graphics\/setscreencliprect(x:y:width:height:)","title":"setScreenClipRect(x:y:width:height:)","role":"symbol","type":"topic","kind":"symbol","abstract":[{"type":"text","text":"Sets the current clip rect in screen coordinates."}],"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"setScreenClipRect"},{"kind":"text","text":"("},{"text":"x","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"y","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"kind":"text","text":", "},{"text":"width","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"height"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"CInt","preciseIdentifier":"s:s4CInta"},{"text":")","kind":"text"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/setstencil(_:).json b/docs/data/documentation/playdatekit/playdate/graphics/setstencil(_:).json new file mode 100644 index 00000000..fa927439 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/setstencil(_:).json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/setstencil(_:)"]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"setStencil","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"stencil"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","text":"Bitmap","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC"},{"text":"?)","kind":"text"}]}]}],"metadata":{"symbolKind":"method","externalID":"s:11PlaydateKit0A0O8GraphicsO10setStencilyyAE6BitmapCSgFZ","role":"symbol","roleHeading":"Type Method","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"setStencil"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap"},{"text":"?)","kind":"text"}],"title":"setStencil(_:)","modules":[{"name":"PlaydateKit"}]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/setStencil(_:)"},"schemaVersion":{"major":0,"patch":0,"minor":3},"kind":"symbol","abstract":[{"type":"text","text":"Sets the stencil used for drawing. For a tiled stencil, use setStencilImage() instead."},{"text":" ","type":"text"},{"type":"text","text":"To clear the stencil, set it to nil."}],"sections":[],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"]]},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/setStencil(_:)":{"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"setStencil"},{"kind":"text","text":"("},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier","text":"Bitmap"},{"text":"?)","kind":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/setStencil(_:)","type":"topic","title":"setStencil(_:)","role":"symbol","kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/graphics\/setstencil(_:)","abstract":[{"type":"text","text":"Sets the stencil used for drawing. For a tiled stencil, use setStencilImage() instead."},{"text":" ","type":"text"},{"type":"text","text":"To clear the stencil, set it to nil."}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap":{"navigatorTitle":[{"text":"Bitmap","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Bitmap","kind":"identifier"}],"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"symbol","title":"Playdate.Graphics.Bitmap","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap","role":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/setstencilimage(_:tile:).json b/docs/data/documentation/playdatekit/playdate/graphics/setstencilimage(_:tile:).json new file mode 100644 index 00000000..62d76728 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/setstencilimage(_:tile:).json @@ -0,0 +1 @@ +{"sections":[],"schemaVersion":{"minor":3,"patch":0,"major":0},"metadata":{"roleHeading":"Type Method","modules":[{"name":"PlaydateKit"}],"externalID":"s:11PlaydateKit0A0O8GraphicsO15setStencilImage_4tileyAE6BitmapC_SbtFZ","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"setStencilImage","kind":"identifier"},{"kind":"text","text":"("},{"text":"Bitmap","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"tile","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"},{"text":")","kind":"text"}],"role":"symbol","title":"setStencilImage(_:tile:)","symbolKind":"method"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"setStencilImage","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"text":"stencil","kind":"internalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","text":"Bitmap"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"tile"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"kind":"text","text":")"}],"languages":["swift"]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/setstencilimage(_:tile:)"]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"]]},"abstract":[{"type":"text","text":"Sets the stencil used for drawing. If "},{"code":"tile","type":"codeVoice"},{"text":" is true the stencil image will be tiled.","type":"text"},{"type":"text","text":" "},{"text":"Tiled stencils must have width equal to a multiple of 32 pixels.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"To clear the stencil, call "},{"type":"codeVoice","code":"setStencil(nil)"},{"text":".","type":"text"}],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/setStencilImage(_:tile:)","interfaceLanguage":"swift"},"kind":"symbol","references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/setStencilImage(_:tile:)":{"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/graphics\/setstencilimage(_:tile:)","title":"setStencilImage(_:tile:)","type":"topic","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"setStencilImage"},{"text":"(","kind":"text"},{"text":"Bitmap","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"tile","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"},{"kind":"text","text":")"}],"role":"symbol","abstract":[{"type":"text","text":"Sets the stencil used for drawing. If "},{"code":"tile","type":"codeVoice"},{"type":"text","text":" is true the stencil image will be tiled."},{"text":" ","type":"text"},{"type":"text","text":"Tiled stencils must have width equal to a multiple of 32 pixels."},{"text":" ","type":"text"},{"type":"text","text":"To clear the stencil, call "},{"code":"setStencil(nil)","type":"codeVoice"},{"text":".","type":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/setStencilImage(_:tile:)"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap":{"navigatorTitle":[{"text":"Bitmap","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Bitmap","kind":"identifier"}],"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"symbol","title":"Playdate.Graphics.Bitmap","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap","role":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/settextleading(_:).json b/docs/data/documentation/playdatekit/playdate/graphics/settextleading(_:).json new file mode 100644 index 00000000..898e02f1 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/settextleading(_:).json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"]]},"abstract":[{"type":"text","text":"Sets the leading adjustment (added to the leading specified in the font) to use when drawing text."}],"metadata":{"title":"setTextLeading(_:)","modules":[{"name":"PlaydateKit"}],"roleHeading":"Type Method","role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"setTextLeading","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"},{"text":")","kind":"text"}],"externalID":"s:11PlaydateKit0A0O8GraphicsO14setTextLeadingyys5Int32VFZ","symbolKind":"method"},"sections":[],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/setTextLeading(_:)","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/settextleading(_:)"]}],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"setTextLeading","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"leading"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"kind":"text","text":")"}],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"patch":0,"minor":3},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/setTextLeading(_:)":{"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"setTextLeading","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Sets the leading adjustment (added to the leading specified in the font) to use when drawing text."}],"title":"setTextLeading(_:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/setTextLeading(_:)","url":"\/documentation\/playdatekit\/playdate\/graphics\/settextleading(_:)","type":"topic","role":"symbol","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/solidcolor.json b/docs/data/documentation/playdatekit/playdate/graphics/solidcolor.json new file mode 100644 index 00000000..169cf724 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/solidcolor.json @@ -0,0 +1 @@ +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/SolidColor"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"text":"SolidColor","kind":"identifier"},{"kind":"text","text":" = "},{"text":"LCDSolidColor","kind":"typeIdentifier","preciseIdentifier":"c:@EA@LCDSolidColor"}],"languages":["swift"],"platforms":["macOS"]}]}],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/graphics\/solidcolor"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"symbolKind":"typealias","modules":[{"name":"PlaydateKit"}],"externalID":"s:11PlaydateKit0A0O8GraphicsO10SolidColora","roleHeading":"Type Alias","fragments":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"text":"SolidColor","kind":"identifier"}],"title":"Playdate.Graphics.SolidColor","role":"symbol","navigatorTitle":[{"text":"SolidColor","kind":"identifier"}]},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"]]},"schemaVersion":{"patch":0,"major":0,"minor":3},"sections":[],"kind":"symbol","references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/SolidColor":{"url":"\/documentation\/playdatekit\/playdate\/graphics\/solidcolor","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/SolidColor","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"SolidColor","kind":"identifier"}],"abstract":[],"kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"SolidColor"}],"title":"Playdate.Graphics.SolidColor","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/stringencoding.json b/docs/data/documentation/playdatekit/playdate/graphics/stringencoding.json new file mode 100644 index 00000000..2abf542c --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/stringencoding.json @@ -0,0 +1 @@ +{"sections":[],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"]]},"metadata":{"modules":[{"name":"PlaydateKit"}],"fragments":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"StringEncoding"}],"role":"symbol","externalID":"s:11PlaydateKit0A0O8GraphicsO14StringEncodinga","roleHeading":"Type Alias","title":"Playdate.Graphics.StringEncoding","symbolKind":"typealias","navigatorTitle":[{"kind":"identifier","text":"StringEncoding"}]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/StringEncoding"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/stringencoding"]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"StringEncoding"},{"kind":"text","text":" = "},{"text":"PDStringEncoding","preciseIdentifier":"c:@EA@PDStringEncoding","kind":"typeIdentifier"}],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"patch":0,"minor":3},"kind":"symbol","references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/StringEncoding":{"kind":"symbol","type":"topic","title":"Playdate.Graphics.StringEncoding","abstract":[],"role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/StringEncoding","navigatorTitle":[{"text":"StringEncoding","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"StringEncoding"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/stringencoding"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/texttracking.json b/docs/data/documentation/playdatekit/playdate/graphics/texttracking.json new file mode 100644 index 00000000..c59f2516 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/texttracking.json @@ -0,0 +1 @@ +{"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/graphics\/texttracking"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"roleHeading":"Type Property","role":"symbol","modules":[{"name":"PlaydateKit"}],"fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"textTracking","kind":"identifier"},{"text":": ","kind":"text"},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"}],"title":"textTracking","symbolKind":"property","externalID":"s:11PlaydateKit0A0O8GraphicsO12textTrackings5Int32VvpZ"},"schemaVersion":{"minor":3,"major":0,"patch":0},"abstract":[{"text":"The tracking to use when drawing text.","type":"text"}],"sections":[],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/textTracking","interfaceLanguage":"swift"},"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"textTracking"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CInt","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":" { "},{"text":"get","kind":"keyword"},{"kind":"text","text":" "},{"text":"set","kind":"keyword"},{"text":" }","kind":"text"}]}],"kind":"declarations"}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"]]},"kind":"symbol","references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/textTracking":{"url":"\/documentation\/playdatekit\/playdate\/graphics\/texttracking","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/textTracking","title":"textTracking","role":"symbol","type":"topic","kind":"symbol","abstract":[{"text":"The tracking to use when drawing text.","type":"text"}],"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"textTracking","kind":"identifier"},{"kind":"text","text":": "},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/tilebitmap(_:x:y:width:height:flip:).json b/docs/data/documentation/playdatekit/playdate/graphics/tilebitmap(_:x:y:width:height:flip:).json new file mode 100644 index 00000000..7ed0ad0c --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/tilebitmap(_:x:y:width:height:flip:).json @@ -0,0 +1 @@ +{"abstract":[{"text":"Draws the ","type":"text"},{"code":"bitmap","type":"codeVoice"},{"type":"text","text":" with its upper-left corner at location "},{"type":"codeVoice","code":"x"},{"type":"text","text":", "},{"type":"codeVoice","code":"y"},{"type":"text","text":" tiled inside a "},{"code":"width","type":"codeVoice"},{"text":" by ","type":"text"},{"type":"codeVoice","code":"height"},{"text":" rectangle.","type":"text"}],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/tileBitmap(_:x:y:width:height:flip:)","interfaceLanguage":"swift"},"sections":[],"schemaVersion":{"minor":3,"major":0,"patch":0},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"]]},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"tileBitmap","kind":"identifier"},{"text":"(","kind":"text"},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"text":"bitmap","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","text":"Bitmap","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC"},{"kind":"text","text":", "},{"kind":"externalParam","text":"x"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"y"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"width","kind":"externalParam"},{"kind":"text","text":": "},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"text":"height","kind":"externalParam"},{"kind":"text","text":": "},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":", "},{"text":"flip","kind":"externalParam"},{"kind":"text","text":": "},{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"typeIdentifier","text":"Bitmap","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC"},{"text":".","kind":"text"},{"kind":"typeIdentifier","text":"Flip","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC4Flipa","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/Flip"},{"text":")","kind":"text"}]}],"kind":"declarations"}],"metadata":{"modules":[{"name":"PlaydateKit"}],"fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"tileBitmap","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"x","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":", "},{"kind":"externalParam","text":"y"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":", ","kind":"text"},{"text":"width","kind":"externalParam"},{"kind":"text","text":": "},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"text":"height","kind":"externalParam"},{"kind":"text","text":": "},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"text":"flip","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Bitmap","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC"},{"kind":"text","text":"."},{"text":"Flip","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC4Flipa"},{"text":")","kind":"text"}],"role":"symbol","externalID":"s:11PlaydateKit0A0O8GraphicsO10tileBitmap_1x1y5width6height4flipyAE0E0C_s5Int32VA3OSo13LCDBitmapFlipatFZ","roleHeading":"Type Method","title":"tileBitmap(_:x:y:width:height:flip:)","symbolKind":"method"},"kind":"symbol","variants":[{"paths":["\/documentation\/playdatekit\/playdate\/graphics\/tilebitmap(_:x:y:width:height:flip:)"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap/Flip":{"abstract":[],"type":"topic","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/flip","role":"symbol","title":"Playdate.Graphics.Bitmap.Flip","kind":"symbol","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Flip","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Flip"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/Flip"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/tileBitmap(_:x:y:width:height:flip:)":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/tileBitmap(_:x:y:width:height:flip:)","title":"tileBitmap(_:x:y:width:height:flip:)","role":"symbol","kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/graphics\/tilebitmap(_:x:y:width:height:flip:)","abstract":[{"type":"text","text":"Draws the "},{"code":"bitmap","type":"codeVoice"},{"text":" with its upper-left corner at location ","type":"text"},{"code":"x","type":"codeVoice"},{"text":", ","type":"text"},{"type":"codeVoice","code":"y"},{"type":"text","text":" tiled inside a "},{"type":"codeVoice","code":"width"},{"text":" by ","type":"text"},{"type":"codeVoice","code":"height"},{"type":"text","text":" rectangle."}],"type":"topic","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"tileBitmap","kind":"identifier"},{"kind":"text","text":"("},{"text":"Bitmap","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"x","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"y"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"CInt","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"width"},{"kind":"text","text":": "},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":", "},{"text":"height","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"flip"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier","text":"Bitmap"},{"text":".","kind":"text"},{"text":"Flip","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC4Flipa","kind":"typeIdentifier"},{"text":")","kind":"text"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap":{"navigatorTitle":[{"text":"Bitmap","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Bitmap","kind":"identifier"}],"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"symbol","title":"Playdate.Graphics.Bitmap","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap","role":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/video.json b/docs/data/documentation/playdatekit/playdate/graphics/video.json new file mode 100644 index 00000000..0772ecc3 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/video.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"]]},"kind":"symbol","primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Video"}],"platforms":["macOS"]}],"kind":"declarations"}],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video","interfaceLanguage":"swift"},"schemaVersion":{"major":0,"minor":3,"patch":0},"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/graphics\/video"],"traits":[{"interfaceLanguage":"swift"}]}],"topicSections":[{"generated":true,"title":"Classes","identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video\/Player"]}],"sections":[],"metadata":{"modules":[{"name":"PlaydateKit"}],"externalID":"s:11PlaydateKit0A0O8GraphicsO5VideoO","symbolKind":"enum","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Video","kind":"identifier"}],"roleHeading":"Enumeration","navigatorTitle":[{"kind":"identifier","text":"Video"}],"role":"symbol","title":"Playdate.Graphics.Video"},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Video/Player":{"url":"\/documentation\/playdatekit\/playdate\/graphics\/video\/player","title":"Playdate.Graphics.Video.Player","type":"topic","abstract":[],"kind":"symbol","navigatorTitle":[{"text":"Player","kind":"identifier"}],"role":"symbol","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Player","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video\/Player"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Video":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Video","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Video"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/video","title":"Playdate.Graphics.Video","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/video/player.json b/docs/data/documentation/playdatekit/playdate/graphics/video/player.json new file mode 100644 index 00000000..6cd37873 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/video/player.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"declarations":[{"tokens":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Player"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/video\/player"]}],"sections":[],"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video\/Player\/init(path:)-672iw","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video\/Player\/init(path:)-9lw78"],"generated":true},{"generated":true,"title":"Instance Properties","identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video\/Player\/context","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video\/Player\/info"]},{"generated":true,"title":"Instance Methods","identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video\/Player\/renderFrame(_:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video\/Player\/setContext(_:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video\/Player\/useScreenContext()"]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video"]]},"metadata":{"externalID":"s:11PlaydateKit0A0O8GraphicsO5VideoO6PlayerC","roleHeading":"Class","modules":[{"name":"PlaydateKit"}],"title":"Playdate.Graphics.Video.Player","role":"symbol","symbolKind":"class","fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Player"}],"navigatorTitle":[{"text":"Player","kind":"identifier"}]},"schemaVersion":{"minor":3,"patch":0,"major":0},"kind":"symbol","identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video\/Player","interfaceLanguage":"swift"},"references":{"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Video/Player/init(path:)-9lw78":{"type":"topic","kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/graphics\/video\/player\/init(path:)-9lw78","abstract":[{"text":"Opens the pdv file at path and returns a new video player object for rendering its frames.","type":"text"}],"role":"symbol","title":"init(path:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video\/Player\/init(path:)-9lw78","fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"path"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s12StaticStringV","kind":"typeIdentifier","text":"StaticString"},{"kind":"text","text":")"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Video":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Video","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Video"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/video","title":"Playdate.Graphics.Video","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Video/Player/setContext(_:)":{"title":"setContext(_:)","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video\/Player\/setContext(_:)","type":"topic","abstract":[{"type":"text","text":"Sets the rendering destination for the video player to the given bitmap."}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/video\/player\/setcontext(_:)","kind":"symbol","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"setContext","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier","text":"Bitmap"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error","kind":"typeIdentifier"},{"kind":"text","text":")"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Video/Player":{"url":"\/documentation\/playdatekit\/playdate\/graphics\/video\/player","title":"Playdate.Graphics.Video.Player","type":"topic","abstract":[],"kind":"symbol","navigatorTitle":[{"text":"Player","kind":"identifier"}],"role":"symbol","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Player","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video\/Player"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Video/Player/renderFrame(_:)":{"kind":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"renderFrame","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":"("},{"preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error","kind":"typeIdentifier"},{"text":")","kind":"text"}],"title":"renderFrame(_:)","url":"\/documentation\/playdatekit\/playdate\/graphics\/video\/player\/renderframe(_:)","role":"symbol","abstract":[{"type":"text","text":"Renders frame number "},{"code":"frameNumber","type":"codeVoice"},{"text":" into the current context.","type":"text"}],"type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video\/Player\/renderFrame(_:)"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Video/Player/init(path:)-672iw":{"fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"path"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SP","text":"UnsafePointer"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s5CChara","text":"CChar"},{"kind":"text","text":">)"}],"type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video\/Player\/init(path:)-672iw","url":"\/documentation\/playdatekit\/playdate\/graphics\/video\/player\/init(path:)-672iw","kind":"symbol","abstract":[{"type":"text","text":"Opens the pdv file at path and returns a new video player object for rendering its frames."}],"title":"init(path:)","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Video/Player/info":{"url":"\/documentation\/playdatekit\/playdate\/graphics\/video\/player\/info","title":"info","type":"topic","abstract":[{"text":"Retrieves information about the video.","type":"text"}],"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"info","kind":"identifier"},{"kind":"text","text":": (width"},{"kind":"text","text":": "},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"text":", height","kind":"text"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":", frameRate","kind":"text"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","text":", frameCount"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"kind":"text","text":", currentFrame"},{"kind":"text","text":": "},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":")"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video\/Player\/info"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Video/Player/context":{"abstract":[{"text":"Gets the rendering destination for the video player. If no rendering context has been set, a context bitmap with the same","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"dimensions as the vieo will be allocated."}],"role":"symbol","kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/graphics\/video\/player\/context","title":"context","type":"topic","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"context"},{"kind":"text","text":": "},{"text":"Bitmap","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video\/Player\/context"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Video/Player/useScreenContext()":{"url":"\/documentation\/playdatekit\/playdate\/graphics\/video\/player\/usescreencontext()","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video\/Player\/useScreenContext()","title":"useScreenContext()","role":"symbol","type":"topic","abstract":[{"text":"Sets the rendering destination for the video player to the screen.","type":"text"}],"kind":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"useScreenContext"},{"text":"()","kind":"text"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/video/player/context.json b/docs/data/documentation/playdatekit/playdate/graphics/video/player/context.json new file mode 100644 index 00000000..edce8fef --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/video/player/context.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video\/Player"]]},"abstract":[{"text":"Gets the rendering destination for the video player. If no rendering context has been set, a context bitmap with the same","type":"text"},{"type":"text","text":" "},{"text":"dimensions as the vieo will be allocated.","type":"text"}],"metadata":{"externalID":"s:11PlaydateKit0A0O8GraphicsO5VideoO6PlayerC7contextAE6BitmapCvp","role":"symbol","title":"context","modules":[{"name":"PlaydateKit"}],"fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"context","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier","text":"Bitmap"}],"symbolKind":"property","roleHeading":"Instance Property"},"sections":[],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video\/Player\/context","interfaceLanguage":"swift"},"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/graphics\/video\/player\/context"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"context"},{"kind":"text","text":": "},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"typeIdentifier","text":"Bitmap"},{"kind":"text","text":" { "},{"kind":"keyword","text":"get"},{"text":" }","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"schemaVersion":{"patch":0,"minor":3,"major":0},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Video":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Video","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Video"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/video","title":"Playdate.Graphics.Video","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Video/Player":{"url":"\/documentation\/playdatekit\/playdate\/graphics\/video\/player","title":"Playdate.Graphics.Video.Player","type":"topic","abstract":[],"kind":"symbol","navigatorTitle":[{"text":"Player","kind":"identifier"}],"role":"symbol","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Player","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video\/Player"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap":{"navigatorTitle":[{"text":"Bitmap","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Bitmap","kind":"identifier"}],"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"symbol","title":"Playdate.Graphics.Bitmap","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap","role":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Video/Player/context":{"abstract":[{"text":"Gets the rendering destination for the video player. If no rendering context has been set, a context bitmap with the same","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"dimensions as the vieo will be allocated."}],"role":"symbol","kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/graphics\/video\/player\/context","title":"context","type":"topic","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"context"},{"kind":"text","text":": "},{"text":"Bitmap","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video\/Player\/context"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/video/player/info.json b/docs/data/documentation/playdatekit/playdate/graphics/video/player/info.json new file mode 100644 index 00000000..475e0f08 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/video/player/info.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video\/Player\/info","interfaceLanguage":"swift"},"kind":"symbol","metadata":{"role":"symbol","symbolKind":"property","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"info"},{"text":": (width","kind":"text"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CInt","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":", height"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"kind":"text","text":", frameRate"},{"kind":"text","text":": "},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"text":", frameCount","kind":"text"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":", currentFrame","kind":"text"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":")","kind":"text"}],"roleHeading":"Instance Property","title":"info","externalID":"s:11PlaydateKit0A0O8GraphicsO5VideoO6PlayerC4infos5Int32V5width_AL6heightSf9frameRateAL0J5CountAL12currentFrametvp","modules":[{"name":"PlaydateKit"}]},"schemaVersion":{"minor":3,"patch":0,"major":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"info","kind":"identifier"},{"text":": (width","kind":"text"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"kind":"text","text":", height"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":", frameRate","kind":"text"},{"text":": ","kind":"text"},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"text":", frameCount","kind":"text"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"kind":"text","text":", currentFrame"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"kind":"text","text":") { "},{"kind":"keyword","text":"get"},{"text":" }","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}]}],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/graphics\/video\/player\/info"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"abstract":[{"text":"Retrieves information about the video.","type":"text"}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video\/Player"]]},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Video":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Video","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Video"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/video","title":"Playdate.Graphics.Video","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Video/Player":{"url":"\/documentation\/playdatekit\/playdate\/graphics\/video\/player","title":"Playdate.Graphics.Video.Player","type":"topic","abstract":[],"kind":"symbol","navigatorTitle":[{"text":"Player","kind":"identifier"}],"role":"symbol","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Player","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video\/Player"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Video/Player/info":{"url":"\/documentation\/playdatekit\/playdate\/graphics\/video\/player\/info","title":"info","type":"topic","abstract":[{"text":"Retrieves information about the video.","type":"text"}],"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"info","kind":"identifier"},{"kind":"text","text":": (width"},{"kind":"text","text":": "},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"text":", height","kind":"text"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":", frameRate","kind":"text"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","text":", frameCount"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"kind":"text","text":", currentFrame"},{"kind":"text","text":": "},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":")"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video\/Player\/info"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/video/player/init(path:)-672iw.json b/docs/data/documentation/playdatekit/playdate/graphics/video/player/init(path:)-672iw.json new file mode 100644 index 00000000..b2e3f9b1 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/video/player/init(path:)-672iw.json @@ -0,0 +1 @@ +{"metadata":{"externalID":"s:11PlaydateKit0A0O8GraphicsO5VideoO6PlayerC4pathAISPys4Int8VG_tcfc","modules":[{"name":"PlaydateKit"}],"symbolKind":"init","title":"init(path:)","roleHeading":"Initializer","role":"symbol","fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"path"},{"kind":"text","text":": "},{"text":"UnsafePointer","kind":"typeIdentifier","preciseIdentifier":"s:SP"},{"text":"<","kind":"text"},{"text":"CChar","preciseIdentifier":"s:s5CChara","kind":"typeIdentifier"},{"kind":"text","text":">)"}]},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video\/Player"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video\/Player\/init(path:)-672iw"},"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"init","kind":"keyword"},{"text":"(","kind":"text"},{"text":"path","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SP","kind":"typeIdentifier","text":"UnsafePointer"},{"kind":"text","text":"<"},{"text":"CChar","kind":"typeIdentifier","preciseIdentifier":"s:s5CChara"},{"kind":"text","text":">)"}],"platforms":["macOS"]}],"kind":"declarations"}],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/graphics\/video\/player\/init(path:)-672iw"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"patch":0,"major":0,"minor":3},"kind":"symbol","sections":[],"abstract":[{"type":"text","text":"Opens the pdv file at path and returns a new video player object for rendering its frames."}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Video/Player/init(path:)-672iw":{"fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"path"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SP","text":"UnsafePointer"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s5CChara","text":"CChar"},{"kind":"text","text":">)"}],"type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video\/Player\/init(path:)-672iw","url":"\/documentation\/playdatekit\/playdate\/graphics\/video\/player\/init(path:)-672iw","kind":"symbol","abstract":[{"type":"text","text":"Opens the pdv file at path and returns a new video player object for rendering its frames."}],"title":"init(path:)","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Video/Player":{"url":"\/documentation\/playdatekit\/playdate\/graphics\/video\/player","title":"Playdate.Graphics.Video.Player","type":"topic","abstract":[],"kind":"symbol","navigatorTitle":[{"text":"Player","kind":"identifier"}],"role":"symbol","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Player","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video\/Player"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Video":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Video","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Video"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/video","title":"Playdate.Graphics.Video","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/video/player/init(path:)-9lw78.json b/docs/data/documentation/playdatekit/playdate/graphics/video/player/init(path:)-9lw78.json new file mode 100644 index 00000000..33ae75bf --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/video/player/init(path:)-9lw78.json @@ -0,0 +1 @@ +{"metadata":{"modules":[{"name":"PlaydateKit"}],"symbolKind":"init","title":"init(path:)","role":"symbol","externalID":"s:11PlaydateKit0A0O8GraphicsO5VideoO6PlayerC4pathAIs12StaticStringV_tcfc","roleHeading":"Initializer","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"path"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s12StaticStringV","kind":"typeIdentifier","text":"StaticString"},{"text":")","kind":"text"}]},"schemaVersion":{"patch":0,"major":0,"minor":3},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video\/Player\/init(path:)-9lw78","interfaceLanguage":"swift"},"abstract":[{"text":"Opens the pdv file at path and returns a new video player object for rendering its frames.","type":"text"}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video\/Player"]]},"sections":[],"primaryContentSections":[{"declarations":[{"tokens":[{"text":"init","kind":"keyword"},{"kind":"text","text":"("},{"text":"path","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"StaticString","preciseIdentifier":"s:s12StaticStringV","kind":"typeIdentifier"},{"kind":"text","text":")"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/video\/player\/init(path:)-9lw78"]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Video/Player/init(path:)-9lw78":{"type":"topic","kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/graphics\/video\/player\/init(path:)-9lw78","abstract":[{"text":"Opens the pdv file at path and returns a new video player object for rendering its frames.","type":"text"}],"role":"symbol","title":"init(path:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video\/Player\/init(path:)-9lw78","fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"path"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s12StaticStringV","kind":"typeIdentifier","text":"StaticString"},{"kind":"text","text":")"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Video/Player":{"url":"\/documentation\/playdatekit\/playdate\/graphics\/video\/player","title":"Playdate.Graphics.Video.Player","type":"topic","abstract":[],"kind":"symbol","navigatorTitle":[{"text":"Player","kind":"identifier"}],"role":"symbol","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Player","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video\/Player"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Video":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Video","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Video"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/video","title":"Playdate.Graphics.Video","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/video/player/renderframe(_:).json b/docs/data/documentation/playdatekit/playdate/graphics/video/player/renderframe(_:).json new file mode 100644 index 00000000..bdd86ba0 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/video/player/renderframe(_:).json @@ -0,0 +1 @@ +{"schemaVersion":{"major":0,"patch":0,"minor":3},"abstract":[{"type":"text","text":"Renders frame number "},{"type":"codeVoice","code":"frameNumber"},{"type":"text","text":" into the current context."}],"metadata":{"externalID":"s:11PlaydateKit0A0O8GraphicsO5VideoO6PlayerC11renderFrameyys5Int32VAC5ErrorVYKF","modules":[{"name":"PlaydateKit"}],"symbolKind":"method","title":"renderFrame(_:)","roleHeading":"Instance Method","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"renderFrame"},{"kind":"text","text":"("},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"text":"Error","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV"},{"kind":"text","text":")"}]},"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video\/Player\/renderFrame(_:)"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/video\/player\/renderframe(_:)"]}],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"renderFrame","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"text":"frameNumber","kind":"internalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":"("},{"text":"Error","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error"},{"kind":"text","text":")"}],"platforms":["macOS"],"languages":["swift"]}]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video\/Player"]]},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Video/Player":{"url":"\/documentation\/playdatekit\/playdate\/graphics\/video\/player","title":"Playdate.Graphics.Video.Player","type":"topic","abstract":[],"kind":"symbol","navigatorTitle":[{"text":"Player","kind":"identifier"}],"role":"symbol","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Player","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video\/Player"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Video":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Video","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Video"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/video","title":"Playdate.Graphics.Video","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Video/Player/renderFrame(_:)":{"kind":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"renderFrame","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":"("},{"preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error","kind":"typeIdentifier"},{"text":")","kind":"text"}],"title":"renderFrame(_:)","url":"\/documentation\/playdatekit\/playdate\/graphics\/video\/player\/renderframe(_:)","role":"symbol","abstract":[{"type":"text","text":"Renders frame number "},{"code":"frameNumber","type":"codeVoice"},{"text":" into the current context.","type":"text"}],"type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video\/Player\/renderFrame(_:)"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Error":{"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Error"}],"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/error","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","title":"Playdate.Error","role":"symbol","type":"topic","abstract":[]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/video/player/setcontext(_:).json b/docs/data/documentation/playdatekit/playdate/graphics/video/player/setcontext(_:).json new file mode 100644 index 00000000..b28ac3d2 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/video/player/setcontext(_:).json @@ -0,0 +1 @@ +{"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"setContext","kind":"identifier"},{"text":"(","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"context","kind":"internalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"text":"(","kind":"text"},{"text":"Error","kind":"typeIdentifier","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV"},{"kind":"text","text":")"}],"platforms":["macOS"]}]}],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video\/Player\/setContext(_:)","interfaceLanguage":"swift"},"metadata":{"externalID":"s:11PlaydateKit0A0O8GraphicsO5VideoO6PlayerC10setContextyyAE6BitmapCAC5ErrorVYKF","modules":[{"name":"PlaydateKit"}],"symbolKind":"method","title":"setContext(_:)","roleHeading":"Instance Method","role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"setContext"},{"text":"(","kind":"text"},{"text":"Bitmap","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","kind":"typeIdentifier","text":"Error"},{"text":")","kind":"text"}]},"abstract":[{"text":"Sets the rendering destination for the video player to the given bitmap.","type":"text"}],"kind":"symbol","schemaVersion":{"minor":3,"major":0,"patch":0},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/video\/player\/setcontext(_:)"]}],"sections":[],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video\/Player"]]},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Video/Player":{"url":"\/documentation\/playdatekit\/playdate\/graphics\/video\/player","title":"Playdate.Graphics.Video.Player","type":"topic","abstract":[],"kind":"symbol","navigatorTitle":[{"text":"Player","kind":"identifier"}],"role":"symbol","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Player","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video\/Player"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Error":{"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Error"}],"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/error","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","title":"Playdate.Error","role":"symbol","type":"topic","abstract":[]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Video/Player/setContext(_:)":{"title":"setContext(_:)","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video\/Player\/setContext(_:)","type":"topic","abstract":[{"type":"text","text":"Sets the rendering destination for the video player to the given bitmap."}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/video\/player\/setcontext(_:)","kind":"symbol","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"setContext","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier","text":"Bitmap"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error","kind":"typeIdentifier"},{"kind":"text","text":")"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Video":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Video","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Video"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/video","title":"Playdate.Graphics.Video","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap":{"navigatorTitle":[{"text":"Bitmap","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Bitmap","kind":"identifier"}],"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"symbol","title":"Playdate.Graphics.Bitmap","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap","role":"symbol","type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/graphics/video/player/usescreencontext().json b/docs/data/documentation/playdatekit/playdate/graphics/video/player/usescreencontext().json new file mode 100644 index 00000000..c19f817f --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/graphics/video/player/usescreencontext().json @@ -0,0 +1 @@ +{"kind":"symbol","schemaVersion":{"patch":0,"major":0,"minor":3},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/graphics\/video\/player\/usescreencontext()"]}],"abstract":[{"type":"text","text":"Sets the rendering destination for the video player to the screen."}],"sections":[],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video\/Player\/useScreenContext()","interfaceLanguage":"swift"},"metadata":{"symbolKind":"method","role":"symbol","roleHeading":"Instance Method","externalID":"s:11PlaydateKit0A0O8GraphicsO5VideoO6PlayerC16useScreenContextyyF","modules":[{"name":"PlaydateKit"}],"fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"useScreenContext"},{"text":"()","kind":"text"}],"title":"useScreenContext()"},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video\/Player"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"useScreenContext","kind":"identifier"},{"text":"()","kind":"text"}]}]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Video/Player/useScreenContext()":{"url":"\/documentation\/playdatekit\/playdate\/graphics\/video\/player\/usescreencontext()","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video\/Player\/useScreenContext()","title":"useScreenContext()","role":"symbol","type":"topic","abstract":[{"text":"Sets the rendering destination for the video player to the screen.","type":"text"}],"kind":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"useScreenContext"},{"text":"()","kind":"text"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Video/Player":{"url":"\/documentation\/playdatekit\/playdate\/graphics\/video\/player","title":"Playdate.Graphics.Video.Player","type":"topic","abstract":[],"kind":"symbol","navigatorTitle":[{"text":"Player","kind":"identifier"}],"role":"symbol","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Player","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video\/Player"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Video":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Video","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Video"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/video","title":"Playdate.Graphics.Video","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Video"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/initialize(with:).json b/docs/data/documentation/playdatekit/playdate/initialize(with:).json new file mode 100644 index 00000000..2bbcc7db --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/initialize(with:).json @@ -0,0 +1 @@ +{"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"initialize","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"with"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"pointer"},{"text":": ","kind":"text"},{"text":"UnsafeMutableRawPointer","kind":"typeIdentifier","preciseIdentifier":"s:Sv"},{"text":")","kind":"text"}]}],"kind":"declarations"}],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/initialize(with:)"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"schemaVersion":{"major":0,"patch":0,"minor":3},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate"]]},"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/initialize(with:)"},"metadata":{"title":"initialize(with:)","modules":[{"name":"PlaydateKit"}],"roleHeading":"Type Method","role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"initialize","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"with"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UnsafeMutableRawPointer","preciseIdentifier":"s:Sv"},{"kind":"text","text":")"}],"externalID":"s:11PlaydateKit0A0O10initialize4withySv_tFZ","symbolKind":"method"},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/initialize(with:)":{"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"initialize","kind":"identifier"},{"kind":"text","text":"("},{"text":"with","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sv","kind":"typeIdentifier","text":"UnsafeMutableRawPointer"},{"kind":"text","text":")"}],"url":"\/documentation\/playdatekit\/playdate\/initialize(with:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/initialize(with:)","kind":"symbol","title":"initialize(with:)","type":"topic","abstract":[],"role":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/json.json b/docs/data/documentation/playdatekit/playdate/json.json new file mode 100644 index 00000000..4add90a3 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/json.json @@ -0,0 +1 @@ +{"kind":"symbol","metadata":{"role":"symbol","title":"Playdate.JSON","navigatorTitle":[{"text":"JSON","kind":"identifier"}],"externalID":"s:11PlaydateKit0A0O4JSONO","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"JSON","kind":"identifier"}],"extendedModule":"PlaydateKit","modules":[{"name":"PlaydateKit"}],"roleHeading":"Enumeration","symbolKind":"enum"},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON","interfaceLanguage":"swift"},"topicSections":[{"generated":true,"title":"Type Aliases","identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/Decoder","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/Encoder","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/Reader","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/Value"]},{"title":"Type Methods","generated":true,"identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/decode(using:reader:value:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/decodeString(using:jsonString:value:)-1uq5u","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/decodeString(using:jsonString:value:)-xwiz","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/initEncoder(encoder:writeFunc:userdata:pretty:)"]}],"schemaVersion":{"major":0,"patch":0,"minor":3},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"JSON","kind":"identifier"}],"platforms":["macOS"]}]}],"sections":[],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/json"]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/JSON/Reader":{"kind":"symbol","fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Reader"}],"navigatorTitle":[{"text":"Reader","kind":"identifier"}],"title":"Playdate.JSON.Reader","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/Reader","type":"topic","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/json\/reader","abstract":[]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/JSON/Encoder":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/Encoder","title":"Playdate.JSON.Encoder","role":"symbol","navigatorTitle":[{"text":"Encoder","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/json\/encoder","abstract":[],"kind":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"text":"Encoder","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/JSON/decodeString(using:jsonString:value:)-1uq5u":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/decodeString(using:jsonString:value:)-1uq5u","title":"decodeString(using:jsonString:value:)","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/json\/decodestring(using:jsonstring:value:)-1uq5u","abstract":[{"text":"Decodes a JSON string with the given ","type":"text"},{"type":"codeVoice","code":"decoder"},{"type":"text","text":". An instance of "},{"code":"Decoder","type":"codeVoice"},{"type":"text","text":" must implement "},{"code":"decodeError","type":"codeVoice"},{"type":"text","text":"."},{"type":"text","text":" "},{"text":"The remaining functions are optional although you’ll probably want to implement at least ","type":"text"},{"type":"codeVoice","code":"didDecodeTableValue"},{"text":" ","type":"text"},{"text":"and ","type":"text"},{"type":"codeVoice","code":"didDecodeArrayValue"},{"text":". The ","type":"text"},{"type":"codeVoice","code":"value"},{"type":"text","text":" pointer, if set, contains the value returned from the top-level "},{"type":"codeVoice","code":"didDecodeSublist"},{"type":"text","text":" callback."}],"kind":"symbol","type":"topic","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"decodeString","kind":"identifier"},{"text":"(","kind":"text"},{"text":"using","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"keyword","text":"inout"},{"kind":"text","text":" "},{"kind":"typeIdentifier","text":"Decoder","preciseIdentifier":"s:11PlaydateKit0A0O4JSONO7Decodera"},{"text":", ","kind":"text"},{"text":"jsonString","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"StaticString","kind":"typeIdentifier","preciseIdentifier":"s:s12StaticStringV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"value"},{"text":": ","kind":"text"},{"text":"inout","kind":"keyword"},{"kind":"text","text":" "},{"kind":"typeIdentifier","text":"Value","preciseIdentifier":"s:11PlaydateKit0A0O4JSONO5Valuea"},{"kind":"text","text":") -> "},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/JSON":{"navigatorTitle":[{"text":"JSON","kind":"identifier"}],"kind":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JSON","kind":"identifier"}],"title":"Playdate.JSON","url":"\/documentation\/playdatekit\/playdate\/json","role":"symbol","abstract":[],"type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/JSON/decodeString(using:jsonString:value:)-xwiz":{"title":"decodeString(using:jsonString:value:)","type":"topic","url":"\/documentation\/playdatekit\/playdate\/json\/decodestring(using:jsonstring:value:)-xwiz","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"decodeString","kind":"identifier"},{"text":"(","kind":"text"},{"text":"using","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"inout","kind":"keyword"},{"kind":"text","text":" "},{"preciseIdentifier":"s:11PlaydateKit0A0O4JSONO7Decodera","text":"Decoder","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"jsonString"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sp","text":"UnsafeMutablePointer"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"CChar","preciseIdentifier":"s:s5CChara"},{"kind":"text","text":">, "},{"text":"value","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"keyword","text":"inout"},{"kind":"text","text":" "},{"preciseIdentifier":"s:11PlaydateKit0A0O4JSONO5Valuea","text":"Value","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"}],"role":"symbol","kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/decodeString(using:jsonString:value:)-xwiz","abstract":[{"text":"Decodes a JSON string with the given ","type":"text"},{"type":"codeVoice","code":"decoder"},{"type":"text","text":". An instance of "},{"code":"Decoder","type":"codeVoice"},{"text":" must implement ","type":"text"},{"code":"decodeError","type":"codeVoice"},{"type":"text","text":"."},{"type":"text","text":" "},{"text":"The remaining functions are optional although you’ll probably want to implement at least ","type":"text"},{"type":"codeVoice","code":"didDecodeTableValue"},{"type":"text","text":" "},{"type":"text","text":"and "},{"code":"didDecodeArrayValue","type":"codeVoice"},{"type":"text","text":". The "},{"type":"codeVoice","code":"value"},{"text":" pointer, if set, contains the value returned from the top-level ","type":"text"},{"type":"codeVoice","code":"didDecodeSublist"},{"type":"text","text":" callback."}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/JSON/decode(using:reader:value:)":{"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/json\/decode(using:reader:value:)","title":"decode(using:reader:value:)","type":"topic","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"decode","kind":"identifier"},{"kind":"text","text":"("},{"text":"using","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"keyword","text":"inout"},{"text":" ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O4JSONO7Decodera","text":"Decoder"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"reader"},{"text":": ","kind":"text"},{"text":"Reader","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O4JSONO6Readera"},{"kind":"text","text":", "},{"text":"value","kind":"externalParam"},{"kind":"text","text":": "},{"text":"inout","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Value","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O4JSONO5Valuea"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"}],"role":"symbol","abstract":[{"text":"Decodes a JSON file with the given ","type":"text"},{"code":"decoder","type":"codeVoice"},{"type":"text","text":". An instance of "},{"type":"codeVoice","code":"Decoder"},{"text":" must implement ","type":"text"},{"type":"codeVoice","code":"decodeError"},{"text":".","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"The remaining functions are optional although you’ll probably want to implement at least "},{"code":"didDecodeTableValue","type":"codeVoice"},{"text":" ","type":"text"},{"type":"text","text":"and "},{"type":"codeVoice","code":"didDecodeArrayValue"},{"type":"text","text":". The "},{"type":"codeVoice","code":"value"},{"type":"text","text":" pointer, if set, contains the value returned from the top-level "},{"code":"didDecodeSublist","type":"codeVoice"},{"type":"text","text":" callback."}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/decode(using:reader:value:)"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/JSON/Value":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/Value","title":"Playdate.JSON.Value","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"Value"}],"url":"\/documentation\/playdatekit\/playdate\/json\/value","abstract":[],"kind":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"text":"Value","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/JSON/initEncoder(encoder:writeFunc:userdata:pretty:)":{"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/initEncoder(encoder:writeFunc:userdata:pretty:)","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"initEncoder","kind":"identifier"},{"text":"(","kind":"text"},{"text":"encoder","kind":"externalParam"},{"kind":"text","text":": "},{"text":"inout","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Encoder","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O4JSONO7Encodera"},{"kind":"text","text":", "},{"text":"writeFunc","kind":"externalParam"},{"kind":"text","text":": ("},{"text":"@convention","kind":"attribute"},{"text":"(c) (","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"userdata","kind":"internalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sv","text":"UnsafeMutableRawPointer","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"text":"string","kind":"internalParam"},{"kind":"text","text":": "},{"text":"UnsafePointer","preciseIdentifier":"s:SP","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"text":"CChar","kind":"typeIdentifier","preciseIdentifier":"s:s5CChara"},{"kind":"text","text":">?, "},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"length","kind":"internalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:s4Voida","text":"Void"},{"text":")?, ","kind":"text"},{"text":"userdata","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UnsafeMutableRawPointer","preciseIdentifier":"s:Sv"},{"text":"?, ","kind":"text"},{"text":"pretty","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"text":")","kind":"text"}],"abstract":[{"text":"Populates the given ","type":"text"},{"type":"codeVoice","code":"Encoder"},{"type":"text","text":" "},{"type":"codeVoice","code":"encoder"},{"type":"text","text":" with the functions necessary to encode arbitrary data into a JSON string."},{"type":"text","text":" "},{"type":"codeVoice","code":"userdata"},{"type":"text","text":" is passed as the first argument of the given "},{"type":"codeVoice","code":"writeFunc"},{"text":" write. When ","type":"text"},{"type":"codeVoice","code":"pretty"},{"text":" is true the string is written","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"with human-readable formatting."}],"title":"initEncoder(encoder:writeFunc:userdata:pretty:)","url":"\/documentation\/playdatekit\/playdate\/json\/initencoder(encoder:writefunc:userdata:pretty:)","type":"topic","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/JSON/Decoder":{"navigatorTitle":[{"kind":"identifier","text":"Decoder"}],"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/Decoder","fragments":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Decoder"}],"abstract":[],"title":"Playdate.JSON.Decoder","url":"\/documentation\/playdatekit\/playdate\/json\/decoder","type":"topic","role":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/json/decode(using:reader:value:).json b/docs/data/documentation/playdatekit/playdate/json/decode(using:reader:value:).json new file mode 100644 index 00000000..8dafc12a --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/json/decode(using:reader:value:).json @@ -0,0 +1 @@ +{"sections":[],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON"]]},"metadata":{"modules":[{"name":"PlaydateKit"}],"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"decode","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"using"},{"text":": ","kind":"text"},{"text":"inout","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O4JSONO7Decodera","text":"Decoder"},{"kind":"text","text":", "},{"text":"reader","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:11PlaydateKit0A0O4JSONO6Readera","text":"Reader","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"value","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"keyword","text":"inout"},{"text":" ","kind":"text"},{"text":"Value","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O4JSONO5Valuea"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"}],"role":"symbol","externalID":"s:11PlaydateKit0A0O4JSONO6decode5using6reader5values5Int32VSo12json_decoderVz_So0i1_F0aSo0i1_G0aztFZ","roleHeading":"Type Method","title":"decode(using:reader:value:)","symbolKind":"method"},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/decode(using:reader:value:)"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/json\/decode(using:reader:value:)"]}],"primaryContentSections":[{"declarations":[{"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"decode"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"using"},{"text":" ","kind":"text"},{"text":"decoder","kind":"internalParam"},{"kind":"text","text":": "},{"text":"inout","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"typeIdentifier","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/Decoder","preciseIdentifier":"s:11PlaydateKit0A0O4JSONO7Decodera","text":"Decoder"},{"text":", ","kind":"text"},{"text":"reader","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Reader","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/Reader","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O4JSONO6Readera"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"value"},{"kind":"text","text":": "},{"kind":"keyword","text":"inout"},{"text":" ","kind":"text"},{"kind":"typeIdentifier","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/Value","preciseIdentifier":"s:11PlaydateKit0A0O4JSONO5Valuea","text":"Value"},{"text":") -> ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"schemaVersion":{"patch":0,"major":0,"minor":3},"kind":"symbol","abstract":[{"type":"text","text":"Decodes a JSON file with the given "},{"type":"codeVoice","code":"decoder"},{"type":"text","text":". An instance of "},{"type":"codeVoice","code":"Decoder"},{"type":"text","text":" must implement "},{"type":"codeVoice","code":"decodeError"},{"text":".","type":"text"},{"type":"text","text":" "},{"text":"The remaining functions are optional although you’ll probably want to implement at least ","type":"text"},{"type":"codeVoice","code":"didDecodeTableValue"},{"text":" ","type":"text"},{"text":"and ","type":"text"},{"type":"codeVoice","code":"didDecodeArrayValue"},{"type":"text","text":". The "},{"type":"codeVoice","code":"value"},{"type":"text","text":" pointer, if set, contains the value returned from the top-level "},{"type":"codeVoice","code":"didDecodeSublist"},{"text":" callback.","type":"text"}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/JSON/Reader":{"kind":"symbol","fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Reader"}],"navigatorTitle":[{"text":"Reader","kind":"identifier"}],"title":"Playdate.JSON.Reader","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/Reader","type":"topic","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/json\/reader","abstract":[]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/JSON/Value":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/Value","title":"Playdate.JSON.Value","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"Value"}],"url":"\/documentation\/playdatekit\/playdate\/json\/value","abstract":[],"kind":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"text":"Value","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/JSON/decode(using:reader:value:)":{"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/json\/decode(using:reader:value:)","title":"decode(using:reader:value:)","type":"topic","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"decode","kind":"identifier"},{"kind":"text","text":"("},{"text":"using","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"keyword","text":"inout"},{"text":" ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O4JSONO7Decodera","text":"Decoder"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"reader"},{"text":": ","kind":"text"},{"text":"Reader","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O4JSONO6Readera"},{"kind":"text","text":", "},{"text":"value","kind":"externalParam"},{"kind":"text","text":": "},{"text":"inout","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Value","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O4JSONO5Valuea"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"}],"role":"symbol","abstract":[{"text":"Decodes a JSON file with the given ","type":"text"},{"code":"decoder","type":"codeVoice"},{"type":"text","text":". An instance of "},{"type":"codeVoice","code":"Decoder"},{"text":" must implement ","type":"text"},{"type":"codeVoice","code":"decodeError"},{"text":".","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"The remaining functions are optional although you’ll probably want to implement at least "},{"code":"didDecodeTableValue","type":"codeVoice"},{"text":" ","type":"text"},{"type":"text","text":"and "},{"type":"codeVoice","code":"didDecodeArrayValue"},{"type":"text","text":". The "},{"type":"codeVoice","code":"value"},{"type":"text","text":" pointer, if set, contains the value returned from the top-level "},{"code":"didDecodeSublist","type":"codeVoice"},{"type":"text","text":" callback."}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/decode(using:reader:value:)"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/JSON/Decoder":{"navigatorTitle":[{"kind":"identifier","text":"Decoder"}],"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/Decoder","fragments":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Decoder"}],"abstract":[],"title":"Playdate.JSON.Decoder","url":"\/documentation\/playdatekit\/playdate\/json\/decoder","type":"topic","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/JSON":{"navigatorTitle":[{"text":"JSON","kind":"identifier"}],"kind":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JSON","kind":"identifier"}],"title":"Playdate.JSON","url":"\/documentation\/playdatekit\/playdate\/json","role":"symbol","abstract":[],"type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/json/decoder.json b/docs/data/documentation/playdatekit/playdate/json/decoder.json new file mode 100644 index 00000000..0ae51389 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/json/decoder.json @@ -0,0 +1 @@ +{"kind":"symbol","metadata":{"fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Decoder"}],"navigatorTitle":[{"text":"Decoder","kind":"identifier"}],"modules":[{"name":"PlaydateKit"}],"symbolKind":"typealias","role":"symbol","roleHeading":"Type Alias","title":"Playdate.JSON.Decoder","externalID":"s:11PlaydateKit0A0O4JSONO7Decodera"},"schemaVersion":{"patch":0,"major":0,"minor":3},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/Decoder"},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON"]]},"sections":[],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/json\/decoder"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"text":"Decoder","kind":"identifier"},{"kind":"text","text":" = "},{"preciseIdentifier":"c:@S@json_decoder","text":"json_decoder","kind":"typeIdentifier"}]}],"kind":"declarations"}],"references":{"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/JSON":{"navigatorTitle":[{"text":"JSON","kind":"identifier"}],"kind":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JSON","kind":"identifier"}],"title":"Playdate.JSON","url":"\/documentation\/playdatekit\/playdate\/json","role":"symbol","abstract":[],"type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/JSON/Decoder":{"navigatorTitle":[{"kind":"identifier","text":"Decoder"}],"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/Decoder","fragments":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Decoder"}],"abstract":[],"title":"Playdate.JSON.Decoder","url":"\/documentation\/playdatekit\/playdate\/json\/decoder","type":"topic","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/json/decodestring(using:jsonstring:value:)-1uq5u.json b/docs/data/documentation/playdatekit/playdate/json/decodestring(using:jsonstring:value:)-1uq5u.json new file mode 100644 index 00000000..ece1c2f2 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/json/decodestring(using:jsonstring:value:)-1uq5u.json @@ -0,0 +1 @@ +{"abstract":[{"text":"Decodes a JSON string with the given ","type":"text"},{"type":"codeVoice","code":"decoder"},{"type":"text","text":". An instance of "},{"type":"codeVoice","code":"Decoder"},{"text":" must implement ","type":"text"},{"type":"codeVoice","code":"decodeError"},{"type":"text","text":"."},{"type":"text","text":" "},{"type":"text","text":"The remaining functions are optional although you’ll probably want to implement at least "},{"code":"didDecodeTableValue","type":"codeVoice"},{"text":" ","type":"text"},{"type":"text","text":"and "},{"type":"codeVoice","code":"didDecodeArrayValue"},{"type":"text","text":". The "},{"type":"codeVoice","code":"value"},{"text":" pointer, if set, contains the value returned from the top-level ","type":"text"},{"type":"codeVoice","code":"didDecodeSublist"},{"text":" callback.","type":"text"}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON"]]},"sections":[],"schemaVersion":{"major":0,"minor":3,"patch":0},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/decodeString(using:jsonString:value:)-1uq5u","interfaceLanguage":"swift"},"metadata":{"symbolKind":"method","externalID":"s:11PlaydateKit0A0O4JSONO12decodeString5using04jsonE05values5Int32VSo0G8_decoderVz_s06StaticE0VSo0g1_H0aztFZ","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"decodeString"},{"text":"(","kind":"text"},{"text":"using","kind":"externalParam"},{"kind":"text","text":": "},{"text":"inout","kind":"keyword"},{"kind":"text","text":" "},{"text":"Decoder","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O4JSONO7Decodera"},{"text":", ","kind":"text"},{"text":"jsonString","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s12StaticStringV","text":"StaticString"},{"text":", ","kind":"text"},{"text":"value","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"inout","kind":"keyword"},{"kind":"text","text":" "},{"kind":"typeIdentifier","text":"Value","preciseIdentifier":"s:11PlaydateKit0A0O4JSONO5Valuea"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"}],"roleHeading":"Type Method","role":"symbol","title":"decodeString(using:jsonString:value:)","modules":[{"name":"PlaydateKit"}]},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"decodeString","kind":"identifier"},{"kind":"text","text":"("},{"text":"using","kind":"externalParam"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"decoder"},{"text":": ","kind":"text"},{"kind":"keyword","text":"inout"},{"text":" ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O4JSONO7Decodera","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/Decoder","text":"Decoder"},{"text":", ","kind":"text"},{"text":"jsonString","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s12StaticStringV","kind":"typeIdentifier","text":"StaticString"},{"kind":"text","text":", "},{"text":"value","kind":"externalParam"},{"kind":"text","text":": "},{"text":"inout","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"typeIdentifier","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/Value","preciseIdentifier":"s:11PlaydateKit0A0O4JSONO5Valuea","text":"Value"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"}]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/json\/decodestring(using:jsonstring:value:)-1uq5u"]}],"kind":"symbol","references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/JSON":{"navigatorTitle":[{"text":"JSON","kind":"identifier"}],"kind":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JSON","kind":"identifier"}],"title":"Playdate.JSON","url":"\/documentation\/playdatekit\/playdate\/json","role":"symbol","abstract":[],"type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/JSON/Value":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/Value","title":"Playdate.JSON.Value","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"Value"}],"url":"\/documentation\/playdatekit\/playdate\/json\/value","abstract":[],"kind":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"text":"Value","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/JSON/Decoder":{"navigatorTitle":[{"kind":"identifier","text":"Decoder"}],"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/Decoder","fragments":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Decoder"}],"abstract":[],"title":"Playdate.JSON.Decoder","url":"\/documentation\/playdatekit\/playdate\/json\/decoder","type":"topic","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/JSON/decodeString(using:jsonString:value:)-1uq5u":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/decodeString(using:jsonString:value:)-1uq5u","title":"decodeString(using:jsonString:value:)","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/json\/decodestring(using:jsonstring:value:)-1uq5u","abstract":[{"text":"Decodes a JSON string with the given ","type":"text"},{"type":"codeVoice","code":"decoder"},{"type":"text","text":". An instance of "},{"code":"Decoder","type":"codeVoice"},{"type":"text","text":" must implement "},{"code":"decodeError","type":"codeVoice"},{"type":"text","text":"."},{"type":"text","text":" "},{"text":"The remaining functions are optional although you’ll probably want to implement at least ","type":"text"},{"type":"codeVoice","code":"didDecodeTableValue"},{"text":" ","type":"text"},{"text":"and ","type":"text"},{"type":"codeVoice","code":"didDecodeArrayValue"},{"text":". The ","type":"text"},{"type":"codeVoice","code":"value"},{"type":"text","text":" pointer, if set, contains the value returned from the top-level "},{"type":"codeVoice","code":"didDecodeSublist"},{"type":"text","text":" callback."}],"kind":"symbol","type":"topic","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"decodeString","kind":"identifier"},{"text":"(","kind":"text"},{"text":"using","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"keyword","text":"inout"},{"kind":"text","text":" "},{"kind":"typeIdentifier","text":"Decoder","preciseIdentifier":"s:11PlaydateKit0A0O4JSONO7Decodera"},{"text":", ","kind":"text"},{"text":"jsonString","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"StaticString","kind":"typeIdentifier","preciseIdentifier":"s:s12StaticStringV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"value"},{"text":": ","kind":"text"},{"text":"inout","kind":"keyword"},{"kind":"text","text":" "},{"kind":"typeIdentifier","text":"Value","preciseIdentifier":"s:11PlaydateKit0A0O4JSONO5Valuea"},{"kind":"text","text":") -> "},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/json/decodestring(using:jsonstring:value:)-xwiz.json b/docs/data/documentation/playdatekit/playdate/json/decodestring(using:jsonstring:value:)-xwiz.json new file mode 100644 index 00000000..e8bdd18d --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/json/decodestring(using:jsonstring:value:)-xwiz.json @@ -0,0 +1 @@ +{"kind":"symbol","hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON"]]},"abstract":[{"type":"text","text":"Decodes a JSON string with the given "},{"type":"codeVoice","code":"decoder"},{"type":"text","text":". An instance of "},{"code":"Decoder","type":"codeVoice"},{"type":"text","text":" must implement "},{"type":"codeVoice","code":"decodeError"},{"text":".","type":"text"},{"type":"text","text":" "},{"type":"text","text":"The remaining functions are optional although you’ll probably want to implement at least "},{"code":"didDecodeTableValue","type":"codeVoice"},{"text":" ","type":"text"},{"text":"and ","type":"text"},{"type":"codeVoice","code":"didDecodeArrayValue"},{"type":"text","text":". The "},{"type":"codeVoice","code":"value"},{"text":" pointer, if set, contains the value returned from the top-level ","type":"text"},{"code":"didDecodeSublist","type":"codeVoice"},{"text":" callback.","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/json\/decodestring(using:jsonstring:value:)-xwiz"]}],"schemaVersion":{"minor":3,"patch":0,"major":0},"sections":[],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/decodeString(using:jsonString:value:)-xwiz","interfaceLanguage":"swift"},"metadata":{"externalID":"s:11PlaydateKit0A0O4JSONO12decodeString5using04jsonE05values5Int32VSo0G8_decoderVz_Spys4Int8VGSo0g1_H0aztFZ","modules":[{"name":"PlaydateKit"}],"symbolKind":"method","title":"decodeString(using:jsonString:value:)","roleHeading":"Type Method","role":"symbol","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"decodeString"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"using"},{"text":": ","kind":"text"},{"text":"inout","kind":"keyword"},{"text":" ","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O4JSONO7Decodera","kind":"typeIdentifier","text":"Decoder"},{"kind":"text","text":", "},{"text":"jsonString","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UnsafeMutablePointer","kind":"typeIdentifier","preciseIdentifier":"s:Sp"},{"text":"<","kind":"text"},{"text":"CChar","kind":"typeIdentifier","preciseIdentifier":"s:s5CChara"},{"text":">, ","kind":"text"},{"kind":"externalParam","text":"value"},{"text":": ","kind":"text"},{"text":"inout","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O4JSONO5Valuea","text":"Value"},{"kind":"text","text":") -> "},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"}]},"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"decodeString","kind":"identifier"},{"text":"(","kind":"text"},{"text":"using","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"decoder","kind":"internalParam"},{"text":": ","kind":"text"},{"text":"inout","kind":"keyword"},{"kind":"text","text":" "},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O4JSONO7Decodera","text":"Decoder","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/Decoder"},{"text":", ","kind":"text"},{"text":"jsonString","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sp","text":"UnsafeMutablePointer","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"preciseIdentifier":"s:s5CChara","text":"CChar","kind":"typeIdentifier"},{"kind":"text","text":">, "},{"kind":"externalParam","text":"value"},{"text":": ","kind":"text"},{"text":"inout","kind":"keyword"},{"text":" ","kind":"text"},{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/Value","kind":"typeIdentifier","text":"Value","preciseIdentifier":"s:11PlaydateKit0A0O4JSONO5Valuea"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/JSON/decodeString(using:jsonString:value:)-xwiz":{"title":"decodeString(using:jsonString:value:)","type":"topic","url":"\/documentation\/playdatekit\/playdate\/json\/decodestring(using:jsonstring:value:)-xwiz","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"decodeString","kind":"identifier"},{"text":"(","kind":"text"},{"text":"using","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"inout","kind":"keyword"},{"kind":"text","text":" "},{"preciseIdentifier":"s:11PlaydateKit0A0O4JSONO7Decodera","text":"Decoder","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"jsonString"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sp","text":"UnsafeMutablePointer"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"CChar","preciseIdentifier":"s:s5CChara"},{"kind":"text","text":">, "},{"text":"value","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"keyword","text":"inout"},{"kind":"text","text":" "},{"preciseIdentifier":"s:11PlaydateKit0A0O4JSONO5Valuea","text":"Value","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"}],"role":"symbol","kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/decodeString(using:jsonString:value:)-xwiz","abstract":[{"text":"Decodes a JSON string with the given ","type":"text"},{"type":"codeVoice","code":"decoder"},{"type":"text","text":". An instance of "},{"code":"Decoder","type":"codeVoice"},{"text":" must implement ","type":"text"},{"code":"decodeError","type":"codeVoice"},{"type":"text","text":"."},{"type":"text","text":" "},{"text":"The remaining functions are optional although you’ll probably want to implement at least ","type":"text"},{"type":"codeVoice","code":"didDecodeTableValue"},{"type":"text","text":" "},{"type":"text","text":"and "},{"code":"didDecodeArrayValue","type":"codeVoice"},{"type":"text","text":". The "},{"type":"codeVoice","code":"value"},{"text":" pointer, if set, contains the value returned from the top-level ","type":"text"},{"type":"codeVoice","code":"didDecodeSublist"},{"type":"text","text":" callback."}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/JSON":{"navigatorTitle":[{"text":"JSON","kind":"identifier"}],"kind":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JSON","kind":"identifier"}],"title":"Playdate.JSON","url":"\/documentation\/playdatekit\/playdate\/json","role":"symbol","abstract":[],"type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/JSON/Decoder":{"navigatorTitle":[{"kind":"identifier","text":"Decoder"}],"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/Decoder","fragments":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Decoder"}],"abstract":[],"title":"Playdate.JSON.Decoder","url":"\/documentation\/playdatekit\/playdate\/json\/decoder","type":"topic","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/JSON/Value":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/Value","title":"Playdate.JSON.Value","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"Value"}],"url":"\/documentation\/playdatekit\/playdate\/json\/value","abstract":[],"kind":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"text":"Value","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/json/encoder.json b/docs/data/documentation/playdatekit/playdate/json/encoder.json new file mode 100644 index 00000000..936793ca --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/json/encoder.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/Encoder","interfaceLanguage":"swift"},"schemaVersion":{"minor":3,"major":0,"patch":0},"sections":[],"kind":"symbol","variants":[{"paths":["\/documentation\/playdatekit\/playdate\/json\/encoder"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"text":"Encoder","kind":"identifier"},{"kind":"text","text":" = "},{"kind":"typeIdentifier","text":"json_encoder","preciseIdentifier":"c:@S@json_encoder"}],"platforms":["macOS"],"languages":["swift"]}]}],"metadata":{"modules":[{"name":"PlaydateKit"}],"externalID":"s:11PlaydateKit0A0O4JSONO7Encodera","symbolKind":"typealias","fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Encoder"}],"roleHeading":"Type Alias","navigatorTitle":[{"text":"Encoder","kind":"identifier"}],"role":"symbol","title":"Playdate.JSON.Encoder"},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/JSON":{"navigatorTitle":[{"text":"JSON","kind":"identifier"}],"kind":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JSON","kind":"identifier"}],"title":"Playdate.JSON","url":"\/documentation\/playdatekit\/playdate\/json","role":"symbol","abstract":[],"type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/JSON/Encoder":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/Encoder","title":"Playdate.JSON.Encoder","role":"symbol","navigatorTitle":[{"text":"Encoder","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/json\/encoder","abstract":[],"kind":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"text":"Encoder","kind":"identifier"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/json/initencoder(encoder:writefunc:userdata:pretty:).json b/docs/data/documentation/playdatekit/playdate/json/initencoder(encoder:writefunc:userdata:pretty:).json new file mode 100644 index 00000000..c051a656 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/json/initencoder(encoder:writefunc:userdata:pretty:).json @@ -0,0 +1 @@ +{"kind":"symbol","schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/json\/initencoder(encoder:writefunc:userdata:pretty:)"]}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"initEncoder"},{"kind":"text","text":"("},{"kind":"externalParam","text":"encoder"},{"text":": ","kind":"text"},{"kind":"keyword","text":"inout"},{"text":" ","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O4JSONO7Encodera","kind":"typeIdentifier","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/Encoder","text":"Encoder"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"writeFunc"},{"text":": (","kind":"text"},{"text":"@convention","kind":"attribute"},{"kind":"text","text":"(c) ("},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"text":"userdata","kind":"internalParam"},{"text":": ","kind":"text"},{"text":"UnsafeMutableRawPointer","kind":"typeIdentifier","preciseIdentifier":"s:Sv"},{"text":"?, ","kind":"text"},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"text":"string","kind":"internalParam"},{"kind":"text","text":": "},{"text":"UnsafePointer","kind":"typeIdentifier","preciseIdentifier":"s:SP"},{"kind":"text","text":"<"},{"preciseIdentifier":"s:s5CChara","text":"CChar","kind":"typeIdentifier"},{"text":">?, ","kind":"text"},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"length"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4Voida","text":"Void"},{"kind":"text","text":")?, "},{"kind":"externalParam","text":"userdata"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"UnsafeMutableRawPointer","preciseIdentifier":"s:Sv"},{"text":"?, ","kind":"text"},{"text":"pretty","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"text":")","kind":"text"}]}],"kind":"declarations"}],"metadata":{"modules":[{"name":"PlaydateKit"}],"fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"initEncoder"},{"kind":"text","text":"("},{"kind":"externalParam","text":"encoder"},{"kind":"text","text":": "},{"text":"inout","kind":"keyword"},{"text":" ","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O4JSONO7Encodera","text":"Encoder","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"writeFunc"},{"text":": (","kind":"text"},{"text":"@convention","kind":"attribute"},{"kind":"text","text":"(c) ("},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"userdata","kind":"internalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sv","text":"UnsafeMutableRawPointer"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"text":"string","kind":"internalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SP","text":"UnsafePointer"},{"text":"<","kind":"text"},{"preciseIdentifier":"s:s5CChara","text":"CChar","kind":"typeIdentifier"},{"kind":"text","text":">?, "},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"length"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CInt","preciseIdentifier":"s:s4CInta"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:s4Voida","text":"Void","kind":"typeIdentifier"},{"text":")?, ","kind":"text"},{"text":"userdata","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sv","text":"UnsafeMutableRawPointer"},{"text":"?, ","kind":"text"},{"text":"pretty","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"text":")","kind":"text"}],"role":"symbol","externalID":"s:11PlaydateKit0A0O4JSONO11initEncoder7encoder9writeFunc8userdata6prettyySo05json_F0Vz_ySvSg_SPys4Int8VGSgs5Int32VtXCSgAMSbtFZ","roleHeading":"Type Method","title":"initEncoder(encoder:writeFunc:userdata:pretty:)","symbolKind":"method"},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON"]]},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/initEncoder(encoder:writeFunc:userdata:pretty:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Populates the given "},{"type":"codeVoice","code":"Encoder"},{"type":"text","text":" "},{"type":"codeVoice","code":"encoder"},{"text":" with the functions necessary to encode arbitrary data into a JSON string.","type":"text"},{"type":"text","text":" "},{"code":"userdata","type":"codeVoice"},{"type":"text","text":" is passed as the first argument of the given "},{"type":"codeVoice","code":"writeFunc"},{"text":" write. When ","type":"text"},{"type":"codeVoice","code":"pretty"},{"text":" is true the string is written","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"with human-readable formatting."}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/JSON/Encoder":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/Encoder","title":"Playdate.JSON.Encoder","role":"symbol","navigatorTitle":[{"text":"Encoder","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/json\/encoder","abstract":[],"kind":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"text":"Encoder","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/JSON":{"navigatorTitle":[{"text":"JSON","kind":"identifier"}],"kind":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JSON","kind":"identifier"}],"title":"Playdate.JSON","url":"\/documentation\/playdatekit\/playdate\/json","role":"symbol","abstract":[],"type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/JSON/initEncoder(encoder:writeFunc:userdata:pretty:)":{"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/initEncoder(encoder:writeFunc:userdata:pretty:)","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"initEncoder","kind":"identifier"},{"text":"(","kind":"text"},{"text":"encoder","kind":"externalParam"},{"kind":"text","text":": "},{"text":"inout","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Encoder","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O4JSONO7Encodera"},{"kind":"text","text":", "},{"text":"writeFunc","kind":"externalParam"},{"kind":"text","text":": ("},{"text":"@convention","kind":"attribute"},{"text":"(c) (","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"userdata","kind":"internalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sv","text":"UnsafeMutableRawPointer","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"text":"string","kind":"internalParam"},{"kind":"text","text":": "},{"text":"UnsafePointer","preciseIdentifier":"s:SP","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"text":"CChar","kind":"typeIdentifier","preciseIdentifier":"s:s5CChara"},{"kind":"text","text":">?, "},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"length","kind":"internalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:s4Voida","text":"Void"},{"text":")?, ","kind":"text"},{"text":"userdata","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UnsafeMutableRawPointer","preciseIdentifier":"s:Sv"},{"text":"?, ","kind":"text"},{"text":"pretty","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"text":")","kind":"text"}],"abstract":[{"text":"Populates the given ","type":"text"},{"type":"codeVoice","code":"Encoder"},{"type":"text","text":" "},{"type":"codeVoice","code":"encoder"},{"type":"text","text":" with the functions necessary to encode arbitrary data into a JSON string."},{"type":"text","text":" "},{"type":"codeVoice","code":"userdata"},{"type":"text","text":" is passed as the first argument of the given "},{"type":"codeVoice","code":"writeFunc"},{"text":" write. When ","type":"text"},{"type":"codeVoice","code":"pretty"},{"text":" is true the string is written","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"with human-readable formatting."}],"title":"initEncoder(encoder:writeFunc:userdata:pretty:)","url":"\/documentation\/playdatekit\/playdate\/json\/initencoder(encoder:writefunc:userdata:pretty:)","type":"topic","role":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/json/reader.json b/docs/data/documentation/playdatekit/playdate/json/reader.json new file mode 100644 index 00000000..d5d98c13 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/json/reader.json @@ -0,0 +1 @@ +{"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/json\/reader"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON"]]},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/Reader","interfaceLanguage":"swift"},"sections":[],"schemaVersion":{"major":0,"minor":3,"patch":0},"metadata":{"fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"text":"Reader","kind":"identifier"}],"modules":[{"name":"PlaydateKit"}],"externalID":"s:11PlaydateKit0A0O4JSONO6Readera","role":"symbol","roleHeading":"Type Alias","title":"Playdate.JSON.Reader","symbolKind":"typealias","navigatorTitle":[{"kind":"identifier","text":"Reader"}]},"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"text":"Reader","kind":"identifier"},{"text":" = ","kind":"text"},{"text":"json_reader","kind":"typeIdentifier","preciseIdentifier":"c:@SA@json_reader"}],"platforms":["macOS"]}],"kind":"declarations"}],"kind":"symbol","references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/JSON":{"navigatorTitle":[{"text":"JSON","kind":"identifier"}],"kind":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JSON","kind":"identifier"}],"title":"Playdate.JSON","url":"\/documentation\/playdatekit\/playdate\/json","role":"symbol","abstract":[],"type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/JSON/Reader":{"kind":"symbol","fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Reader"}],"navigatorTitle":[{"text":"Reader","kind":"identifier"}],"title":"Playdate.JSON.Reader","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/Reader","type":"topic","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/json\/reader","abstract":[]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/json/value.json b/docs/data/documentation/playdatekit/playdate/json/value.json new file mode 100644 index 00000000..d236a889 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/json/value.json @@ -0,0 +1 @@ +{"schemaVersion":{"major":0,"minor":3,"patch":0},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/json\/value"]}],"metadata":{"externalID":"s:11PlaydateKit0A0O4JSONO5Valuea","navigatorTitle":[{"text":"Value","kind":"identifier"}],"role":"symbol","title":"Playdate.JSON.Value","modules":[{"name":"PlaydateKit"}],"roleHeading":"Type Alias","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"text":"Value","kind":"identifier"}],"symbolKind":"typealias"},"sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Value"},{"kind":"text","text":" = "},{"text":"json_value","preciseIdentifier":"c:@SA@json_value","kind":"typeIdentifier"}]}]}],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/Value","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON"]]},"kind":"symbol","references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/JSON/Value":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON\/Value","title":"Playdate.JSON.Value","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"Value"}],"url":"\/documentation\/playdatekit\/playdate\/json\/value","abstract":[],"kind":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"text":"Value","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/JSON":{"navigatorTitle":[{"text":"JSON","kind":"identifier"}],"kind":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JSON","kind":"identifier"}],"title":"Playdate.JSON","url":"\/documentation\/playdatekit\/playdate\/json","role":"symbol","abstract":[],"type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/JSON"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/playdateapi.json b/docs/data/documentation/playdatekit/playdate/playdateapi.json new file mode 100644 index 00000000..c490e47c --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/playdateapi.json @@ -0,0 +1 @@ +{"metadata":{"modules":[{"name":"PlaydateKit"}],"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"playdateAPI","kind":"identifier"},{"text":": ","kind":"text"},{"text":"PlaydateAPI","preciseIdentifier":"c:@S@PlaydateAPI","kind":"typeIdentifier"},{"kind":"text","text":"!"}],"role":"symbol","externalID":"s:11PlaydateKit0A0O11playdateAPISo0aD0VSgvpZ","roleHeading":"Type Property","title":"playdateAPI","symbolKind":"property"},"sections":[],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/playdateapi"]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/playdateAPI"},"schemaVersion":{"patch":0,"minor":3,"major":0},"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"nonisolated","kind":"attribute"},{"text":"(unsafe) ","kind":"text"},{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"playdateAPI","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:@S@PlaydateAPI","text":"PlaydateAPI","kind":"typeIdentifier"},{"text":"! { ","kind":"text"},{"text":"get","kind":"keyword"},{"text":" }","kind":"text"}],"platforms":["macOS"]}],"kind":"declarations"}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/playdateAPI":{"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"playdateAPI"},{"text":": ","kind":"text"},{"text":"PlaydateAPI","kind":"typeIdentifier","preciseIdentifier":"c:@S@PlaydateAPI"},{"text":"!","kind":"text"}],"abstract":[],"title":"playdateAPI","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/playdateAPI","url":"\/documentation\/playdatekit\/playdate\/playdateapi","type":"topic","role":"symbol","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/scoreboards.json b/docs/data/documentation/playdatekit/playdate/scoreboards.json new file mode 100644 index 00000000..5f6a5fcc --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/scoreboards.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards","interfaceLanguage":"swift"},"schemaVersion":{"minor":3,"patch":0,"major":0},"sections":[],"kind":"symbol","topicSections":[{"generated":true,"identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/BoardsList","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/Score","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/ScoresList"],"title":"Type Aliases"},{"title":"Type Methods","generated":true,"identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/addScore(boardID:value:callback:)-29nc6","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/addScore(boardID:value:callback:)-8xab3","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/freeBoardsList(_:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/freeScore(_:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/freeScoresList(_:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/getPersonalBest(boardID:callback:)-8h5m9","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/getPersonalBest(boardID:callback:)-a93b","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/getScoreboards(callback:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/getScores(boardID:callback:)-8hnfz","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/getScores(boardID:callback:)-9heou"]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate"]]},"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"Scoreboards","kind":"identifier"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"},{"content":[{"anchor":"overview","level":2,"type":"heading","text":"Overview"},{"content":[{"inlineContent":[{"type":"text","text":""},{"type":"text","text":" "},{"text":"Scoreboard support is only available to games that are distributed via Panic in a Season or in Catalog.","type":"text"}],"type":"paragraph"}],"name":"Warning","type":"aside","style":"warning"}],"kind":"content"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/scoreboards"]}],"metadata":{"modules":[{"name":"PlaydateKit"}],"externalID":"s:11PlaydateKit0A0O11ScoreboardsO","symbolKind":"enum","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"Scoreboards","kind":"identifier"}],"roleHeading":"Enumeration","navigatorTitle":[{"kind":"identifier","text":"Scoreboards"}],"extendedModule":"PlaydateKit","role":"symbol","title":"Playdate.Scoreboards"},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards":{"type":"topic","title":"Playdate.Scoreboards","url":"\/documentation\/playdatekit\/playdate\/scoreboards","abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards","navigatorTitle":[{"kind":"identifier","text":"Scoreboards"}],"role":"symbol","kind":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Scoreboards","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards/BoardsList":{"navigatorTitle":[{"kind":"identifier","text":"BoardsList"}],"type":"topic","abstract":[],"role":"symbol","kind":"symbol","title":"Playdate.Scoreboards.BoardsList","url":"\/documentation\/playdatekit\/playdate\/scoreboards\/boardslist","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/BoardsList","fragments":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"BoardsList"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards/freeScoresList(_:)":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/freeScoresList(_:)","url":"\/documentation\/playdatekit\/playdate\/scoreboards\/freescoreslist(_:)","abstract":[{"type":"text","text":"Free a list of scores."}],"type":"topic","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"freeScoresList"},{"kind":"text","text":"("},{"text":"UnsafeMutablePointer","preciseIdentifier":"s:Sp","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"text":"ScoresList","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O11ScoreboardsO10ScoresLista"},{"text":">)","kind":"text"}],"kind":"symbol","title":"freeScoresList(_:)","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards/getScores(boardID:callback:)-9heou":{"title":"getScores(boardID:callback:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/getScores(boardID:callback:)-9heou","url":"\/documentation\/playdatekit\/playdate\/scoreboards\/getscores(boardid:callback:)-9heou","role":"symbol","kind":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"getScores"},{"text":"(","kind":"text"},{"text":"boardID","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UnsafePointer","kind":"typeIdentifier","preciseIdentifier":"s:SP"},{"text":"<","kind":"text"},{"preciseIdentifier":"s:s5CChara","text":"CChar","kind":"typeIdentifier"},{"text":">, ","kind":"text"},{"text":"callback","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"@convention","kind":"attribute"},{"kind":"text","text":"(c) ("},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"kind":"internalParam","text":"scores"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sp","text":"UnsafeMutablePointer"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"ScoresList","preciseIdentifier":"s:11PlaydateKit0A0O11ScoreboardsO10ScoresLista"},{"kind":"text","text":">?, "},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"text":"errorMessage","kind":"internalParam"},{"text":": ","kind":"text"},{"text":"UnsafePointer","preciseIdentifier":"s:SP","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"CChar","preciseIdentifier":"s:s5CChara"},{"text":">?) -> ","kind":"text"},{"text":"Void","preciseIdentifier":"s:s4Voida","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"}],"abstract":[]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards/freeBoardsList(_:)":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/freeBoardsList(_:)","title":"freeBoardsList(_:)","type":"topic","url":"\/documentation\/playdatekit\/playdate\/scoreboards\/freeboardslist(_:)","kind":"symbol","abstract":[{"text":"Free a list of scoreboards.","type":"text"}],"role":"symbol","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"freeBoardsList"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:Sp","text":"UnsafeMutablePointer"},{"kind":"text","text":"<"},{"text":"BoardsList","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O11ScoreboardsO10BoardsLista"},{"kind":"text","text":">)"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards/Score":{"abstract":[],"role":"symbol","url":"\/documentation\/playdatekit\/playdate\/scoreboards\/score","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/Score","title":"Playdate.Scoreboards.Score","navigatorTitle":[{"text":"Score","kind":"identifier"}],"kind":"symbol","type":"topic","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Score","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards/freeScore(_:)":{"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"freeScore","kind":"identifier"},{"kind":"text","text":"("},{"text":"UnsafeMutablePointer","kind":"typeIdentifier","preciseIdentifier":"s:Sp"},{"kind":"text","text":"<"},{"text":"Score","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O11ScoreboardsO5Scorea"},{"text":">)","kind":"text"}],"abstract":[{"text":"Free a score struct that was provided to a callback.","type":"text"}],"url":"\/documentation\/playdatekit\/playdate\/scoreboards\/freescore(_:)","title":"freeScore(_:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/freeScore(_:)","role":"symbol","kind":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards/getPersonalBest(boardID:callback:)-a93b":{"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/scoreboards\/getpersonalbest(boardid:callback:)-a93b","title":"getPersonalBest(boardID:callback:)","type":"topic","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"getPersonalBest","kind":"identifier"},{"kind":"text","text":"("},{"text":"boardID","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"StaticString","preciseIdentifier":"s:s12StaticStringV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"callback"},{"kind":"text","text":": ("},{"text":"@convention","kind":"attribute"},{"kind":"text","text":"(c) ("},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"text":"score","kind":"internalParam"},{"kind":"text","text":": "},{"text":"UnsafeMutablePointer","preciseIdentifier":"s:Sp","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O11ScoreboardsO5Scorea","text":"Score"},{"kind":"text","text":">?, "},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"errorMessage","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SP","text":"UnsafePointer"},{"text":"<","kind":"text"},{"text":"CChar","preciseIdentifier":"s:s5CChara","kind":"typeIdentifier"},{"text":">?) -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4Voida","text":"Void"},{"text":")?) -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"}],"role":"symbol","abstract":[{"text":"Gets the player’s personal best score. Invokes the given callback with the score.","type":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/getPersonalBest(boardID:callback:)-a93b"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards/getScores(boardID:callback:)-8hnfz":{"url":"\/documentation\/playdatekit\/playdate\/scoreboards\/getscores(boardid:callback:)-8hnfz","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/getScores(boardID:callback:)-8hnfz","title":"getScores(boardID:callback:)","role":"symbol","type":"topic","abstract":[{"text":"Invokes the given callback with a list of the top scores on the given board. (Typically ten scores or fewer.)","type":"text"},{"type":"text","text":" "},{"text":"If the current player is not in the top scores, their highest score is given as the last result.","type":"text"}],"kind":"symbol","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"getScores","kind":"identifier"},{"text":"(","kind":"text"},{"text":"boardID","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"StaticString","preciseIdentifier":"s:s12StaticStringV","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"callback"},{"text":": ","kind":"text"},{"text":"@convention","kind":"attribute"},{"kind":"text","text":"(c) ("},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"text":"scores","kind":"internalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sp","text":"UnsafeMutablePointer","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O11ScoreboardsO10ScoresLista","text":"ScoresList"},{"text":">?, ","kind":"text"},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"kind":"internalParam","text":"errorMessage"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SP","text":"UnsafePointer","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"text":"CChar","kind":"typeIdentifier","preciseIdentifier":"s:s5CChara"},{"text":">?) -> ","kind":"text"},{"preciseIdentifier":"s:s4Voida","text":"Void","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards/addScore(boardID:value:callback:)-29nc6":{"title":"addScore(boardID:value:callback:)","abstract":[{"text":"Adds a new score to the specified board. Invokes the given callback with the resulting rank for the given value.","type":"text"}],"role":"symbol","url":"\/documentation\/playdatekit\/playdate\/scoreboards\/addscore(boardid:value:callback:)-29nc6","type":"topic","kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/addScore(boardID:value:callback:)-29nc6","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"addScore","kind":"identifier"},{"text":"(","kind":"text"},{"text":"boardID","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s12StaticStringV","kind":"typeIdentifier","text":"StaticString"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"value"},{"kind":"text","text":": "},{"text":"CUnsignedInt","kind":"typeIdentifier","preciseIdentifier":"s:s12CUnsignedInta"},{"text":", ","kind":"text"},{"text":"callback","kind":"externalParam"},{"text":": (","kind":"text"},{"text":"@convention","kind":"attribute"},{"text":"(c) (","kind":"text"},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"score"},{"text":": ","kind":"text"},{"text":"UnsafeMutablePointer","kind":"typeIdentifier","preciseIdentifier":"s:Sp"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"Score","preciseIdentifier":"s:11PlaydateKit0A0O11ScoreboardsO5Scorea"},{"text":">?, ","kind":"text"},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"text":"errorMessage","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"UnsafePointer","preciseIdentifier":"s:SP"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s5CChara","text":"CChar"},{"text":">?) -> ","kind":"text"},{"preciseIdentifier":"s:s4Voida","kind":"typeIdentifier","text":"Void"},{"text":")?) -> ","kind":"text"},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards/getPersonalBest(boardID:callback:)-8h5m9":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/getPersonalBest(boardID:callback:)-8h5m9","title":"getPersonalBest(boardID:callback:)","role":"symbol","abstract":[{"type":"text","text":"Gets the player’s personal best score. Invokes the given callback with the score."}],"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/scoreboards\/getpersonalbest(boardid:callback:)-8h5m9","type":"topic","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"getPersonalBest"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"boardID"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"UnsafePointer","preciseIdentifier":"s:SP"},{"text":"<","kind":"text"},{"text":"CChar","preciseIdentifier":"s:s5CChara","kind":"typeIdentifier"},{"kind":"text","text":">, "},{"text":"callback","kind":"externalParam"},{"text":": (","kind":"text"},{"kind":"attribute","text":"@convention"},{"kind":"text","text":"(c) ("},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"text":"score","kind":"internalParam"},{"kind":"text","text":": "},{"text":"UnsafeMutablePointer","preciseIdentifier":"s:Sp","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O11ScoreboardsO5Scorea","kind":"typeIdentifier","text":"Score"},{"text":">?, ","kind":"text"},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"text":"errorMessage","kind":"internalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SP","text":"UnsafePointer","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"preciseIdentifier":"s:s5CChara","text":"CChar","kind":"typeIdentifier"},{"kind":"text","text":">?) -> "},{"text":"Void","kind":"typeIdentifier","preciseIdentifier":"s:s4Voida"},{"text":")?) -> ","kind":"text"},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards/getScoreboards(callback:)":{"url":"\/documentation\/playdatekit\/playdate\/scoreboards\/getscoreboards(callback:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/getScoreboards(callback:)","title":"getScoreboards(callback:)","role":"symbol","type":"topic","kind":"symbol","abstract":[{"type":"text","text":"Invokes the given callback with a list of the registered scoreboards. (Note that if you already know the string"},{"text":" ","type":"text"},{"type":"text","text":"ID for the scoreboard you want to query, this call is unnecessary.)"}],"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"getScoreboards","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"callback"},{"text":": ","kind":"text"},{"text":"@convention","kind":"attribute"},{"text":"(c) (","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"boards"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sp","text":"UnsafeMutablePointer"},{"text":"<","kind":"text"},{"text":"BoardsList","preciseIdentifier":"s:11PlaydateKit0A0O11ScoreboardsO10BoardsLista","kind":"typeIdentifier"},{"kind":"text","text":">?, "},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"errorMessage","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SP","text":"UnsafePointer"},{"text":"<","kind":"text"},{"text":"CChar","kind":"typeIdentifier","preciseIdentifier":"s:s5CChara"},{"text":">?) -> ","kind":"text"},{"text":"Void","kind":"typeIdentifier","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards/ScoresList":{"abstract":[],"type":"topic","navigatorTitle":[{"text":"ScoresList","kind":"identifier"}],"kind":"symbol","title":"Playdate.Scoreboards.ScoresList","role":"symbol","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"ScoresList","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/ScoresList","url":"\/documentation\/playdatekit\/playdate\/scoreboards\/scoreslist"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards/addScore(boardID:value:callback:)-8xab3":{"url":"\/documentation\/playdatekit\/playdate\/scoreboards\/addscore(boardid:value:callback:)-8xab3","title":"addScore(boardID:value:callback:)","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"addScore"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"boardID"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SP","text":"UnsafePointer","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"preciseIdentifier":"s:s5CChara","text":"CChar","kind":"typeIdentifier"},{"kind":"text","text":">, "},{"text":"value","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s12CUnsignedInta","text":"CUnsignedInt"},{"kind":"text","text":", "},{"kind":"externalParam","text":"callback"},{"text":": (","kind":"text"},{"kind":"attribute","text":"@convention"},{"text":"(c) (","kind":"text"},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"score"},{"text":": ","kind":"text"},{"text":"UnsafeMutablePointer","kind":"typeIdentifier","preciseIdentifier":"s:Sp"},{"text":"<","kind":"text"},{"text":"Score","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O11ScoreboardsO5Scorea"},{"text":">?, ","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"errorMessage","kind":"internalParam"},{"text":": ","kind":"text"},{"text":"UnsafePointer","kind":"typeIdentifier","preciseIdentifier":"s:SP"},{"text":"<","kind":"text"},{"text":"CChar","kind":"typeIdentifier","preciseIdentifier":"s:s5CChara"},{"kind":"text","text":">?) -> "},{"text":"Void","kind":"typeIdentifier","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":")?) -> "},{"kind":"typeIdentifier","text":"CInt","preciseIdentifier":"s:s4CInta"}],"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/addScore(boardID:value:callback:)-8xab3","role":"symbol","abstract":[{"type":"text","text":"Adds a new score to the specified board. Invokes the given callback with the resulting rank for the given value."}],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/scoreboards/addscore(boardid:value:callback:)-29nc6.json b/docs/data/documentation/playdatekit/playdate/scoreboards/addscore(boardid:value:callback:)-29nc6.json new file mode 100644 index 00000000..57866938 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/scoreboards/addscore(boardid:value:callback:)-29nc6.json @@ -0,0 +1 @@ +{"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/scoreboards\/addscore(boardid:value:callback:)-29nc6"]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/addScore(boardID:value:callback:)-29nc6"},"metadata":{"role":"symbol","title":"addScore(boardID:value:callback:)","modules":[{"name":"PlaydateKit"}],"symbolKind":"method","roleHeading":"Type Method","externalID":"s:11PlaydateKit0A0O11ScoreboardsO8addScore7boardID5value8callbacks5Int32Vs12StaticStringV_s6UInt32VySpySo7PDScoreaGSg_SPys4Int8VGSgtXCSgtFZ","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"addScore"},{"text":"(","kind":"text"},{"text":"boardID","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s12StaticStringV","kind":"typeIdentifier","text":"StaticString"},{"text":", ","kind":"text"},{"text":"value","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:s12CUnsignedInta","text":"CUnsignedInt"},{"text":", ","kind":"text"},{"text":"callback","kind":"externalParam"},{"kind":"text","text":": ("},{"kind":"attribute","text":"@convention"},{"text":"(c) (","kind":"text"},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"kind":"internalParam","text":"score"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sp","text":"UnsafeMutablePointer"},{"text":"<","kind":"text"},{"text":"Score","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O11ScoreboardsO5Scorea"},{"kind":"text","text":">?, "},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"text":"errorMessage","kind":"internalParam"},{"text":": ","kind":"text"},{"text":"UnsafePointer","kind":"typeIdentifier","preciseIdentifier":"s:SP"},{"kind":"text","text":"<"},{"preciseIdentifier":"s:s5CChara","text":"CChar","kind":"typeIdentifier"},{"kind":"text","text":">?) -> "},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"text":")?) -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"}]},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"addScore","kind":"identifier"},{"text":"(","kind":"text"},{"text":"boardID","kind":"externalParam"},{"kind":"text","text":": "},{"text":"StaticString","kind":"typeIdentifier","preciseIdentifier":"s:s12StaticStringV"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"value"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s12CUnsignedInta","text":"CUnsignedInt"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"callback"},{"text":": (","kind":"text"},{"text":"@convention","kind":"attribute"},{"text":"(c) (","kind":"text"},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"kind":"internalParam","text":"score"},{"text":": ","kind":"text"},{"text":"UnsafeMutablePointer","preciseIdentifier":"s:Sp","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O11ScoreboardsO5Scorea","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/Score","text":"Score"},{"text":">?, ","kind":"text"},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"text":"errorMessage","kind":"internalParam"},{"kind":"text","text":": "},{"text":"UnsafePointer","kind":"typeIdentifier","preciseIdentifier":"s:SP"},{"text":"<","kind":"text"},{"text":"CChar","kind":"typeIdentifier","preciseIdentifier":"s:s5CChara"},{"text":">?) -> ","kind":"text"},{"preciseIdentifier":"s:s4Voida","text":"Void","kind":"typeIdentifier"},{"text":")? = nil) -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"}],"languages":["swift"]}],"kind":"declarations"},{"kind":"content","content":[{"level":2,"text":"Discussion","anchor":"discussion","type":"heading"},{"inlineContent":[{"type":"text","text":"If Wi-Fi is not available, the outgoing value will be queued on device and sent to the server on a later attempt."},{"text":" ","type":"text"},{"type":"text","text":"In the case that it is added to the outgoing queue, the result will not specify a rank."}],"type":"paragraph"}]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards"]]},"schemaVersion":{"minor":3,"patch":0,"major":0},"kind":"symbol","abstract":[{"text":"Adds a new score to the specified board. Invokes the given callback with the resulting rank for the given value.","type":"text"}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards/addScore(boardID:value:callback:)-29nc6":{"title":"addScore(boardID:value:callback:)","abstract":[{"text":"Adds a new score to the specified board. Invokes the given callback with the resulting rank for the given value.","type":"text"}],"role":"symbol","url":"\/documentation\/playdatekit\/playdate\/scoreboards\/addscore(boardid:value:callback:)-29nc6","type":"topic","kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/addScore(boardID:value:callback:)-29nc6","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"addScore","kind":"identifier"},{"text":"(","kind":"text"},{"text":"boardID","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s12StaticStringV","kind":"typeIdentifier","text":"StaticString"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"value"},{"kind":"text","text":": "},{"text":"CUnsignedInt","kind":"typeIdentifier","preciseIdentifier":"s:s12CUnsignedInta"},{"text":", ","kind":"text"},{"text":"callback","kind":"externalParam"},{"text":": (","kind":"text"},{"text":"@convention","kind":"attribute"},{"text":"(c) (","kind":"text"},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"score"},{"text":": ","kind":"text"},{"text":"UnsafeMutablePointer","kind":"typeIdentifier","preciseIdentifier":"s:Sp"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"Score","preciseIdentifier":"s:11PlaydateKit0A0O11ScoreboardsO5Scorea"},{"text":">?, ","kind":"text"},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"text":"errorMessage","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"UnsafePointer","preciseIdentifier":"s:SP"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s5CChara","text":"CChar"},{"text":">?) -> ","kind":"text"},{"preciseIdentifier":"s:s4Voida","kind":"typeIdentifier","text":"Void"},{"text":")?) -> ","kind":"text"},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards/Score":{"abstract":[],"role":"symbol","url":"\/documentation\/playdatekit\/playdate\/scoreboards\/score","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/Score","title":"Playdate.Scoreboards.Score","navigatorTitle":[{"text":"Score","kind":"identifier"}],"kind":"symbol","type":"topic","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Score","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards":{"type":"topic","title":"Playdate.Scoreboards","url":"\/documentation\/playdatekit\/playdate\/scoreboards","abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards","navigatorTitle":[{"kind":"identifier","text":"Scoreboards"}],"role":"symbol","kind":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Scoreboards","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/scoreboards/addscore(boardid:value:callback:)-8xab3.json b/docs/data/documentation/playdatekit/playdate/scoreboards/addscore(boardid:value:callback:)-8xab3.json new file mode 100644 index 00000000..3f8191f8 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/scoreboards/addscore(boardid:value:callback:)-8xab3.json @@ -0,0 +1 @@ +{"schemaVersion":{"minor":3,"major":0,"patch":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/addScore(boardID:value:callback:)-8xab3"},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/scoreboards\/addscore(boardid:value:callback:)-8xab3"]}],"metadata":{"role":"symbol","externalID":"s:11PlaydateKit0A0O11ScoreboardsO8addScore7boardID5value8callbacks5Int32VSPys4Int8VG_s6UInt32VySpySo7PDScoreaGSg_ANSgtXCSgtFZ","roleHeading":"Type Method","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"addScore","kind":"identifier"},{"text":"(","kind":"text"},{"text":"boardID","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SP","text":"UnsafePointer"},{"text":"<","kind":"text"},{"preciseIdentifier":"s:s5CChara","kind":"typeIdentifier","text":"CChar"},{"kind":"text","text":">, "},{"text":"value","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s12CUnsignedInta","text":"CUnsignedInt","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"callback","kind":"externalParam"},{"kind":"text","text":": ("},{"text":"@convention","kind":"attribute"},{"text":"(c) (","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"score","kind":"internalParam"},{"kind":"text","text":": "},{"text":"UnsafeMutablePointer","kind":"typeIdentifier","preciseIdentifier":"s:Sp"},{"text":"<","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O11ScoreboardsO5Scorea","kind":"typeIdentifier","text":"Score"},{"kind":"text","text":">?, "},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"text":"errorMessage","kind":"internalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SP","text":"UnsafePointer","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"preciseIdentifier":"s:s5CChara","text":"CChar","kind":"typeIdentifier"},{"text":">?) -> ","kind":"text"},{"preciseIdentifier":"s:s4Voida","text":"Void","kind":"typeIdentifier"},{"kind":"text","text":")?) -> "},{"kind":"typeIdentifier","text":"CInt","preciseIdentifier":"s:s4CInta"}],"title":"addScore(boardID:value:callback:)","modules":[{"name":"PlaydateKit"}],"symbolKind":"method"},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards"]]},"abstract":[{"text":"Adds a new score to the specified board. Invokes the given callback with the resulting rank for the given value.","type":"text"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"addScore"},{"text":"(","kind":"text"},{"text":"boardID","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UnsafePointer","kind":"typeIdentifier","preciseIdentifier":"s:SP"},{"kind":"text","text":"<"},{"text":"CChar","kind":"typeIdentifier","preciseIdentifier":"s:s5CChara"},{"kind":"text","text":">, "},{"kind":"externalParam","text":"value"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"CUnsignedInt","preciseIdentifier":"s:s12CUnsignedInta"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"callback"},{"kind":"text","text":": ("},{"text":"@convention","kind":"attribute"},{"kind":"text","text":"(c) ("},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"score","kind":"internalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sp","text":"UnsafeMutablePointer","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O11ScoreboardsO5Scorea","text":"Score","kind":"typeIdentifier","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/Score"},{"kind":"text","text":">?, "},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"text":"errorMessage","kind":"internalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SP","kind":"typeIdentifier","text":"UnsafePointer"},{"text":"<","kind":"text"},{"text":"CChar","preciseIdentifier":"s:s5CChara","kind":"typeIdentifier"},{"text":">?) -> ","kind":"text"},{"text":"Void","preciseIdentifier":"s:s4Voida","kind":"typeIdentifier"},{"text":")? = nil) -> ","kind":"text"},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"}],"platforms":["macOS"]}]},{"kind":"content","content":[{"level":2,"text":"Discussion","type":"heading","anchor":"discussion"},{"inlineContent":[{"text":"If Wi-Fi is not available, the outgoing value will be queued on device and sent to the server on a later attempt.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"In the case that it is added to the outgoing queue, the result will not specify a rank."}],"type":"paragraph"}]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards/addScore(boardID:value:callback:)-8xab3":{"url":"\/documentation\/playdatekit\/playdate\/scoreboards\/addscore(boardid:value:callback:)-8xab3","title":"addScore(boardID:value:callback:)","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"addScore"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"boardID"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SP","text":"UnsafePointer","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"preciseIdentifier":"s:s5CChara","text":"CChar","kind":"typeIdentifier"},{"kind":"text","text":">, "},{"text":"value","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s12CUnsignedInta","text":"CUnsignedInt"},{"kind":"text","text":", "},{"kind":"externalParam","text":"callback"},{"text":": (","kind":"text"},{"kind":"attribute","text":"@convention"},{"text":"(c) (","kind":"text"},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"score"},{"text":": ","kind":"text"},{"text":"UnsafeMutablePointer","kind":"typeIdentifier","preciseIdentifier":"s:Sp"},{"text":"<","kind":"text"},{"text":"Score","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O11ScoreboardsO5Scorea"},{"text":">?, ","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"errorMessage","kind":"internalParam"},{"text":": ","kind":"text"},{"text":"UnsafePointer","kind":"typeIdentifier","preciseIdentifier":"s:SP"},{"text":"<","kind":"text"},{"text":"CChar","kind":"typeIdentifier","preciseIdentifier":"s:s5CChara"},{"kind":"text","text":">?) -> "},{"text":"Void","kind":"typeIdentifier","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":")?) -> "},{"kind":"typeIdentifier","text":"CInt","preciseIdentifier":"s:s4CInta"}],"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/addScore(boardID:value:callback:)-8xab3","role":"symbol","abstract":[{"type":"text","text":"Adds a new score to the specified board. Invokes the given callback with the resulting rank for the given value."}],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards":{"type":"topic","title":"Playdate.Scoreboards","url":"\/documentation\/playdatekit\/playdate\/scoreboards","abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards","navigatorTitle":[{"kind":"identifier","text":"Scoreboards"}],"role":"symbol","kind":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Scoreboards","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards/Score":{"abstract":[],"role":"symbol","url":"\/documentation\/playdatekit\/playdate\/scoreboards\/score","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/Score","title":"Playdate.Scoreboards.Score","navigatorTitle":[{"text":"Score","kind":"identifier"}],"kind":"symbol","type":"topic","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Score","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/scoreboards/boardslist.json b/docs/data/documentation/playdatekit/playdate/scoreboards/boardslist.json new file mode 100644 index 00000000..d6bce855 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/scoreboards/boardslist.json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/scoreboards\/boardslist"]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards"]]},"kind":"symbol","sections":[],"schemaVersion":{"major":0,"patch":0,"minor":3},"metadata":{"symbolKind":"typealias","navigatorTitle":[{"kind":"identifier","text":"BoardsList"}],"externalID":"s:11PlaydateKit0A0O11ScoreboardsO10BoardsLista","fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"BoardsList"}],"roleHeading":"Type Alias","role":"symbol","title":"Playdate.Scoreboards.BoardsList","modules":[{"name":"PlaydateKit"}]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/BoardsList"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"BoardsList","kind":"identifier"},{"kind":"text","text":" = "},{"preciseIdentifier":"c:@SA@PDBoardsList","kind":"typeIdentifier","text":"PDBoardsList"}],"languages":["swift"],"platforms":["macOS"]}]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards/BoardsList":{"navigatorTitle":[{"kind":"identifier","text":"BoardsList"}],"type":"topic","abstract":[],"role":"symbol","kind":"symbol","title":"Playdate.Scoreboards.BoardsList","url":"\/documentation\/playdatekit\/playdate\/scoreboards\/boardslist","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/BoardsList","fragments":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"BoardsList"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards":{"type":"topic","title":"Playdate.Scoreboards","url":"\/documentation\/playdatekit\/playdate\/scoreboards","abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards","navigatorTitle":[{"kind":"identifier","text":"Scoreboards"}],"role":"symbol","kind":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Scoreboards","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/scoreboards/freeboardslist(_:).json b/docs/data/documentation/playdatekit/playdate/scoreboards/freeboardslist(_:).json new file mode 100644 index 00000000..bc96cc23 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/scoreboards/freeboardslist(_:).json @@ -0,0 +1 @@ +{"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"freeBoardsList","kind":"identifier"},{"text":"(","kind":"text"},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"text":"boardsList","kind":"internalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sp","kind":"typeIdentifier","text":"UnsafeMutablePointer"},{"text":"<","kind":"text"},{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/BoardsList","preciseIdentifier":"s:11PlaydateKit0A0O11ScoreboardsO10BoardsLista","kind":"typeIdentifier","text":"BoardsList"},{"kind":"text","text":">)"}]}]}],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/scoreboards\/freeboardslist(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"schemaVersion":{"patch":0,"major":0,"minor":3},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards"]]},"kind":"symbol","identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/freeBoardsList(_:)","interfaceLanguage":"swift"},"metadata":{"title":"freeBoardsList(_:)","modules":[{"name":"PlaydateKit"}],"roleHeading":"Type Method","role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"freeBoardsList"},{"kind":"text","text":"("},{"text":"UnsafeMutablePointer","kind":"typeIdentifier","preciseIdentifier":"s:Sp"},{"text":"<","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O11ScoreboardsO10BoardsLista","text":"BoardsList","kind":"typeIdentifier"},{"text":">)","kind":"text"}],"externalID":"s:11PlaydateKit0A0O11ScoreboardsO14freeBoardsListyySpySo08PDBoardsF0aGFZ","symbolKind":"method"},"abstract":[{"type":"text","text":"Free a list of scoreboards."}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards/freeBoardsList(_:)":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/freeBoardsList(_:)","title":"freeBoardsList(_:)","type":"topic","url":"\/documentation\/playdatekit\/playdate\/scoreboards\/freeboardslist(_:)","kind":"symbol","abstract":[{"text":"Free a list of scoreboards.","type":"text"}],"role":"symbol","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"freeBoardsList"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:Sp","text":"UnsafeMutablePointer"},{"kind":"text","text":"<"},{"text":"BoardsList","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O11ScoreboardsO10BoardsLista"},{"kind":"text","text":">)"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards":{"type":"topic","title":"Playdate.Scoreboards","url":"\/documentation\/playdatekit\/playdate\/scoreboards","abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards","navigatorTitle":[{"kind":"identifier","text":"Scoreboards"}],"role":"symbol","kind":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Scoreboards","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards/BoardsList":{"navigatorTitle":[{"kind":"identifier","text":"BoardsList"}],"type":"topic","abstract":[],"role":"symbol","kind":"symbol","title":"Playdate.Scoreboards.BoardsList","url":"\/documentation\/playdatekit\/playdate\/scoreboards\/boardslist","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/BoardsList","fragments":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"BoardsList"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/scoreboards/freescore(_:).json b/docs/data/documentation/playdatekit/playdate/scoreboards/freescore(_:).json new file mode 100644 index 00000000..0e79291a --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/scoreboards/freescore(_:).json @@ -0,0 +1 @@ +{"metadata":{"title":"freeScore(_:)","symbolKind":"method","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"freeScore","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"UnsafeMutablePointer","preciseIdentifier":"s:Sp"},{"text":"<","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O11ScoreboardsO5Scorea","text":"Score","kind":"typeIdentifier"},{"kind":"text","text":">)"}],"roleHeading":"Type Method","role":"symbol","externalID":"s:11PlaydateKit0A0O11ScoreboardsO9freeScoreyySpySo7PDScoreaGFZ","modules":[{"name":"PlaydateKit"}]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/scoreboards\/freescore(_:)"]}],"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/freeScore(_:)"},"abstract":[{"text":"Free a score struct that was provided to a callback.","type":"text"}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards"]]},"schemaVersion":{"patch":0,"major":0,"minor":3},"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"freeScore","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"score"},{"text":": ","kind":"text"},{"text":"UnsafeMutablePointer","kind":"typeIdentifier","preciseIdentifier":"s:Sp"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O11ScoreboardsO5Scorea","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/Score","text":"Score"},{"text":">)","kind":"text"}],"languages":["swift"]}]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards/freeScore(_:)":{"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"freeScore","kind":"identifier"},{"kind":"text","text":"("},{"text":"UnsafeMutablePointer","kind":"typeIdentifier","preciseIdentifier":"s:Sp"},{"kind":"text","text":"<"},{"text":"Score","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O11ScoreboardsO5Scorea"},{"text":">)","kind":"text"}],"abstract":[{"text":"Free a score struct that was provided to a callback.","type":"text"}],"url":"\/documentation\/playdatekit\/playdate\/scoreboards\/freescore(_:)","title":"freeScore(_:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/freeScore(_:)","role":"symbol","kind":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards":{"type":"topic","title":"Playdate.Scoreboards","url":"\/documentation\/playdatekit\/playdate\/scoreboards","abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards","navigatorTitle":[{"kind":"identifier","text":"Scoreboards"}],"role":"symbol","kind":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Scoreboards","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards/Score":{"abstract":[],"role":"symbol","url":"\/documentation\/playdatekit\/playdate\/scoreboards\/score","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/Score","title":"Playdate.Scoreboards.Score","navigatorTitle":[{"text":"Score","kind":"identifier"}],"kind":"symbol","type":"topic","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Score","kind":"identifier"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/scoreboards/freescoreslist(_:).json b/docs/data/documentation/playdatekit/playdate/scoreboards/freescoreslist(_:).json new file mode 100644 index 00000000..15fdc052 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/scoreboards/freescoreslist(_:).json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/freeScoresList(_:)","interfaceLanguage":"swift"},"sections":[],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/scoreboards\/freescoreslist(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"freeScoresList"},{"text":"(","kind":"text"},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"text":"scoresList","kind":"internalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UnsafeMutablePointer","preciseIdentifier":"s:Sp"},{"text":"<","kind":"text"},{"text":"ScoresList","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O11ScoreboardsO10ScoresLista","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/ScoresList"},{"text":">)","kind":"text"}],"platforms":["macOS"]}],"kind":"declarations"}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards"]]},"metadata":{"role":"symbol","symbolKind":"method","modules":[{"name":"PlaydateKit"}],"externalID":"s:11PlaydateKit0A0O11ScoreboardsO14freeScoresListyySpySo08PDScoresF0aGFZ","title":"freeScoresList(_:)","roleHeading":"Type Method","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"freeScoresList"},{"kind":"text","text":"("},{"text":"UnsafeMutablePointer","preciseIdentifier":"s:Sp","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"text":"ScoresList","preciseIdentifier":"s:11PlaydateKit0A0O11ScoreboardsO10ScoresLista","kind":"typeIdentifier"},{"text":">)","kind":"text"}]},"schemaVersion":{"minor":3,"patch":0,"major":0},"abstract":[{"text":"Free a list of scores.","type":"text"}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards":{"type":"topic","title":"Playdate.Scoreboards","url":"\/documentation\/playdatekit\/playdate\/scoreboards","abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards","navigatorTitle":[{"kind":"identifier","text":"Scoreboards"}],"role":"symbol","kind":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Scoreboards","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards/freeScoresList(_:)":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/freeScoresList(_:)","url":"\/documentation\/playdatekit\/playdate\/scoreboards\/freescoreslist(_:)","abstract":[{"type":"text","text":"Free a list of scores."}],"type":"topic","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"freeScoresList"},{"kind":"text","text":"("},{"text":"UnsafeMutablePointer","preciseIdentifier":"s:Sp","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"text":"ScoresList","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O11ScoreboardsO10ScoresLista"},{"text":">)","kind":"text"}],"kind":"symbol","title":"freeScoresList(_:)","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards/ScoresList":{"abstract":[],"type":"topic","navigatorTitle":[{"text":"ScoresList","kind":"identifier"}],"kind":"symbol","title":"Playdate.Scoreboards.ScoresList","role":"symbol","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"ScoresList","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/ScoresList","url":"\/documentation\/playdatekit\/playdate\/scoreboards\/scoreslist"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/scoreboards/getpersonalbest(boardid:callback:)-8h5m9.json b/docs/data/documentation/playdatekit/playdate/scoreboards/getpersonalbest(boardid:callback:)-8h5m9.json new file mode 100644 index 00000000..4b04b047 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/scoreboards/getpersonalbest(boardid:callback:)-8h5m9.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"declarations":[{"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"getPersonalBest","kind":"identifier"},{"kind":"text","text":"("},{"text":"boardID","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SP","kind":"typeIdentifier","text":"UnsafePointer"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"CChar","preciseIdentifier":"s:s5CChara"},{"text":">, ","kind":"text"},{"text":"callback","kind":"externalParam"},{"kind":"text","text":": ("},{"kind":"attribute","text":"@convention"},{"kind":"text","text":"(c) ("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"text":"score","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sp","text":"UnsafeMutablePointer"},{"kind":"text","text":"<"},{"text":"Score","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O11ScoreboardsO5Scorea","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/Score"},{"text":">?, ","kind":"text"},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"text":"errorMessage","kind":"internalParam"},{"kind":"text","text":": "},{"text":"UnsafePointer","kind":"typeIdentifier","preciseIdentifier":"s:SP"},{"text":"<","kind":"text"},{"preciseIdentifier":"s:s5CChara","text":"CChar","kind":"typeIdentifier"},{"text":">?) -> ","kind":"text"},{"text":"Void","kind":"typeIdentifier","preciseIdentifier":"s:s4Voida"},{"text":")? = nil) -> ","kind":"text"},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"},{"content":[{"level":2,"anchor":"discussion","text":"Discussion","type":"heading"},{"type":"paragraph","inlineContent":[{"type":"text","text":"This will only operate on locally stored scores. In the event that there is no available high score for this player,"},{"type":"text","text":" "},{"type":"text","text":"the callback will be invoked with nil."}]}],"kind":"content"}],"schemaVersion":{"major":0,"minor":3,"patch":0},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards"]]},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/getPersonalBest(boardID:callback:)-8h5m9","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Gets the player’s personal best score. Invokes the given callback with the score."}],"metadata":{"role":"symbol","symbolKind":"method","modules":[{"name":"PlaydateKit"}],"externalID":"s:11PlaydateKit0A0O11ScoreboardsO15getPersonalBest7boardID8callbacks5Int32VSPys4Int8VG_ySpySo7PDScoreaGSg_AMSgtXCSgtFZ","title":"getPersonalBest(boardID:callback:)","roleHeading":"Type Method","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"getPersonalBest","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"boardID"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SP","kind":"typeIdentifier","text":"UnsafePointer"},{"kind":"text","text":"<"},{"preciseIdentifier":"s:s5CChara","kind":"typeIdentifier","text":"CChar"},{"kind":"text","text":">, "},{"kind":"externalParam","text":"callback"},{"text":": (","kind":"text"},{"text":"@convention","kind":"attribute"},{"kind":"text","text":"(c) ("},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"kind":"internalParam","text":"score"},{"text":": ","kind":"text"},{"text":"UnsafeMutablePointer","preciseIdentifier":"s:Sp","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O11ScoreboardsO5Scorea","kind":"typeIdentifier","text":"Score"},{"text":">?, ","kind":"text"},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"kind":"internalParam","text":"errorMessage"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SP","kind":"typeIdentifier","text":"UnsafePointer"},{"text":"<","kind":"text"},{"preciseIdentifier":"s:s5CChara","text":"CChar","kind":"typeIdentifier"},{"text":">?) -> ","kind":"text"},{"text":"Void","kind":"typeIdentifier","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":")?) -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"}]},"sections":[],"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/scoreboards\/getpersonalbest(boardid:callback:)-8h5m9"]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards/getPersonalBest(boardID:callback:)-8h5m9":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/getPersonalBest(boardID:callback:)-8h5m9","title":"getPersonalBest(boardID:callback:)","role":"symbol","abstract":[{"type":"text","text":"Gets the player’s personal best score. Invokes the given callback with the score."}],"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/scoreboards\/getpersonalbest(boardid:callback:)-8h5m9","type":"topic","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"getPersonalBest"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"boardID"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"UnsafePointer","preciseIdentifier":"s:SP"},{"text":"<","kind":"text"},{"text":"CChar","preciseIdentifier":"s:s5CChara","kind":"typeIdentifier"},{"kind":"text","text":">, "},{"text":"callback","kind":"externalParam"},{"text":": (","kind":"text"},{"kind":"attribute","text":"@convention"},{"kind":"text","text":"(c) ("},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"text":"score","kind":"internalParam"},{"kind":"text","text":": "},{"text":"UnsafeMutablePointer","preciseIdentifier":"s:Sp","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O11ScoreboardsO5Scorea","kind":"typeIdentifier","text":"Score"},{"text":">?, ","kind":"text"},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"text":"errorMessage","kind":"internalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SP","text":"UnsafePointer","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"preciseIdentifier":"s:s5CChara","text":"CChar","kind":"typeIdentifier"},{"kind":"text","text":">?) -> "},{"text":"Void","kind":"typeIdentifier","preciseIdentifier":"s:s4Voida"},{"text":")?) -> ","kind":"text"},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards":{"type":"topic","title":"Playdate.Scoreboards","url":"\/documentation\/playdatekit\/playdate\/scoreboards","abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards","navigatorTitle":[{"kind":"identifier","text":"Scoreboards"}],"role":"symbol","kind":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Scoreboards","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards/Score":{"abstract":[],"role":"symbol","url":"\/documentation\/playdatekit\/playdate\/scoreboards\/score","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/Score","title":"Playdate.Scoreboards.Score","navigatorTitle":[{"text":"Score","kind":"identifier"}],"kind":"symbol","type":"topic","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Score","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/scoreboards/getpersonalbest(boardid:callback:)-a93b.json b/docs/data/documentation/playdatekit/playdate/scoreboards/getpersonalbest(boardid:callback:)-a93b.json new file mode 100644 index 00000000..bea07b03 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/scoreboards/getpersonalbest(boardid:callback:)-a93b.json @@ -0,0 +1 @@ +{"kind":"symbol","schemaVersion":{"major":0,"patch":0,"minor":3},"sections":[],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/scoreboards\/getpersonalbest(boardid:callback:)-a93b"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"getPersonalBest","kind":"identifier"},{"kind":"text","text":"("},{"text":"boardID","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s12StaticStringV","text":"StaticString","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"callback","kind":"externalParam"},{"text":": (","kind":"text"},{"text":"@convention","kind":"attribute"},{"kind":"text","text":"(c) ("},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"score"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sp","text":"UnsafeMutablePointer"},{"text":"<","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O11ScoreboardsO5Scorea","kind":"typeIdentifier","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/Score","text":"Score"},{"kind":"text","text":">?, "},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"errorMessage","kind":"internalParam"},{"text":": ","kind":"text"},{"text":"UnsafePointer","preciseIdentifier":"s:SP","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"preciseIdentifier":"s:s5CChara","text":"CChar","kind":"typeIdentifier"},{"kind":"text","text":">?) -> "},{"text":"Void","kind":"typeIdentifier","preciseIdentifier":"s:s4Voida"},{"text":")? = nil) -> ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"}],"languages":["swift"]}]},{"kind":"content","content":[{"text":"Discussion","level":2,"anchor":"discussion","type":"heading"},{"type":"paragraph","inlineContent":[{"text":"This will only operate on locally stored scores. In the event that there is no available high score for this player,","type":"text"},{"text":" ","type":"text"},{"text":"the callback will be invoked with nil.","type":"text"}]}]}],"metadata":{"modules":[{"name":"PlaydateKit"}],"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"getPersonalBest"},{"text":"(","kind":"text"},{"text":"boardID","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s12StaticStringV","text":"StaticString"},{"text":", ","kind":"text"},{"text":"callback","kind":"externalParam"},{"kind":"text","text":": ("},{"text":"@convention","kind":"attribute"},{"kind":"text","text":"(c) ("},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"score"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sp","text":"UnsafeMutablePointer"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"Score","preciseIdentifier":"s:11PlaydateKit0A0O11ScoreboardsO5Scorea"},{"kind":"text","text":">?, "},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"errorMessage"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"UnsafePointer","preciseIdentifier":"s:SP"},{"kind":"text","text":"<"},{"text":"CChar","preciseIdentifier":"s:s5CChara","kind":"typeIdentifier"},{"text":">?) -> ","kind":"text"},{"preciseIdentifier":"s:s4Voida","kind":"typeIdentifier","text":"Void"},{"text":")?) -> ","kind":"text"},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"}],"role":"symbol","externalID":"s:11PlaydateKit0A0O11ScoreboardsO15getPersonalBest7boardID8callbacks5Int32Vs12StaticStringV_ySpySo7PDScoreaGSg_SPys4Int8VGSgtXCSgtFZ","roleHeading":"Type Method","title":"getPersonalBest(boardID:callback:)","symbolKind":"method"},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards"]]},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/getPersonalBest(boardID:callback:)-a93b","interfaceLanguage":"swift"},"abstract":[{"text":"Gets the player’s personal best score. Invokes the given callback with the score.","type":"text"}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards/getPersonalBest(boardID:callback:)-a93b":{"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/scoreboards\/getpersonalbest(boardid:callback:)-a93b","title":"getPersonalBest(boardID:callback:)","type":"topic","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"getPersonalBest","kind":"identifier"},{"kind":"text","text":"("},{"text":"boardID","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"StaticString","preciseIdentifier":"s:s12StaticStringV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"callback"},{"kind":"text","text":": ("},{"text":"@convention","kind":"attribute"},{"kind":"text","text":"(c) ("},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"text":"score","kind":"internalParam"},{"kind":"text","text":": "},{"text":"UnsafeMutablePointer","preciseIdentifier":"s:Sp","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O11ScoreboardsO5Scorea","text":"Score"},{"kind":"text","text":">?, "},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"errorMessage","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SP","text":"UnsafePointer"},{"text":"<","kind":"text"},{"text":"CChar","preciseIdentifier":"s:s5CChara","kind":"typeIdentifier"},{"text":">?) -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4Voida","text":"Void"},{"text":")?) -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"}],"role":"symbol","abstract":[{"text":"Gets the player’s personal best score. Invokes the given callback with the score.","type":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/getPersonalBest(boardID:callback:)-a93b"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards":{"type":"topic","title":"Playdate.Scoreboards","url":"\/documentation\/playdatekit\/playdate\/scoreboards","abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards","navigatorTitle":[{"kind":"identifier","text":"Scoreboards"}],"role":"symbol","kind":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Scoreboards","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards/Score":{"abstract":[],"role":"symbol","url":"\/documentation\/playdatekit\/playdate\/scoreboards\/score","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/Score","title":"Playdate.Scoreboards.Score","navigatorTitle":[{"text":"Score","kind":"identifier"}],"kind":"symbol","type":"topic","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Score","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/scoreboards/getscoreboards(callback:).json b/docs/data/documentation/playdatekit/playdate/scoreboards/getscoreboards(callback:).json new file mode 100644 index 00000000..83766a3a --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/scoreboards/getscoreboards(callback:).json @@ -0,0 +1 @@ +{"sections":[],"schemaVersion":{"minor":3,"patch":0,"major":0},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards"]]},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/getScoreboards(callback:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Invokes the given callback with a list of the registered scoreboards. (Note that if you already know the string"},{"type":"text","text":" "},{"type":"text","text":"ID for the scoreboard you want to query, this call is unnecessary.)"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/scoreboards\/getscoreboards(callback:)"]}],"kind":"symbol","metadata":{"role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"getScoreboards"},{"text":"(","kind":"text"},{"text":"callback","kind":"externalParam"},{"kind":"text","text":": "},{"text":"@convention","kind":"attribute"},{"kind":"text","text":"(c) ("},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"text":"boards","kind":"internalParam"},{"text":": ","kind":"text"},{"text":"UnsafeMutablePointer","kind":"typeIdentifier","preciseIdentifier":"s:Sp"},{"kind":"text","text":"<"},{"text":"BoardsList","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O11ScoreboardsO10BoardsLista"},{"text":">?, ","kind":"text"},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"text":"errorMessage","kind":"internalParam"},{"kind":"text","text":": "},{"text":"UnsafePointer","preciseIdentifier":"s:SP","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"preciseIdentifier":"s:s5CChara","kind":"typeIdentifier","text":"CChar"},{"text":">?) -> ","kind":"text"},{"text":"Void","preciseIdentifier":"s:s4Voida","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"}],"symbolKind":"method","roleHeading":"Type Method","title":"getScoreboards(callback:)","externalID":"s:11PlaydateKit0A0O11ScoreboardsO03getC08callbacks5Int32VySpySo12PDBoardsListaGSg_SPys4Int8VGSgtXC_tFZ","modules":[{"name":"PlaydateKit"}]},"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"getScoreboards","kind":"identifier"},{"text":"(","kind":"text"},{"text":"callback","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"attribute","text":"@convention"},{"text":"(c) (","kind":"text"},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"boards"},{"text":": ","kind":"text"},{"text":"UnsafeMutablePointer","preciseIdentifier":"s:Sp","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O11ScoreboardsO10BoardsLista","kind":"typeIdentifier","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/BoardsList","text":"BoardsList"},{"text":">?, ","kind":"text"},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"text":"errorMessage","kind":"internalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SP","text":"UnsafePointer","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"preciseIdentifier":"s:s5CChara","kind":"typeIdentifier","text":"CChar"},{"text":">?) -> ","kind":"text"},{"text":"Void","kind":"typeIdentifier","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":") -> "},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"}]}],"kind":"declarations"}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards":{"type":"topic","title":"Playdate.Scoreboards","url":"\/documentation\/playdatekit\/playdate\/scoreboards","abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards","navigatorTitle":[{"kind":"identifier","text":"Scoreboards"}],"role":"symbol","kind":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Scoreboards","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards/getScoreboards(callback:)":{"url":"\/documentation\/playdatekit\/playdate\/scoreboards\/getscoreboards(callback:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/getScoreboards(callback:)","title":"getScoreboards(callback:)","role":"symbol","type":"topic","kind":"symbol","abstract":[{"type":"text","text":"Invokes the given callback with a list of the registered scoreboards. (Note that if you already know the string"},{"text":" ","type":"text"},{"type":"text","text":"ID for the scoreboard you want to query, this call is unnecessary.)"}],"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"getScoreboards","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"callback"},{"text":": ","kind":"text"},{"text":"@convention","kind":"attribute"},{"text":"(c) (","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"boards"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sp","text":"UnsafeMutablePointer"},{"text":"<","kind":"text"},{"text":"BoardsList","preciseIdentifier":"s:11PlaydateKit0A0O11ScoreboardsO10BoardsLista","kind":"typeIdentifier"},{"kind":"text","text":">?, "},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"errorMessage","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SP","text":"UnsafePointer"},{"text":"<","kind":"text"},{"text":"CChar","kind":"typeIdentifier","preciseIdentifier":"s:s5CChara"},{"text":">?) -> ","kind":"text"},{"text":"Void","kind":"typeIdentifier","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards/BoardsList":{"navigatorTitle":[{"kind":"identifier","text":"BoardsList"}],"type":"topic","abstract":[],"role":"symbol","kind":"symbol","title":"Playdate.Scoreboards.BoardsList","url":"\/documentation\/playdatekit\/playdate\/scoreboards\/boardslist","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/BoardsList","fragments":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"BoardsList"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/scoreboards/getscores(boardid:callback:)-8hnfz.json b/docs/data/documentation/playdatekit/playdate/scoreboards/getscores(boardid:callback:)-8hnfz.json new file mode 100644 index 00000000..e077fdc9 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/scoreboards/getscores(boardid:callback:)-8hnfz.json @@ -0,0 +1 @@ +{"schemaVersion":{"minor":3,"patch":0,"major":0},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"getScores"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"boardID"},{"kind":"text","text":": "},{"text":"StaticString","preciseIdentifier":"s:s12StaticStringV","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"callback"},{"text":": ","kind":"text"},{"text":"@convention","kind":"attribute"},{"kind":"text","text":"(c) ("},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"scores"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sp","text":"UnsafeMutablePointer"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/ScoresList","preciseIdentifier":"s:11PlaydateKit0A0O11ScoreboardsO10ScoresLista","text":"ScoresList"},{"text":">?, ","kind":"text"},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"kind":"internalParam","text":"errorMessage"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"UnsafePointer","preciseIdentifier":"s:SP"},{"text":"<","kind":"text"},{"text":"CChar","kind":"typeIdentifier","preciseIdentifier":"s:s5CChara"},{"text":">?) -> ","kind":"text"},{"text":"Void","kind":"typeIdentifier","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"}],"languages":["swift"]}]}],"metadata":{"symbolKind":"method","modules":[{"name":"PlaydateKit"}],"title":"getScores(boardID:callback:)","role":"symbol","externalID":"s:11PlaydateKit0A0O11ScoreboardsO9getScores7boardID8callbacks5Int32Vs12StaticStringV_ySpySo12PDScoresListaGSg_SPys4Int8VGSgtXCtFZ","roleHeading":"Type Method","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"getScores","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"boardID"},{"text":": ","kind":"text"},{"text":"StaticString","kind":"typeIdentifier","preciseIdentifier":"s:s12StaticStringV"},{"text":", ","kind":"text"},{"text":"callback","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"@convention","kind":"attribute"},{"kind":"text","text":"(c) ("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"scores"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"UnsafeMutablePointer","preciseIdentifier":"s:Sp"},{"text":"<","kind":"text"},{"text":"ScoresList","preciseIdentifier":"s:11PlaydateKit0A0O11ScoreboardsO10ScoresLista","kind":"typeIdentifier"},{"text":">?, ","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"errorMessage","kind":"internalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SP","text":"UnsafePointer","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"CChar","preciseIdentifier":"s:s5CChara"},{"kind":"text","text":">?) -> "},{"preciseIdentifier":"s:s4Voida","text":"Void","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"}]},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/getScores(boardID:callback:)-8hnfz","interfaceLanguage":"swift"},"abstract":[{"text":"Invokes the given callback with a list of the top scores on the given board. (Typically ten scores or fewer.)","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"If the current player is not in the top scores, their highest score is given as the last result."}],"kind":"symbol","variants":[{"paths":["\/documentation\/playdatekit\/playdate\/scoreboards\/getscores(boardid:callback:)-8hnfz"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards":{"type":"topic","title":"Playdate.Scoreboards","url":"\/documentation\/playdatekit\/playdate\/scoreboards","abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards","navigatorTitle":[{"kind":"identifier","text":"Scoreboards"}],"role":"symbol","kind":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Scoreboards","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards/ScoresList":{"abstract":[],"type":"topic","navigatorTitle":[{"text":"ScoresList","kind":"identifier"}],"kind":"symbol","title":"Playdate.Scoreboards.ScoresList","role":"symbol","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"ScoresList","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/ScoresList","url":"\/documentation\/playdatekit\/playdate\/scoreboards\/scoreslist"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards/getScores(boardID:callback:)-8hnfz":{"url":"\/documentation\/playdatekit\/playdate\/scoreboards\/getscores(boardid:callback:)-8hnfz","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/getScores(boardID:callback:)-8hnfz","title":"getScores(boardID:callback:)","role":"symbol","type":"topic","abstract":[{"text":"Invokes the given callback with a list of the top scores on the given board. (Typically ten scores or fewer.)","type":"text"},{"type":"text","text":" "},{"text":"If the current player is not in the top scores, their highest score is given as the last result.","type":"text"}],"kind":"symbol","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"getScores","kind":"identifier"},{"text":"(","kind":"text"},{"text":"boardID","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"StaticString","preciseIdentifier":"s:s12StaticStringV","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"callback"},{"text":": ","kind":"text"},{"text":"@convention","kind":"attribute"},{"kind":"text","text":"(c) ("},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"text":"scores","kind":"internalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sp","text":"UnsafeMutablePointer","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O11ScoreboardsO10ScoresLista","text":"ScoresList"},{"text":">?, ","kind":"text"},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"kind":"internalParam","text":"errorMessage"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SP","text":"UnsafePointer","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"text":"CChar","kind":"typeIdentifier","preciseIdentifier":"s:s5CChara"},{"text":">?) -> ","kind":"text"},{"preciseIdentifier":"s:s4Voida","text":"Void","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/scoreboards/getscores(boardid:callback:)-9heou.json b/docs/data/documentation/playdatekit/playdate/scoreboards/getscores(boardid:callback:)-9heou.json new file mode 100644 index 00000000..24faa7a8 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/scoreboards/getscores(boardid:callback:)-9heou.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/getScores(boardID:callback:)-9heou","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/scoreboards\/getscores(boardid:callback:)-9heou"]}],"metadata":{"title":"getScores(boardID:callback:)","symbolKind":"method","role":"symbol","modules":[{"name":"PlaydateKit"}],"externalID":"s:11PlaydateKit0A0O11ScoreboardsO9getScores7boardID8callbacks5Int32VSPys4Int8VG_ySpySo12PDScoresListaGSg_AMSgtXCtFZ","roleHeading":"Type Method","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"getScores","kind":"identifier"},{"kind":"text","text":"("},{"text":"boardID","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UnsafePointer","preciseIdentifier":"s:SP","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"CChar","preciseIdentifier":"s:s5CChara"},{"text":">, ","kind":"text"},{"text":"callback","kind":"externalParam"},{"kind":"text","text":": "},{"text":"@convention","kind":"attribute"},{"text":"(c) (","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"scores","kind":"internalParam"},{"text":": ","kind":"text"},{"text":"UnsafeMutablePointer","kind":"typeIdentifier","preciseIdentifier":"s:Sp"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O11ScoreboardsO10ScoresLista","text":"ScoresList"},{"text":">?, ","kind":"text"},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"errorMessage"},{"text":": ","kind":"text"},{"text":"UnsafePointer","kind":"typeIdentifier","preciseIdentifier":"s:SP"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"CChar","preciseIdentifier":"s:s5CChara"},{"text":">?) -> ","kind":"text"},{"preciseIdentifier":"s:s4Voida","text":"Void","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"}]},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards"]]},"kind":"symbol","schemaVersion":{"major":0,"patch":0,"minor":3},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"getScores"},{"text":"(","kind":"text"},{"text":"boardID","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UnsafePointer","kind":"typeIdentifier","preciseIdentifier":"s:SP"},{"text":"<","kind":"text"},{"text":"CChar","kind":"typeIdentifier","preciseIdentifier":"s:s5CChara"},{"text":">, ","kind":"text"},{"text":"callback","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"@convention","kind":"attribute"},{"kind":"text","text":"(c) ("},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"scores"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sp","text":"UnsafeMutablePointer","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"text":"ScoresList","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/ScoresList","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O11ScoreboardsO10ScoresLista"},{"text":">?, ","kind":"text"},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"kind":"internalParam","text":"errorMessage"},{"kind":"text","text":": "},{"text":"UnsafePointer","kind":"typeIdentifier","preciseIdentifier":"s:SP"},{"kind":"text","text":"<"},{"text":"CChar","kind":"typeIdentifier","preciseIdentifier":"s:s5CChara"},{"kind":"text","text":">?) -> "},{"preciseIdentifier":"s:s4Voida","text":"Void","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"}],"languages":["swift"],"platforms":["macOS"]}]}],"sections":[],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards/getScores(boardID:callback:)-9heou":{"title":"getScores(boardID:callback:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/getScores(boardID:callback:)-9heou","url":"\/documentation\/playdatekit\/playdate\/scoreboards\/getscores(boardid:callback:)-9heou","role":"symbol","kind":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"getScores"},{"text":"(","kind":"text"},{"text":"boardID","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UnsafePointer","kind":"typeIdentifier","preciseIdentifier":"s:SP"},{"text":"<","kind":"text"},{"preciseIdentifier":"s:s5CChara","text":"CChar","kind":"typeIdentifier"},{"text":">, ","kind":"text"},{"text":"callback","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"@convention","kind":"attribute"},{"kind":"text","text":"(c) ("},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"kind":"internalParam","text":"scores"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sp","text":"UnsafeMutablePointer"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"ScoresList","preciseIdentifier":"s:11PlaydateKit0A0O11ScoreboardsO10ScoresLista"},{"kind":"text","text":">?, "},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"text":"errorMessage","kind":"internalParam"},{"text":": ","kind":"text"},{"text":"UnsafePointer","preciseIdentifier":"s:SP","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"CChar","preciseIdentifier":"s:s5CChara"},{"text":">?) -> ","kind":"text"},{"text":"Void","preciseIdentifier":"s:s4Voida","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"}],"abstract":[]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards":{"type":"topic","title":"Playdate.Scoreboards","url":"\/documentation\/playdatekit\/playdate\/scoreboards","abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards","navigatorTitle":[{"kind":"identifier","text":"Scoreboards"}],"role":"symbol","kind":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Scoreboards","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards/ScoresList":{"url":"\/documentation\/playdatekit\/playdate\/scoreboards\/scoreslist","kind":"symbol","fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"text":"ScoresList","kind":"identifier"}],"navigatorTitle":[{"text":"ScoresList","kind":"identifier"}],"title":"Playdate.Scoreboards.ScoresList","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/ScoresList","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/scoreboards/score.json b/docs/data/documentation/playdatekit/playdate/scoreboards/score.json new file mode 100644 index 00000000..693fedda --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/scoreboards/score.json @@ -0,0 +1 @@ +{"kind":"symbol","metadata":{"navigatorTitle":[{"text":"Score","kind":"identifier"}],"role":"symbol","title":"Playdate.Scoreboards.Score","externalID":"s:11PlaydateKit0A0O11ScoreboardsO5Scorea","symbolKind":"typealias","modules":[{"name":"PlaydateKit"}],"roleHeading":"Type Alias","fragments":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"text":"Score","kind":"identifier"}]},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/Score","interfaceLanguage":"swift"},"schemaVersion":{"patch":0,"major":0,"minor":3},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"text":"Score","kind":"identifier"},{"text":" = ","kind":"text"},{"preciseIdentifier":"c:@SA@PDScore","text":"PDScore","kind":"typeIdentifier"}],"platforms":["macOS"],"languages":["swift"]}]}],"sections":[],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards"]]},"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/scoreboards\/score"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards/Score":{"abstract":[],"role":"symbol","url":"\/documentation\/playdatekit\/playdate\/scoreboards\/score","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/Score","title":"Playdate.Scoreboards.Score","navigatorTitle":[{"text":"Score","kind":"identifier"}],"kind":"symbol","type":"topic","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Score","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards":{"type":"topic","title":"Playdate.Scoreboards","url":"\/documentation\/playdatekit\/playdate\/scoreboards","abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards","navigatorTitle":[{"kind":"identifier","text":"Scoreboards"}],"role":"symbol","kind":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Scoreboards","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/scoreboards/scoreslist.json b/docs/data/documentation/playdatekit/playdate/scoreboards/scoreslist.json new file mode 100644 index 00000000..5086cdba --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/scoreboards/scoreslist.json @@ -0,0 +1 @@ +{"sections":[],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ScoresList"},{"text":" = ","kind":"text"},{"text":"PDScoresList","preciseIdentifier":"c:@SA@PDScoresList","kind":"typeIdentifier"}],"platforms":["macOS"],"languages":["swift"]}]}],"schemaVersion":{"patch":0,"minor":3,"major":0},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/scoreboards\/scoreslist"]}],"kind":"symbol","identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/ScoresList","interfaceLanguage":"swift"},"metadata":{"title":"Playdate.Scoreboards.ScoresList","roleHeading":"Type Alias","externalID":"s:11PlaydateKit0A0O11ScoreboardsO10ScoresLista","navigatorTitle":[{"kind":"identifier","text":"ScoresList"}],"modules":[{"name":"PlaydateKit"}],"role":"symbol","fragments":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"text":"ScoresList","kind":"identifier"}],"symbolKind":"typealias"},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards":{"type":"topic","title":"Playdate.Scoreboards","url":"\/documentation\/playdatekit\/playdate\/scoreboards","abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards","navigatorTitle":[{"kind":"identifier","text":"Scoreboards"}],"role":"symbol","kind":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Scoreboards","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards/ScoresList":{"abstract":[],"type":"topic","navigatorTitle":[{"text":"ScoresList","kind":"identifier"}],"kind":"symbol","title":"Playdate.Scoreboards.ScoresList","role":"symbol","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"ScoresList","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards\/ScoresList","url":"\/documentation\/playdatekit\/playdate\/scoreboards\/scoreslist"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite.json b/docs/data/documentation/playdatekit/playdate/sprite.json new file mode 100644 index 00000000..0d1a3433 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite.json @@ -0,0 +1 @@ +{"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"Sprite","kind":"identifier"}],"languages":["swift"]}]}],"metadata":{"role":"symbol","externalID":"s:11PlaydateKit0A0O6SpriteO","roleHeading":"Enumeration","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"Sprite","kind":"identifier"}],"title":"Playdate.Sprite","modules":[{"name":"PlaydateKit"}],"extendedModule":"PlaydateKit","navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"symbolKind":"enum"},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite","interfaceLanguage":"swift"},"schemaVersion":{"major":0,"minor":3,"patch":0},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/sprite"]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate"]]},"topicSections":[{"generated":true,"title":"Classes","identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/CollisionInfo","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/QueryInfo"]},{"title":"Type Aliases","generated":true,"identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/CollisionResponseType","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Rect"]},{"identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/addDirtyRect(_:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/allOverlappingSprites()","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/clearClipRectsInRange(startZ:endZ:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/drawDisplayListSprites()","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/getDisplayListSpriteCount()","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/querySpriteInfoAlongLine(x1:y1:x2:y2:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/querySpritesAlongLine(x1:y1:x2:y2:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/querySpritesAtPoint(x:y:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/querySpritesInRect(x:y:width:height:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/removeAllSpritesFromDisplayList()","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/removeSpritesFromDisplayList(_:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/resetCollisionWorld()","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/setAlwaysRedraw(_:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/setClipRectsInRange(clipRect:startZ:endZ:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/updateAndDrawDisplayListSprites()"],"title":"Type Methods","generated":true}],"sections":[],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/resetCollisionWorld()":{"abstract":[{"text":"Frees and reallocates internal collision data, resetting everything to its default state.","type":"text"}],"type":"topic","url":"\/documentation\/playdatekit\/playdate\/sprite\/resetcollisionworld()","role":"symbol","title":"resetCollisionWorld()","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/resetCollisionWorld()","kind":"symbol","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"resetCollisionWorld","kind":"identifier"},{"kind":"text","text":"()"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/setAlwaysRedraw(_:)":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/setAlwaysRedraw(_:)","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/sprite\/setalwaysredraw(_:)","kind":"symbol","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"setAlwaysRedraw"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"text":")","kind":"text"}],"title":"setAlwaysRedraw(_:)","type":"topic","abstract":[{"type":"text","text":"When "},{"code":"alwaysRedraw","type":"codeVoice"},{"text":" is set to true, this causes all sprites to draw each frame, whether or not they have been marked dirty.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"This may speed up the performance of your game if the system’s dirty rect tracking is taking up too much time - for example"},{"type":"text","text":" "},{"type":"text","text":"if there are many sprites moving around on screen at once."}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/QueryInfo":{"title":"Playdate.Sprite.QueryInfo","fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"text":"QueryInfo","kind":"identifier"}],"role":"symbol","abstract":[],"type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/QueryInfo","navigatorTitle":[{"kind":"identifier","text":"QueryInfo"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/queryinfo","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/drawDisplayListSprites()":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/drawDisplayListSprites()","kind":"symbol","title":"drawDisplayListSprites()","type":"topic","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"drawDisplayListSprites","kind":"identifier"},{"text":"()","kind":"text"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/drawdisplaylistsprites()","abstract":[{"type":"text","text":"Draws every sprite in the display list."}],"role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/querySpritesAtPoint(x:y:)":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/querySpritesAtPoint(x:y:)","url":"\/documentation\/playdatekit\/playdate\/sprite\/queryspritesatpoint(x:y:)","abstract":[{"text":"Returns an array of all sprites with collision rects containing the point at ","type":"text"},{"code":"x","type":"codeVoice"},{"type":"text","text":", "},{"code":"y","type":"codeVoice"},{"type":"text","text":"."}],"type":"topic","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"querySpritesAtPoint","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"x"},{"text":": ","kind":"text"},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"y"},{"kind":"text","text":": "},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:SR","text":"UnsafeBufferPointer"},{"kind":"text","text":"<"},{"text":"OpaquePointer","preciseIdentifier":"s:s13OpaquePointerV","kind":"typeIdentifier"},{"kind":"text","text":"?>"}],"kind":"symbol","title":"querySpritesAtPoint(x:y:)","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Rect":{"navigatorTitle":[{"kind":"identifier","text":"Rect"}],"fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"text":"Rect","kind":"identifier"}],"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Rect","kind":"symbol","title":"Playdate.Sprite.Rect","url":"\/documentation\/playdatekit\/playdate\/sprite\/rect","role":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/querySpritesInRect(x:y:width:height:)":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/querySpritesInRect(x:y:width:height:)","url":"\/documentation\/playdatekit\/playdate\/sprite\/queryspritesinrect(x:y:width:height:)","title":"querySpritesInRect(x:y:width:height:)","role":"symbol","type":"topic","kind":"symbol","abstract":[{"type":"text","text":"Returns an array of all sprites with collision rects that intersect the "},{"code":"width","type":"codeVoice"},{"text":" by ","type":"text"},{"code":"height","type":"codeVoice"},{"type":"text","text":" rect at "},{"type":"codeVoice","code":"x"},{"text":", ","type":"text"},{"code":"y","type":"codeVoice"},{"text":".","type":"text"}],"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"querySpritesInRect"},{"kind":"text","text":"("},{"text":"x","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sf","kind":"typeIdentifier","text":"Float"},{"text":", ","kind":"text"},{"text":"y","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"width"},{"text":": ","kind":"text"},{"text":"Float","preciseIdentifier":"s:Sf","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"height","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Float","preciseIdentifier":"s:Sf"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SR","text":"UnsafeBufferPointer"},{"text":"<","kind":"text"},{"preciseIdentifier":"s:s13OpaquePointerV","text":"OpaquePointer","kind":"typeIdentifier"},{"kind":"text","text":"?>"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/clearClipRectsInRange(startZ:endZ:)":{"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/sprite\/clearcliprectsinrange(startz:endz:)","title":"clearClipRectsInRange(startZ:endZ:)","type":"topic","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"clearClipRectsInRange","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"startZ"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"text":"endZ","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"},{"text":")","kind":"text"}],"role":"symbol","abstract":[{"type":"text","text":"Clears the clipping rectangle for all sprites with a Z index within "},{"type":"codeVoice","code":"startZ"},{"type":"text","text":" and "},{"type":"codeVoice","code":"endZ"},{"text":" inclusive.","type":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/clearClipRectsInRange(startZ:endZ:)"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/removeAllSpritesFromDisplayList()":{"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/removeAllSpritesFromDisplayList()","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"removeAllSpritesFromDisplayList"},{"kind":"text","text":"()"}],"abstract":[{"type":"text","text":"Removes all sprites from the display list."}],"title":"removeAllSpritesFromDisplayList()","url":"\/documentation\/playdatekit\/playdate\/sprite\/removeallspritesfromdisplaylist()","type":"topic","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/removeSpritesFromDisplayList(_:)":{"kind":"symbol","type":"topic","title":"removeSpritesFromDisplayList(_:)","abstract":[{"type":"text","text":"Removes the given array of sprites from the display list."}],"role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/removeSpritesFromDisplayList(_:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeSpritesFromDisplayList"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sr","text":"UnsafeMutableBufferPointer"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Sprite","preciseIdentifier":"s:11PlaydateKit0A0O6SpriteOADC"},{"text":">)","kind":"text"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/removespritesfromdisplaylist(_:)"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/allOverlappingSprites()":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/allOverlappingSprites()","url":"\/documentation\/playdatekit\/playdate\/sprite\/alloverlappingsprites()","role":"symbol","title":"allOverlappingSprites()","abstract":[{"type":"text","text":"Returns an array of all sprites that have collide rects that are currently overlapping. Each consecutive pair of sprites is overlapping"},{"type":"text","text":" "},{"type":"text","text":"(eg. 0 & 1 overlap, 2 & 3 overlap, etc)."}],"fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"allOverlappingSprites"},{"text":"() -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SR","text":"UnsafeBufferPointer"},{"text":"<","kind":"text"},{"text":"OpaquePointer","kind":"typeIdentifier","preciseIdentifier":"s:s13OpaquePointerV"},{"text":"?>","kind":"text"}],"type":"topic","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite":{"abstract":[],"type":"topic","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite","navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Sprite"}],"title":"Playdate.Sprite","url":"\/documentation\/playdatekit\/playdate\/sprite"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/setClipRectsInRange(clipRect:startZ:endZ:)":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/setClipRectsInRange(clipRect:startZ:endZ:)","url":"\/documentation\/playdatekit\/playdate\/sprite\/setcliprectsinrange(cliprect:startz:endz:)","title":"setClipRectsInRange(clipRect:startZ:endZ:)","role":"symbol","type":"topic","kind":"symbol","abstract":[{"text":"Sets the clipping rectangle for all sprites with a Z index within ","type":"text"},{"type":"codeVoice","code":"startZ"},{"type":"text","text":" and "},{"type":"codeVoice","code":"endZ"},{"type":"text","text":" inclusive."}],"fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"setClipRectsInRange","kind":"identifier"},{"text":"(","kind":"text"},{"text":"clipRect","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Graphics","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO4Recta","kind":"typeIdentifier","text":"Rect"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"startZ"},{"kind":"text","text":": "},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":", "},{"kind":"externalParam","text":"endZ"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":")","kind":"text"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/CollisionInfo":{"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/CollisionInfo","title":"Playdate.Sprite.CollisionInfo","url":"\/documentation\/playdatekit\/playdate\/sprite\/collisioninfo","role":"symbol","type":"topic","fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"text":"CollisionInfo","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"CollisionInfo"}],"abstract":[]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/updateAndDrawDisplayListSprites()":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/updateAndDrawDisplayListSprites()","url":"\/documentation\/playdatekit\/playdate\/sprite\/updateanddrawdisplaylistsprites()","title":"updateAndDrawDisplayListSprites()","role":"symbol","type":"topic","kind":"symbol","abstract":[{"type":"text","text":"Updates and draws every sprite in the display list."}],"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"updateAndDrawDisplayListSprites","kind":"identifier"},{"kind":"text","text":"()"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/querySpriteInfoAlongLine(x1:y1:x2:y2:)":{"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"querySpriteInfoAlongLine","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"x1"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sf","text":"Float","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"y1"},{"text":": ","kind":"text"},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"x2"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sf","kind":"typeIdentifier","text":"Float"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"y2"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sf","text":"Float"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","text":"QueryInfo","preciseIdentifier":"s:11PlaydateKit0A0O6SpriteO9QueryInfoC"}],"abstract":[{"text":"Returns an array of ","type":"text"},{"code":"SpriteQueryInfo","type":"codeVoice"},{"type":"text","text":" for all sprites with collision rects that intersect the line connecting "},{"type":"codeVoice","code":"x1"},{"text":", ","type":"text"},{"type":"codeVoice","code":"y1"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"x2"},{"text":", ","type":"text"},{"type":"codeVoice","code":"y2"},{"type":"text","text":"."},{"text":" ","type":"text"},{"type":"text","text":"If you don’t need this information, use "},{"type":"codeVoice","code":"querySpritesAlongLine()"},{"text":" as it will be faster.","type":"text"}],"title":"querySpriteInfoAlongLine(x1:y1:x2:y2:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/querySpriteInfoAlongLine(x1:y1:x2:y2:)","url":"\/documentation\/playdatekit\/playdate\/sprite\/queryspriteinfoalongline(x1:y1:x2:y2:)","type":"topic","role":"symbol","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/CollisionResponseType":{"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/CollisionResponseType","fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"CollisionResponseType"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/collisionresponsetype","role":"symbol","type":"topic","title":"Playdate.Sprite.CollisionResponseType","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"CollisionResponseType"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/addDirtyRect(_:)":{"abstract":[{"text":"Marks the given dirtyRect (in screen coordinates) as needing a redraw. Graphics drawing functions now call this","type":"text"},{"type":"text","text":" "},{"text":"automatically, adding their drawn areas to the sprite’s dirty list, so there’s usually no need to call this manually.","type":"text"}],"role":"symbol","kind":"symbol","title":"addDirtyRect(_:)","type":"topic","url":"\/documentation\/playdatekit\/playdate\/sprite\/adddirtyrect(_:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/addDirtyRect(_:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"addDirtyRect"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO","text":"Graphics"},{"text":".","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO4Recta","text":"Rect","kind":"typeIdentifier"},{"kind":"text","text":")"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/querySpritesAlongLine(x1:y1:x2:y2:)":{"url":"\/documentation\/playdatekit\/playdate\/sprite\/queryspritesalongline(x1:y1:x2:y2:)","title":"querySpritesAlongLine(x1:y1:x2:y2:)","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"querySpritesAlongLine","kind":"identifier"},{"kind":"text","text":"("},{"text":"x1","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Float","preciseIdentifier":"s:Sf"},{"text":", ","kind":"text"},{"text":"y1","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"text":", ","kind":"text"},{"text":"x2","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"text":", ","kind":"text"},{"text":"y2","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Float","preciseIdentifier":"s:Sf","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:SR","kind":"typeIdentifier","text":"UnsafeBufferPointer"},{"text":"<","kind":"text"},{"text":"OpaquePointer","kind":"typeIdentifier","preciseIdentifier":"s:s13OpaquePointerV"},{"text":"?>","kind":"text"}],"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/querySpritesAlongLine(x1:y1:x2:y2:)","role":"symbol","abstract":[{"type":"text","text":"Returns an array of all sprites with collision rects that intersect the line connecting "},{"type":"codeVoice","code":"x1"},{"type":"text","text":", "},{"type":"codeVoice","code":"y1"},{"type":"text","text":" and "},{"code":"x2","type":"codeVoice"},{"type":"text","text":", "},{"code":"y2","type":"codeVoice"},{"text":".","type":"text"}],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/getDisplayListSpriteCount()":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/getDisplayListSpriteCount()","url":"\/documentation\/playdatekit\/playdate\/sprite\/getdisplaylistspritecount()","title":"getDisplayListSpriteCount()","role":"symbol","type":"topic","kind":"symbol","abstract":[{"type":"text","text":"Returns the total number of sprites in the display list."}],"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"getDisplayListSpriteCount","kind":"identifier"},{"text":"() -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/adddirtyrect(_:).json b/docs/data/documentation/playdatekit/playdate/sprite/adddirtyrect(_:).json new file mode 100644 index 00000000..b1ff4b7f --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/adddirtyrect(_:).json @@ -0,0 +1 @@ +{"schemaVersion":{"major":0,"minor":3,"patch":0},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/addDirtyRect(_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Marks the given dirtyRect (in screen coordinates) as needing a redraw. Graphics drawing functions now call this"},{"text":" ","type":"text"},{"type":"text","text":"automatically, adding their drawn areas to the sprite’s dirty list, so there’s usually no need to call this manually."}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/sprite\/adddirtyrect(_:)"]}],"metadata":{"role":"symbol","externalID":"s:11PlaydateKit0A0O6SpriteO12addDirtyRectyySo7LCDRectaFZ","roleHeading":"Type Method","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"addDirtyRect","kind":"identifier"},{"text":"(","kind":"text"},{"text":"Graphics","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO"},{"kind":"text","text":"."},{"text":"Rect","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO4Recta"},{"kind":"text","text":")"}],"title":"addDirtyRect(_:)","modules":[{"name":"PlaydateKit"}],"symbolKind":"method"},"sections":[],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"addDirtyRect","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"text":"dirtyRect","kind":"internalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO","text":"Graphics"},{"kind":"text","text":"."},{"text":"Rect","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Rect","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO4Recta"},{"kind":"text","text":")"}],"platforms":["macOS"]}]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite"]]},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Rect":{"fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Rect"}],"abstract":[],"navigatorTitle":[{"kind":"identifier","text":"Rect"}],"type":"topic","kind":"symbol","role":"symbol","title":"Playdate.Graphics.Rect","url":"\/documentation\/playdatekit\/playdate\/graphics\/rect","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Rect"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/addDirtyRect(_:)":{"abstract":[{"text":"Marks the given dirtyRect (in screen coordinates) as needing a redraw. Graphics drawing functions now call this","type":"text"},{"type":"text","text":" "},{"text":"automatically, adding their drawn areas to the sprite’s dirty list, so there’s usually no need to call this manually.","type":"text"}],"role":"symbol","kind":"symbol","title":"addDirtyRect(_:)","type":"topic","url":"\/documentation\/playdatekit\/playdate\/sprite\/adddirtyrect(_:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/addDirtyRect(_:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"addDirtyRect"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO","text":"Graphics"},{"text":".","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO4Recta","text":"Rect","kind":"typeIdentifier"},{"kind":"text","text":")"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite":{"abstract":[],"type":"topic","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite","navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Sprite"}],"title":"Playdate.Sprite","url":"\/documentation\/playdatekit\/playdate\/sprite"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/alloverlappingsprites().json b/docs/data/documentation/playdatekit/playdate/sprite/alloverlappingsprites().json new file mode 100644 index 00000000..630ba35d --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/alloverlappingsprites().json @@ -0,0 +1 @@ +{"schemaVersion":{"minor":3,"patch":0,"major":0},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/allOverlappingSprites()","interfaceLanguage":"swift"},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite"]]},"abstract":[{"type":"text","text":"Returns an array of all sprites that have collide rects that are currently overlapping. Each consecutive pair of sprites is overlapping"},{"text":" ","type":"text"},{"type":"text","text":"(eg. 0 & 1 overlap, 2 & 3 overlap, etc)."}],"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"allOverlappingSprites"},{"text":"() -> ","kind":"text"},{"preciseIdentifier":"s:SR","kind":"typeIdentifier","text":"UnsafeBufferPointer"},{"text":"<","kind":"text"},{"text":"OpaquePointer","preciseIdentifier":"s:s13OpaquePointerV","kind":"typeIdentifier"},{"text":"?>","kind":"text"}]}],"kind":"declarations"},{"content":[{"text":"Discussion","type":"heading","level":2,"anchor":"discussion"},{"content":[{"inlineContent":[{"type":"text","text":"The caller is responsible for freeing the returned array."}],"type":"paragraph"}],"name":"Warning","style":"warning","type":"aside"}],"kind":"content"}],"sections":[],"metadata":{"role":"symbol","externalID":"s:11PlaydateKit0A0O6SpriteO21allOverlappingSpritesSRys13OpaquePointerVSgGyFZ","roleHeading":"Type Method","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"allOverlappingSprites","kind":"identifier"},{"kind":"text","text":"() -> "},{"kind":"typeIdentifier","text":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","preciseIdentifier":"s:s13OpaquePointerV","text":"OpaquePointer"},{"kind":"text","text":"?>"}],"title":"allOverlappingSprites()","modules":[{"name":"PlaydateKit"}],"symbolKind":"method"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/sprite\/alloverlappingsprites()"]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/allOverlappingSprites()":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/allOverlappingSprites()","url":"\/documentation\/playdatekit\/playdate\/sprite\/alloverlappingsprites()","role":"symbol","title":"allOverlappingSprites()","abstract":[{"type":"text","text":"Returns an array of all sprites that have collide rects that are currently overlapping. Each consecutive pair of sprites is overlapping"},{"type":"text","text":" "},{"type":"text","text":"(eg. 0 & 1 overlap, 2 & 3 overlap, etc)."}],"fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"allOverlappingSprites"},{"text":"() -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SR","text":"UnsafeBufferPointer"},{"text":"<","kind":"text"},{"text":"OpaquePointer","kind":"typeIdentifier","preciseIdentifier":"s:s13OpaquePointerV"},{"text":"?>","kind":"text"}],"type":"topic","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite":{"abstract":[],"type":"topic","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite","navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Sprite"}],"title":"Playdate.Sprite","url":"\/documentation\/playdatekit\/playdate\/sprite"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/clearcliprectsinrange(startz:endz:).json b/docs/data/documentation/playdatekit/playdate/sprite/clearcliprectsinrange(startz:endz:).json new file mode 100644 index 00000000..964db1ef --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/clearcliprectsinrange(startz:endz:).json @@ -0,0 +1 @@ +{"kind":"symbol","abstract":[{"type":"text","text":"Clears the clipping rectangle for all sprites with a Z index within "},{"code":"startZ","type":"codeVoice"},{"text":" and ","type":"text"},{"code":"endZ","type":"codeVoice"},{"text":" inclusive.","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/sprite\/clearcliprectsinrange(startz:endz:)"]}],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/clearClipRectsInRange(startZ:endZ:)","interfaceLanguage":"swift"},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"clearClipRectsInRange"},{"kind":"text","text":"("},{"text":"startZ","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"endZ"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":")","kind":"text"}],"languages":["swift"]}],"kind":"declarations"}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite"]]},"sections":[],"metadata":{"externalID":"s:11PlaydateKit0A0O6SpriteO21clearClipRectsInRange6startZ4endZys5Int32V_AJtFZ","role":"symbol","title":"clearClipRectsInRange(startZ:endZ:)","modules":[{"name":"PlaydateKit"}],"roleHeading":"Type Method","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"clearClipRectsInRange"},{"kind":"text","text":"("},{"kind":"externalParam","text":"startZ"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"},{"kind":"text","text":", "},{"text":"endZ","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"kind":"text","text":")"}],"symbolKind":"method"},"schemaVersion":{"patch":0,"major":0,"minor":3},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/clearClipRectsInRange(startZ:endZ:)":{"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/sprite\/clearcliprectsinrange(startz:endz:)","title":"clearClipRectsInRange(startZ:endZ:)","type":"topic","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"clearClipRectsInRange","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"startZ"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"text":"endZ","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"},{"text":")","kind":"text"}],"role":"symbol","abstract":[{"type":"text","text":"Clears the clipping rectangle for all sprites with a Z index within "},{"type":"codeVoice","code":"startZ"},{"type":"text","text":" and "},{"type":"codeVoice","code":"endZ"},{"text":" inclusive.","type":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/clearClipRectsInRange(startZ:endZ:)"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite":{"abstract":[],"type":"topic","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite","navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Sprite"}],"title":"Playdate.Sprite","url":"\/documentation\/playdatekit\/playdate\/sprite"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/collisioninfo.json b/docs/data/documentation/playdatekit/playdate/sprite/collisioninfo.json new file mode 100644 index 00000000..472a1aa8 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/collisioninfo.json @@ -0,0 +1 @@ +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/CollisionInfo"},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"text":"CollisionInfo","kind":"identifier"}],"platforms":["macOS"]}]}],"schemaVersion":{"minor":3,"major":0,"patch":0},"kind":"symbol","sections":[],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/sprite\/collisioninfo"]}],"topicSections":[{"identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/CollisionInfo\/actualX","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/CollisionInfo\/actualY","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/CollisionInfo\/collisions"],"generated":true,"title":"Instance Properties"}],"metadata":{"externalID":"s:11PlaydateKit0A0O6SpriteO13CollisionInfoC","navigatorTitle":[{"kind":"identifier","text":"CollisionInfo"}],"role":"symbol","roleHeading":"Class","modules":[{"name":"PlaydateKit"}],"title":"Playdate.Sprite.CollisionInfo","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"identifier","text":"CollisionInfo"}],"symbolKind":"class"},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/CollisionInfo/actualY":{"url":"\/documentation\/playdatekit\/playdate\/sprite\/collisioninfo\/actualy","title":"actualY","fragments":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"text":"actualY","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"}],"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/CollisionInfo\/actualY","type":"topic","role":"symbol","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite":{"abstract":[],"type":"topic","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite","navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Sprite"}],"title":"Playdate.Sprite","url":"\/documentation\/playdatekit\/playdate\/sprite"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/CollisionInfo/collisions":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/CollisionInfo\/collisions","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/sprite\/collisioninfo\/collisions","kind":"symbol","fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"collisions"},{"text":": ","kind":"text"},{"text":"UnsafeBufferPointer","kind":"typeIdentifier","preciseIdentifier":"s:SR"},{"text":"<","kind":"text"},{"text":"SpriteCollisionInfo","preciseIdentifier":"c:@S@SpriteCollisionInfo","kind":"typeIdentifier"},{"kind":"text","text":">"}],"title":"collisions","type":"topic","abstract":[]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/CollisionInfo":{"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/CollisionInfo","title":"Playdate.Sprite.CollisionInfo","url":"\/documentation\/playdatekit\/playdate\/sprite\/collisioninfo","role":"symbol","type":"topic","fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"text":"CollisionInfo","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"CollisionInfo"}],"abstract":[]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/CollisionInfo/actualX":{"title":"actualX","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/CollisionInfo\/actualX","url":"\/documentation\/playdatekit\/playdate\/sprite\/collisioninfo\/actualx","abstract":[],"kind":"symbol","type":"topic","role":"symbol","fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"actualX"},{"kind":"text","text":": "},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/collisioninfo/actualx.json b/docs/data/documentation/playdatekit/playdate/sprite/collisioninfo/actualx.json new file mode 100644 index 00000000..47834c0b --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/collisioninfo/actualx.json @@ -0,0 +1 @@ +{"sections":[],"schemaVersion":{"patch":0,"minor":3,"major":0},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/CollisionInfo"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/CollisionInfo\/actualX"},"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/sprite\/collisioninfo\/actualx"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"role":"symbol","title":"actualX","externalID":"s:11PlaydateKit0A0O6SpriteO13CollisionInfoC7actualXSfvp","fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"text":"actualX","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sf","text":"Float"}],"symbolKind":"property","roleHeading":"Instance Property","modules":[{"name":"PlaydateKit"}]},"kind":"symbol","primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"text":"actualX","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Float","preciseIdentifier":"s:Sf","kind":"typeIdentifier"}],"platforms":["macOS"]}],"kind":"declarations"}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/CollisionInfo":{"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/CollisionInfo","title":"Playdate.Sprite.CollisionInfo","url":"\/documentation\/playdatekit\/playdate\/sprite\/collisioninfo","role":"symbol","type":"topic","fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"text":"CollisionInfo","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"CollisionInfo"}],"abstract":[]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite":{"abstract":[],"type":"topic","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite","navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Sprite"}],"title":"Playdate.Sprite","url":"\/documentation\/playdatekit\/playdate\/sprite"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/CollisionInfo/actualX":{"title":"actualX","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/CollisionInfo\/actualX","url":"\/documentation\/playdatekit\/playdate\/sprite\/collisioninfo\/actualx","abstract":[],"kind":"symbol","type":"topic","role":"symbol","fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"actualX"},{"kind":"text","text":": "},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/collisioninfo/actualy.json b/docs/data/documentation/playdatekit/playdate/sprite/collisioninfo/actualy.json new file mode 100644 index 00000000..edb4a632 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/collisioninfo/actualy.json @@ -0,0 +1 @@ +{"kind":"symbol","hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/CollisionInfo"]]},"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/sprite\/collisioninfo\/actualy"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/CollisionInfo\/actualY","interfaceLanguage":"swift"},"metadata":{"fragments":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"kind":"identifier","text":"actualY"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Float","preciseIdentifier":"s:Sf"}],"modules":[{"name":"PlaydateKit"}],"externalID":"s:11PlaydateKit0A0O6SpriteO13CollisionInfoC7actualYSfvp","title":"actualY","roleHeading":"Instance Property","symbolKind":"property","role":"symbol"},"sections":[],"schemaVersion":{"major":0,"minor":3,"patch":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"actualY","kind":"identifier"},{"kind":"text","text":": "},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"}]}]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/CollisionInfo":{"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/CollisionInfo","title":"Playdate.Sprite.CollisionInfo","url":"\/documentation\/playdatekit\/playdate\/sprite\/collisioninfo","role":"symbol","type":"topic","fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"text":"CollisionInfo","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"CollisionInfo"}],"abstract":[]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite":{"abstract":[],"type":"topic","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite","navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Sprite"}],"title":"Playdate.Sprite","url":"\/documentation\/playdatekit\/playdate\/sprite"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/CollisionInfo/actualY":{"url":"\/documentation\/playdatekit\/playdate\/sprite\/collisioninfo\/actualy","title":"actualY","fragments":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"text":"actualY","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"}],"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/CollisionInfo\/actualY","type":"topic","role":"symbol","kind":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/collisioninfo/collisions.json b/docs/data/documentation/playdatekit/playdate/sprite/collisioninfo/collisions.json new file mode 100644 index 00000000..20c555c6 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/collisioninfo/collisions.json @@ -0,0 +1 @@ +{"schemaVersion":{"patch":0,"minor":3,"major":0},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/CollisionInfo\/collisions","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/sprite\/collisioninfo\/collisions"]}],"metadata":{"role":"symbol","externalID":"s:11PlaydateKit0A0O6SpriteO13CollisionInfoC10collisionsSRySo0cdE0VGvp","roleHeading":"Instance Property","fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"text":"collisions","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SR","kind":"typeIdentifier","text":"UnsafeBufferPointer"},{"text":"<","kind":"text"},{"preciseIdentifier":"c:@S@SpriteCollisionInfo","kind":"typeIdentifier","text":"SpriteCollisionInfo"},{"text":">","kind":"text"}],"title":"collisions","modules":[{"name":"PlaydateKit"}],"symbolKind":"property"},"sections":[],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"kind":"identifier","text":"collisions"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SR","text":"UnsafeBufferPointer","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"preciseIdentifier":"c:@S@SpriteCollisionInfo","text":"SpriteCollisionInfo","kind":"typeIdentifier"},{"kind":"text","text":">"}],"platforms":["macOS"],"languages":["swift"]}]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/CollisionInfo"]]},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/CollisionInfo":{"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/CollisionInfo","title":"Playdate.Sprite.CollisionInfo","url":"\/documentation\/playdatekit\/playdate\/sprite\/collisioninfo","role":"symbol","type":"topic","fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"text":"CollisionInfo","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"CollisionInfo"}],"abstract":[]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/CollisionInfo/collisions":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/CollisionInfo\/collisions","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/sprite\/collisioninfo\/collisions","kind":"symbol","fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"collisions"},{"text":": ","kind":"text"},{"text":"UnsafeBufferPointer","kind":"typeIdentifier","preciseIdentifier":"s:SR"},{"text":"<","kind":"text"},{"text":"SpriteCollisionInfo","preciseIdentifier":"c:@S@SpriteCollisionInfo","kind":"typeIdentifier"},{"kind":"text","text":">"}],"title":"collisions","type":"topic","abstract":[]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite":{"abstract":[],"type":"topic","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite","navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Sprite"}],"title":"Playdate.Sprite","url":"\/documentation\/playdatekit\/playdate\/sprite"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/collisionresponsetype.json b/docs/data/documentation/playdatekit/playdate/sprite/collisionresponsetype.json new file mode 100644 index 00000000..0a0aed59 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/collisionresponsetype.json @@ -0,0 +1 @@ +{"schemaVersion":{"patch":0,"major":0,"minor":3},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"text":"CollisionResponseType","kind":"identifier"},{"kind":"text","text":" = "},{"text":"SpriteCollisionResponseType","preciseIdentifier":"c:@EA@SpriteCollisionResponseType","kind":"typeIdentifier"}],"languages":["swift"]}]}],"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/sprite\/collisionresponsetype"]}],"sections":[],"metadata":{"symbolKind":"typealias","navigatorTitle":[{"kind":"identifier","text":"CollisionResponseType"}],"externalID":"s:11PlaydateKit0A0O6SpriteO21CollisionResponseTypea","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"CollisionResponseType"}],"roleHeading":"Type Alias","role":"symbol","title":"Playdate.Sprite.CollisionResponseType","modules":[{"name":"PlaydateKit"}]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/CollisionResponseType"},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite"]]},"references":{"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite":{"abstract":[],"type":"topic","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite","navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Sprite"}],"title":"Playdate.Sprite","url":"\/documentation\/playdatekit\/playdate\/sprite"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/CollisionResponseType":{"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/CollisionResponseType","fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"CollisionResponseType"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/collisionresponsetype","role":"symbol","type":"topic","title":"Playdate.Sprite.CollisionResponseType","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"CollisionResponseType"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/drawdisplaylistsprites().json b/docs/data/documentation/playdatekit/playdate/sprite/drawdisplaylistsprites().json new file mode 100644 index 00000000..f9229280 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/drawdisplaylistsprites().json @@ -0,0 +1 @@ +{"metadata":{"externalID":"s:11PlaydateKit0A0O6SpriteO22drawDisplayListSpritesyyFZ","modules":[{"name":"PlaydateKit"}],"symbolKind":"method","title":"drawDisplayListSprites()","roleHeading":"Type Method","role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"drawDisplayListSprites"},{"kind":"text","text":"()"}]},"primaryContentSections":[{"declarations":[{"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"drawDisplayListSprites","kind":"identifier"},{"text":"()","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"schemaVersion":{"minor":3,"major":0,"patch":0},"sections":[],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite"]]},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/drawDisplayListSprites()","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Draws every sprite in the display list."}],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/sprite\/drawdisplaylistsprites()"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite":{"abstract":[],"type":"topic","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite","navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Sprite"}],"title":"Playdate.Sprite","url":"\/documentation\/playdatekit\/playdate\/sprite"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/drawDisplayListSprites()":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/drawDisplayListSprites()","kind":"symbol","title":"drawDisplayListSprites()","type":"topic","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"drawDisplayListSprites","kind":"identifier"},{"text":"()","kind":"text"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/drawdisplaylistsprites()","abstract":[{"type":"text","text":"Draws every sprite in the display list."}],"role":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/getdisplaylistspritecount().json b/docs/data/documentation/playdatekit/playdate/sprite/getdisplaylistspritecount().json new file mode 100644 index 00000000..9b6ea875 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/getdisplaylistspritecount().json @@ -0,0 +1 @@ +{"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/getDisplayListSpriteCount()"},"metadata":{"title":"getDisplayListSpriteCount()","role":"symbol","externalID":"s:11PlaydateKit0A0O6SpriteO014getDisplayListC5Counts5Int32VyFZ","symbolKind":"method","modules":[{"name":"PlaydateKit"}],"roleHeading":"Type Method","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"getDisplayListSpriteCount","kind":"identifier"},{"text":"() -> ","kind":"text"},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"}]},"schemaVersion":{"patch":0,"major":0,"minor":3},"abstract":[{"type":"text","text":"Returns the total number of sprites in the display list."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"getDisplayListSpriteCount"},{"text":"() -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"}],"platforms":["macOS"]}]}],"sections":[],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/sprite\/getdisplaylistspritecount()"]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/getDisplayListSpriteCount()":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/getDisplayListSpriteCount()","url":"\/documentation\/playdatekit\/playdate\/sprite\/getdisplaylistspritecount()","title":"getDisplayListSpriteCount()","role":"symbol","type":"topic","kind":"symbol","abstract":[{"type":"text","text":"Returns the total number of sprites in the display list."}],"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"getDisplayListSpriteCount","kind":"identifier"},{"text":"() -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite":{"abstract":[],"type":"topic","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite","navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Sprite"}],"title":"Playdate.Sprite","url":"\/documentation\/playdatekit\/playdate\/sprite"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/queryinfo.json b/docs/data/documentation/playdatekit/playdate/sprite/queryinfo.json new file mode 100644 index 00000000..882d4d6d --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/queryinfo.json @@ -0,0 +1 @@ +{"metadata":{"role":"symbol","externalID":"s:11PlaydateKit0A0O6SpriteO9QueryInfoC","roleHeading":"Class","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"QueryInfo","kind":"identifier"}],"title":"Playdate.Sprite.QueryInfo","modules":[{"name":"PlaydateKit"}],"navigatorTitle":[{"text":"QueryInfo","kind":"identifier"}],"symbolKind":"class"},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/QueryInfo"},"kind":"symbol","primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"QueryInfo"}],"platforms":["macOS"]}],"kind":"declarations"}],"topicSections":[{"title":"Instance Properties","identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/QueryInfo\/info"],"generated":true}],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/sprite\/queryinfo"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"minor":3,"major":0,"patch":0},"sections":[],"references":{"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/QueryInfo":{"title":"Playdate.Sprite.QueryInfo","fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"text":"QueryInfo","kind":"identifier"}],"role":"symbol","abstract":[],"type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/QueryInfo","navigatorTitle":[{"kind":"identifier","text":"QueryInfo"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/queryinfo","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite":{"abstract":[],"type":"topic","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite","navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Sprite"}],"title":"Playdate.Sprite","url":"\/documentation\/playdatekit\/playdate\/sprite"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/QueryInfo/info":{"title":"info","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/QueryInfo\/info","kind":"symbol","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/sprite\/queryinfo\/info","type":"topic","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"info"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SR","text":"UnsafeBufferPointer"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"SpriteQueryInfo","preciseIdentifier":"c:@S@SpriteQueryInfo"},{"text":">","kind":"text"}],"abstract":[]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/queryinfo/info.json b/docs/data/documentation/playdatekit/playdate/sprite/queryinfo/info.json new file mode 100644 index 00000000..fa699560 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/queryinfo/info.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/QueryInfo\/info","interfaceLanguage":"swift"},"metadata":{"title":"info","roleHeading":"Instance Property","symbolKind":"property","role":"symbol","modules":[{"name":"PlaydateKit"}],"fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"text":"info","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SR","text":"UnsafeBufferPointer"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:@S@SpriteQueryInfo","text":"SpriteQueryInfo"},{"text":">","kind":"text"}],"externalID":"s:11PlaydateKit0A0O6SpriteO9QueryInfoC4infoSRySo0cdE0VGvp"},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/QueryInfo"]]},"schemaVersion":{"minor":3,"patch":0,"major":0},"kind":"symbol","sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"text":"info","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SR","text":"UnsafeBufferPointer"},{"text":"<","kind":"text"},{"text":"SpriteQueryInfo","kind":"typeIdentifier","preciseIdentifier":"c:@S@SpriteQueryInfo"},{"text":">","kind":"text"}]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/sprite\/queryinfo\/info"]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite":{"abstract":[],"type":"topic","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite","navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Sprite"}],"title":"Playdate.Sprite","url":"\/documentation\/playdatekit\/playdate\/sprite"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/QueryInfo/info":{"title":"info","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/QueryInfo\/info","kind":"symbol","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/sprite\/queryinfo\/info","type":"topic","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"info"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SR","text":"UnsafeBufferPointer"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"SpriteQueryInfo","preciseIdentifier":"c:@S@SpriteQueryInfo"},{"text":">","kind":"text"}],"abstract":[]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/QueryInfo":{"title":"Playdate.Sprite.QueryInfo","fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"text":"QueryInfo","kind":"identifier"}],"role":"symbol","abstract":[],"type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/QueryInfo","navigatorTitle":[{"kind":"identifier","text":"QueryInfo"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/queryinfo","kind":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/queryspriteinfoalongline(x1:y1:x2:y2:).json b/docs/data/documentation/playdatekit/playdate/sprite/queryspriteinfoalongline(x1:y1:x2:y2:).json new file mode 100644 index 00000000..74c08ace --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/queryspriteinfoalongline(x1:y1:x2:y2:).json @@ -0,0 +1 @@ +{"metadata":{"roleHeading":"Type Method","modules":[{"name":"PlaydateKit"}],"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"querySpriteInfoAlongLine","kind":"identifier"},{"kind":"text","text":"("},{"text":"x1","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sf","text":"Float","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"y1"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sf","text":"Float"},{"kind":"text","text":", "},{"kind":"externalParam","text":"x2"},{"kind":"text","text":": "},{"text":"Float","preciseIdentifier":"s:Sf","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"y2","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:11PlaydateKit0A0O6SpriteO9QueryInfoC","text":"QueryInfo","kind":"typeIdentifier"}],"role":"symbol","externalID":"s:11PlaydateKit0A0O6SpriteO05queryC13InfoAlongLine2x12y12x22y2AE05QueryE0CSf_S3ftFZ","symbolKind":"method","title":"querySpriteInfoAlongLine(x1:y1:x2:y2:)"},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite"]]},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/querySpriteInfoAlongLine(x1:y1:x2:y2:)","interfaceLanguage":"swift"},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"querySpriteInfoAlongLine","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"x1"},{"kind":"text","text":": "},{"text":"Float","preciseIdentifier":"s:Sf","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"y1","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sf","text":"Float"},{"kind":"text","text":", "},{"kind":"externalParam","text":"x2"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","text":", "},{"text":"y2","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O6SpriteO9QueryInfoC","text":"QueryInfo","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/QueryInfo"}]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/sprite\/queryspriteinfoalongline(x1:y1:x2:y2:)"]}],"schemaVersion":{"patch":0,"minor":3,"major":0},"kind":"symbol","sections":[],"abstract":[{"type":"text","text":"Returns an array of "},{"code":"SpriteQueryInfo","type":"codeVoice"},{"text":" for all sprites with collision rects that intersect the line connecting ","type":"text"},{"type":"codeVoice","code":"x1"},{"type":"text","text":", "},{"code":"y1","type":"codeVoice"},{"type":"text","text":" and "},{"type":"codeVoice","code":"x2"},{"type":"text","text":", "},{"type":"codeVoice","code":"y2"},{"text":".","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"If you don’t need this information, use "},{"code":"querySpritesAlongLine()","type":"codeVoice"},{"text":" as it will be faster.","type":"text"}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/QueryInfo":{"title":"Playdate.Sprite.QueryInfo","fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"text":"QueryInfo","kind":"identifier"}],"role":"symbol","abstract":[],"type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/QueryInfo","navigatorTitle":[{"kind":"identifier","text":"QueryInfo"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/queryinfo","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite":{"abstract":[],"type":"topic","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite","navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Sprite"}],"title":"Playdate.Sprite","url":"\/documentation\/playdatekit\/playdate\/sprite"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/querySpriteInfoAlongLine(x1:y1:x2:y2:)":{"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"querySpriteInfoAlongLine","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"x1"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sf","text":"Float","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"y1"},{"text":": ","kind":"text"},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"x2"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sf","kind":"typeIdentifier","text":"Float"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"y2"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sf","text":"Float"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","text":"QueryInfo","preciseIdentifier":"s:11PlaydateKit0A0O6SpriteO9QueryInfoC"}],"abstract":[{"text":"Returns an array of ","type":"text"},{"code":"SpriteQueryInfo","type":"codeVoice"},{"type":"text","text":" for all sprites with collision rects that intersect the line connecting "},{"type":"codeVoice","code":"x1"},{"text":", ","type":"text"},{"type":"codeVoice","code":"y1"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"x2"},{"text":", ","type":"text"},{"type":"codeVoice","code":"y2"},{"type":"text","text":"."},{"text":" ","type":"text"},{"type":"text","text":"If you don’t need this information, use "},{"type":"codeVoice","code":"querySpritesAlongLine()"},{"text":" as it will be faster.","type":"text"}],"title":"querySpriteInfoAlongLine(x1:y1:x2:y2:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/querySpriteInfoAlongLine(x1:y1:x2:y2:)","url":"\/documentation\/playdatekit\/playdate\/sprite\/queryspriteinfoalongline(x1:y1:x2:y2:)","type":"topic","role":"symbol","kind":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/queryspritesalongline(x1:y1:x2:y2:).json b/docs/data/documentation/playdatekit/playdate/sprite/queryspritesalongline(x1:y1:x2:y2:).json new file mode 100644 index 00000000..477cb1f9 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/queryspritesalongline(x1:y1:x2:y2:).json @@ -0,0 +1 @@ +{"primaryContentSections":[{"declarations":[{"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"querySpritesAlongLine"},{"text":"(","kind":"text"},{"text":"x1","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"kind":"text","text":", "},{"text":"y1","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","text":", "},{"text":"x2","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Float","preciseIdentifier":"s:Sf"},{"text":", ","kind":"text"},{"text":"y2","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Float","preciseIdentifier":"s:Sf","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"UnsafeBufferPointer","kind":"typeIdentifier","preciseIdentifier":"s:SR"},{"kind":"text","text":"<"},{"text":"OpaquePointer","kind":"typeIdentifier","preciseIdentifier":"s:s13OpaquePointerV"},{"text":"?>","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"},{"content":[{"type":"heading","level":2,"anchor":"discussion","text":"Discussion"},{"type":"aside","style":"warning","name":"Warning","content":[{"type":"paragraph","inlineContent":[{"text":"The caller is responsible for freeing the returned array.","type":"text"}]}]}],"kind":"content"}],"schemaVersion":{"minor":3,"major":0,"patch":0},"kind":"symbol","metadata":{"role":"symbol","modules":[{"name":"PlaydateKit"}],"symbolKind":"method","roleHeading":"Type Method","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"querySpritesAlongLine"},{"kind":"text","text":"("},{"text":"x1","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","text":", "},{"text":"y1","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sf","text":"Float","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"x2","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sf","kind":"typeIdentifier","text":"Float"},{"text":", ","kind":"text"},{"text":"y2","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sf","text":"Float"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:SR","text":"UnsafeBufferPointer","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"preciseIdentifier":"s:s13OpaquePointerV","text":"OpaquePointer","kind":"typeIdentifier"},{"text":"?>","kind":"text"}],"title":"querySpritesAlongLine(x1:y1:x2:y2:)","externalID":"s:11PlaydateKit0A0O6SpriteO21querySpritesAlongLine2x12y12x22y2SRys13OpaquePointerVSgGSf_S3ftFZ"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/sprite\/queryspritesalongline(x1:y1:x2:y2:)"]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite"]]},"sections":[],"abstract":[{"type":"text","text":"Returns an array of all sprites with collision rects that intersect the line connecting "},{"type":"codeVoice","code":"x1"},{"type":"text","text":", "},{"code":"y1","type":"codeVoice"},{"type":"text","text":" and "},{"type":"codeVoice","code":"x2"},{"type":"text","text":", "},{"code":"y2","type":"codeVoice"},{"type":"text","text":"."}],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/querySpritesAlongLine(x1:y1:x2:y2:)","interfaceLanguage":"swift"},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/querySpritesAlongLine(x1:y1:x2:y2:)":{"url":"\/documentation\/playdatekit\/playdate\/sprite\/queryspritesalongline(x1:y1:x2:y2:)","title":"querySpritesAlongLine(x1:y1:x2:y2:)","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"querySpritesAlongLine","kind":"identifier"},{"kind":"text","text":"("},{"text":"x1","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Float","preciseIdentifier":"s:Sf"},{"text":", ","kind":"text"},{"text":"y1","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"text":", ","kind":"text"},{"text":"x2","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"text":", ","kind":"text"},{"text":"y2","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Float","preciseIdentifier":"s:Sf","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:SR","kind":"typeIdentifier","text":"UnsafeBufferPointer"},{"text":"<","kind":"text"},{"text":"OpaquePointer","kind":"typeIdentifier","preciseIdentifier":"s:s13OpaquePointerV"},{"text":"?>","kind":"text"}],"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/querySpritesAlongLine(x1:y1:x2:y2:)","role":"symbol","abstract":[{"type":"text","text":"Returns an array of all sprites with collision rects that intersect the line connecting "},{"type":"codeVoice","code":"x1"},{"type":"text","text":", "},{"type":"codeVoice","code":"y1"},{"type":"text","text":" and "},{"code":"x2","type":"codeVoice"},{"type":"text","text":", "},{"code":"y2","type":"codeVoice"},{"text":".","type":"text"}],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite":{"abstract":[],"type":"topic","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite","navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Sprite"}],"title":"Playdate.Sprite","url":"\/documentation\/playdatekit\/playdate\/sprite"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/queryspritesatpoint(x:y:).json b/docs/data/documentation/playdatekit/playdate/sprite/queryspritesatpoint(x:y:).json new file mode 100644 index 00000000..0c51a24a --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/queryspritesatpoint(x:y:).json @@ -0,0 +1 @@ +{"kind":"symbol","metadata":{"externalID":"s:11PlaydateKit0A0O6SpriteO19querySpritesAtPoint1x1ySRys13OpaquePointerVSgGSf_SftFZ","title":"querySpritesAtPoint(x:y:)","symbolKind":"method","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"querySpritesAtPoint","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"x"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sf","text":"Float"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"y"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sf","kind":"typeIdentifier","text":"Float"},{"text":") -> ","kind":"text"},{"text":"UnsafeBufferPointer","preciseIdentifier":"s:SR","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"OpaquePointer","preciseIdentifier":"s:s13OpaquePointerV"},{"text":"?>","kind":"text"}],"role":"symbol","roleHeading":"Type Method","modules":[{"name":"PlaydateKit"}]},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/querySpritesAtPoint(x:y:)","interfaceLanguage":"swift"},"schemaVersion":{"patch":0,"major":0,"minor":3},"sections":[],"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"querySpritesAtPoint","kind":"identifier"},{"kind":"text","text":"("},{"text":"x","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Float","preciseIdentifier":"s:Sf"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"y"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sf","text":"Float"},{"text":") -> ","kind":"text"},{"text":"UnsafeBufferPointer","kind":"typeIdentifier","preciseIdentifier":"s:SR"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","preciseIdentifier":"s:s13OpaquePointerV","text":"OpaquePointer"},{"text":"?>","kind":"text"}],"platforms":["macOS"]}],"kind":"declarations"},{"kind":"content","content":[{"type":"heading","level":2,"anchor":"discussion","text":"Discussion"},{"content":[{"type":"paragraph","inlineContent":[{"text":"The caller is responsible for freeing the returned array.","type":"text"}]}],"type":"aside","style":"warning","name":"Warning"}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/sprite\/queryspritesatpoint(x:y:)"]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite"]]},"abstract":[{"type":"text","text":"Returns an array of all sprites with collision rects containing the point at "},{"type":"codeVoice","code":"x"},{"type":"text","text":", "},{"type":"codeVoice","code":"y"},{"type":"text","text":"."}],"references":{"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite":{"abstract":[],"type":"topic","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite","navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Sprite"}],"title":"Playdate.Sprite","url":"\/documentation\/playdatekit\/playdate\/sprite"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/querySpritesAtPoint(x:y:)":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/querySpritesAtPoint(x:y:)","url":"\/documentation\/playdatekit\/playdate\/sprite\/queryspritesatpoint(x:y:)","abstract":[{"text":"Returns an array of all sprites with collision rects containing the point at ","type":"text"},{"code":"x","type":"codeVoice"},{"type":"text","text":", "},{"code":"y","type":"codeVoice"},{"type":"text","text":"."}],"type":"topic","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"querySpritesAtPoint","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"x"},{"text":": ","kind":"text"},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"y"},{"kind":"text","text":": "},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:SR","text":"UnsafeBufferPointer"},{"kind":"text","text":"<"},{"text":"OpaquePointer","preciseIdentifier":"s:s13OpaquePointerV","kind":"typeIdentifier"},{"kind":"text","text":"?>"}],"kind":"symbol","title":"querySpritesAtPoint(x:y:)","role":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/queryspritesinrect(x:y:width:height:).json b/docs/data/documentation/playdatekit/playdate/sprite/queryspritesinrect(x:y:width:height:).json new file mode 100644 index 00000000..bd0732de --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/queryspritesinrect(x:y:width:height:).json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/querySpritesInRect(x:y:width:height:)"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/sprite\/queryspritesinrect(x:y:width:height:)"]}],"primaryContentSections":[{"declarations":[{"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"querySpritesInRect"},{"text":"(","kind":"text"},{"text":"x","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"kind":"text","text":", "},{"text":"y","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Float","preciseIdentifier":"s:Sf"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"width"},{"text":": ","kind":"text"},{"text":"Float","preciseIdentifier":"s:Sf","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"height"},{"text":": ","kind":"text"},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SR","text":"UnsafeBufferPointer"},{"kind":"text","text":"<"},{"preciseIdentifier":"s:s13OpaquePointerV","text":"OpaquePointer","kind":"typeIdentifier"},{"text":"?>","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"},{"kind":"content","content":[{"type":"heading","level":2,"text":"Discussion","anchor":"discussion"},{"type":"aside","name":"Warning","content":[{"inlineContent":[{"type":"text","text":"The caller is responsible for freeing the returned array."}],"type":"paragraph"}],"style":"warning"}]}],"kind":"symbol","abstract":[{"type":"text","text":"Returns an array of all sprites with collision rects that intersect the "},{"code":"width","type":"codeVoice"},{"text":" by ","type":"text"},{"type":"codeVoice","code":"height"},{"type":"text","text":" rect at "},{"type":"codeVoice","code":"x"},{"type":"text","text":", "},{"type":"codeVoice","code":"y"},{"type":"text","text":"."}],"sections":[],"schemaVersion":{"minor":3,"patch":0,"major":0},"metadata":{"modules":[{"name":"PlaydateKit"}],"fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"querySpritesInRect"},{"kind":"text","text":"("},{"kind":"externalParam","text":"x"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sf","text":"Float","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"y"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Float","preciseIdentifier":"s:Sf"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"width"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sf","text":"Float","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"height"},{"text":": ","kind":"text"},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"kind":"text","text":") -> "},{"text":"UnsafeBufferPointer","preciseIdentifier":"s:SR","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","preciseIdentifier":"s:s13OpaquePointerV","text":"OpaquePointer"},{"kind":"text","text":"?>"}],"role":"symbol","externalID":"s:11PlaydateKit0A0O6SpriteO18querySpritesInRect1x1y5width6heightSRys13OpaquePointerVSgGSf_S3ftFZ","roleHeading":"Type Method","title":"querySpritesInRect(x:y:width:height:)","symbolKind":"method"},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite":{"abstract":[],"type":"topic","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite","navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Sprite"}],"title":"Playdate.Sprite","url":"\/documentation\/playdatekit\/playdate\/sprite"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/querySpritesInRect(x:y:width:height:)":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/querySpritesInRect(x:y:width:height:)","url":"\/documentation\/playdatekit\/playdate\/sprite\/queryspritesinrect(x:y:width:height:)","title":"querySpritesInRect(x:y:width:height:)","role":"symbol","type":"topic","kind":"symbol","abstract":[{"type":"text","text":"Returns an array of all sprites with collision rects that intersect the "},{"code":"width","type":"codeVoice"},{"text":" by ","type":"text"},{"code":"height","type":"codeVoice"},{"type":"text","text":" rect at "},{"type":"codeVoice","code":"x"},{"text":", ","type":"text"},{"code":"y","type":"codeVoice"},{"text":".","type":"text"}],"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"querySpritesInRect"},{"kind":"text","text":"("},{"text":"x","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sf","kind":"typeIdentifier","text":"Float"},{"text":", ","kind":"text"},{"text":"y","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"width"},{"text":": ","kind":"text"},{"text":"Float","preciseIdentifier":"s:Sf","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"height","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Float","preciseIdentifier":"s:Sf"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SR","text":"UnsafeBufferPointer"},{"text":"<","kind":"text"},{"preciseIdentifier":"s:s13OpaquePointerV","text":"OpaquePointer","kind":"typeIdentifier"},{"kind":"text","text":"?>"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/rect.json b/docs/data/documentation/playdatekit/playdate/sprite/rect.json new file mode 100644 index 00000000..b7bf7227 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/rect.json @@ -0,0 +1 @@ +{"schemaVersion":{"major":0,"minor":3,"patch":0},"metadata":{"externalID":"s:11PlaydateKit0A0O6SpriteO4Recta","modules":[{"name":"PlaydateKit"}],"symbolKind":"typealias","title":"Playdate.Sprite.Rect","roleHeading":"Type Alias","navigatorTitle":[{"kind":"identifier","text":"Rect"}],"role":"symbol","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Rect","kind":"identifier"}]},"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Rect"},"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/sprite\/rect"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Rect","kind":"identifier"},{"kind":"text","text":" = "},{"text":"PDRect","kind":"typeIdentifier","preciseIdentifier":"c:@SA@PDRect"}],"platforms":["macOS"]}]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite"]]},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite":{"abstract":[],"type":"topic","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite","navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Sprite"}],"title":"Playdate.Sprite","url":"\/documentation\/playdatekit\/playdate\/sprite"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Rect":{"navigatorTitle":[{"kind":"identifier","text":"Rect"}],"fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"text":"Rect","kind":"identifier"}],"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Rect","kind":"symbol","title":"Playdate.Sprite.Rect","url":"\/documentation\/playdatekit\/playdate\/sprite\/rect","role":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/removeallspritesfromdisplaylist().json b/docs/data/documentation/playdatekit/playdate/sprite/removeallspritesfromdisplaylist().json new file mode 100644 index 00000000..bb1912c8 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/removeallspritesfromdisplaylist().json @@ -0,0 +1 @@ +{"schemaVersion":{"minor":3,"patch":0,"major":0},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/removeAllSpritesFromDisplayList()","interfaceLanguage":"swift"},"sections":[],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/sprite\/removeallspritesfromdisplaylist()"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"symbolKind":"method","externalID":"s:11PlaydateKit0A0O6SpriteO31removeAllSpritesFromDisplayListyyFZ","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"removeAllSpritesFromDisplayList","kind":"identifier"},{"text":"()","kind":"text"}],"roleHeading":"Type Method","role":"symbol","title":"removeAllSpritesFromDisplayList()","modules":[{"name":"PlaydateKit"}]},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite"]]},"abstract":[{"type":"text","text":"Removes all sprites from the display list."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"removeAllSpritesFromDisplayList"},{"text":"()","kind":"text"}]}]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite":{"abstract":[],"type":"topic","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite","navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Sprite"}],"title":"Playdate.Sprite","url":"\/documentation\/playdatekit\/playdate\/sprite"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/removeAllSpritesFromDisplayList()":{"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/removeAllSpritesFromDisplayList()","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"removeAllSpritesFromDisplayList"},{"kind":"text","text":"()"}],"abstract":[{"type":"text","text":"Removes all sprites from the display list."}],"title":"removeAllSpritesFromDisplayList()","url":"\/documentation\/playdatekit\/playdate\/sprite\/removeallspritesfromdisplaylist()","type":"topic","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/removespritesfromdisplaylist(_:).json b/docs/data/documentation/playdatekit/playdate/sprite/removespritesfromdisplaylist(_:).json new file mode 100644 index 00000000..ec5f4da8 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/removespritesfromdisplaylist(_:).json @@ -0,0 +1 @@ +{"kind":"symbol","abstract":[{"type":"text","text":"Removes the given array of sprites from the display list."}],"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"removeSpritesFromDisplayList","kind":"identifier"},{"kind":"text","text":"("},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"sprites","kind":"internalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UnsafeMutableBufferPointer","preciseIdentifier":"s:Sr"},{"text":"<","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O6SpriteOADC","kind":"typeIdentifier","text":"Sprite","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite"},{"text":">)","kind":"text"}],"platforms":["macOS"]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/sprite\/removespritesfromdisplaylist(_:)"]}],"sections":[],"schemaVersion":{"major":0,"minor":3,"patch":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/removeSpritesFromDisplayList(_:)"},"metadata":{"modules":[{"name":"PlaydateKit"}],"externalID":"s:11PlaydateKit0A0O6SpriteO28removeSpritesFromDisplayListyySryAeDCGFZ","roleHeading":"Type Method","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"removeSpritesFromDisplayList"},{"kind":"text","text":"("},{"preciseIdentifier":"s:Sr","text":"UnsafeMutableBufferPointer","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"preciseIdentifier":"s:11PlaydateKit0A0O6SpriteOADC","kind":"typeIdentifier","text":"Sprite"},{"kind":"text","text":">)"}],"symbolKind":"method","title":"removeSpritesFromDisplayList(_:)","role":"symbol"},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite"]]},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite":{"abstract":[],"type":"topic","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite","navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Sprite"}],"title":"Playdate.Sprite","url":"\/documentation\/playdatekit\/playdate\/sprite"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/removeSpritesFromDisplayList(_:)":{"kind":"symbol","type":"topic","title":"removeSpritesFromDisplayList(_:)","abstract":[{"type":"text","text":"Removes the given array of sprites from the display list."}],"role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/removeSpritesFromDisplayList(_:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeSpritesFromDisplayList"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sr","text":"UnsafeMutableBufferPointer"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Sprite","preciseIdentifier":"s:11PlaydateKit0A0O6SpriteOADC"},{"text":">)","kind":"text"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/removespritesfromdisplaylist(_:)"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite":{"navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"title":"Playdate.Sprite.Sprite","type":"topic","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Sprite"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite","kind":"symbol","abstract":[],"role":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/resetcollisionworld().json b/docs/data/documentation/playdatekit/playdate/sprite/resetcollisionworld().json new file mode 100644 index 00000000..a4b3dfcd --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/resetcollisionworld().json @@ -0,0 +1 @@ +{"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/sprite\/resetcollisionworld()"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/resetCollisionWorld()","interfaceLanguage":"swift"},"sections":[],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite"]]},"kind":"symbol","schemaVersion":{"minor":3,"major":0,"patch":0},"metadata":{"title":"resetCollisionWorld()","symbolKind":"method","roleHeading":"Type Method","role":"symbol","modules":[{"name":"PlaydateKit"}],"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"resetCollisionWorld"},{"text":"()","kind":"text"}],"externalID":"s:11PlaydateKit0A0O6SpriteO19resetCollisionWorldyyFZ"},"abstract":[{"type":"text","text":"Frees and reallocates internal collision data, resetting everything to its default state."}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"resetCollisionWorld","kind":"identifier"},{"text":"()","kind":"text"}]}],"kind":"declarations"}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/resetCollisionWorld()":{"abstract":[{"text":"Frees and reallocates internal collision data, resetting everything to its default state.","type":"text"}],"type":"topic","url":"\/documentation\/playdatekit\/playdate\/sprite\/resetcollisionworld()","role":"symbol","title":"resetCollisionWorld()","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/resetCollisionWorld()","kind":"symbol","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"resetCollisionWorld","kind":"identifier"},{"kind":"text","text":"()"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite":{"abstract":[],"type":"topic","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite","navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Sprite"}],"title":"Playdate.Sprite","url":"\/documentation\/playdatekit\/playdate\/sprite"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/setalwaysredraw(_:).json b/docs/data/documentation/playdatekit/playdate/sprite/setalwaysredraw(_:).json new file mode 100644 index 00000000..ad4365ee --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/setalwaysredraw(_:).json @@ -0,0 +1 @@ +{"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"setAlwaysRedraw"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"text":"alwaysRedraw","kind":"internalParam"},{"text":": ","kind":"text"},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"},{"text":")","kind":"text"}],"platforms":["macOS"]}],"kind":"declarations"}],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/setAlwaysRedraw(_:)","interfaceLanguage":"swift"},"schemaVersion":{"major":0,"minor":3,"patch":0},"abstract":[{"text":"When ","type":"text"},{"type":"codeVoice","code":"alwaysRedraw"},{"type":"text","text":" is set to true, this causes all sprites to draw each frame, whether or not they have been marked dirty."},{"type":"text","text":" "},{"type":"text","text":"This may speed up the performance of your game if the system’s dirty rect tracking is taking up too much time - for example"},{"text":" ","type":"text"},{"text":"if there are many sprites moving around on screen at once.","type":"text"}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite"]]},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/sprite\/setalwaysredraw(_:)"]}],"metadata":{"modules":[{"name":"PlaydateKit"}],"externalID":"s:11PlaydateKit0A0O6SpriteO15setAlwaysRedrawyySbFZ","symbolKind":"method","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"setAlwaysRedraw"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"text":")","kind":"text"}],"roleHeading":"Type Method","role":"symbol","title":"setAlwaysRedraw(_:)"},"kind":"symbol","references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite":{"abstract":[],"type":"topic","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite","navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Sprite"}],"title":"Playdate.Sprite","url":"\/documentation\/playdatekit\/playdate\/sprite"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/setAlwaysRedraw(_:)":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/setAlwaysRedraw(_:)","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/sprite\/setalwaysredraw(_:)","kind":"symbol","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"setAlwaysRedraw"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"text":")","kind":"text"}],"title":"setAlwaysRedraw(_:)","type":"topic","abstract":[{"type":"text","text":"When "},{"code":"alwaysRedraw","type":"codeVoice"},{"text":" is set to true, this causes all sprites to draw each frame, whether or not they have been marked dirty.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"This may speed up the performance of your game if the system’s dirty rect tracking is taking up too much time - for example"},{"type":"text","text":" "},{"type":"text","text":"if there are many sprites moving around on screen at once."}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/setcliprectsinrange(cliprect:startz:endz:).json b/docs/data/documentation/playdatekit/playdate/sprite/setcliprectsinrange(cliprect:startz:endz:).json new file mode 100644 index 00000000..0bb1791e --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/setcliprectsinrange(cliprect:startz:endz:).json @@ -0,0 +1 @@ +{"sections":[],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite"]]},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/setClipRectsInRange(clipRect:startZ:endZ:)","interfaceLanguage":"swift"},"schemaVersion":{"patch":0,"minor":3,"major":0},"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/sprite\/setcliprectsinrange(cliprect:startz:endz:)"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"setClipRectsInRange","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"clipRect"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics","text":"Graphics","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO"},{"kind":"text","text":"."},{"text":"Rect","kind":"typeIdentifier","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Rect","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO4Recta"},{"text":", ","kind":"text"},{"text":"startZ","kind":"externalParam"},{"kind":"text","text":": "},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":", ","kind":"text"},{"text":"endZ","kind":"externalParam"},{"kind":"text","text":": "},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"kind":"text","text":")"}],"platforms":["macOS"]}]}],"metadata":{"externalID":"s:11PlaydateKit0A0O6SpriteO19setClipRectsInRange8clipRect6startZ4endZySo7LCDRecta_s5Int32VAMtFZ","title":"setClipRectsInRange(clipRect:startZ:endZ:)","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"setClipRectsInRange"},{"kind":"text","text":"("},{"text":"clipRect","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Graphics","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO"},{"text":".","kind":"text"},{"kind":"typeIdentifier","text":"Rect","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO4Recta"},{"kind":"text","text":", "},{"kind":"externalParam","text":"startZ"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":", ","kind":"text"},{"text":"endZ","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"text":")","kind":"text"}],"modules":[{"name":"PlaydateKit"}],"roleHeading":"Type Method","role":"symbol","symbolKind":"method"},"abstract":[{"text":"Sets the clipping rectangle for all sprites with a Z index within ","type":"text"},{"code":"startZ","type":"codeVoice"},{"type":"text","text":" and "},{"type":"codeVoice","code":"endZ"},{"text":" inclusive.","type":"text"}],"kind":"symbol","references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Rect":{"fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Rect"}],"abstract":[],"navigatorTitle":[{"kind":"identifier","text":"Rect"}],"type":"topic","kind":"symbol","role":"symbol","title":"Playdate.Graphics.Rect","url":"\/documentation\/playdatekit\/playdate\/graphics\/rect","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Rect"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/setClipRectsInRange(clipRect:startZ:endZ:)":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/setClipRectsInRange(clipRect:startZ:endZ:)","url":"\/documentation\/playdatekit\/playdate\/sprite\/setcliprectsinrange(cliprect:startz:endz:)","title":"setClipRectsInRange(clipRect:startZ:endZ:)","role":"symbol","type":"topic","kind":"symbol","abstract":[{"text":"Sets the clipping rectangle for all sprites with a Z index within ","type":"text"},{"type":"codeVoice","code":"startZ"},{"type":"text","text":" and "},{"type":"codeVoice","code":"endZ"},{"type":"text","text":" inclusive."}],"fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"setClipRectsInRange","kind":"identifier"},{"text":"(","kind":"text"},{"text":"clipRect","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Graphics","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO4Recta","kind":"typeIdentifier","text":"Rect"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"startZ"},{"kind":"text","text":": "},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":", "},{"kind":"externalParam","text":"endZ"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":")","kind":"text"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite":{"abstract":[],"type":"topic","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite","navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Sprite"}],"title":"Playdate.Sprite","url":"\/documentation\/playdatekit\/playdate\/sprite"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/sprite.json b/docs/data/documentation/playdatekit/playdate/sprite/sprite.json new file mode 100644 index 00000000..34ba1058 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/sprite.json @@ -0,0 +1 @@ +{"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/sprite\/sprite"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit"]]},"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/init()"],"generated":true},{"identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/bounds","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/center","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/collideRect","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/collisionsEnabled","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/image","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/imageFlip","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/isVisible","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/overlappingSprites","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/position","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/tag","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/updatesEnabled","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/userdata","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/zIndex"],"title":"Instance Properties","generated":true},{"title":"Instance Methods","generated":true,"identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/addToDisplayList()","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/checkCollisions(goalX:goalY:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/copy()","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/markDirty()","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/moveBy(dx:dy:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/moveTo(x:y:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/moveWithCollisions(goalX:goalY:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/removeFromDisplayList()","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setClipRect(_:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setCollisionResponseFunction(function:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setDrawFunction(drawFunction:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setDrawMode(_:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setIgnoresDrawOffset(_:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setImage(image:flip:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setOpaque(_:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setSize(width:height:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setStencil(_:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setStencilImage(_:tile:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setStencilPattern(_:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setUpdateFunction(_:)"]}],"kind":"symbol","sections":[],"schemaVersion":{"minor":3,"patch":0,"major":0},"metadata":{"externalID":"s:11PlaydateKit0A0O6SpriteOADC","modules":[{"name":"PlaydateKit"}],"symbolKind":"class","navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"title":"Playdate.Sprite.Sprite","role":"symbol","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Sprite","kind":"identifier"}],"roleHeading":"Class"},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite","interfaceLanguage":"swift"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Sprite","kind":"identifier"}],"platforms":["macOS"],"languages":["swift"]}]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/checkCollisions(goalX:goalY:)":{"role":"symbol","kind":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"checkCollisions"},{"kind":"text","text":"("},{"text":"goalX","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sf","kind":"typeIdentifier","text":"Float"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"goalY"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sf","kind":"typeIdentifier","text":"Float"},{"kind":"text","text":") -> "},{"text":"CollisionInfo","preciseIdentifier":"s:11PlaydateKit0A0O6SpriteO13CollisionInfoC","kind":"typeIdentifier"}],"abstract":[{"type":"text","text":"Returns the same values as "},{"code":"moveWithCollisions()","type":"codeVoice"},{"text":" but does not actually move the sprite.","type":"text"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/checkcollisions(goalx:goaly:)","title":"checkCollisions(goalX:goalY:)","type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/checkCollisions(goalX:goalY:)"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/imageFlip":{"type":"topic","role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"imageFlip"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO","text":"Graphics"},{"kind":"text","text":"."},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier","text":"Bitmap"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC4Flipa","text":"Flip"}],"title":"imageFlip","kind":"symbol","abstract":[{"type":"text","text":"Flips the bitmap."}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/imageFlip","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/imageflip"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/moveBy(dx:dy:)":{"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"moveBy","kind":"identifier"},{"text":"(","kind":"text"},{"text":"dx","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sf","text":"Float","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"dy","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sf","text":"Float","kind":"typeIdentifier"},{"text":")","kind":"text"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/moveby(dx:dy:)","title":"moveBy(dx:dy:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/moveBy(dx:dy:)","abstract":[{"text":"Moves the sprite to by offsetting its current position by ","type":"text"},{"code":"dx","type":"codeVoice"},{"type":"text","text":", "},{"type":"codeVoice","code":"dy"},{"type":"text","text":"."}],"kind":"symbol","type":"topic","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/position":{"abstract":[{"type":"text","text":"Gets the current position of sprite."}],"role":"symbol","kind":"symbol","type":"topic","title":"position","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/position","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/position","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"position"},{"kind":"text","text":": (x"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sf","text":"Float","kind":"typeIdentifier"},{"kind":"text","text":", y"},{"kind":"text","text":": "},{"text":"Float","preciseIdentifier":"s:Sf","kind":"typeIdentifier"},{"kind":"text","text":")"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/setUpdateFunction(_:)":{"type":"topic","role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"setUpdateFunction"},{"text":"((","kind":"text"},{"kind":"attribute","text":"@convention"},{"kind":"text","text":"(c) ("},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"sprite"},{"kind":"text","text":": "},{"text":"OpaquePointer","kind":"typeIdentifier","preciseIdentifier":"s:s13OpaquePointerV"},{"text":"?) -> ","kind":"text"},{"text":"Void","preciseIdentifier":"s:s4Voida","kind":"typeIdentifier"},{"kind":"text","text":")?)"}],"title":"setUpdateFunction(_:)","kind":"symbol","abstract":[{"text":"Sets the update function for the sprite.","type":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setUpdateFunction(_:)","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setupdatefunction(_:)"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/setStencilImage(_:tile:)":{"abstract":[{"text":"Specifies a stencil image to be set on the frame buffer before the sprite is drawn. If ","type":"text"},{"code":"tile","type":"codeVoice"},{"text":" is set, the stencil will be tiled.","type":"text"},{"type":"text","text":" "},{"text":"Tiled stencils must have width evenly divisible by 32.","type":"text"}],"role":"symbol","kind":"symbol","type":"topic","title":"setStencilImage(_:tile:)","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setstencilimage(_:tile:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setStencilImage(_:tile:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"setStencilImage","kind":"identifier"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO","text":"Graphics"},{"kind":"text","text":"."},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"tile"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"},{"text":")","kind":"text"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/overlappingSprites":{"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/overlappingsprites","title":"overlappingSprites","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"overlappingSprites","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SR","kind":"typeIdentifier","text":"UnsafeBufferPointer"},{"kind":"text","text":"<"},{"preciseIdentifier":"s:s13OpaquePointerV","text":"OpaquePointer","kind":"typeIdentifier"},{"text":"?>","kind":"text"}],"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/overlappingSprites","role":"symbol","abstract":[{"type":"text","text":"Returns an array of sprites that have collide rects that are currently overlapping the given sprite’s collide rect."}],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/tag":{"fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"tag"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s5UInt8V","text":"UInt8","kind":"typeIdentifier"}],"abstract":[{"type":"text","text":"Gets\/sets the tag of the given sprite. This can be useful for identifying sprites or types of sprites when using the collision API."}],"type":"topic","kind":"symbol","role":"symbol","title":"tag","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/tag","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/tag"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/setOpaque(_:)":{"abstract":[{"type":"text","text":"Marking a sprite opaque tells the sprite system that it doesn’t need to draw anything underneath the sprite,"},{"type":"text","text":" "},{"type":"text","text":"since it will be overdrawn anyway. If you set an image without a mask\/alpha channel on the sprite, it automatically"},{"type":"text","text":" "},{"type":"text","text":"sets the "},{"code":"opaque","type":"codeVoice"},{"text":" flag.","type":"text"}],"role":"symbol","kind":"symbol","title":"setOpaque(_:)","type":"topic","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setopaque(_:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setOpaque(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"setOpaque","kind":"identifier"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"text":")","kind":"text"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/zIndex":{"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"zIndex","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:s5Int16V","text":"Int16"}],"abstract":[{"text":"Gets\/sets the Z order of the given sprite. Higher Z sprites are drawn on top of those with lower Z order.","type":"text"}],"type":"topic","kind":"symbol","role":"symbol","title":"zIndex","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/zindex","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/zIndex"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/addToDisplayList()":{"abstract":[{"text":"Adds the sprite to the display list, so that it is drawn in the current scene.","type":"text"}],"role":"symbol","kind":"symbol","title":"addToDisplayList()","type":"topic","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/addtodisplaylist()","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/addToDisplayList()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"addToDisplayList","kind":"identifier"},{"kind":"text","text":"()"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/setClipRect(_:)":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"setClipRect"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO","text":"Graphics"},{"kind":"text","text":"."},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO4Recta","text":"Rect","kind":"typeIdentifier"},{"text":"?)","kind":"text"}],"abstract":[{"text":"Sets the clipping rectangle for sprite drawing.","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"Pass "},{"code":"nil","type":"codeVoice"},{"text":" to clear the sprite’s clipping rectangle.","type":"text"}],"type":"topic","kind":"symbol","role":"symbol","title":"setClipRect(_:)","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setcliprect(_:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setClipRect(_:)"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/center":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/center","title":"center","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/center","abstract":[{"type":"text","text":"Gets\/sets the sprite’s drawing center as a fraction (ranging from 0.0 to 1.0) of the height and width."},{"text":" ","type":"text"},{"type":"text","text":"Default is 0.5, 0.5 (the center of the sprite)."},{"type":"text","text":" "},{"text":"This means that when you call ","type":"text"},{"type":"codeVoice","code":"moveTo(x, y)"},{"text":", the center of your sprite will be positioned at x, y.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"If you want x and y to represent the upper left corner of your sprite, specify the center as 0, 0."}],"kind":"symbol","type":"topic","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"center","kind":"identifier"},{"kind":"text","text":": (x"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sf","text":"Float"},{"text":", y","kind":"text"},{"kind":"text","text":": "},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"text":")","kind":"text"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/userdata":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/userdata","role":"symbol","kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/userdata","type":"topic","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"userdata","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sv","text":"UnsafeMutableRawPointer","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"abstract":[{"text":"Gets\/sets the sprite’s userdata, an arbitrary pointer used for associating the sprite with other data.","type":"text"}],"title":"userdata"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/collisionsEnabled":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/collisionsEnabled","title":"collisionsEnabled","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/collisionsenabled","abstract":[{"text":"Get\/set the ","type":"text"},{"code":"collisionsEnabled","type":"codeVoice"},{"type":"text","text":" flag of the sprite (along with the "},{"type":"codeVoice","code":"collideRect"},{"text":", this","type":"text"},{"type":"text","text":" "},{"type":"text","text":"determines whether the sprite participates in collisions). Set to true by default."}],"kind":"symbol","type":"topic","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"collisionsEnabled","kind":"identifier"},{"kind":"text","text":": "},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/setStencilPattern(_:)":{"title":"setStencilPattern(_:)","role":"symbol","kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setstencilpattern(_:)","type":"topic","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"setStencilPattern","kind":"identifier"},{"text":"(","kind":"text"},{"text":"UnsafeMutablePointer","kind":"typeIdentifier","preciseIdentifier":"s:Sp"},{"kind":"text","text":"<"},{"text":"UInt8","kind":"typeIdentifier","preciseIdentifier":"s:s5UInt8V"},{"kind":"text","text":">)"}],"abstract":[{"type":"text","text":"Sets the sprite’s stencil to the given pattern."}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setStencilPattern(_:)"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/init()":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/init()","title":"init()","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/init()","abstract":[{"type":"text","text":"Allocates and returns a new Sprite."}],"kind":"symbol","type":"topic","fragments":[{"kind":"identifier","text":"init"},{"text":"()","kind":"text"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/updatesEnabled":{"title":"updatesEnabled","role":"symbol","kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/updatesenabled","type":"topic","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"updatesEnabled","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"abstract":[{"text":"Get\/set the ","type":"text"},{"type":"codeVoice","code":"updatesEnabled"},{"type":"text","text":" flag of the sprite (determines whether the sprite has its update function called)."}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/updatesEnabled"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/setImage(image:flip:)":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setImage(image:flip:)","title":"setImage(image:flip:)","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setimage(image:flip:)","abstract":[{"type":"text","text":"Sets the sprite’s image to the given bitmap."}],"kind":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"setImage","kind":"identifier"},{"text":"(","kind":"text"},{"text":"image","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Graphics","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO"},{"kind":"text","text":"."},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"flip","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Graphics","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO"},{"text":".","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap","kind":"typeIdentifier"},{"kind":"text","text":"."},{"text":"Flip","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC4Flipa"},{"kind":"text","text":")"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/copy()":{"title":"copy()","role":"symbol","kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/copy()","type":"topic","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"copy","kind":"identifier"},{"text":"() -> ","kind":"text"},{"text":"Sprite","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O6SpriteOADC"}],"abstract":[{"type":"text","text":"Allocates and returns a copy of the sprite."}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/copy()"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/markDirty()":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/markDirty()","title":"markDirty()","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/markdirty()","abstract":[{"text":"Forces the sprite to redraw.","type":"text"}],"kind":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"markDirty","kind":"identifier"},{"text":"()","kind":"text"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/setIgnoresDrawOffset(_:)":{"title":"setIgnoresDrawOffset(_:)","role":"symbol","kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setignoresdrawoffset(_:)","type":"topic","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"setIgnoresDrawOffset"},{"text":"(","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"text":")","kind":"text"}],"abstract":[{"type":"text","text":"When "},{"code":"ignoresDrawOffset","type":"codeVoice"},{"text":" is set to true, the sprite will draw in screen coordinates, ignoring the currently-set drawOffset.","type":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setIgnoresDrawOffset(_:)"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/setCollisionResponseFunction(function:)":{"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setcollisionresponsefunction(function:)","abstract":[{"type":"text","text":"Set a callback that returns a "},{"code":"SpriteCollisionResponseType","type":"codeVoice"},{"type":"text","text":" for a collision between "},{"type":"codeVoice","code":"sprite"},{"type":"text","text":" and other."}],"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"setCollisionResponseFunction","kind":"identifier"},{"kind":"text","text":"("},{"text":"function","kind":"externalParam"},{"text":": (","kind":"text"},{"text":"@convention","kind":"attribute"},{"text":"(c) (","kind":"text"},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"text":"sprite","kind":"internalParam"},{"text":": ","kind":"text"},{"text":"OpaquePointer","kind":"typeIdentifier","preciseIdentifier":"s:s13OpaquePointerV"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"other"},{"text":": ","kind":"text"},{"text":"OpaquePointer","kind":"typeIdentifier","preciseIdentifier":"s:s13OpaquePointerV"},{"text":"?) -> ","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O6SpriteO21CollisionResponseTypea","text":"CollisionResponseType","kind":"typeIdentifier"},{"kind":"text","text":")?)"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setCollisionResponseFunction(function:)","type":"topic","kind":"symbol","title":"setCollisionResponseFunction(function:)","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/setDrawFunction(drawFunction:)":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"setDrawFunction","kind":"identifier"},{"text":"(","kind":"text"},{"text":"drawFunction","kind":"externalParam"},{"kind":"text","text":": ("},{"text":"@convention","kind":"attribute"},{"text":"(c) (","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"sprite","kind":"internalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s13OpaquePointerV","text":"OpaquePointer","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"text":"bounds","kind":"internalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:11PlaydateKit0A0O6SpriteO4Recta","kind":"typeIdentifier","text":"Rect"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"text":"drawRect","kind":"internalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:11PlaydateKit0A0O6SpriteO4Recta","text":"Rect","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"text":"Void","preciseIdentifier":"s:s4Voida","kind":"typeIdentifier"},{"text":")?)","kind":"text"}],"type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setDrawFunction(drawFunction:)","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setdrawfunction(drawfunction:)","kind":"symbol","abstract":[{"type":"text","text":"Sets the draw function for the sprite. Note that the callback is only called when the"},{"text":" ","type":"text"},{"type":"text","text":"sprite is on screen and has a size specified via "},{"type":"codeVoice","code":"setSize()"},{"text":" or ","type":"text"},{"code":"setBounds()","type":"codeVoice"},{"text":".","type":"text"}],"title":"setDrawFunction(drawFunction:)","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/bounds":{"type":"topic","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"bounds","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Rect","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O6SpriteO4Recta"}],"role":"symbol","kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/bounds","abstract":[{"text":"Gets\/sets the bounds of the sprite.","type":"text"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/bounds","title":"bounds"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/collideRect":{"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"collideRect"},{"kind":"text","text":": "},{"text":"Rect","preciseIdentifier":"s:11PlaydateKit0A0O6SpriteO4Recta","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"role":"symbol","abstract":[{"type":"text","text":"Marks the area of the given sprite, relative to its bounds, to be checked for collisions with other sprites’ collide rects."}],"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/colliderect","title":"collideRect","type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/collideRect"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/setSize(width:height:)":{"abstract":[{"type":"text","text":"Sets the size. The size is used to set the sprite’s bounds when calling "},{"type":"codeVoice","code":"moveTo()"},{"type":"text","text":"."}],"type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setSize(width:height:)","title":"setSize(width:height:)","kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setsize(width:height:)","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"setSize"},{"text":"(","kind":"text"},{"text":"width","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"text":", ","kind":"text"},{"text":"height","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sf","kind":"typeIdentifier","text":"Float"},{"kind":"text","text":")"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/isVisible":{"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"isVisible","kind":"identifier"},{"kind":"text","text":": "},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"abstract":[{"text":"Set the ","type":"text"},{"code":"visible","type":"codeVoice"},{"text":" flag of the sprite (determines whether the sprite has its draw function called).","type":"text"}],"title":"isVisible","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/isVisible","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/isvisible","type":"topic","role":"symbol","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite":{"navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"title":"Playdate.Sprite.Sprite","type":"topic","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Sprite"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite","kind":"symbol","abstract":[],"role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/moveWithCollisions(goalX:goalY:)":{"fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"moveWithCollisions"},{"kind":"text","text":"("},{"kind":"externalParam","text":"goalX"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sf","text":"Float"},{"text":", ","kind":"text"},{"text":"goalY","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O6SpriteO13CollisionInfoC","text":"CollisionInfo"}],"type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/moveWithCollisions(goalX:goalY:)","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/movewithcollisions(goalx:goaly:)","kind":"symbol","abstract":[{"text":"Moves the given sprite towards ","type":"text"},{"code":"goalX","type":"codeVoice"},{"text":", ","type":"text"},{"code":"goalY","type":"codeVoice"},{"type":"text","text":" taking collisions into account and returns an array of "},{"code":"SpriteCollisionInfo","type":"codeVoice"},{"type":"text","text":"."},{"type":"text","text":" "},{"type":"codeVoice","code":"actualX"},{"type":"text","text":", "},{"code":"actualY","type":"codeVoice"},{"type":"text","text":" are set to the sprite’s position after collisions. If no collisions occurred, this will be the same as"},{"type":"text","text":" "},{"code":"goalX","type":"codeVoice"},{"type":"text","text":", "},{"type":"codeVoice","code":"goalY"},{"type":"text","text":"."}],"title":"moveWithCollisions(goalX:goalY:)","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/setDrawMode(_:)":{"fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"setDrawMode","kind":"identifier"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO","kind":"typeIdentifier","text":"Graphics"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap"},{"text":".","kind":"text"},{"text":"DrawMode","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC8DrawModea"},{"text":")","kind":"text"}],"abstract":[{"type":"text","text":"Sets the mode for drawing the sprite’s bitmap."}],"title":"setDrawMode(_:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setDrawMode(_:)","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setdrawmode(_:)","type":"topic","role":"symbol","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/setStencil(_:)":{"fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"setStencil","kind":"identifier"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO","kind":"typeIdentifier","text":"Graphics"},{"text":".","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap","kind":"typeIdentifier"},{"kind":"text","text":"?)"}],"type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setStencil(_:)","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setstencil(_:)","kind":"symbol","abstract":[{"type":"text","text":"Specifies a stencil image to be set on the frame buffer before the sprite is drawn."},{"type":"text","text":" "},{"type":"text","text":"Pass "},{"type":"codeVoice","code":"nil"},{"type":"text","text":" to clear the sprite’s stencil."}],"title":"setStencil(_:)","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/moveTo(x:y:)":{"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/moveto(x:y:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/moveTo(x:y:)","title":"moveTo(x:y:)","role":"symbol","type":"topic","abstract":[{"type":"text","text":"Moves the sprite to "},{"code":"x","type":"codeVoice"},{"type":"text","text":", "},{"code":"y","type":"codeVoice"},{"text":" and resets its bounds based on the bitmap dimensions and center.","type":"text"}],"kind":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"moveTo"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"x"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Float","preciseIdentifier":"s:Sf"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"y"},{"kind":"text","text":": "},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"text":")","kind":"text"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/removeFromDisplayList()":{"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"removeFromDisplayList","kind":"identifier"},{"kind":"text","text":"()"}],"abstract":[{"type":"text","text":"Removes the given sprite from the display list."}],"title":"removeFromDisplayList()","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/removeFromDisplayList()","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/removefromdisplaylist()","type":"topic","role":"symbol","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/image":{"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"image"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Graphics","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO"},{"kind":"text","text":"."},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier","text":"Bitmap"},{"text":"?","kind":"text"}],"type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/image","title":"image","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/image","abstract":[{"type":"text","text":"Returns the "},{"code":"Bitmap","type":"codeVoice"},{"type":"text","text":" currently assigned to the given sprite."}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/sprite/addtodisplaylist().json b/docs/data/documentation/playdatekit/playdate/sprite/sprite/addtodisplaylist().json new file mode 100644 index 00000000..7344b644 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/sprite/addtodisplaylist().json @@ -0,0 +1 @@ +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"addToDisplayList"},{"text":"()","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}]}],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/sprite\/sprite\/addtodisplaylist()"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"schemaVersion":{"patch":0,"major":0,"minor":3},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite"]]},"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/addToDisplayList()"},"metadata":{"title":"addToDisplayList()","modules":[{"name":"PlaydateKit"}],"roleHeading":"Instance Method","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"addToDisplayList"},{"kind":"text","text":"()"}],"externalID":"s:11PlaydateKit0A0O6SpriteOADC16addToDisplayListyyF","symbolKind":"method"},"abstract":[{"type":"text","text":"Adds the sprite to the display list, so that it is drawn in the current scene."}],"references":{"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite":{"navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"title":"Playdate.Sprite.Sprite","type":"topic","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Sprite"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite","kind":"symbol","abstract":[],"role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/addToDisplayList()":{"abstract":[{"text":"Adds the sprite to the display list, so that it is drawn in the current scene.","type":"text"}],"role":"symbol","kind":"symbol","title":"addToDisplayList()","type":"topic","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/addtodisplaylist()","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/addToDisplayList()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"addToDisplayList","kind":"identifier"},{"kind":"text","text":"()"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/sprite/bounds.json b/docs/data/documentation/playdatekit/playdate/sprite/sprite/bounds.json new file mode 100644 index 00000000..8109913c --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/sprite/bounds.json @@ -0,0 +1 @@ +{"abstract":[{"type":"text","text":"Gets\/sets the bounds of the sprite."}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/bounds"},"schemaVersion":{"minor":3,"patch":0,"major":0},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/sprite\/sprite\/bounds"]}],"sections":[],"kind":"symbol","primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"bounds"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O6SpriteO4Recta","text":"Rect","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Rect"},{"kind":"text","text":" { "},{"kind":"keyword","text":"get"},{"text":" ","kind":"text"},{"text":"set","kind":"keyword"},{"text":" }","kind":"text"}],"platforms":["macOS"]}],"kind":"declarations"}],"metadata":{"externalID":"s:11PlaydateKit0A0O6SpriteOADC6boundsSo6PDRectavp","modules":[{"name":"PlaydateKit"}],"symbolKind":"property","title":"bounds","role":"symbol","roleHeading":"Instance Property","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"bounds","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O6SpriteO4Recta","text":"Rect","kind":"typeIdentifier"}]},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite"]]},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/bounds":{"type":"topic","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"bounds","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Rect","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O6SpriteO4Recta"}],"role":"symbol","kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/bounds","abstract":[{"text":"Gets\/sets the bounds of the sprite.","type":"text"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/bounds","title":"bounds"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Rect":{"navigatorTitle":[{"kind":"identifier","text":"Rect"}],"fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"text":"Rect","kind":"identifier"}],"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Rect","kind":"symbol","title":"Playdate.Sprite.Rect","url":"\/documentation\/playdatekit\/playdate\/sprite\/rect","role":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite":{"navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"title":"Playdate.Sprite.Sprite","type":"topic","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Sprite"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite","kind":"symbol","abstract":[],"role":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/sprite/center.json b/docs/data/documentation/playdatekit/playdate/sprite/sprite/center.json new file mode 100644 index 00000000..72fcd0ef --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/sprite/center.json @@ -0,0 +1 @@ +{"sections":[],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/center","interfaceLanguage":"swift"},"metadata":{"externalID":"s:11PlaydateKit0A0O6SpriteOADC6centerSf1x_Sf1ytvp","roleHeading":"Instance Property","modules":[{"name":"PlaydateKit"}],"title":"center","role":"symbol","symbolKind":"property","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"center"},{"text":": (x","kind":"text"},{"text":": ","kind":"text"},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"text":", y","kind":"text"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sf","text":"Float","kind":"typeIdentifier"},{"text":")","kind":"text"}]},"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"center","kind":"identifier"},{"text":": (x","kind":"text"},{"kind":"text","text":": "},{"text":"Float","preciseIdentifier":"s:Sf","kind":"typeIdentifier"},{"kind":"text","text":", y"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sf","text":"Float","kind":"typeIdentifier"},{"kind":"text","text":") { "},{"text":"get","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"set"},{"text":" }","kind":"text"}],"platforms":["macOS"]}],"kind":"declarations"}],"schemaVersion":{"major":0,"patch":0,"minor":3},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/sprite\/sprite\/center"]}],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite"]]},"abstract":[{"type":"text","text":"Gets\/sets the sprite’s drawing center as a fraction (ranging from 0.0 to 1.0) of the height and width."},{"type":"text","text":" "},{"text":"Default is 0.5, 0.5 (the center of the sprite).","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"This means that when you call "},{"type":"codeVoice","code":"moveTo(x, y)"},{"type":"text","text":", the center of your sprite will be positioned at x, y."},{"type":"text","text":" "},{"type":"text","text":"If you want x and y to represent the upper left corner of your sprite, specify the center as 0, 0."}],"references":{"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite":{"navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"title":"Playdate.Sprite.Sprite","type":"topic","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Sprite"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite","kind":"symbol","abstract":[],"role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/center":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/center","title":"center","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/center","abstract":[{"type":"text","text":"Gets\/sets the sprite’s drawing center as a fraction (ranging from 0.0 to 1.0) of the height and width."},{"text":" ","type":"text"},{"type":"text","text":"Default is 0.5, 0.5 (the center of the sprite)."},{"type":"text","text":" "},{"text":"This means that when you call ","type":"text"},{"type":"codeVoice","code":"moveTo(x, y)"},{"text":", the center of your sprite will be positioned at x, y.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"If you want x and y to represent the upper left corner of your sprite, specify the center as 0, 0."}],"kind":"symbol","type":"topic","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"center","kind":"identifier"},{"kind":"text","text":": (x"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sf","text":"Float"},{"text":", y","kind":"text"},{"kind":"text","text":": "},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"text":")","kind":"text"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/sprite/checkcollisions(goalx:goaly:).json b/docs/data/documentation/playdatekit/playdate/sprite/sprite/checkcollisions(goalx:goaly:).json new file mode 100644 index 00000000..7383edcd --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/sprite/checkcollisions(goalx:goaly:).json @@ -0,0 +1 @@ +{"schemaVersion":{"minor":3,"major":0,"patch":0},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/checkCollisions(goalX:goalY:)","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/sprite\/sprite\/checkcollisions(goalx:goaly:)"]}],"primaryContentSections":[{"declarations":[{"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"checkCollisions","kind":"identifier"},{"kind":"text","text":"("},{"text":"goalX","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sf","text":"Float","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"goalY"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sf","text":"Float","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"CollisionInfo","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/CollisionInfo","preciseIdentifier":"s:11PlaydateKit0A0O6SpriteO13CollisionInfoC","kind":"typeIdentifier"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"kind":"symbol","abstract":[{"text":"Returns the same values as ","type":"text"},{"type":"codeVoice","code":"moveWithCollisions()"},{"type":"text","text":" but does not actually move the sprite."}],"sections":[],"metadata":{"modules":[{"name":"PlaydateKit"}],"fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"checkCollisions","kind":"identifier"},{"kind":"text","text":"("},{"text":"goalX","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sf","kind":"typeIdentifier","text":"Float"},{"text":", ","kind":"text"},{"text":"goalY","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sf","text":"Float"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"CollisionInfo","preciseIdentifier":"s:11PlaydateKit0A0O6SpriteO13CollisionInfoC"}],"role":"symbol","externalID":"s:11PlaydateKit0A0O6SpriteOADC15checkCollisions5goalX0F1YAE13CollisionInfoCSf_SftF","roleHeading":"Instance Method","title":"checkCollisions(goalX:goalY:)","symbolKind":"method"},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite"]]},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/checkCollisions(goalX:goalY:)":{"role":"symbol","kind":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"checkCollisions"},{"kind":"text","text":"("},{"text":"goalX","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sf","kind":"typeIdentifier","text":"Float"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"goalY"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sf","kind":"typeIdentifier","text":"Float"},{"kind":"text","text":") -> "},{"text":"CollisionInfo","preciseIdentifier":"s:11PlaydateKit0A0O6SpriteO13CollisionInfoC","kind":"typeIdentifier"}],"abstract":[{"type":"text","text":"Returns the same values as "},{"code":"moveWithCollisions()","type":"codeVoice"},{"text":" but does not actually move the sprite.","type":"text"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/checkcollisions(goalx:goaly:)","title":"checkCollisions(goalX:goalY:)","type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/checkCollisions(goalX:goalY:)"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite":{"navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"title":"Playdate.Sprite.Sprite","type":"topic","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Sprite"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite","kind":"symbol","abstract":[],"role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/CollisionInfo":{"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/CollisionInfo","title":"Playdate.Sprite.CollisionInfo","url":"\/documentation\/playdatekit\/playdate\/sprite\/collisioninfo","role":"symbol","type":"topic","fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"text":"CollisionInfo","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"CollisionInfo"}],"abstract":[]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/sprite/colliderect.json b/docs/data/documentation/playdatekit/playdate/sprite/sprite/colliderect.json new file mode 100644 index 00000000..b9ac0729 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/sprite/colliderect.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"collideRect","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O6SpriteO4Recta","text":"Rect","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Rect","kind":"typeIdentifier"},{"kind":"text","text":"? { "},{"text":"get","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"set"},{"text":" }","kind":"text"}]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/sprite\/sprite\/colliderect"]}],"metadata":{"externalID":"s:11PlaydateKit0A0O6SpriteOADC11collideRectSo6PDRectaSgvp","title":"collideRect","roleHeading":"Instance Property","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"collideRect","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:11PlaydateKit0A0O6SpriteO4Recta","kind":"typeIdentifier","text":"Rect"},{"kind":"text","text":"?"}],"symbolKind":"property","role":"symbol","modules":[{"name":"PlaydateKit"}]},"schemaVersion":{"minor":3,"major":0,"patch":0},"abstract":[{"text":"Marks the area of the given sprite, relative to its bounds, to be checked for collisions with other sprites’ collide rects.","type":"text"}],"sections":[],"kind":"symbol","identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/collideRect","interfaceLanguage":"swift"},"references":{"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/collideRect":{"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"collideRect"},{"kind":"text","text":": "},{"text":"Rect","preciseIdentifier":"s:11PlaydateKit0A0O6SpriteO4Recta","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"role":"symbol","abstract":[{"type":"text","text":"Marks the area of the given sprite, relative to its bounds, to be checked for collisions with other sprites’ collide rects."}],"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/colliderect","title":"collideRect","type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/collideRect"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite":{"navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"title":"Playdate.Sprite.Sprite","type":"topic","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Sprite"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite","kind":"symbol","abstract":[],"role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Rect":{"navigatorTitle":[{"kind":"identifier","text":"Rect"}],"fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"text":"Rect","kind":"identifier"}],"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Rect","kind":"symbol","title":"Playdate.Sprite.Rect","url":"\/documentation\/playdatekit\/playdate\/sprite\/rect","role":"symbol","type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/sprite/collisionsenabled.json b/docs/data/documentation/playdatekit/playdate/sprite/sprite/collisionsenabled.json new file mode 100644 index 00000000..3d62ad74 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/sprite/collisionsenabled.json @@ -0,0 +1 @@ +{"schemaVersion":{"major":0,"patch":0,"minor":3},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/collisionsEnabled"},"abstract":[{"type":"text","text":"Get\/set the "},{"code":"collisionsEnabled","type":"codeVoice"},{"text":" flag of the sprite (along with the ","type":"text"},{"type":"codeVoice","code":"collideRect"},{"text":", this","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"determines whether the sprite participates in collisions). Set to true by default."}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/sprite\/sprite\/collisionsenabled"]}],"sections":[],"kind":"symbol","metadata":{"symbolKind":"property","modules":[{"name":"PlaydateKit"}],"title":"collisionsEnabled","role":"symbol","externalID":"s:11PlaydateKit0A0O6SpriteOADC17collisionsEnabledSbvp","roleHeading":"Instance Property","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"collisionsEnabled","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"}]},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"collisionsEnabled","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"text":" { ","kind":"text"},{"text":"get","kind":"keyword"},{"text":" ","kind":"text"},{"text":"set","kind":"keyword"},{"kind":"text","text":" }"}]}]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/collisionsEnabled":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/collisionsEnabled","title":"collisionsEnabled","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/collisionsenabled","abstract":[{"text":"Get\/set the ","type":"text"},{"code":"collisionsEnabled","type":"codeVoice"},{"type":"text","text":" flag of the sprite (along with the "},{"type":"codeVoice","code":"collideRect"},{"text":", this","type":"text"},{"type":"text","text":" "},{"type":"text","text":"determines whether the sprite participates in collisions). Set to true by default."}],"kind":"symbol","type":"topic","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"collisionsEnabled","kind":"identifier"},{"kind":"text","text":": "},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite":{"navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"title":"Playdate.Sprite.Sprite","type":"topic","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Sprite"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite","kind":"symbol","abstract":[],"role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/sprite/copy().json b/docs/data/documentation/playdatekit/playdate/sprite/sprite/copy().json new file mode 100644 index 00000000..1e77c5bc --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/sprite/copy().json @@ -0,0 +1 @@ +{"metadata":{"title":"copy()","symbolKind":"method","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"copy","kind":"identifier"},{"text":"() -> ","kind":"text"},{"text":"Sprite","preciseIdentifier":"s:11PlaydateKit0A0O6SpriteOADC","kind":"typeIdentifier"}],"modules":[{"name":"PlaydateKit"}],"externalID":"s:11PlaydateKit0A0O6SpriteOADC4copyAFyF","roleHeading":"Instance Method"},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite"]]},"sections":[],"schemaVersion":{"minor":3,"patch":0,"major":0},"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"copy","kind":"identifier"},{"text":"() -> ","kind":"text"},{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite","preciseIdentifier":"s:11PlaydateKit0A0O6SpriteOADC","text":"Sprite","kind":"typeIdentifier"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"abstract":[{"type":"text","text":"Allocates and returns a copy of the sprite."}],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/copy()","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/sprite\/sprite\/copy()"]}],"kind":"symbol","references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/copy()":{"title":"copy()","role":"symbol","kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/copy()","type":"topic","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"copy","kind":"identifier"},{"text":"() -> ","kind":"text"},{"text":"Sprite","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O6SpriteOADC"}],"abstract":[{"type":"text","text":"Allocates and returns a copy of the sprite."}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/copy()"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite":{"navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"title":"Playdate.Sprite.Sprite","type":"topic","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Sprite"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite","kind":"symbol","abstract":[],"role":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/sprite/image.json b/docs/data/documentation/playdatekit/playdate/sprite/sprite/image.json new file mode 100644 index 00000000..7d6196d6 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/sprite/image.json @@ -0,0 +1 @@ +{"schemaVersion":{"patch":0,"major":0,"minor":3},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/image","interfaceLanguage":"swift"},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/sprite\/sprite\/image"]}],"metadata":{"roleHeading":"Instance Property","externalID":"s:11PlaydateKit0A0O6SpriteOADC5imageAC8GraphicsO6BitmapCSgvp","symbolKind":"property","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"image"},{"kind":"text","text":": "},{"text":"Graphics","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap"},{"text":"?","kind":"text"}],"modules":[{"name":"PlaydateKit"}],"title":"image","role":"symbol"},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite"]]},"abstract":[{"type":"text","text":"Returns the "},{"code":"Bitmap","type":"codeVoice"},{"type":"text","text":" currently assigned to the given sprite."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"image","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics","text":"Graphics"},{"text":".","kind":"text"},{"text":"Bitmap","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier"},{"text":"? { ","kind":"text"},{"text":"get","kind":"keyword"},{"text":" }","kind":"text"}],"languages":["swift"]}]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap":{"navigatorTitle":[{"text":"Bitmap","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Bitmap","kind":"identifier"}],"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"symbol","title":"Playdate.Graphics.Bitmap","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap","role":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite":{"navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"title":"Playdate.Sprite.Sprite","type":"topic","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Sprite"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite","kind":"symbol","abstract":[],"role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/image":{"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"image"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Graphics","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO"},{"kind":"text","text":"."},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier","text":"Bitmap"},{"text":"?","kind":"text"}],"type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/image","title":"image","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/image","abstract":[{"type":"text","text":"Returns the "},{"code":"Bitmap","type":"codeVoice"},{"type":"text","text":" currently assigned to the given sprite."}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/sprite/imageflip.json b/docs/data/documentation/playdatekit/playdate/sprite/sprite/imageflip.json new file mode 100644 index 00000000..c97d06e7 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/sprite/imageflip.json @@ -0,0 +1 @@ +{"schemaVersion":{"major":0,"patch":0,"minor":3},"abstract":[{"type":"text","text":"Flips the bitmap."}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"imageFlip","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics","text":"Graphics"},{"kind":"text","text":"."},{"text":"Bitmap","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"typeIdentifier"},{"text":".","kind":"text"},{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/Flip","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC4Flipa","text":"Flip","kind":"typeIdentifier"},{"kind":"text","text":" { "},{"kind":"keyword","text":"get"},{"kind":"text","text":" "},{"text":"set","kind":"keyword"},{"kind":"text","text":" }"}]}],"kind":"declarations"}],"kind":"symbol","variants":[{"paths":["\/documentation\/playdatekit\/playdate\/sprite\/sprite\/imageflip"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"metadata":{"symbolKind":"property","externalID":"s:11PlaydateKit0A0O6SpriteOADC9imageFlipSo09LCDBitmapE0avp","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"imageFlip"},{"kind":"text","text":": "},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO","kind":"typeIdentifier","text":"Graphics"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC4Flipa","text":"Flip"}],"roleHeading":"Instance Property","role":"symbol","title":"imageFlip","modules":[{"name":"PlaydateKit"}]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/imageFlip"},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite"]]},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap/Flip":{"abstract":[],"type":"topic","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/flip","role":"symbol","title":"Playdate.Graphics.Bitmap.Flip","kind":"symbol","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Flip","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Flip"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/Flip"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap":{"navigatorTitle":[{"text":"Bitmap","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Bitmap","kind":"identifier"}],"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"symbol","title":"Playdate.Graphics.Bitmap","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap","role":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite":{"navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"title":"Playdate.Sprite.Sprite","type":"topic","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Sprite"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite","kind":"symbol","abstract":[],"role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/imageFlip":{"type":"topic","role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"imageFlip"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO","text":"Graphics"},{"kind":"text","text":"."},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier","text":"Bitmap"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC4Flipa","text":"Flip"}],"title":"imageFlip","kind":"symbol","abstract":[{"type":"text","text":"Flips the bitmap."}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/imageFlip","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/imageflip"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/sprite/init().json b/docs/data/documentation/playdatekit/playdate/sprite/sprite/init().json new file mode 100644 index 00000000..5facc0e9 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/sprite/init().json @@ -0,0 +1 @@ +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/init()"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/sprite\/sprite\/init()"]}],"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"init","kind":"keyword"},{"text":"()","kind":"text"}],"platforms":["macOS"]}],"kind":"declarations"}],"kind":"symbol","metadata":{"title":"init()","symbolKind":"init","role":"symbol","modules":[{"name":"PlaydateKit"}],"roleHeading":"Initializer","externalID":"s:11PlaydateKit0A0O6SpriteOADCAFycfc","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"()"}]},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite"]]},"schemaVersion":{"minor":3,"major":0,"patch":0},"sections":[],"abstract":[{"text":"Allocates and returns a new Sprite.","type":"text"}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/init()":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/init()","title":"init()","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/init()","abstract":[{"type":"text","text":"Allocates and returns a new Sprite."}],"kind":"symbol","type":"topic","fragments":[{"kind":"identifier","text":"init"},{"text":"()","kind":"text"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite":{"navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"title":"Playdate.Sprite.Sprite","type":"topic","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Sprite"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite","kind":"symbol","abstract":[],"role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/sprite/isvisible.json b/docs/data/documentation/playdatekit/playdate/sprite/sprite/isvisible.json new file mode 100644 index 00000000..cced1d84 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/sprite/isvisible.json @@ -0,0 +1 @@ +{"kind":"symbol","identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/isVisible","interfaceLanguage":"swift"},"metadata":{"title":"isVisible","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"isVisible","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"modules":[{"name":"PlaydateKit"}],"role":"symbol","symbolKind":"property","roleHeading":"Instance Property","externalID":"s:11PlaydateKit0A0O6SpriteOADC9isVisibleSbvp"},"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/sprite\/sprite\/isvisible"],"traits":[{"interfaceLanguage":"swift"}]}],"abstract":[{"text":"Set the ","type":"text"},{"type":"codeVoice","code":"visible"},{"type":"text","text":" flag of the sprite (determines whether the sprite has its draw function called)."}],"sections":[],"schemaVersion":{"major":0,"minor":3,"patch":0},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"isVisible","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"text":" { ","kind":"text"},{"kind":"keyword","text":"get"},{"text":" ","kind":"text"},{"kind":"keyword","text":"set"},{"text":" }","kind":"text"}]}]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite":{"navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"title":"Playdate.Sprite.Sprite","type":"topic","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Sprite"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite","kind":"symbol","abstract":[],"role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/isVisible":{"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"isVisible","kind":"identifier"},{"kind":"text","text":": "},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"abstract":[{"text":"Set the ","type":"text"},{"code":"visible","type":"codeVoice"},{"text":" flag of the sprite (determines whether the sprite has its draw function called).","type":"text"}],"title":"isVisible","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/isVisible","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/isvisible","type":"topic","role":"symbol","kind":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/sprite/markdirty().json b/docs/data/documentation/playdatekit/playdate/sprite/sprite/markdirty().json new file mode 100644 index 00000000..55c16314 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/sprite/markdirty().json @@ -0,0 +1 @@ +{"kind":"symbol","sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"markDirty"},{"kind":"text","text":"()"}],"platforms":["macOS"],"languages":["swift"]}]}],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/markDirty()","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite"]]},"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/sprite\/sprite\/markdirty()"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"patch":0,"minor":3,"major":0},"metadata":{"title":"markDirty()","modules":[{"name":"PlaydateKit"}],"externalID":"s:11PlaydateKit0A0O6SpriteOADC9markDirtyyyF","symbolKind":"method","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"markDirty","kind":"identifier"},{"kind":"text","text":"()"}],"roleHeading":"Instance Method"},"abstract":[{"text":"Forces the sprite to redraw.","type":"text"}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/markDirty()":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/markDirty()","title":"markDirty()","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/markdirty()","abstract":[{"text":"Forces the sprite to redraw.","type":"text"}],"kind":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"markDirty","kind":"identifier"},{"text":"()","kind":"text"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite":{"navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"title":"Playdate.Sprite.Sprite","type":"topic","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Sprite"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite","kind":"symbol","abstract":[],"role":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/sprite/moveby(dx:dy:).json b/docs/data/documentation/playdatekit/playdate/sprite/sprite/moveby(dx:dy:).json new file mode 100644 index 00000000..a22eb829 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/sprite/moveby(dx:dy:).json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/moveBy(dx:dy:)","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"moveBy","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"dx"},{"kind":"text","text":": "},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"kind":"text","text":", "},{"text":"dy","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sf","kind":"typeIdentifier","text":"Float"},{"kind":"text","text":")"}]}]}],"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/sprite\/sprite\/moveby(dx:dy:)"]}],"metadata":{"role":"symbol","externalID":"s:11PlaydateKit0A0O6SpriteOADC6moveBy2dx2dyySf_SftF","title":"moveBy(dx:dy:)","roleHeading":"Instance Method","symbolKind":"method","modules":[{"name":"PlaydateKit"}],"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"moveBy"},{"text":"(","kind":"text"},{"text":"dx","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Float","preciseIdentifier":"s:Sf"},{"text":", ","kind":"text"},{"text":"dy","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sf","kind":"typeIdentifier","text":"Float"},{"text":")","kind":"text"}]},"schemaVersion":{"minor":3,"patch":0,"major":0},"abstract":[{"text":"Moves the sprite to by offsetting its current position by ","type":"text"},{"type":"codeVoice","code":"dx"},{"text":", ","type":"text"},{"code":"dy","type":"codeVoice"},{"text":".","type":"text"}],"kind":"symbol","references":{"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite":{"navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"title":"Playdate.Sprite.Sprite","type":"topic","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Sprite"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite","kind":"symbol","abstract":[],"role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/moveBy(dx:dy:)":{"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"moveBy","kind":"identifier"},{"text":"(","kind":"text"},{"text":"dx","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sf","text":"Float","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"dy","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sf","text":"Float","kind":"typeIdentifier"},{"text":")","kind":"text"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/moveby(dx:dy:)","title":"moveBy(dx:dy:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/moveBy(dx:dy:)","abstract":[{"text":"Moves the sprite to by offsetting its current position by ","type":"text"},{"code":"dx","type":"codeVoice"},{"type":"text","text":", "},{"type":"codeVoice","code":"dy"},{"type":"text","text":"."}],"kind":"symbol","type":"topic","role":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/sprite/moveto(x:y:).json b/docs/data/documentation/playdatekit/playdate/sprite/sprite/moveto(x:y:).json new file mode 100644 index 00000000..9b292554 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/sprite/moveto(x:y:).json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite"]]},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/moveTo(x:y:)","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/sprite\/sprite\/moveto(x:y:)"]}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"moveTo"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"x"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sf","kind":"typeIdentifier","text":"Float"},{"text":", ","kind":"text"},{"text":"y","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Float","preciseIdentifier":"s:Sf"},{"text":")","kind":"text"}],"languages":["swift"]}],"kind":"declarations"}],"kind":"symbol","abstract":[{"text":"Moves the sprite to ","type":"text"},{"type":"codeVoice","code":"x"},{"type":"text","text":", "},{"code":"y","type":"codeVoice"},{"type":"text","text":" and resets its bounds based on the bitmap dimensions and center."}],"sections":[],"schemaVersion":{"patch":0,"major":0,"minor":3},"metadata":{"modules":[{"name":"PlaydateKit"}],"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"moveTo"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"x"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sf","text":"Float"},{"kind":"text","text":", "},{"text":"y","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Float","preciseIdentifier":"s:Sf","kind":"typeIdentifier"},{"text":")","kind":"text"}],"role":"symbol","externalID":"s:11PlaydateKit0A0O6SpriteOADC6moveTo1x1yySf_SftF","roleHeading":"Instance Method","title":"moveTo(x:y:)","symbolKind":"method"},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite":{"navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"title":"Playdate.Sprite.Sprite","type":"topic","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Sprite"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite","kind":"symbol","abstract":[],"role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/moveTo(x:y:)":{"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/moveto(x:y:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/moveTo(x:y:)","title":"moveTo(x:y:)","role":"symbol","type":"topic","abstract":[{"type":"text","text":"Moves the sprite to "},{"code":"x","type":"codeVoice"},{"type":"text","text":", "},{"code":"y","type":"codeVoice"},{"text":" and resets its bounds based on the bitmap dimensions and center.","type":"text"}],"kind":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"moveTo"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"x"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Float","preciseIdentifier":"s:Sf"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"y"},{"kind":"text","text":": "},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"text":")","kind":"text"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/sprite/movewithcollisions(goalx:goaly:).json b/docs/data/documentation/playdatekit/playdate/sprite/sprite/movewithcollisions(goalx:goaly:).json new file mode 100644 index 00000000..8815a38f --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/sprite/movewithcollisions(goalx:goaly:).json @@ -0,0 +1 @@ +{"schemaVersion":{"patch":0,"minor":3,"major":0},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/moveWithCollisions(goalX:goalY:)","interfaceLanguage":"swift"},"abstract":[{"text":"Moves the given sprite towards ","type":"text"},{"type":"codeVoice","code":"goalX"},{"type":"text","text":", "},{"type":"codeVoice","code":"goalY"},{"type":"text","text":" taking collisions into account and returns an array of "},{"type":"codeVoice","code":"SpriteCollisionInfo"},{"text":".","type":"text"},{"text":" ","type":"text"},{"code":"actualX","type":"codeVoice"},{"type":"text","text":", "},{"type":"codeVoice","code":"actualY"},{"type":"text","text":" are set to the sprite’s position after collisions. If no collisions occurred, this will be the same as"},{"text":" ","type":"text"},{"type":"codeVoice","code":"goalX"},{"text":", ","type":"text"},{"type":"codeVoice","code":"goalY"},{"type":"text","text":"."}],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/sprite\/sprite\/movewithcollisions(goalx:goaly:)"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"role":"symbol","externalID":"s:11PlaydateKit0A0O6SpriteOADC18moveWithCollisions5goalX0G1YAE13CollisionInfoCSf_SftF","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"moveWithCollisions","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"goalX"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sf","text":"Float","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"goalY"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Float","preciseIdentifier":"s:Sf"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","text":"CollisionInfo","preciseIdentifier":"s:11PlaydateKit0A0O6SpriteO13CollisionInfoC"}],"title":"moveWithCollisions(goalX:goalY:)","modules":[{"name":"PlaydateKit"}],"symbolKind":"method"},"sections":[],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"moveWithCollisions"},{"kind":"text","text":"("},{"text":"goalX","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sf","text":"Float","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"goalY","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/CollisionInfo","preciseIdentifier":"s:11PlaydateKit0A0O6SpriteO13CollisionInfoC","text":"CollisionInfo"}],"platforms":["macOS"]}]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite"]]},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/CollisionInfo":{"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/CollisionInfo","title":"Playdate.Sprite.CollisionInfo","url":"\/documentation\/playdatekit\/playdate\/sprite\/collisioninfo","role":"symbol","type":"topic","fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"text":"CollisionInfo","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"CollisionInfo"}],"abstract":[]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite":{"navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"title":"Playdate.Sprite.Sprite","type":"topic","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Sprite"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite","kind":"symbol","abstract":[],"role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/moveWithCollisions(goalX:goalY:)":{"fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"moveWithCollisions"},{"kind":"text","text":"("},{"kind":"externalParam","text":"goalX"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sf","text":"Float"},{"text":", ","kind":"text"},{"text":"goalY","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O6SpriteO13CollisionInfoC","text":"CollisionInfo"}],"type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/moveWithCollisions(goalX:goalY:)","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/movewithcollisions(goalx:goaly:)","kind":"symbol","abstract":[{"text":"Moves the given sprite towards ","type":"text"},{"code":"goalX","type":"codeVoice"},{"text":", ","type":"text"},{"code":"goalY","type":"codeVoice"},{"type":"text","text":" taking collisions into account and returns an array of "},{"code":"SpriteCollisionInfo","type":"codeVoice"},{"type":"text","text":"."},{"type":"text","text":" "},{"type":"codeVoice","code":"actualX"},{"type":"text","text":", "},{"code":"actualY","type":"codeVoice"},{"type":"text","text":" are set to the sprite’s position after collisions. If no collisions occurred, this will be the same as"},{"type":"text","text":" "},{"code":"goalX","type":"codeVoice"},{"type":"text","text":", "},{"type":"codeVoice","code":"goalY"},{"type":"text","text":"."}],"title":"moveWithCollisions(goalX:goalY:)","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/sprite/overlappingsprites.json b/docs/data/documentation/playdatekit/playdate/sprite/sprite/overlappingsprites.json new file mode 100644 index 00000000..30d43841 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/sprite/overlappingsprites.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"overlappingSprites"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SR","text":"UnsafeBufferPointer"},{"text":"<","kind":"text"},{"preciseIdentifier":"s:s13OpaquePointerV","text":"OpaquePointer","kind":"typeIdentifier"},{"text":"?> { ","kind":"text"},{"text":"get","kind":"keyword"},{"text":" }","kind":"text"}],"platforms":["macOS"]}]},{"content":[{"level":2,"anchor":"discussion","text":"Discussion","type":"heading"},{"type":"aside","style":"warning","content":[{"inlineContent":[{"type":"text","text":"The caller is responsible for freeing the returned array."}],"type":"paragraph"}],"name":"Warning"}],"kind":"content"}],"sections":[],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/overlappingSprites","interfaceLanguage":"swift"},"metadata":{"symbolKind":"property","externalID":"s:11PlaydateKit0A0O6SpriteOADC18overlappingSpritesSRys13OpaquePointerVSgGvp","roleHeading":"Instance Property","modules":[{"name":"PlaydateKit"}],"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"overlappingSprites"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SR","text":"UnsafeBufferPointer","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"OpaquePointer","preciseIdentifier":"s:s13OpaquePointerV"},{"kind":"text","text":"?>"}],"role":"symbol","title":"overlappingSprites"},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/sprite\/sprite\/overlappingsprites"]}],"abstract":[{"type":"text","text":"Returns an array of sprites that have collide rects that are currently overlapping the given sprite’s collide rect."}],"schemaVersion":{"major":0,"minor":3,"patch":0},"kind":"symbol","references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite":{"navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"title":"Playdate.Sprite.Sprite","type":"topic","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Sprite"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite","kind":"symbol","abstract":[],"role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/overlappingSprites":{"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/overlappingsprites","title":"overlappingSprites","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"overlappingSprites","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SR","kind":"typeIdentifier","text":"UnsafeBufferPointer"},{"kind":"text","text":"<"},{"preciseIdentifier":"s:s13OpaquePointerV","text":"OpaquePointer","kind":"typeIdentifier"},{"text":"?>","kind":"text"}],"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/overlappingSprites","role":"symbol","abstract":[{"type":"text","text":"Returns an array of sprites that have collide rects that are currently overlapping the given sprite’s collide rect."}],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/sprite/position.json b/docs/data/documentation/playdatekit/playdate/sprite/sprite/position.json new file mode 100644 index 00000000..4d622498 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/sprite/position.json @@ -0,0 +1 @@ +{"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/sprite\/sprite\/position"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite"]]},"abstract":[{"text":"Gets the current position of sprite.","type":"text"}],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/position","interfaceLanguage":"swift"},"sections":[],"schemaVersion":{"patch":0,"minor":3,"major":0},"metadata":{"title":"position","roleHeading":"Instance Property","symbolKind":"property","role":"symbol","modules":[{"name":"PlaydateKit"}],"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"position","kind":"identifier"},{"text":": (x","kind":"text"},{"text":": ","kind":"text"},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"kind":"text","text":", y"},{"text":": ","kind":"text"},{"text":"Float","preciseIdentifier":"s:Sf","kind":"typeIdentifier"},{"text":")","kind":"text"}],"externalID":"s:11PlaydateKit0A0O6SpriteOADC8positionSf1x_Sf1ytvp"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"position"},{"kind":"text","text":": (x"},{"kind":"text","text":": "},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"kind":"text","text":", y"},{"text":": ","kind":"text"},{"text":"Float","preciseIdentifier":"s:Sf","kind":"typeIdentifier"},{"text":") { ","kind":"text"},{"kind":"keyword","text":"get"},{"kind":"text","text":" }"}]}]}],"kind":"symbol","references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/position":{"abstract":[{"type":"text","text":"Gets the current position of sprite."}],"role":"symbol","kind":"symbol","type":"topic","title":"position","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/position","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/position","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"position"},{"kind":"text","text":": (x"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sf","text":"Float","kind":"typeIdentifier"},{"kind":"text","text":", y"},{"kind":"text","text":": "},{"text":"Float","preciseIdentifier":"s:Sf","kind":"typeIdentifier"},{"kind":"text","text":")"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite":{"navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"title":"Playdate.Sprite.Sprite","type":"topic","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Sprite"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite","kind":"symbol","abstract":[],"role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/sprite/removefromdisplaylist().json b/docs/data/documentation/playdatekit/playdate/sprite/sprite/removefromdisplaylist().json new file mode 100644 index 00000000..50ba1637 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/sprite/removefromdisplaylist().json @@ -0,0 +1 @@ +{"abstract":[{"text":"Removes the given sprite from the display list.","type":"text"}],"kind":"symbol","metadata":{"externalID":"s:11PlaydateKit0A0O6SpriteOADC21removeFromDisplayListyyF","title":"removeFromDisplayList()","symbolKind":"method","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"removeFromDisplayList","kind":"identifier"},{"text":"()","kind":"text"}],"role":"symbol","modules":[{"name":"PlaydateKit"}],"roleHeading":"Instance Method"},"schemaVersion":{"patch":0,"major":0,"minor":3},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/removeFromDisplayList()","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite"]]},"sections":[],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/sprite\/sprite\/removefromdisplaylist()"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"removeFromDisplayList"},{"text":"()","kind":"text"}]}],"kind":"declarations"}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/removeFromDisplayList()":{"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"removeFromDisplayList","kind":"identifier"},{"kind":"text","text":"()"}],"abstract":[{"type":"text","text":"Removes the given sprite from the display list."}],"title":"removeFromDisplayList()","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/removeFromDisplayList()","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/removefromdisplaylist()","type":"topic","role":"symbol","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite":{"navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"title":"Playdate.Sprite.Sprite","type":"topic","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Sprite"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite","kind":"symbol","abstract":[],"role":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/sprite/setcliprect(_:).json b/docs/data/documentation/playdatekit/playdate/sprite/sprite/setcliprect(_:).json new file mode 100644 index 00000000..2ef700c2 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/sprite/setcliprect(_:).json @@ -0,0 +1 @@ +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setClipRect(_:)"},"metadata":{"title":"setClipRect(_:)","externalID":"s:11PlaydateKit0A0O6SpriteOADC11setClipRectyySo7LCDRectaSgF","symbolKind":"method","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"setClipRect","kind":"identifier"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO","text":"Graphics","kind":"typeIdentifier"},{"kind":"text","text":"."},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO4Recta","text":"Rect","kind":"typeIdentifier"},{"kind":"text","text":"?)"}],"role":"symbol","roleHeading":"Instance Method","modules":[{"name":"PlaydateKit"}]},"abstract":[{"type":"text","text":"Sets the clipping rectangle for sprite drawing."},{"text":" ","type":"text"},{"type":"text","text":"Pass "},{"type":"codeVoice","code":"nil"},{"text":" to clear the sprite’s clipping rectangle.","type":"text"}],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setcliprect(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"minor":3,"patch":0,"major":0},"kind":"symbol","primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"setClipRect","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"text":"clipRect","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO","text":"Graphics","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},{"kind":"text","text":"."},{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Rect","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO4Recta","text":"Rect","kind":"typeIdentifier"},{"text":"?)","kind":"text"}],"languages":["swift"]}],"kind":"declarations"}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite"]]},"sections":[],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Rect":{"fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Rect"}],"abstract":[],"navigatorTitle":[{"kind":"identifier","text":"Rect"}],"type":"topic","kind":"symbol","role":"symbol","title":"Playdate.Graphics.Rect","url":"\/documentation\/playdatekit\/playdate\/graphics\/rect","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Rect"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite":{"navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"title":"Playdate.Sprite.Sprite","type":"topic","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Sprite"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite","kind":"symbol","abstract":[],"role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/setClipRect(_:)":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"setClipRect"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO","text":"Graphics"},{"kind":"text","text":"."},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO4Recta","text":"Rect","kind":"typeIdentifier"},{"text":"?)","kind":"text"}],"abstract":[{"text":"Sets the clipping rectangle for sprite drawing.","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"Pass "},{"code":"nil","type":"codeVoice"},{"text":" to clear the sprite’s clipping rectangle.","type":"text"}],"type":"topic","kind":"symbol","role":"symbol","title":"setClipRect(_:)","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setcliprect(_:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setClipRect(_:)"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/sprite/setcollisionresponsefunction(function:).json b/docs/data/documentation/playdatekit/playdate/sprite/sprite/setcollisionresponsefunction(function:).json new file mode 100644 index 00000000..f204863c --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/sprite/setcollisionresponsefunction(function:).json @@ -0,0 +1 @@ +{"sections":[],"kind":"symbol","primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"setCollisionResponseFunction"},{"kind":"text","text":"("},{"text":"function","kind":"externalParam"},{"kind":"text","text":": ("},{"text":"@convention","kind":"attribute"},{"kind":"text","text":"(c) ("},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"kind":"internalParam","text":"sprite"},{"kind":"text","text":": "},{"text":"OpaquePointer","kind":"typeIdentifier","preciseIdentifier":"s:s13OpaquePointerV"},{"text":"?, ","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"other"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s13OpaquePointerV","text":"OpaquePointer"},{"kind":"text","text":"?) -> "},{"text":"CollisionResponseType","preciseIdentifier":"s:11PlaydateKit0A0O6SpriteO21CollisionResponseTypea","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/CollisionResponseType","kind":"typeIdentifier"},{"kind":"text","text":")?)"}]}],"kind":"declarations"}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setcollisionresponsefunction(function:)"]}],"schemaVersion":{"patch":0,"minor":3,"major":0},"metadata":{"role":"symbol","externalID":"s:11PlaydateKit0A0O6SpriteOADC28setCollisionResponseFunction8functionySo0ceF4Typeas13OpaquePointerVSg_AMtXCSg_tF","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"setCollisionResponseFunction","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"function"},{"text":": (","kind":"text"},{"text":"@convention","kind":"attribute"},{"text":"(c) (","kind":"text"},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"text":"sprite","kind":"internalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s13OpaquePointerV","text":"OpaquePointer","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"other"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s13OpaquePointerV","text":"OpaquePointer","kind":"typeIdentifier"},{"kind":"text","text":"?) -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O6SpriteO21CollisionResponseTypea","text":"CollisionResponseType"},{"text":")?)","kind":"text"}],"title":"setCollisionResponseFunction(function:)","modules":[{"name":"PlaydateKit"}],"symbolKind":"method"},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setCollisionResponseFunction(function:)","interfaceLanguage":"swift"},"abstract":[{"text":"Set a callback that returns a ","type":"text"},{"code":"SpriteCollisionResponseType","type":"codeVoice"},{"type":"text","text":" for a collision between "},{"code":"sprite","type":"codeVoice"},{"type":"text","text":" and other."}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite":{"navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"title":"Playdate.Sprite.Sprite","type":"topic","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Sprite"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite","kind":"symbol","abstract":[],"role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/setCollisionResponseFunction(function:)":{"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setcollisionresponsefunction(function:)","abstract":[{"type":"text","text":"Set a callback that returns a "},{"code":"SpriteCollisionResponseType","type":"codeVoice"},{"type":"text","text":" for a collision between "},{"type":"codeVoice","code":"sprite"},{"type":"text","text":" and other."}],"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"setCollisionResponseFunction","kind":"identifier"},{"kind":"text","text":"("},{"text":"function","kind":"externalParam"},{"text":": (","kind":"text"},{"text":"@convention","kind":"attribute"},{"text":"(c) (","kind":"text"},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"text":"sprite","kind":"internalParam"},{"text":": ","kind":"text"},{"text":"OpaquePointer","kind":"typeIdentifier","preciseIdentifier":"s:s13OpaquePointerV"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"other"},{"text":": ","kind":"text"},{"text":"OpaquePointer","kind":"typeIdentifier","preciseIdentifier":"s:s13OpaquePointerV"},{"text":"?) -> ","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O6SpriteO21CollisionResponseTypea","text":"CollisionResponseType","kind":"typeIdentifier"},{"kind":"text","text":")?)"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setCollisionResponseFunction(function:)","type":"topic","kind":"symbol","title":"setCollisionResponseFunction(function:)","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/CollisionResponseType":{"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/CollisionResponseType","fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"CollisionResponseType"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/collisionresponsetype","role":"symbol","type":"topic","title":"Playdate.Sprite.CollisionResponseType","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"CollisionResponseType"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/sprite/setdrawfunction(drawfunction:).json b/docs/data/documentation/playdatekit/playdate/sprite/sprite/setdrawfunction(drawfunction:).json new file mode 100644 index 00000000..eb1d1645 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/sprite/setdrawfunction(drawfunction:).json @@ -0,0 +1 @@ +{"schemaVersion":{"major":0,"minor":3,"patch":0},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setDrawFunction(drawFunction:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Sets the draw function for the sprite. Note that the callback is only called when the"},{"type":"text","text":" "},{"text":"sprite is on screen and has a size specified via ","type":"text"},{"code":"setSize()","type":"codeVoice"},{"type":"text","text":" or "},{"code":"setBounds()","type":"codeVoice"},{"type":"text","text":"."}],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setdrawfunction(drawfunction:)"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"role":"symbol","externalID":"s:11PlaydateKit0A0O6SpriteOADC15setDrawFunction04drawF0yys13OpaquePointerVSg_So6PDRectaAMtXCSg_tF","roleHeading":"Instance Method","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"setDrawFunction"},{"kind":"text","text":"("},{"text":"drawFunction","kind":"externalParam"},{"text":": (","kind":"text"},{"text":"@convention","kind":"attribute"},{"text":"(c) (","kind":"text"},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"sprite"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s13OpaquePointerV","text":"OpaquePointer","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"bounds"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O6SpriteO4Recta","text":"Rect","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"kind":"internalParam","text":"drawRect"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O6SpriteO4Recta","text":"Rect"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:s4Voida","text":"Void"},{"kind":"text","text":")?)"}],"title":"setDrawFunction(drawFunction:)","modules":[{"name":"PlaydateKit"}],"symbolKind":"method"},"sections":[],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"setDrawFunction","kind":"identifier"},{"text":"(","kind":"text"},{"text":"drawFunction","kind":"externalParam"},{"text":": (","kind":"text"},{"kind":"attribute","text":"@convention"},{"kind":"text","text":"(c) ("},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"text":"sprite","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s13OpaquePointerV","text":"OpaquePointer"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"text":"bounds","kind":"internalParam"},{"kind":"text","text":": "},{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Rect","kind":"typeIdentifier","text":"Rect","preciseIdentifier":"s:11PlaydateKit0A0O6SpriteO4Recta"},{"text":", ","kind":"text"},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"text":"drawRect","kind":"internalParam"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Rect","preciseIdentifier":"s:11PlaydateKit0A0O6SpriteO4Recta","kind":"typeIdentifier","text":"Rect"},{"kind":"text","text":") -> "},{"text":"Void","preciseIdentifier":"s:s4Voida","kind":"typeIdentifier"},{"text":")?)","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite"]]},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite":{"navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"title":"Playdate.Sprite.Sprite","type":"topic","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Sprite"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite","kind":"symbol","abstract":[],"role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/setDrawFunction(drawFunction:)":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"setDrawFunction","kind":"identifier"},{"text":"(","kind":"text"},{"text":"drawFunction","kind":"externalParam"},{"kind":"text","text":": ("},{"text":"@convention","kind":"attribute"},{"text":"(c) (","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"sprite","kind":"internalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s13OpaquePointerV","text":"OpaquePointer","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"text":"bounds","kind":"internalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:11PlaydateKit0A0O6SpriteO4Recta","kind":"typeIdentifier","text":"Rect"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"text":"drawRect","kind":"internalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:11PlaydateKit0A0O6SpriteO4Recta","text":"Rect","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"text":"Void","preciseIdentifier":"s:s4Voida","kind":"typeIdentifier"},{"text":")?)","kind":"text"}],"type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setDrawFunction(drawFunction:)","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setdrawfunction(drawfunction:)","kind":"symbol","abstract":[{"type":"text","text":"Sets the draw function for the sprite. Note that the callback is only called when the"},{"text":" ","type":"text"},{"type":"text","text":"sprite is on screen and has a size specified via "},{"type":"codeVoice","code":"setSize()"},{"text":" or ","type":"text"},{"code":"setBounds()","type":"codeVoice"},{"text":".","type":"text"}],"title":"setDrawFunction(drawFunction:)","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Rect":{"navigatorTitle":[{"kind":"identifier","text":"Rect"}],"fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"text":"Rect","kind":"identifier"}],"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Rect","kind":"symbol","title":"Playdate.Sprite.Rect","url":"\/documentation\/playdatekit\/playdate\/sprite\/rect","role":"symbol","type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/sprite/setdrawmode(_:).json b/docs/data/documentation/playdatekit/playdate/sprite/sprite/setdrawmode(_:).json new file mode 100644 index 00000000..3eb193b3 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/sprite/setdrawmode(_:).json @@ -0,0 +1 @@ +{"kind":"symbol","schemaVersion":{"major":0,"patch":0,"minor":3},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setDrawMode(_:)","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite"]]},"metadata":{"externalID":"s:11PlaydateKit0A0O6SpriteOADC11setDrawModeyySo09LCDBitmapeF0aF","role":"symbol","roleHeading":"Instance Method","modules":[{"name":"PlaydateKit"}],"title":"setDrawMode(_:)","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"setDrawMode","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO","text":"Graphics"},{"kind":"text","text":"."},{"text":"Bitmap","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC8DrawModea","text":"DrawMode"},{"kind":"text","text":")"}],"symbolKind":"method"},"abstract":[{"type":"text","text":"Sets the mode for drawing the sprite’s bitmap."}],"primaryContentSections":[{"declarations":[{"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"setDrawMode"},{"text":"(","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"drawMode","kind":"internalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO","text":"Graphics"},{"kind":"text","text":"."},{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC8DrawModea","text":"DrawMode","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/DrawMode","kind":"typeIdentifier"},{"text":")","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setdrawmode(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite":{"navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"title":"Playdate.Sprite.Sprite","type":"topic","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Sprite"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite","kind":"symbol","abstract":[],"role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/setDrawMode(_:)":{"kind":"symbol","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"setDrawMode","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO","text":"Graphics"},{"kind":"text","text":"."},{"text":"Bitmap","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC"},{"text":".","kind":"text"},{"text":"DrawMode","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC8DrawModea","kind":"typeIdentifier"},{"text":")","kind":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setDrawMode(_:)","type":"topic","title":"setDrawMode(_:)","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setdrawmode(_:)","abstract":[{"type":"text","text":"Sets the mode for drawing the sprite’s bitmap."}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap/DrawMode":{"fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"DrawMode","kind":"identifier"}],"role":"symbol","abstract":[],"kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"DrawMode"}],"url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/drawmode","title":"Playdate.Graphics.Bitmap.DrawMode","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/DrawMode","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap":{"navigatorTitle":[{"text":"Bitmap","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Bitmap","kind":"identifier"}],"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"symbol","title":"Playdate.Graphics.Bitmap","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap","role":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/sprite/setignoresdrawoffset(_:).json b/docs/data/documentation/playdatekit/playdate/sprite/sprite/setignoresdrawoffset(_:).json new file mode 100644 index 00000000..80264025 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/sprite/setignoresdrawoffset(_:).json @@ -0,0 +1 @@ +{"schemaVersion":{"major":0,"minor":3,"patch":0},"abstract":[{"text":"When ","type":"text"},{"code":"ignoresDrawOffset","type":"codeVoice"},{"type":"text","text":" is set to true, the sprite will draw in screen coordinates, ignoring the currently-set drawOffset."}],"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setIgnoresDrawOffset(_:)"},"kind":"symbol","metadata":{"modules":[{"name":"PlaydateKit"}],"symbolKind":"method","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"setIgnoresDrawOffset"},{"kind":"text","text":"("},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"kind":"text","text":")"}],"role":"symbol","title":"setIgnoresDrawOffset(_:)","externalID":"s:11PlaydateKit0A0O6SpriteOADC20setIgnoresDrawOffsetyySbF"},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"setIgnoresDrawOffset","kind":"identifier"},{"kind":"text","text":"("},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"ignoresDrawOffset","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":")"}],"languages":["swift"]}],"kind":"declarations"},{"content":[{"text":"Discussion","level":2,"type":"heading","anchor":"discussion"},{"inlineContent":[{"text":"This only affects drawing, and should not be used on sprites being used for collisions, which will still happen in world-space.","type":"text"}],"type":"paragraph"}],"kind":"content"}],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setignoresdrawoffset(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite"]]},"references":{"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite":{"navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"title":"Playdate.Sprite.Sprite","type":"topic","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Sprite"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite","kind":"symbol","abstract":[],"role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/setIgnoresDrawOffset(_:)":{"title":"setIgnoresDrawOffset(_:)","role":"symbol","kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setignoresdrawoffset(_:)","type":"topic","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"setIgnoresDrawOffset"},{"text":"(","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"text":")","kind":"text"}],"abstract":[{"type":"text","text":"When "},{"code":"ignoresDrawOffset","type":"codeVoice"},{"text":" is set to true, the sprite will draw in screen coordinates, ignoring the currently-set drawOffset.","type":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setIgnoresDrawOffset(_:)"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/sprite/setimage(image:flip:).json b/docs/data/documentation/playdatekit/playdate/sprite/sprite/setimage(image:flip:).json new file mode 100644 index 00000000..de939c04 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/sprite/setimage(image:flip:).json @@ -0,0 +1 @@ +{"schemaVersion":{"minor":3,"patch":0,"major":0},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setImage(image:flip:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Sets the sprite’s image to the given bitmap."}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setimage(image:flip:)"]}],"metadata":{"role":"symbol","externalID":"s:11PlaydateKit0A0O6SpriteOADC8setImage5image4flipyAC8GraphicsO6BitmapC_So13LCDBitmapFlipatF","roleHeading":"Instance Method","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"setImage","kind":"identifier"},{"kind":"text","text":"("},{"text":"image","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Graphics","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO"},{"text":".","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"flip","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO","text":"Graphics","kind":"typeIdentifier"},{"kind":"text","text":"."},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap","kind":"typeIdentifier"},{"kind":"text","text":"."},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC4Flipa","text":"Flip","kind":"typeIdentifier"},{"text":")","kind":"text"}],"title":"setImage(image:flip:)","modules":[{"name":"PlaydateKit"}],"symbolKind":"method"},"sections":[],"kind":"symbol","primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"setImage","kind":"identifier"},{"text":"(","kind":"text"},{"text":"image","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Graphics","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics","kind":"typeIdentifier"},{"text":".","kind":"text"},{"kind":"typeIdentifier","text":"Bitmap","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap"},{"kind":"text","text":", "},{"kind":"externalParam","text":"flip"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO","text":"Graphics","kind":"typeIdentifier"},{"text":".","kind":"text"},{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier","text":"Bitmap"},{"kind":"text","text":"."},{"kind":"typeIdentifier","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/Flip","text":"Flip","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC4Flipa"},{"kind":"text","text":" = .bitmapUnflipped)"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite"]]},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/setImage(image:flip:)":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setImage(image:flip:)","title":"setImage(image:flip:)","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setimage(image:flip:)","abstract":[{"type":"text","text":"Sets the sprite’s image to the given bitmap."}],"kind":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"setImage","kind":"identifier"},{"text":"(","kind":"text"},{"text":"image","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Graphics","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO"},{"kind":"text","text":"."},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"flip","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Graphics","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO"},{"text":".","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap","kind":"typeIdentifier"},{"kind":"text","text":"."},{"text":"Flip","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC4Flipa"},{"kind":"text","text":")"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap":{"navigatorTitle":[{"text":"Bitmap","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Bitmap","kind":"identifier"}],"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"symbol","title":"Playdate.Graphics.Bitmap","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap","role":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap/Flip":{"abstract":[],"type":"topic","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/flip","role":"symbol","title":"Playdate.Graphics.Bitmap.Flip","kind":"symbol","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Flip","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Flip"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap\/Flip"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite":{"navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"title":"Playdate.Sprite.Sprite","type":"topic","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Sprite"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite","kind":"symbol","abstract":[],"role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/sprite/setopaque(_:).json b/docs/data/documentation/playdatekit/playdate/sprite/sprite/setopaque(_:).json new file mode 100644 index 00000000..b00a4826 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/sprite/setopaque(_:).json @@ -0,0 +1 @@ +{"sections":[],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setOpaque(_:)","interfaceLanguage":"swift"},"metadata":{"roleHeading":"Instance Method","symbolKind":"method","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"setOpaque"},{"kind":"text","text":"("},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"text":")","kind":"text"}],"title":"setOpaque(_:)","externalID":"s:11PlaydateKit0A0O6SpriteOADC9setOpaqueyySbF","role":"symbol","modules":[{"name":"PlaydateKit"}]},"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setopaque(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"setOpaque","kind":"identifier"},{"kind":"text","text":"("},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"opaque"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"kind":"text","text":")"}]}]}],"abstract":[{"type":"text","text":"Marking a sprite opaque tells the sprite system that it doesn’t need to draw anything underneath the sprite,"},{"text":" ","type":"text"},{"type":"text","text":"since it will be overdrawn anyway. If you set an image without a mask\/alpha channel on the sprite, it automatically"},{"type":"text","text":" "},{"text":"sets the ","type":"text"},{"type":"codeVoice","code":"opaque"},{"type":"text","text":" flag."}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite"]]},"schemaVersion":{"major":0,"minor":3,"patch":0},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite":{"navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"title":"Playdate.Sprite.Sprite","type":"topic","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Sprite"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite","kind":"symbol","abstract":[],"role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/setOpaque(_:)":{"abstract":[{"type":"text","text":"Marking a sprite opaque tells the sprite system that it doesn’t need to draw anything underneath the sprite,"},{"type":"text","text":" "},{"type":"text","text":"since it will be overdrawn anyway. If you set an image without a mask\/alpha channel on the sprite, it automatically"},{"type":"text","text":" "},{"type":"text","text":"sets the "},{"code":"opaque","type":"codeVoice"},{"text":" flag.","type":"text"}],"role":"symbol","kind":"symbol","title":"setOpaque(_:)","type":"topic","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setopaque(_:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setOpaque(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"setOpaque","kind":"identifier"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"text":")","kind":"text"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/sprite/setsize(width:height:).json b/docs/data/documentation/playdatekit/playdate/sprite/sprite/setsize(width:height:).json new file mode 100644 index 00000000..f414cbcb --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/sprite/setsize(width:height:).json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setsize(width:height:)"]}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"setSize","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"width"},{"text":": ","kind":"text"},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"kind":"text","text":", "},{"text":"height","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Float","preciseIdentifier":"s:Sf"},{"text":")","kind":"text"}],"languages":["swift"]}],"kind":"declarations"}],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setSize(width:height:)","interfaceLanguage":"swift"},"kind":"symbol","metadata":{"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"setSize"},{"kind":"text","text":"("},{"kind":"externalParam","text":"width"},{"text":": ","kind":"text"},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"height"},{"text":": ","kind":"text"},{"text":"Float","preciseIdentifier":"s:Sf","kind":"typeIdentifier"},{"kind":"text","text":")"}],"externalID":"s:11PlaydateKit0A0O6SpriteOADC7setSize5width6heightySf_SftF","roleHeading":"Instance Method","title":"setSize(width:height:)","role":"symbol","modules":[{"name":"PlaydateKit"}],"symbolKind":"method"},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite"]]},"schemaVersion":{"minor":3,"major":0,"patch":0},"abstract":[{"type":"text","text":"Sets the size. The size is used to set the sprite’s bounds when calling "},{"type":"codeVoice","code":"moveTo()"},{"type":"text","text":"."}],"sections":[],"references":{"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite":{"navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"title":"Playdate.Sprite.Sprite","type":"topic","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Sprite"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite","kind":"symbol","abstract":[],"role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/setSize(width:height:)":{"abstract":[{"type":"text","text":"Sets the size. The size is used to set the sprite’s bounds when calling "},{"type":"codeVoice","code":"moveTo()"},{"type":"text","text":"."}],"type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setSize(width:height:)","title":"setSize(width:height:)","kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setsize(width:height:)","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"setSize"},{"text":"(","kind":"text"},{"text":"width","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"text":", ","kind":"text"},{"text":"height","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sf","kind":"typeIdentifier","text":"Float"},{"kind":"text","text":")"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/sprite/setstencil(_:).json b/docs/data/documentation/playdatekit/playdate/sprite/sprite/setstencil(_:).json new file mode 100644 index 00000000..5f29ec17 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/sprite/setstencil(_:).json @@ -0,0 +1 @@ +{"schemaVersion":{"major":0,"patch":0,"minor":3},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setStencil(_:)"},"abstract":[{"type":"text","text":"Specifies a stencil image to be set on the frame buffer before the sprite is drawn."},{"type":"text","text":" "},{"text":"Pass ","type":"text"},{"type":"codeVoice","code":"nil"},{"type":"text","text":" to clear the sprite’s stencil."}],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setstencil(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"setStencil"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO","text":"Graphics"},{"kind":"text","text":"."},{"text":"Bitmap","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier"},{"kind":"text","text":"?)"}],"role":"symbol","title":"setStencil(_:)","roleHeading":"Instance Method","modules":[{"name":"PlaydateKit"}],"externalID":"s:11PlaydateKit0A0O6SpriteOADC10setStencilyyAC8GraphicsO6BitmapCSgF","symbolKind":"method"},"sections":[],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"setStencil","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"stencil"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO","text":"Graphics"},{"text":".","kind":"text"},{"text":"Bitmap","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap"},{"text":"?)","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite"]]},"references":{"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite":{"navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"title":"Playdate.Sprite.Sprite","type":"topic","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Sprite"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite","kind":"symbol","abstract":[],"role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/setStencil(_:)":{"fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"setStencil","kind":"identifier"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO","kind":"typeIdentifier","text":"Graphics"},{"text":".","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap","kind":"typeIdentifier"},{"kind":"text","text":"?)"}],"type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setStencil(_:)","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setstencil(_:)","kind":"symbol","abstract":[{"type":"text","text":"Specifies a stencil image to be set on the frame buffer before the sprite is drawn."},{"type":"text","text":" "},{"type":"text","text":"Pass "},{"type":"codeVoice","code":"nil"},{"type":"text","text":" to clear the sprite’s stencil."}],"title":"setStencil(_:)","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap":{"navigatorTitle":[{"text":"Bitmap","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Bitmap","kind":"identifier"}],"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"symbol","title":"Playdate.Graphics.Bitmap","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap","role":"symbol","type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/sprite/setstencilimage(_:tile:).json b/docs/data/documentation/playdatekit/playdate/sprite/sprite/setstencilimage(_:tile:).json new file mode 100644 index 00000000..a1cc6b09 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/sprite/setstencilimage(_:tile:).json @@ -0,0 +1 @@ +{"abstract":[{"text":"Specifies a stencil image to be set on the frame buffer before the sprite is drawn. If ","type":"text"},{"type":"codeVoice","code":"tile"},{"type":"text","text":" is set, the stencil will be tiled."},{"type":"text","text":" "},{"type":"text","text":"Tiled stencils must have width evenly divisible by 32."}],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setstencilimage(_:tile:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setStencilImage(_:tile:)"},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite"]]},"metadata":{"externalID":"s:11PlaydateKit0A0O6SpriteOADC15setStencilImage_4tileyAC8GraphicsO6BitmapC_s5Int32VtF","modules":[{"name":"PlaydateKit"}],"symbolKind":"method","title":"setStencilImage(_:tile:)","roleHeading":"Instance Method","role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"setStencilImage","kind":"identifier"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO","text":"Graphics","kind":"typeIdentifier"},{"kind":"text","text":"."},{"text":"Bitmap","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"tile"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"},{"kind":"text","text":")"}]},"sections":[],"schemaVersion":{"patch":0,"major":0,"minor":3},"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"setStencilImage","kind":"identifier"},{"text":"(","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"stencil","kind":"internalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO","text":"Graphics","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},{"kind":"text","text":"."},{"text":"Bitmap","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap"},{"text":", ","kind":"text"},{"text":"tile","kind":"externalParam"},{"kind":"text","text":": "},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"text":")","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite":{"navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"title":"Playdate.Sprite.Sprite","type":"topic","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Sprite"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite","kind":"symbol","abstract":[],"role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/setStencilImage(_:tile:)":{"abstract":[{"text":"Specifies a stencil image to be set on the frame buffer before the sprite is drawn. If ","type":"text"},{"code":"tile","type":"codeVoice"},{"text":" is set, the stencil will be tiled.","type":"text"},{"type":"text","text":" "},{"text":"Tiled stencils must have width evenly divisible by 32.","type":"text"}],"role":"symbol","kind":"symbol","type":"topic","title":"setStencilImage(_:tile:)","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setstencilimage(_:tile:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setStencilImage(_:tile:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"setStencilImage","kind":"identifier"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO","text":"Graphics"},{"kind":"text","text":"."},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"tile"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"},{"text":")","kind":"text"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap":{"navigatorTitle":[{"text":"Bitmap","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Bitmap","kind":"identifier"}],"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"symbol","title":"Playdate.Graphics.Bitmap","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap","role":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/sprite/setstencilpattern(_:).json b/docs/data/documentation/playdatekit/playdate/sprite/sprite/setstencilpattern(_:).json new file mode 100644 index 00000000..630a29b4 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/sprite/setstencilpattern(_:).json @@ -0,0 +1 @@ +{"schemaVersion":{"major":0,"patch":0,"minor":3},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setStencilPattern(_:)","interfaceLanguage":"swift"},"abstract":[{"text":"Sets the sprite’s stencil to the given pattern.","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setstencilpattern(_:)"]}],"metadata":{"role":"symbol","externalID":"s:11PlaydateKit0A0O6SpriteOADC17setStencilPatternyySpys5UInt8VGF","roleHeading":"Instance Method","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"setStencilPattern"},{"text":"(","kind":"text"},{"text":"UnsafeMutablePointer","preciseIdentifier":"s:Sp","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","preciseIdentifier":"s:s5UInt8V","text":"UInt8"},{"kind":"text","text":">)"}],"title":"setStencilPattern(_:)","modules":[{"name":"PlaydateKit"}],"symbolKind":"method"},"sections":[],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"setStencilPattern"},{"kind":"text","text":"("},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"pattern"},{"kind":"text","text":": "},{"text":"UnsafeMutablePointer","preciseIdentifier":"s:Sp","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"UInt8","preciseIdentifier":"s:s5UInt8V"},{"text":">)","kind":"text"}],"platforms":["macOS"]}]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite"]]},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite":{"navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"title":"Playdate.Sprite.Sprite","type":"topic","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Sprite"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite","kind":"symbol","abstract":[],"role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/setStencilPattern(_:)":{"title":"setStencilPattern(_:)","role":"symbol","kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setstencilpattern(_:)","type":"topic","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"setStencilPattern","kind":"identifier"},{"text":"(","kind":"text"},{"text":"UnsafeMutablePointer","kind":"typeIdentifier","preciseIdentifier":"s:Sp"},{"kind":"text","text":"<"},{"text":"UInt8","kind":"typeIdentifier","preciseIdentifier":"s:s5UInt8V"},{"kind":"text","text":">)"}],"abstract":[{"type":"text","text":"Sets the sprite’s stencil to the given pattern."}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setStencilPattern(_:)"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/sprite/setupdatefunction(_:).json b/docs/data/documentation/playdatekit/playdate/sprite/sprite/setupdatefunction(_:).json new file mode 100644 index 00000000..6179de88 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/sprite/setupdatefunction(_:).json @@ -0,0 +1 @@ +{"abstract":[{"type":"text","text":"Sets the update function for the sprite."}],"primaryContentSections":[{"declarations":[{"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"setUpdateFunction","kind":"identifier"},{"text":"(","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"updateFunction","kind":"internalParam"},{"kind":"text","text":": ("},{"text":"@convention","kind":"attribute"},{"kind":"text","text":"(c) ("},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"text":"sprite","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s13OpaquePointerV","text":"OpaquePointer"},{"text":"?) -> ","kind":"text"},{"preciseIdentifier":"s:s4Voida","text":"Void","kind":"typeIdentifier"},{"text":")?)","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"schemaVersion":{"minor":3,"patch":0,"major":0},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setupdatefunction(_:)"]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite"]]},"metadata":{"externalID":"s:11PlaydateKit0A0O6SpriteOADC17setUpdateFunctionyyys13OpaquePointerVSgXCSgF","roleHeading":"Instance Method","modules":[{"name":"PlaydateKit"}],"title":"setUpdateFunction(_:)","role":"symbol","symbolKind":"method","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"setUpdateFunction","kind":"identifier"},{"kind":"text","text":"(("},{"kind":"attribute","text":"@convention"},{"text":"(c) (","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"sprite"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"OpaquePointer","preciseIdentifier":"s:s13OpaquePointerV"},{"text":"?) -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4Voida","text":"Void"},{"text":")?)","kind":"text"}]},"sections":[],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setUpdateFunction(_:)","interfaceLanguage":"swift"},"kind":"symbol","references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/setUpdateFunction(_:)":{"type":"topic","role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"setUpdateFunction"},{"text":"((","kind":"text"},{"kind":"attribute","text":"@convention"},{"kind":"text","text":"(c) ("},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"sprite"},{"kind":"text","text":": "},{"text":"OpaquePointer","kind":"typeIdentifier","preciseIdentifier":"s:s13OpaquePointerV"},{"text":"?) -> ","kind":"text"},{"text":"Void","preciseIdentifier":"s:s4Voida","kind":"typeIdentifier"},{"kind":"text","text":")?)"}],"title":"setUpdateFunction(_:)","kind":"symbol","abstract":[{"text":"Sets the update function for the sprite.","type":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/setUpdateFunction(_:)","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setupdatefunction(_:)"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite":{"navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"title":"Playdate.Sprite.Sprite","type":"topic","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Sprite"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite","kind":"symbol","abstract":[],"role":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/sprite/tag.json b/docs/data/documentation/playdatekit/playdate/sprite/sprite/tag.json new file mode 100644 index 00000000..179fa5de --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/sprite/tag.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/tag","interfaceLanguage":"swift"},"abstract":[{"text":"Gets\/sets the tag of the given sprite. This can be useful for identifying sprites or types of sprites when using the collision API.","type":"text"}],"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/sprite\/sprite\/tag"]}],"schemaVersion":{"patch":0,"major":0,"minor":3},"primaryContentSections":[{"declarations":[{"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"tag","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s5UInt8V","text":"UInt8","kind":"typeIdentifier"},{"kind":"text","text":" { "},{"kind":"keyword","text":"get"},{"kind":"text","text":" "},{"kind":"keyword","text":"set"},{"text":" }","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"sections":[],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite"]]},"metadata":{"roleHeading":"Instance Property","title":"tag","symbolKind":"property","externalID":"s:11PlaydateKit0A0O6SpriteOADC3tags5UInt8Vvp","modules":[{"name":"PlaydateKit"}],"fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"tag","kind":"identifier"},{"text":": ","kind":"text"},{"text":"UInt8","kind":"typeIdentifier","preciseIdentifier":"s:s5UInt8V"}],"role":"symbol"},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/tag":{"fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"tag"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s5UInt8V","text":"UInt8","kind":"typeIdentifier"}],"abstract":[{"type":"text","text":"Gets\/sets the tag of the given sprite. This can be useful for identifying sprites or types of sprites when using the collision API."}],"type":"topic","kind":"symbol","role":"symbol","title":"tag","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/tag","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/tag"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite":{"navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"title":"Playdate.Sprite.Sprite","type":"topic","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Sprite"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite","kind":"symbol","abstract":[],"role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/sprite/updatesenabled.json b/docs/data/documentation/playdatekit/playdate/sprite/sprite/updatesenabled.json new file mode 100644 index 00000000..ed397b24 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/sprite/updatesenabled.json @@ -0,0 +1 @@ +{"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/sprite\/sprite\/updatesenabled"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"kind":"symbol","primaryContentSections":[{"declarations":[{"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"updatesEnabled","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"kind":"text","text":" { "},{"text":"get","kind":"keyword"},{"text":" ","kind":"text"},{"text":"set","kind":"keyword"},{"text":" }","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite"]]},"schemaVersion":{"major":0,"patch":0,"minor":3},"metadata":{"modules":[{"name":"PlaydateKit"}],"fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"updatesEnabled","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"}],"symbolKind":"property","roleHeading":"Instance Property","title":"updatesEnabled","role":"symbol","externalID":"s:11PlaydateKit0A0O6SpriteOADC14updatesEnabledSbvp"},"abstract":[{"type":"text","text":"Get\/set the "},{"type":"codeVoice","code":"updatesEnabled"},{"type":"text","text":" flag of the sprite (determines whether the sprite has its update function called)."}],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/updatesEnabled","interfaceLanguage":"swift"},"references":{"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/updatesEnabled":{"title":"updatesEnabled","role":"symbol","kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/updatesenabled","type":"topic","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"updatesEnabled","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"abstract":[{"text":"Get\/set the ","type":"text"},{"type":"codeVoice","code":"updatesEnabled"},{"type":"text","text":" flag of the sprite (determines whether the sprite has its update function called)."}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/updatesEnabled"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite":{"navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"title":"Playdate.Sprite.Sprite","type":"topic","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Sprite"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite","kind":"symbol","abstract":[],"role":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/sprite/userdata.json b/docs/data/documentation/playdatekit/playdate/sprite/sprite/userdata.json new file mode 100644 index 00000000..237033ea --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/sprite/userdata.json @@ -0,0 +1 @@ +{"schemaVersion":{"minor":3,"major":0,"patch":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/userdata"},"abstract":[{"text":"Gets\/sets the sprite’s userdata, an arbitrary pointer used for associating the sprite with other data.","type":"text"}],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/sprite\/sprite\/userdata"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"role":"symbol","externalID":"s:11PlaydateKit0A0O6SpriteOADC8userdataSvSgvp","roleHeading":"Instance Property","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"userdata","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sv","text":"UnsafeMutableRawPointer"},{"text":"?","kind":"text"}],"title":"userdata","modules":[{"name":"PlaydateKit"}],"symbolKind":"property"},"sections":[],"kind":"symbol","primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"userdata","kind":"identifier"},{"kind":"text","text":": "},{"text":"UnsafeMutableRawPointer","kind":"typeIdentifier","preciseIdentifier":"s:Sv"},{"kind":"text","text":"? { "},{"kind":"keyword","text":"get"},{"kind":"text","text":" "},{"kind":"keyword","text":"set"},{"text":" }","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite"]]},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/userdata":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/userdata","role":"symbol","kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/userdata","type":"topic","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"userdata","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sv","text":"UnsafeMutableRawPointer","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"abstract":[{"text":"Gets\/sets the sprite’s userdata, an arbitrary pointer used for associating the sprite with other data.","type":"text"}],"title":"userdata"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite":{"navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"title":"Playdate.Sprite.Sprite","type":"topic","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Sprite"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite","kind":"symbol","abstract":[],"role":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/sprite/zindex.json b/docs/data/documentation/playdatekit/playdate/sprite/sprite/zindex.json new file mode 100644 index 00000000..74c3f577 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/sprite/zindex.json @@ -0,0 +1 @@ +{"sections":[],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/zIndex","interfaceLanguage":"swift"},"metadata":{"roleHeading":"Instance Property","symbolKind":"property","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"zIndex"},{"text":": ","kind":"text"},{"text":"Int16","kind":"typeIdentifier","preciseIdentifier":"s:s5Int16V"}],"title":"zIndex","externalID":"s:11PlaydateKit0A0O6SpriteOADC6zIndexs5Int16Vvp","role":"symbol","modules":[{"name":"PlaydateKit"}]},"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/sprite\/sprite\/zindex"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"zIndex"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s5Int16V","text":"Int16","kind":"typeIdentifier"},{"text":" { ","kind":"text"},{"kind":"keyword","text":"get"},{"text":" ","kind":"text"},{"text":"set","kind":"keyword"},{"text":" }","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"abstract":[{"text":"Gets\/sets the Z order of the given sprite. Higher Z sprites are drawn on top of those with lower Z order.","type":"text"}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite"]]},"schemaVersion":{"patch":0,"minor":3,"major":0},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite/zIndex":{"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"zIndex","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:s5Int16V","text":"Int16"}],"abstract":[{"text":"Gets\/sets the Z order of the given sprite. Higher Z sprites are drawn on top of those with lower Z order.","type":"text"}],"type":"topic","kind":"symbol","role":"symbol","title":"zIndex","url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/zindex","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite\/zIndex"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/Sprite":{"navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"title":"Playdate.Sprite.Sprite","type":"topic","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Sprite"}],"url":"\/documentation\/playdatekit\/playdate\/sprite\/sprite","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/Sprite","kind":"symbol","abstract":[],"role":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/sprite/updateanddrawdisplaylistsprites().json b/docs/data/documentation/playdatekit/playdate/sprite/updateanddrawdisplaylistsprites().json new file mode 100644 index 00000000..2d89eaa8 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/sprite/updateanddrawdisplaylistsprites().json @@ -0,0 +1 @@ +{"kind":"symbol","primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"updateAndDrawDisplayListSprites"},{"text":"()","kind":"text"}],"platforms":["macOS"]}],"kind":"declarations"}],"metadata":{"role":"symbol","externalID":"s:11PlaydateKit0A0O6SpriteO31updateAndDrawDisplayListSpritesyyFZ","roleHeading":"Type Method","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"updateAndDrawDisplayListSprites","kind":"identifier"},{"text":"()","kind":"text"}],"title":"updateAndDrawDisplayListSprites()","modules":[{"name":"PlaydateKit"}],"symbolKind":"method"},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/updateAndDrawDisplayListSprites()","interfaceLanguage":"swift"},"schemaVersion":{"major":0,"patch":0,"minor":3},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/sprite\/updateanddrawdisplaylistsprites()"]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite"]]},"abstract":[{"text":"Updates and draws every sprite in the display list.","type":"text"}],"sections":[],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite/updateAndDrawDisplayListSprites()":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite\/updateAndDrawDisplayListSprites()","url":"\/documentation\/playdatekit\/playdate\/sprite\/updateanddrawdisplaylistsprites()","title":"updateAndDrawDisplayListSprites()","role":"symbol","type":"topic","kind":"symbol","abstract":[{"type":"text","text":"Updates and draws every sprite in the display list."}],"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"updateAndDrawDisplayListSprites","kind":"identifier"},{"kind":"text","text":"()"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite":{"abstract":[],"type":"topic","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite","navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Sprite"}],"title":"Playdate.Sprite","url":"\/documentation\/playdatekit\/playdate\/sprite"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system.json b/docs/data/documentation/playdatekit/playdate/system.json new file mode 100644 index 00000000..20dbf0d8 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system.json @@ -0,0 +1 @@ +{"schemaVersion":{"minor":3,"patch":0,"major":0},"topicSections":[{"identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/MenuItem"],"generated":true,"title":"Structures"},{"generated":true,"title":"Type Aliases","identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/Buttons","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/DateTime","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/Event","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/Language-swift.typealias","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/Peripherals"]},{"title":"Type Properties","generated":true,"identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/accelerometer","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/accelerometerIsEnabled","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/batteryPercentage","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/batteryVoltage","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/buttonState","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/crankAngle","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/crankChange","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/currentTimeMilliseconds","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/elapsedTime","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/flipped","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/isCrankDocked","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/language-swift.type.property","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/reduceFlashing","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/shouldDisplay24HourTime","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/timezoneOffset","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/updateCallback"]},{"title":"Type Methods","identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/addCheckmarkMenuItem(title:checked:callback:userdata:)-1zw7w","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/addCheckmarkMenuItem(title:checked:callback:userdata:)-8ift","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/addMenuItem(title:callback:userdata:)-1bfwq","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/addMenuItem(title:callback:userdata:)-47a4f","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/addOptionsMenuItem(title:options:callback:userData:)-1ohgi","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/addOptionsMenuItem(title:options:callback:userData:)-51mvf","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/clearICache()","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/convertDateTimeToEpoch(_:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/convertEpochToDateTime(_:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/drawFPS(x:y:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/error(_:)-1qzf1","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/error(_:)-376ql","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/error(_:)-7ut9u","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/getSecondsSinceEpoch(_:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/log(_:)-4t2fc","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/log(_:)-4z6ae","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/realloc(pointer:size:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/removeAllMenuItems()","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/removeMenuItem(_:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/resetElapsedTime()","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/setAutoLockDisabled(_:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/setButtonCallback(callback:buttonUserdata:queueSize:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/setCrankSoundsDisabled(_:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/setMenuImage(_:xOffset:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/setSerialMessageCallback(callback:)"],"generated":true}],"metadata":{"externalID":"s:11PlaydateKit0A0O6SystemO","roleHeading":"Enumeration","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"System","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"System"}],"role":"symbol","modules":[{"name":"PlaydateKit"}],"symbolKind":"enum","extendedModule":"PlaydateKit","title":"Playdate.System"},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate"]]},"sections":[],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"System","kind":"identifier"}]}],"kind":"declarations"}],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/system"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","interfaceLanguage":"swift"},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/addMenuItem(title:callback:userdata:)-1bfwq":{"url":"\/documentation\/playdatekit\/playdate\/system\/addmenuitem(title:callback:userdata:)-1bfwq","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"addMenuItem","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"title"},{"kind":"text","text":": "},{"text":"StaticString","kind":"typeIdentifier","preciseIdentifier":"s:s12StaticStringV"},{"text":", ","kind":"text"},{"text":"callback","kind":"externalParam"},{"kind":"text","text":": ("},{"text":"@convention","kind":"attribute"},{"text":"(c) (","kind":"text"},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"text":"userdata","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"UnsafeMutableRawPointer","preciseIdentifier":"s:Sv"},{"text":"?) -> ","kind":"text"},{"text":"Void","preciseIdentifier":"s:s4Voida","kind":"typeIdentifier"},{"text":")?, ","kind":"text"},{"kind":"externalParam","text":"userdata"},{"text":": ","kind":"text"},{"text":"UnsafeMutableRawPointer","kind":"typeIdentifier","preciseIdentifier":"s:Sv"},{"text":"?) -> ","kind":"text"},{"text":"MenuItem","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O6SystemO8MenuItemV"}],"abstract":[{"type":"text","text":"Adds a new menu item to the System Menu."}],"title":"addMenuItem(title:callback:userdata:)","role":"symbol","kind":"symbol","type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/addMenuItem(title:callback:userdata:)-1bfwq"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/updateCallback":{"role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"updateCallback","kind":"identifier"},{"text":": (() -> ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"kind":"text","text":")?"}],"abstract":[{"text":"A custom update function.","type":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/updateCallback","title":"updateCallback","type":"topic","kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/system\/updatecallback"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/removeMenuItem(_:)":{"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"removeMenuItem"},{"text":"(","kind":"text"},{"text":"MenuItem","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O6SystemO8MenuItemV"},{"text":")","kind":"text"}],"abstract":[{"text":"Removes the menu item from the system menu.","type":"text"}],"title":"removeMenuItem(_:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/removeMenuItem(_:)","url":"\/documentation\/playdatekit\/playdate\/system\/removemenuitem(_:)","type":"topic","role":"symbol","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/getSecondsSinceEpoch(_:)":{"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"getSecondsSinceEpoch","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"CUnsignedInt","preciseIdentifier":"s:s12CUnsignedInta"},{"text":") -> ","kind":"text"},{"text":"CUnsignedInt","kind":"typeIdentifier","preciseIdentifier":"s:s12CUnsignedInta"}],"abstract":[{"type":"text","text":"Returns the number of seconds (and sets milliseconds if not NULL) elapsed since midnight (hour 0), January 1, 2000."}],"title":"getSecondsSinceEpoch(_:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/getSecondsSinceEpoch(_:)","url":"\/documentation\/playdatekit\/playdate\/system\/getsecondssinceepoch(_:)","type":"topic","role":"symbol","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/language-swift.type.property":{"role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"language","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Language","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O6SystemO8Languagea"}],"abstract":[{"text":"Returns the current language of the system.","type":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/language-swift.type.property","title":"language","type":"topic","kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/system\/language-swift.type.property"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/Buttons":{"fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Buttons","kind":"identifier"}],"abstract":[],"title":"Playdate.System.Buttons","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/Buttons","url":"\/documentation\/playdatekit\/playdate\/system\/buttons","type":"topic","navigatorTitle":[{"text":"Buttons","kind":"identifier"}],"role":"symbol","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/setSerialMessageCallback(callback:)":{"role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"setSerialMessageCallback","kind":"identifier"},{"text":"(","kind":"text"},{"text":"callback","kind":"externalParam"},{"kind":"text","text":": "},{"text":"@convention","kind":"attribute"},{"text":"(c) (","kind":"text"},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"text":"message","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"UnsafePointer","preciseIdentifier":"s:SP"},{"text":"<","kind":"text"},{"text":"CChar","kind":"typeIdentifier","preciseIdentifier":"s:s5CChara"},{"text":">?) -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4Voida","text":"Void"},{"kind":"text","text":")"}],"abstract":[{"text":"Provides a callback to receive messages sent to the device over the serial port using the msg command.","type":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/setSerialMessageCallback(callback:)","title":"setSerialMessageCallback(callback:)","type":"topic","kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/system\/setserialmessagecallback(callback:)"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/realloc(pointer:size:)":{"title":"realloc(pointer:size:)","abstract":[{"type":"text","text":"Allocates heap space if "},{"code":"pointer","type":"codeVoice"},{"type":"text","text":" is nil, else reallocates the given pointer. If "},{"code":"size","type":"codeVoice"},{"text":" is zero, frees the given pointer.","type":"text"}],"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/system\/realloc(pointer:size:)","type":"topic","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/realloc(pointer:size:)","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"realloc"},{"text":"(","kind":"text"},{"text":"pointer","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UnsafeMutableRawPointer","kind":"typeIdentifier","preciseIdentifier":"s:Sv"},{"kind":"text","text":"?, "},{"text":"size","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"},{"kind":"text","text":") -> "},{"text":"UnsafeMutableRawPointer","preciseIdentifier":"s:Sv","kind":"typeIdentifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/addCheckmarkMenuItem(title:checked:callback:userdata:)-1zw7w":{"abstract":[{"type":"text","text":"Adds a new menu item that can be checked or unchecked by the player."}],"role":"symbol","title":"addCheckmarkMenuItem(title:checked:callback:userdata:)","kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/addCheckmarkMenuItem(title:checked:callback:userdata:)-1zw7w","url":"\/documentation\/playdatekit\/playdate\/system\/addcheckmarkmenuitem(title:checked:callback:userdata:)-1zw7w","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"addCheckmarkMenuItem"},{"text":"(","kind":"text"},{"text":"title","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"StaticString","preciseIdentifier":"s:s12StaticStringV","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"checked","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"text":", ","kind":"text"},{"text":"callback","kind":"externalParam"},{"kind":"text","text":": ("},{"kind":"attribute","text":"@convention"},{"text":"(c) (","kind":"text"},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"text":"userdata","kind":"internalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sv","kind":"typeIdentifier","text":"UnsafeMutableRawPointer"},{"text":"?) -> ","kind":"text"},{"preciseIdentifier":"s:s4Voida","text":"Void","kind":"typeIdentifier"},{"kind":"text","text":")?, "},{"text":"userdata","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sv","kind":"typeIdentifier","text":"UnsafeMutableRawPointer"},{"text":"?) -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O6SystemO8MenuItemV","text":"MenuItem"}],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/Event":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/Event","url":"\/documentation\/playdatekit\/playdate\/system\/event","abstract":[],"type":"topic","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Event"}],"navigatorTitle":[{"kind":"identifier","text":"Event"}],"kind":"symbol","title":"Playdate.System.Event","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/log(_:)-4t2fc":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/log(_:)-4t2fc","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system\/log(_:)-4t2fc","kind":"symbol","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"log"},{"text":"(","kind":"text"},{"text":"UnsafePointer","kind":"typeIdentifier","preciseIdentifier":"s:SP"},{"kind":"text","text":"<"},{"text":"CChar","preciseIdentifier":"s:s5CChara","kind":"typeIdentifier"},{"text":">)","kind":"text"}],"title":"log(_:)","type":"topic","abstract":[{"type":"text","text":"Calls the log function."}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/removeAllMenuItems()":{"abstract":[{"type":"text","text":"Removes all custom menu items from the system menu."}],"role":"symbol","title":"removeAllMenuItems()","kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/removeAllMenuItems()","url":"\/documentation\/playdatekit\/playdate\/system\/removeallmenuitems()","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"removeAllMenuItems","kind":"identifier"},{"kind":"text","text":"()"}],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/setMenuImage(_:xOffset:)":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/setMenuImage(_:xOffset:)","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system\/setmenuimage(_:xoffset:)","kind":"symbol","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"setMenuImage","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO","text":"Graphics","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier","text":"Bitmap"},{"text":", ","kind":"text"},{"text":"xOffset","kind":"externalParam"},{"kind":"text","text":": "},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"kind":"text","text":")"}],"title":"setMenuImage(_:xOffset:)","type":"topic","abstract":[{"type":"text","text":"Sets the menu image."}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/batteryPercentage":{"abstract":[{"type":"text","text":"Returns a value from 0-100 denoting the current level of battery charge. 0 = empty; 100 = full."}],"role":"symbol","title":"batteryPercentage","kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/batteryPercentage","url":"\/documentation\/playdatekit\/playdate\/system\/batterypercentage","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"batteryPercentage","kind":"identifier"},{"kind":"text","text":": "},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"}],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/setButtonCallback(callback:buttonUserdata:queueSize:)":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/setButtonCallback(callback:buttonUserdata:queueSize:)","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system\/setbuttoncallback(callback:buttonuserdata:queuesize:)","kind":"symbol","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"setButtonCallback","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"callback"},{"text":": ((","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"button","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O6SystemO7Buttonsa","text":"Buttons"},{"text":", ","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"down","kind":"internalParam"},{"kind":"text","text":": "},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"kind":"text","text":", "},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"text":"when","kind":"internalParam"},{"text":": ","kind":"text"},{"text":"CUnsignedInt","kind":"typeIdentifier","preciseIdentifier":"s:s12CUnsignedInta"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"userdata"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sv","text":"UnsafeMutableRawPointer"},{"kind":"text","text":"?) -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"kind":"text","text":")?, "},{"text":"buttonUserdata","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"UnsafeMutableRawPointer","preciseIdentifier":"s:Sv"},{"kind":"text","text":"?, "},{"text":"queueSize","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":")","kind":"text"}],"title":"setButtonCallback(callback:buttonUserdata:queueSize:)","type":"topic","abstract":[{"text":"As an alternative to polling for button presses using getButtonState(), this function allows a callback function to be set.","type":"text"},{"type":"text","text":" "},{"text":"The function is called for each button up\/down event (possibly multiple events on the same button) that occurred during","type":"text"},{"type":"text","text":" "},{"type":"text","text":"the previous update cycle. At the default 30 FPS, a queue size of 5 should be adequate. At lower frame rates\/longer frame times,"},{"text":" ","type":"text"},{"type":"text","text":"the queue size should be extended until all button presses are caught. The function should return true on success or false"},{"type":"text","text":" "},{"text":"to signal an error.","type":"text"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/Peripherals":{"abstract":[],"navigatorTitle":[{"text":"Peripherals","kind":"identifier"}],"role":"symbol","title":"Playdate.System.Peripherals","kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/Peripherals","url":"\/documentation\/playdatekit\/playdate\/system\/peripherals","fragments":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"text":"Peripherals","kind":"identifier"}],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/error(_:)-1qzf1":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/error(_:)-1qzf1","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system\/error(_:)-1qzf1","kind":"symbol","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"error"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"StaticString","preciseIdentifier":"s:s12StaticStringV"},{"text":")","kind":"text"}],"title":"error(_:)","type":"topic","abstract":[{"type":"text","text":"Calls the log function, outputting an error in red to the console, then pauses execution."}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/convertEpochToDateTime(_:)":{"type":"topic","title":"convertEpochToDateTime(_:)","abstract":[{"text":"Converts the given epoch time to a DateTime.","type":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/convertEpochToDateTime(_:)","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"convertEpochToDateTime"},{"kind":"text","text":"("},{"preciseIdentifier":"s:s12CUnsignedInta","kind":"typeIdentifier","text":"CUnsignedInt"},{"text":") -> ","kind":"text"},{"text":"DateTime","preciseIdentifier":"s:11PlaydateKit0A0O6SystemO8DateTimea","kind":"typeIdentifier"}],"role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system\/convertepochtodatetime(_:)","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/accelerometer":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/accelerometer","type":"topic","title":"accelerometer","url":"\/documentation\/playdatekit\/playdate\/system\/accelerometer","kind":"symbol","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"accelerometer"},{"text":": (x","kind":"text"},{"kind":"text","text":": "},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"kind":"text","text":", y"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","text":", z"},{"text":": ","kind":"text"},{"text":"Float","preciseIdentifier":"s:Sf","kind":"typeIdentifier"},{"text":")","kind":"text"}],"abstract":[{"text":"Returns the last-read accelerometer data.","type":"text"}],"role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/flipped":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/flipped","title":"flipped","abstract":[{"text":"Returns true if the global “flipped” system setting is set, otherwise false.","type":"text"}],"type":"topic","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"flipped"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system\/flipped","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/buttonState":{"type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/buttonState","title":"buttonState","url":"\/documentation\/playdatekit\/playdate\/system\/buttonstate","kind":"symbol","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"buttonState"},{"text":": (current","kind":"text"},{"kind":"text","text":": "},{"text":"PDButtons","kind":"typeIdentifier","preciseIdentifier":"c:@EA@PDButtons"},{"kind":"text","text":", pushed"},{"kind":"text","text":": "},{"text":"PDButtons","preciseIdentifier":"c:@EA@PDButtons","kind":"typeIdentifier"},{"kind":"text","text":", released"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:@EA@PDButtons","text":"PDButtons","kind":"typeIdentifier"},{"kind":"text","text":")"}],"abstract":[{"type":"codeVoice","code":"current"},{"type":"text","text":" reflects which buttons are currently down. "},{"code":"pushed","type":"codeVoice"},{"type":"text","text":" and "},{"type":"codeVoice","code":"released"},{"text":" reflect which buttons","type":"text"},{"text":" ","type":"text"},{"text":"were pushed or released over the previous update cycle—at the nominal frame rate of 50 ms,","type":"text"},{"type":"text","text":" "},{"text":"fast button presses can be missed if you just poll the instantaneous state.","type":"text"}],"role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/clearICache()":{"abstract":[{"type":"text","text":"Flush the CPU instruction cache, on the very unlikely chance you’re modifying instruction code on the fly."},{"type":"text","text":" "},{"type":"text","text":"(If you don’t know what I’m talking about, you don’t need this. :smile:)"}],"role":"symbol","kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/system\/clearicache()","title":"clearICache()","type":"topic","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"clearICache","kind":"identifier"},{"text":"()","kind":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/clearICache()"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/convertDateTimeToEpoch(_:)":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/convertDateTimeToEpoch(_:)","type":"topic","abstract":[{"type":"text","text":"Converts the given PDDateTime to an epoch time."}],"title":"convertDateTimeToEpoch(_:)","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"convertDateTimeToEpoch","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O6SystemO8DateTimea","text":"DateTime"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s12CUnsignedInta","text":"CUnsignedInt"}],"role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system\/convertdatetimetoepoch(_:)","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/elapsedTime":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/elapsedTime","type":"topic","title":"elapsedTime","url":"\/documentation\/playdatekit\/playdate\/system\/elapsedtime","kind":"symbol","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"elapsedTime"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Float","preciseIdentifier":"s:Sf"}],"abstract":[{"text":"Returns the number of seconds since ","type":"text"},{"type":"codeVoice","code":"playdate.resetElapsedTime()"},{"type":"text","text":" was called."},{"type":"text","text":" "},{"type":"text","text":"The value is a floating-point number with microsecond accuracy."}],"role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/batteryVoltage":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/batteryVoltage","title":"batteryVoltage","url":"\/documentation\/playdatekit\/playdate\/system\/batteryvoltage","abstract":[{"text":"Returns the battery’s current voltage level.","type":"text"}],"type":"topic","kind":"symbol","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"batteryVoltage","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Float","preciseIdentifier":"s:Sf","kind":"typeIdentifier"}],"role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/isCrankDocked":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/isCrankDocked","type":"topic","abstract":[{"type":"text","text":"Returns true or false indicating whether or not the crank is folded into the unit."}],"title":"isCrankDocked","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"isCrankDocked"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"}],"role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system\/iscrankdocked","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/Language-swift.typealias":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/Language-swift.typealias","type":"topic","title":"Playdate.System.Language","url":"\/documentation\/playdatekit\/playdate\/system\/language-swift.typealias","navigatorTitle":[{"kind":"identifier","text":"Language"}],"kind":"symbol","fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Language"}],"abstract":[],"role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/addCheckmarkMenuItem(title:checked:callback:userdata:)-8ift":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/addCheckmarkMenuItem(title:checked:callback:userdata:)-8ift","type":"topic","abstract":[{"text":"Adds a new menu item that can be checked or unchecked by the player.","type":"text"}],"title":"addCheckmarkMenuItem(title:checked:callback:userdata:)","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"addCheckmarkMenuItem"},{"text":"(","kind":"text"},{"text":"title","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SP","kind":"typeIdentifier","text":"UnsafePointer"},{"text":"<","kind":"text"},{"preciseIdentifier":"s:s5CChara","text":"CChar","kind":"typeIdentifier"},{"text":">, ","kind":"text"},{"text":"checked","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"callback","kind":"externalParam"},{"text":": (","kind":"text"},{"text":"@convention","kind":"attribute"},{"kind":"text","text":"(c) ("},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"text":"userdata","kind":"internalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sv","text":"UnsafeMutableRawPointer"},{"text":"?) -> ","kind":"text"},{"preciseIdentifier":"s:s4Voida","kind":"typeIdentifier","text":"Void"},{"text":")?, ","kind":"text"},{"text":"userdata","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sv","text":"UnsafeMutableRawPointer","kind":"typeIdentifier"},{"kind":"text","text":"?) -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O6SystemO8MenuItemV","text":"MenuItem"}],"role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system\/addcheckmarkmenuitem(title:checked:callback:userdata:)-8ift","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/crankChange":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/crankChange","type":"topic","title":"crankChange","url":"\/documentation\/playdatekit\/playdate\/system\/crankchange","kind":"symbol","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"crankChange","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Float","preciseIdentifier":"s:Sf"}],"abstract":[{"text":"Returns the angle change of the crank since the last time this function was called.","type":"text"},{"type":"text","text":" "},{"text":"Negative values are anti-clockwise.","type":"text"}],"role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/log(_:)-4z6ae":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/log(_:)-4z6ae","title":"log(_:)","abstract":[{"text":"Calls the log function.","type":"text"}],"type":"topic","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"log","kind":"identifier"},{"kind":"text","text":"("},{"text":"StaticString","kind":"typeIdentifier","preciseIdentifier":"s:s12StaticStringV"},{"text":")","kind":"text"}],"role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system\/log(_:)-4z6ae","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/setCrankSoundsDisabled(_:)":{"role":"symbol","title":"setCrankSoundsDisabled(_:)","abstract":[{"type":"text","text":"The function returns the previous value for this setting."}],"type":"topic","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"setCrankSoundsDisabled","kind":"identifier"},{"kind":"text","text":"("},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:Sb","kind":"typeIdentifier","text":"Bool"}],"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/system\/setcranksoundsdisabled(_:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/setCrankSoundsDisabled(_:)"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/addOptionsMenuItem(title:options:callback:userData:)-51mvf":{"title":"addOptionsMenuItem(title:options:callback:userData:)","url":"\/documentation\/playdatekit\/playdate\/system\/addoptionsmenuitem(title:options:callback:userdata:)-51mvf","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"addOptionsMenuItem","kind":"identifier"},{"text":"(","kind":"text"},{"text":"title","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UnsafePointer","kind":"typeIdentifier","preciseIdentifier":"s:SP"},{"kind":"text","text":"<"},{"text":"CChar","kind":"typeIdentifier","preciseIdentifier":"s:s5CChara"},{"text":">, ","kind":"text"},{"text":"options","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UnsafeMutableBufferPointer","kind":"typeIdentifier","preciseIdentifier":"s:Sr"},{"kind":"text","text":"<"},{"text":"UnsafePointer","preciseIdentifier":"s:SP","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"text":"CChar","kind":"typeIdentifier","preciseIdentifier":"s:s5CChara"},{"text":">?>, ","kind":"text"},{"text":"callback","kind":"externalParam"},{"text":": (","kind":"text"},{"kind":"attribute","text":"@convention"},{"kind":"text","text":"(c) ("},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"text":"userdata","kind":"internalParam"},{"text":": ","kind":"text"},{"text":"UnsafeMutableRawPointer","kind":"typeIdentifier","preciseIdentifier":"s:Sv"},{"text":"?) -> ","kind":"text"},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":")?, "},{"kind":"externalParam","text":"userData"},{"text":": ","kind":"text"},{"text":"UnsafeMutableRawPointer","kind":"typeIdentifier","preciseIdentifier":"s:Sv"},{"kind":"text","text":"?) -> "},{"text":"MenuItem","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O6SystemO8MenuItemV"}],"abstract":[{"text":"Adds a new menu item that allows the player to cycle through a set of options.","type":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/addOptionsMenuItem(title:options:callback:userData:)-51mvf","role":"symbol","type":"topic","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/resetElapsedTime()":{"type":"topic","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"resetElapsedTime","kind":"identifier"},{"kind":"text","text":"()"}],"role":"symbol","kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/resetElapsedTime()","abstract":[{"type":"text","text":"Resets the high-resolution timer."}],"url":"\/documentation\/playdatekit\/playdate\/system\/resetelapsedtime()","title":"resetElapsedTime()"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/addOptionsMenuItem(title:options:callback:userData:)-1ohgi":{"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"addOptionsMenuItem"},{"text":"(","kind":"text"},{"text":"title","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s12StaticStringV","text":"StaticString","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"options"},{"text":": [","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s12StaticStringV","text":"StaticString"},{"kind":"text","text":"], "},{"text":"callback","kind":"externalParam"},{"text":": (","kind":"text"},{"text":"@convention","kind":"attribute"},{"text":"(c) (","kind":"text"},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"text":"userdata","kind":"internalParam"},{"kind":"text","text":": "},{"text":"UnsafeMutableRawPointer","preciseIdentifier":"s:Sv","kind":"typeIdentifier"},{"text":"?) -> ","kind":"text"},{"text":"Void","kind":"typeIdentifier","preciseIdentifier":"s:s4Voida"},{"text":")?, ","kind":"text"},{"kind":"externalParam","text":"userData"},{"kind":"text","text":": "},{"text":"UnsafeMutableRawPointer","preciseIdentifier":"s:Sv","kind":"typeIdentifier"},{"text":"?) -> ","kind":"text"},{"kind":"typeIdentifier","text":"MenuItem","preciseIdentifier":"s:11PlaydateKit0A0O6SystemO8MenuItemV"}],"title":"addOptionsMenuItem(title:options:callback:userData:)","role":"symbol","kind":"symbol","abstract":[{"type":"text","text":"Adds a new menu item that allows the player to cycle through a set of options."}],"type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/addOptionsMenuItem(title:options:callback:userData:)-1ohgi","url":"\/documentation\/playdatekit\/playdate\/system\/addoptionsmenuitem(title:options:callback:userdata:)-1ohgi"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/DateTime":{"url":"\/documentation\/playdatekit\/playdate\/system\/datetime","fragments":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"text":"DateTime","kind":"identifier"}],"navigatorTitle":[{"text":"DateTime","kind":"identifier"}],"abstract":[],"title":"Playdate.System.DateTime","role":"symbol","kind":"symbol","type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/DateTime"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/accelerometerIsEnabled":{"type":"topic","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/accelerometerIsEnabled","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"accelerometerIsEnabled"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"}],"title":"accelerometerIsEnabled","abstract":[{"type":"text","text":"The accelerometer is off by default, to save a bit of power. If you will be using the accelerometer in your game,"},{"text":" ","type":"text"},{"type":"text","text":"you’ll first need to call "},{"type":"codeVoice","code":"startAccelerometer()"},{"type":"text","text":" then wait for the next update cycle before reading its values."},{"text":" ","type":"text"},{"text":"If you won’t be using the accelerometer again for a while, calling ","type":"text"},{"type":"codeVoice","code":"stopAccelerometer()"},{"text":" will put it back into a","type":"text"},{"type":"text","text":" "},{"text":"low-power idle state. (Though, to be honest, the accelerometer draws so little power","type":"text"},{"type":"text","text":" "},{"type":"text","text":"when it’s running you’d never notice the difference.)"}],"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/system\/accelerometerisenabled"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/shouldDisplay24HourTime":{"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"shouldDisplay24HourTime"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"}],"abstract":[{"type":"text","text":"Returns true if the user has set the 24-Hour Time preference in the Settings program."}],"type":"topic","kind":"symbol","role":"symbol","title":"shouldDisplay24HourTime","url":"\/documentation\/playdatekit\/playdate\/system\/shoulddisplay24hourtime","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/shouldDisplay24HourTime"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/error(_:)-376ql":{"abstract":[{"text":"Calls the log function, outputting an error in red to the console, then pauses execution.","type":"text"}],"role":"symbol","kind":"symbol","title":"error(_:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/error(_:)-376ql","url":"\/documentation\/playdatekit\/playdate\/system\/error(_:)-376ql","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"error"},{"kind":"text","text":"("},{"text":"Error","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","kind":"typeIdentifier"},{"kind":"text","text":")"}],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/crankAngle":{"abstract":[{"type":"text","text":"Returns the current position of the crank, in the range 0-360. Zero is pointing up, and the"},{"type":"text","text":" "},{"text":"value increases as the crank moves clockwise, as viewed from the right side of the device.","type":"text"}],"role":"symbol","kind":"symbol","title":"crankAngle","type":"topic","url":"\/documentation\/playdatekit\/playdate\/system\/crankangle","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/crankAngle","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"crankAngle"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sf","text":"Float"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/timezoneOffset":{"fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"timezoneOffset","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"}],"abstract":[{"type":"text","text":"Returns the system timezone offset from GMT, in seconds."}],"type":"topic","kind":"symbol","role":"symbol","title":"timezoneOffset","url":"\/documentation\/playdatekit\/playdate\/system\/timezoneoffset","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/timezoneOffset"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/error(_:)-7ut9u":{"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"error","kind":"identifier"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:SP","text":"UnsafePointer","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"text":"CChar","preciseIdentifier":"s:s5CChara","kind":"typeIdentifier"},{"kind":"text","text":">?)"}],"url":"\/documentation\/playdatekit\/playdate\/system\/error(_:)-7ut9u","kind":"symbol","abstract":[{"text":"Calls the log function, outputting an error in red to the console, then pauses execution.","type":"text"}],"title":"error(_:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/error(_:)-7ut9u","type":"topic","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/MenuItem":{"navigatorTitle":[{"kind":"identifier","text":"MenuItem"}],"title":"Playdate.System.MenuItem","role":"symbol","abstract":[],"fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"MenuItem"}],"url":"\/documentation\/playdatekit\/playdate\/system\/menuitem","type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/MenuItem","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/addMenuItem(title:callback:userdata:)-47a4f":{"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"addMenuItem","kind":"identifier"},{"text":"(","kind":"text"},{"text":"title","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UnsafePointer","preciseIdentifier":"s:SP","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"preciseIdentifier":"s:s5CChara","text":"CChar","kind":"typeIdentifier"},{"kind":"text","text":">, "},{"kind":"externalParam","text":"callback"},{"text":": (","kind":"text"},{"kind":"attribute","text":"@convention"},{"text":"(c) (","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"userdata"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sv","text":"UnsafeMutableRawPointer","kind":"typeIdentifier"},{"kind":"text","text":"?) -> "},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"text":")?, ","kind":"text"},{"text":"userdata","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sv","text":"UnsafeMutableRawPointer"},{"text":"?) -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O6SystemO8MenuItemV","text":"MenuItem"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/addMenuItem(title:callback:userdata:)-47a4f","url":"\/documentation\/playdatekit\/playdate\/system\/addmenuitem(title:callback:userdata:)-47a4f","abstract":[{"type":"text","text":"Adds a new menu item to the System Menu."}],"kind":"symbol","type":"topic","title":"addMenuItem(title:callback:userdata:)","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/setAutoLockDisabled(_:)":{"abstract":[{"type":"text","text":"Disables or enables the 3 minute auto lock feature. When called, the timer is reset to 3 minutes."}],"role":"symbol","kind":"symbol","title":"setAutoLockDisabled(_:)","type":"topic","url":"\/documentation\/playdatekit\/playdate\/system\/setautolockdisabled(_:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/setAutoLockDisabled(_:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"setAutoLockDisabled"},{"kind":"text","text":"("},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"kind":"text","text":")"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/currentTimeMilliseconds":{"url":"\/documentation\/playdatekit\/playdate\/system\/currenttimemilliseconds","kind":"symbol","abstract":[{"type":"text","text":"Returns the number of milliseconds since…​some arbitrary point in time."}],"title":"currentTimeMilliseconds","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/currentTimeMilliseconds","role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"currentTimeMilliseconds","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:s12CUnsignedInta","text":"CUnsignedInt"}],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/reduceFlashing":{"abstract":[{"text":"Returns true if the global “reduce flashing” system setting is set, otherwise false.","type":"text"}],"role":"symbol","kind":"symbol","title":"reduceFlashing","type":"topic","url":"\/documentation\/playdatekit\/playdate\/system\/reduceflashing","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/reduceFlashing","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"reduceFlashing"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/drawFPS(x:y:)":{"url":"\/documentation\/playdatekit\/playdate\/system\/drawfps(x:y:)","kind":"symbol","abstract":[{"type":"text","text":"Calculates the current frames per second and draws that value at "},{"code":"x","type":"codeVoice"},{"type":"text","text":", "},{"code":"y","type":"codeVoice"},{"type":"text","text":"."}],"title":"drawFPS(x:y:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/drawFPS(x:y:)","role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"drawFPS","kind":"identifier"},{"kind":"text","text":"("},{"text":"x","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"y"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"kind":"text","text":")"}],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/accelerometer.json b/docs/data/documentation/playdatekit/playdate/system/accelerometer.json new file mode 100644 index 00000000..79044e66 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/accelerometer.json @@ -0,0 +1 @@ +{"kind":"symbol","abstract":[{"type":"text","text":"Returns the last-read accelerometer data."}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/system\/accelerometer"]}],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/accelerometer","interfaceLanguage":"swift"},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"accelerometer","kind":"identifier"},{"text":": (x","kind":"text"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sf","kind":"typeIdentifier","text":"Float"},{"kind":"text","text":", y"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sf","text":"Float","kind":"typeIdentifier"},{"text":", z","kind":"text"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","text":") { "},{"kind":"keyword","text":"get"},{"text":" }","kind":"text"}],"platforms":["macOS"]}]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"]]},"sections":[],"metadata":{"externalID":"s:11PlaydateKit0A0O6SystemO13accelerometerSf1x_Sf1ySf1ztvpZ","role":"symbol","roleHeading":"Type Property","modules":[{"name":"PlaydateKit"}],"title":"accelerometer","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"accelerometer","kind":"identifier"},{"kind":"text","text":": (x"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sf","text":"Float"},{"kind":"text","text":", y"},{"kind":"text","text":": "},{"text":"Float","preciseIdentifier":"s:Sf","kind":"typeIdentifier"},{"kind":"text","text":", z"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sf","text":"Float"},{"text":")","kind":"text"}],"symbolKind":"property"},"schemaVersion":{"patch":0,"minor":3,"major":0},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/accelerometer":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/accelerometer","type":"topic","title":"accelerometer","url":"\/documentation\/playdatekit\/playdate\/system\/accelerometer","kind":"symbol","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"accelerometer"},{"text":": (x","kind":"text"},{"kind":"text","text":": "},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"kind":"text","text":", y"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","text":", z"},{"text":": ","kind":"text"},{"text":"Float","preciseIdentifier":"s:Sf","kind":"typeIdentifier"},{"text":")","kind":"text"}],"abstract":[{"text":"Returns the last-read accelerometer data.","type":"text"}],"role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/accelerometerisenabled.json b/docs/data/documentation/playdatekit/playdate/system/accelerometerisenabled.json new file mode 100644 index 00000000..17a0bf11 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/accelerometerisenabled.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"]]},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/accelerometerIsEnabled","interfaceLanguage":"swift"},"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/system\/accelerometerisenabled"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"nonisolated","kind":"attribute"},{"text":"(unsafe) ","kind":"text"},{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"accelerometerIsEnabled","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"kind":"text","text":" { "},{"text":"get","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"set"},{"text":" }","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}]}],"kind":"symbol","abstract":[{"type":"text","text":"The accelerometer is off by default, to save a bit of power. If you will be using the accelerometer in your game,"},{"text":" ","type":"text"},{"text":"you’ll first need to call ","type":"text"},{"type":"codeVoice","code":"startAccelerometer()"},{"text":" then wait for the next update cycle before reading its values.","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"If you won’t be using the accelerometer again for a while, calling "},{"type":"codeVoice","code":"stopAccelerometer()"},{"type":"text","text":" will put it back into a"},{"type":"text","text":" "},{"text":"low-power idle state. (Though, to be honest, the accelerometer draws so little power","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"when it’s running you’d never notice the difference.)"}],"sections":[],"metadata":{"modules":[{"name":"PlaydateKit"}],"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"accelerometerIsEnabled"},{"text":": ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"role":"symbol","externalID":"s:11PlaydateKit0A0O6SystemO22accelerometerIsEnabledSbvpZ","roleHeading":"Type Property","title":"accelerometerIsEnabled","symbolKind":"property"},"schemaVersion":{"patch":0,"minor":3,"major":0},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/accelerometerIsEnabled":{"type":"topic","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/accelerometerIsEnabled","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"accelerometerIsEnabled"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"}],"title":"accelerometerIsEnabled","abstract":[{"type":"text","text":"The accelerometer is off by default, to save a bit of power. If you will be using the accelerometer in your game,"},{"text":" ","type":"text"},{"type":"text","text":"you’ll first need to call "},{"type":"codeVoice","code":"startAccelerometer()"},{"type":"text","text":" then wait for the next update cycle before reading its values."},{"text":" ","type":"text"},{"text":"If you won’t be using the accelerometer again for a while, calling ","type":"text"},{"type":"codeVoice","code":"stopAccelerometer()"},{"text":" will put it back into a","type":"text"},{"type":"text","text":" "},{"text":"low-power idle state. (Though, to be honest, the accelerometer draws so little power","type":"text"},{"type":"text","text":" "},{"type":"text","text":"when it’s running you’d never notice the difference.)"}],"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/system\/accelerometerisenabled"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/addcheckmarkmenuitem(title:checked:callback:userdata:)-1zw7w.json b/docs/data/documentation/playdatekit/playdate/system/addcheckmarkmenuitem(title:checked:callback:userdata:)-1zw7w.json new file mode 100644 index 00000000..accfff47 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/addcheckmarkmenuitem(title:checked:callback:userdata:)-1zw7w.json @@ -0,0 +1 @@ +{"abstract":[{"text":"Adds a new menu item that can be checked or unchecked by the player.","type":"text"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"kind":"attribute","text":"@discardableResult"},{"text":" ","kind":"text"},{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"addCheckmarkMenuItem","kind":"identifier"},{"text":"(","kind":"text"},{"text":"title","kind":"externalParam"},{"kind":"text","text":": "},{"text":"StaticString","kind":"typeIdentifier","preciseIdentifier":"s:s12StaticStringV"},{"text":", ","kind":"text"},{"text":"checked","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"},{"kind":"text","text":" = false, "},{"kind":"externalParam","text":"callback"},{"text":": (","kind":"text"},{"kind":"attribute","text":"@convention"},{"text":"(c) (","kind":"text"},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"text":"userdata","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"UnsafeMutableRawPointer","preciseIdentifier":"s:Sv"},{"text":"?) -> ","kind":"text"},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":")?, "},{"text":"userdata","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sv","text":"UnsafeMutableRawPointer","kind":"typeIdentifier"},{"text":"? = nil) -> ","kind":"text"},{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/MenuItem","kind":"typeIdentifier","text":"MenuItem","preciseIdentifier":"s:11PlaydateKit0A0O6SystemO8MenuItemV"}],"platforms":["macOS"]}]},{"parameters":[{"name":"title","content":[{"inlineContent":[{"type":"text","text":"The title displayed by the menu item."}],"type":"paragraph"}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Wether or not the menu item is checked."}]}],"name":"checked"},{"name":"callback","content":[{"type":"paragraph","inlineContent":[{"text":"The callback invoked when the menu item is selected by the user.","type":"text"}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The userdata to associate with the menu item."}]}],"name":"userdata"}],"kind":"parameters"},{"kind":"content","content":[{"type":"heading","level":2,"text":"Return Value","anchor":"return-value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The menu item"}]}]}],"schemaVersion":{"minor":3,"major":0,"patch":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/addCheckmarkMenuItem(title:checked:callback:userdata:)-1zw7w"},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/system\/addcheckmarkmenuitem(title:checked:callback:userdata:)-1zw7w"]}],"sections":[],"metadata":{"symbolKind":"method","role":"symbol","roleHeading":"Type Method","externalID":"s:11PlaydateKit0A0O6SystemO20addCheckmarkMenuItem5title7checked8callback8userdataAE0fG0Vs12StaticStringV_SbySvSgXCSgAOtFZ","modules":[{"name":"PlaydateKit"}],"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"addCheckmarkMenuItem"},{"kind":"text","text":"("},{"text":"title","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"StaticString","kind":"typeIdentifier","preciseIdentifier":"s:s12StaticStringV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"checked"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sb","kind":"typeIdentifier","text":"Bool"},{"kind":"text","text":", "},{"kind":"externalParam","text":"callback"},{"text":": (","kind":"text"},{"text":"@convention","kind":"attribute"},{"text":"(c) (","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"userdata"},{"kind":"text","text":": "},{"text":"UnsafeMutableRawPointer","kind":"typeIdentifier","preciseIdentifier":"s:Sv"},{"text":"?) -> ","kind":"text"},{"preciseIdentifier":"s:s4Voida","text":"Void","kind":"typeIdentifier"},{"kind":"text","text":")?, "},{"text":"userdata","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sv","text":"UnsafeMutableRawPointer"},{"text":"?) -> ","kind":"text"},{"kind":"typeIdentifier","text":"MenuItem","preciseIdentifier":"s:11PlaydateKit0A0O6SystemO8MenuItemV"}],"title":"addCheckmarkMenuItem(title:checked:callback:userdata:)"},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/MenuItem":{"navigatorTitle":[{"kind":"identifier","text":"MenuItem"}],"title":"Playdate.System.MenuItem","role":"symbol","abstract":[],"fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"MenuItem"}],"url":"\/documentation\/playdatekit\/playdate\/system\/menuitem","type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/MenuItem","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/addCheckmarkMenuItem(title:checked:callback:userdata:)-1zw7w":{"abstract":[{"type":"text","text":"Adds a new menu item that can be checked or unchecked by the player."}],"role":"symbol","title":"addCheckmarkMenuItem(title:checked:callback:userdata:)","kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/addCheckmarkMenuItem(title:checked:callback:userdata:)-1zw7w","url":"\/documentation\/playdatekit\/playdate\/system\/addcheckmarkmenuitem(title:checked:callback:userdata:)-1zw7w","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"addCheckmarkMenuItem"},{"text":"(","kind":"text"},{"text":"title","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"StaticString","preciseIdentifier":"s:s12StaticStringV","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"checked","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"text":", ","kind":"text"},{"text":"callback","kind":"externalParam"},{"kind":"text","text":": ("},{"kind":"attribute","text":"@convention"},{"text":"(c) (","kind":"text"},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"text":"userdata","kind":"internalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sv","kind":"typeIdentifier","text":"UnsafeMutableRawPointer"},{"text":"?) -> ","kind":"text"},{"preciseIdentifier":"s:s4Voida","text":"Void","kind":"typeIdentifier"},{"kind":"text","text":")?, "},{"text":"userdata","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sv","kind":"typeIdentifier","text":"UnsafeMutableRawPointer"},{"text":"?) -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O6SystemO8MenuItemV","text":"MenuItem"}],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/addcheckmarkmenuitem(title:checked:callback:userdata:)-8ift.json b/docs/data/documentation/playdatekit/playdate/system/addcheckmarkmenuitem(title:checked:callback:userdata:)-8ift.json new file mode 100644 index 00000000..1ca2387f --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/addcheckmarkmenuitem(title:checked:callback:userdata:)-8ift.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"attribute","text":"@discardableResult"},{"kind":"text","text":" "},{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"addCheckmarkMenuItem","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"title"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SP","text":"UnsafePointer","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","preciseIdentifier":"s:s5CChara","text":"CChar"},{"text":">, ","kind":"text"},{"kind":"externalParam","text":"checked"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":" = false, "},{"text":"callback","kind":"externalParam"},{"text":": (","kind":"text"},{"text":"@convention","kind":"attribute"},{"text":"(c) (","kind":"text"},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"userdata"},{"kind":"text","text":": "},{"text":"UnsafeMutableRawPointer","preciseIdentifier":"s:Sv","kind":"typeIdentifier"},{"text":"?) -> ","kind":"text"},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":")?, "},{"text":"userdata","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"UnsafeMutableRawPointer","preciseIdentifier":"s:Sv"},{"text":"? = nil) -> ","kind":"text"},{"text":"MenuItem","preciseIdentifier":"s:11PlaydateKit0A0O6SystemO8MenuItemV","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/MenuItem","kind":"typeIdentifier"}]}]},{"parameters":[{"content":[{"inlineContent":[{"type":"text","text":"The title displayed by the menu item."}],"type":"paragraph"}],"name":"title"},{"name":"checked","content":[{"type":"paragraph","inlineContent":[{"text":"Wether or not the menu item is checked.","type":"text"}]}]},{"name":"callback","content":[{"type":"paragraph","inlineContent":[{"text":"The callback invoked when the menu item is selected by the user.","type":"text"}]}]},{"name":"userdata","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The userdata to associate with the menu item."}]}]}],"kind":"parameters"},{"content":[{"text":"Return Value","level":2,"anchor":"return-value","type":"heading"},{"inlineContent":[{"text":"The menu item","type":"text"}],"type":"paragraph"}],"kind":"content"}],"abstract":[{"text":"Adds a new menu item that can be checked or unchecked by the player.","type":"text"}],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/addCheckmarkMenuItem(title:checked:callback:userdata:)-8ift","interfaceLanguage":"swift"},"metadata":{"title":"addCheckmarkMenuItem(title:checked:callback:userdata:)","externalID":"s:11PlaydateKit0A0O6SystemO20addCheckmarkMenuItem5title7checked8callback8userdataAE0fG0VSPys4Int8VG_SbySvSgXCSgAPtFZ","modules":[{"name":"PlaydateKit"}],"role":"symbol","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"addCheckmarkMenuItem","kind":"identifier"},{"text":"(","kind":"text"},{"text":"title","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SP","kind":"typeIdentifier","text":"UnsafePointer"},{"text":"<","kind":"text"},{"text":"CChar","preciseIdentifier":"s:s5CChara","kind":"typeIdentifier"},{"text":">, ","kind":"text"},{"kind":"externalParam","text":"checked"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sb","kind":"typeIdentifier","text":"Bool"},{"kind":"text","text":", "},{"kind":"externalParam","text":"callback"},{"text":": (","kind":"text"},{"text":"@convention","kind":"attribute"},{"kind":"text","text":"(c) ("},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"userdata","kind":"internalParam"},{"kind":"text","text":": "},{"text":"UnsafeMutableRawPointer","kind":"typeIdentifier","preciseIdentifier":"s:Sv"},{"text":"?) -> ","kind":"text"},{"text":"Void","kind":"typeIdentifier","preciseIdentifier":"s:s4Voida"},{"text":")?, ","kind":"text"},{"kind":"externalParam","text":"userdata"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"UnsafeMutableRawPointer","preciseIdentifier":"s:Sv"},{"text":"?) -> ","kind":"text"},{"text":"MenuItem","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O6SystemO8MenuItemV"}],"roleHeading":"Type Method","symbolKind":"method"},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"]]},"schemaVersion":{"patch":0,"minor":3,"major":0},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/system\/addcheckmarkmenuitem(title:checked:callback:userdata:)-8ift"]}],"kind":"symbol","sections":[],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/MenuItem":{"navigatorTitle":[{"kind":"identifier","text":"MenuItem"}],"title":"Playdate.System.MenuItem","role":"symbol","abstract":[],"fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"MenuItem"}],"url":"\/documentation\/playdatekit\/playdate\/system\/menuitem","type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/MenuItem","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/addCheckmarkMenuItem(title:checked:callback:userdata:)-8ift":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/addCheckmarkMenuItem(title:checked:callback:userdata:)-8ift","type":"topic","abstract":[{"text":"Adds a new menu item that can be checked or unchecked by the player.","type":"text"}],"title":"addCheckmarkMenuItem(title:checked:callback:userdata:)","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"addCheckmarkMenuItem"},{"text":"(","kind":"text"},{"text":"title","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SP","kind":"typeIdentifier","text":"UnsafePointer"},{"text":"<","kind":"text"},{"preciseIdentifier":"s:s5CChara","text":"CChar","kind":"typeIdentifier"},{"text":">, ","kind":"text"},{"text":"checked","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"callback","kind":"externalParam"},{"text":": (","kind":"text"},{"text":"@convention","kind":"attribute"},{"kind":"text","text":"(c) ("},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"text":"userdata","kind":"internalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sv","text":"UnsafeMutableRawPointer"},{"text":"?) -> ","kind":"text"},{"preciseIdentifier":"s:s4Voida","kind":"typeIdentifier","text":"Void"},{"text":")?, ","kind":"text"},{"text":"userdata","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sv","text":"UnsafeMutableRawPointer","kind":"typeIdentifier"},{"kind":"text","text":"?) -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O6SystemO8MenuItemV","text":"MenuItem"}],"role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system\/addcheckmarkmenuitem(title:checked:callback:userdata:)-8ift","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/addmenuitem(title:callback:userdata:)-1bfwq.json b/docs/data/documentation/playdatekit/playdate/system/addmenuitem(title:callback:userdata:)-1bfwq.json new file mode 100644 index 00000000..2fc422bf --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/addmenuitem(title:callback:userdata:)-1bfwq.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"@discardableResult","kind":"attribute"},{"kind":"text","text":" "},{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"addMenuItem","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"title"},{"kind":"text","text":": "},{"text":"StaticString","kind":"typeIdentifier","preciseIdentifier":"s:s12StaticStringV"},{"text":", ","kind":"text"},{"text":"callback","kind":"externalParam"},{"text":": (","kind":"text"},{"text":"@convention","kind":"attribute"},{"text":"(c) (","kind":"text"},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"text":"userdata","kind":"internalParam"},{"text":": ","kind":"text"},{"text":"UnsafeMutableRawPointer","kind":"typeIdentifier","preciseIdentifier":"s:Sv"},{"text":"?) -> ","kind":"text"},{"text":"Void","preciseIdentifier":"s:s4Voida","kind":"typeIdentifier"},{"text":")?, ","kind":"text"},{"text":"userdata","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sv","kind":"typeIdentifier","text":"UnsafeMutableRawPointer"},{"text":"? = nil) -> ","kind":"text"},{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/MenuItem","kind":"typeIdentifier","text":"MenuItem","preciseIdentifier":"s:11PlaydateKit0A0O6SystemO8MenuItemV"}],"platforms":["macOS"]}],"kind":"declarations"},{"kind":"parameters","parameters":[{"name":"title","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The title displayed by the menu item."}]}]},{"name":"callback","content":[{"inlineContent":[{"text":"The callback invoked when the menu item is selected by the user.","type":"text"}],"type":"paragraph"}]},{"name":"userdata","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The userdata to associate with the menu item."}]}]}]},{"kind":"content","content":[{"level":2,"text":"Return Value","anchor":"return-value","type":"heading"},{"type":"paragraph","inlineContent":[{"text":"The menu item","type":"text"}]}]}],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/system\/addmenuitem(title:callback:userdata:)-1bfwq"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"schemaVersion":{"major":0,"patch":0,"minor":3},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"]]},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/addMenuItem(title:callback:userdata:)-1bfwq","interfaceLanguage":"swift"},"metadata":{"title":"addMenuItem(title:callback:userdata:)","modules":[{"name":"PlaydateKit"}],"roleHeading":"Type Method","role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"addMenuItem"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"title"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"StaticString","preciseIdentifier":"s:s12StaticStringV"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"callback"},{"kind":"text","text":": ("},{"text":"@convention","kind":"attribute"},{"text":"(c) (","kind":"text"},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"text":"userdata","kind":"internalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sv","text":"UnsafeMutableRawPointer","kind":"typeIdentifier"},{"kind":"text","text":"?) -> "},{"preciseIdentifier":"s:s4Voida","text":"Void","kind":"typeIdentifier"},{"text":")?, ","kind":"text"},{"kind":"externalParam","text":"userdata"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sv","kind":"typeIdentifier","text":"UnsafeMutableRawPointer"},{"text":"?) -> ","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O6SystemO8MenuItemV","text":"MenuItem","kind":"typeIdentifier"}],"externalID":"s:11PlaydateKit0A0O6SystemO11addMenuItem5title8callback8userdataAE0eF0Vs12StaticStringV_ySvSgXCSgANtFZ","symbolKind":"method"},"abstract":[{"text":"Adds a new menu item to the System Menu.","type":"text"}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/addMenuItem(title:callback:userdata:)-1bfwq":{"url":"\/documentation\/playdatekit\/playdate\/system\/addmenuitem(title:callback:userdata:)-1bfwq","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"addMenuItem","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"title"},{"kind":"text","text":": "},{"text":"StaticString","kind":"typeIdentifier","preciseIdentifier":"s:s12StaticStringV"},{"text":", ","kind":"text"},{"text":"callback","kind":"externalParam"},{"kind":"text","text":": ("},{"text":"@convention","kind":"attribute"},{"text":"(c) (","kind":"text"},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"text":"userdata","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"UnsafeMutableRawPointer","preciseIdentifier":"s:Sv"},{"text":"?) -> ","kind":"text"},{"text":"Void","preciseIdentifier":"s:s4Voida","kind":"typeIdentifier"},{"text":")?, ","kind":"text"},{"kind":"externalParam","text":"userdata"},{"text":": ","kind":"text"},{"text":"UnsafeMutableRawPointer","kind":"typeIdentifier","preciseIdentifier":"s:Sv"},{"text":"?) -> ","kind":"text"},{"text":"MenuItem","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O6SystemO8MenuItemV"}],"abstract":[{"type":"text","text":"Adds a new menu item to the System Menu."}],"title":"addMenuItem(title:callback:userdata:)","role":"symbol","kind":"symbol","type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/addMenuItem(title:callback:userdata:)-1bfwq"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/MenuItem":{"navigatorTitle":[{"kind":"identifier","text":"MenuItem"}],"title":"Playdate.System.MenuItem","role":"symbol","abstract":[],"fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"MenuItem"}],"url":"\/documentation\/playdatekit\/playdate\/system\/menuitem","type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/MenuItem","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/addmenuitem(title:callback:userdata:)-47a4f.json b/docs/data/documentation/playdatekit/playdate/system/addmenuitem(title:callback:userdata:)-47a4f.json new file mode 100644 index 00000000..6b9fc98c --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/addmenuitem(title:callback:userdata:)-47a4f.json @@ -0,0 +1 @@ +{"kind":"symbol","sections":[],"abstract":[{"type":"text","text":"Adds a new menu item to the System Menu."}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/system\/addmenuitem(title:callback:userdata:)-47a4f"]}],"metadata":{"symbolKind":"method","modules":[{"name":"PlaydateKit"}],"title":"addMenuItem(title:callback:userdata:)","role":"symbol","externalID":"s:11PlaydateKit0A0O6SystemO11addMenuItem5title8callback8userdataAE0eF0VSPys4Int8VG_ySvSgXCSgAOtFZ","roleHeading":"Type Method","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"addMenuItem","kind":"identifier"},{"kind":"text","text":"("},{"text":"title","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SP","kind":"typeIdentifier","text":"UnsafePointer"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"CChar","preciseIdentifier":"s:s5CChara"},{"text":">, ","kind":"text"},{"text":"callback","kind":"externalParam"},{"text":": (","kind":"text"},{"kind":"attribute","text":"@convention"},{"text":"(c) (","kind":"text"},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"kind":"internalParam","text":"userdata"},{"text":": ","kind":"text"},{"text":"UnsafeMutableRawPointer","preciseIdentifier":"s:Sv","kind":"typeIdentifier"},{"text":"?) -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4Voida","text":"Void"},{"text":")?, ","kind":"text"},{"kind":"externalParam","text":"userdata"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sv","text":"UnsafeMutableRawPointer","kind":"typeIdentifier"},{"kind":"text","text":"?) -> "},{"preciseIdentifier":"s:11PlaydateKit0A0O6SystemO8MenuItemV","text":"MenuItem","kind":"typeIdentifier"}]},"schemaVersion":{"patch":0,"major":0,"minor":3},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"@discardableResult","kind":"attribute"},{"text":" ","kind":"text"},{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"addMenuItem","kind":"identifier"},{"text":"(","kind":"text"},{"text":"title","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SP","text":"UnsafePointer","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"text":"CChar","kind":"typeIdentifier","preciseIdentifier":"s:s5CChara"},{"kind":"text","text":">, "},{"text":"callback","kind":"externalParam"},{"kind":"text","text":": ("},{"kind":"attribute","text":"@convention"},{"kind":"text","text":"(c) ("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"text":"userdata","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sv","text":"UnsafeMutableRawPointer"},{"text":"?) -> ","kind":"text"},{"text":"Void","preciseIdentifier":"s:s4Voida","kind":"typeIdentifier"},{"kind":"text","text":")?, "},{"kind":"externalParam","text":"userdata"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sv","text":"UnsafeMutableRawPointer"},{"text":"? = nil) -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O6SystemO8MenuItemV","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/MenuItem","text":"MenuItem"}],"platforms":["macOS"],"languages":["swift"]}]},{"kind":"parameters","parameters":[{"name":"title","content":[{"inlineContent":[{"type":"text","text":"The title displayed by the menu item."}],"type":"paragraph"}]},{"content":[{"type":"paragraph","inlineContent":[{"text":"The callback invoked when the menu item is selected by the user.","type":"text"}]}],"name":"callback"},{"name":"userdata","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The userdata to associate with the menu item."}]}]}]},{"content":[{"type":"heading","anchor":"return-value","level":2,"text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The menu item"}]}],"kind":"content"}],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/addMenuItem(title:callback:userdata:)-47a4f","interfaceLanguage":"swift"},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/MenuItem":{"navigatorTitle":[{"kind":"identifier","text":"MenuItem"}],"title":"Playdate.System.MenuItem","role":"symbol","abstract":[],"fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"MenuItem"}],"url":"\/documentation\/playdatekit\/playdate\/system\/menuitem","type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/MenuItem","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/addMenuItem(title:callback:userdata:)-47a4f":{"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"addMenuItem","kind":"identifier"},{"text":"(","kind":"text"},{"text":"title","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UnsafePointer","preciseIdentifier":"s:SP","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"preciseIdentifier":"s:s5CChara","text":"CChar","kind":"typeIdentifier"},{"kind":"text","text":">, "},{"kind":"externalParam","text":"callback"},{"text":": (","kind":"text"},{"kind":"attribute","text":"@convention"},{"text":"(c) (","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"userdata"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sv","text":"UnsafeMutableRawPointer","kind":"typeIdentifier"},{"kind":"text","text":"?) -> "},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"text":")?, ","kind":"text"},{"text":"userdata","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sv","text":"UnsafeMutableRawPointer"},{"text":"?) -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O6SystemO8MenuItemV","text":"MenuItem"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/addMenuItem(title:callback:userdata:)-47a4f","url":"\/documentation\/playdatekit\/playdate\/system\/addmenuitem(title:callback:userdata:)-47a4f","abstract":[{"type":"text","text":"Adds a new menu item to the System Menu."}],"kind":"symbol","type":"topic","title":"addMenuItem(title:callback:userdata:)","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/addoptionsmenuitem(title:options:callback:userdata:)-1ohgi.json b/docs/data/documentation/playdatekit/playdate/system/addoptionsmenuitem(title:options:callback:userdata:)-1ohgi.json new file mode 100644 index 00000000..7ee948fb --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/addoptionsmenuitem(title:options:callback:userdata:)-1ohgi.json @@ -0,0 +1 @@ +{"kind":"symbol","sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"@discardableResult","kind":"attribute"},{"text":" ","kind":"text"},{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"addOptionsMenuItem","kind":"identifier"},{"kind":"text","text":"("},{"text":"title","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"StaticString","preciseIdentifier":"s:s12StaticStringV","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"options","kind":"externalParam"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","preciseIdentifier":"s:s12StaticStringV","text":"StaticString"},{"text":"], ","kind":"text"},{"text":"callback","kind":"externalParam"},{"kind":"text","text":": ("},{"text":"@convention","kind":"attribute"},{"kind":"text","text":"(c) ("},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"userdata"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UnsafeMutableRawPointer","preciseIdentifier":"s:Sv"},{"kind":"text","text":"?) -> "},{"text":"Void","preciseIdentifier":"s:s4Voida","kind":"typeIdentifier"},{"text":")?, ","kind":"text"},{"kind":"externalParam","text":"userData"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sv","text":"UnsafeMutableRawPointer"},{"kind":"text","text":"? = nil) -> "},{"kind":"typeIdentifier","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/MenuItem","preciseIdentifier":"s:11PlaydateKit0A0O6SystemO8MenuItemV","text":"MenuItem"}],"platforms":["macOS"],"languages":["swift"]}]},{"parameters":[{"content":[{"inlineContent":[{"text":"The title displayed by the menu item.","type":"text"}],"type":"paragraph"}],"name":"title"},{"content":[{"type":"paragraph","inlineContent":[{"text":"An array of strings representing the states this menu item can cycle through. Due to limited horizontal space,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"the option strings and title should be kept short for this type of menu item."}]}],"name":"options"},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The callback invoked when the menu item is selected by the user."}]}],"name":"callback"},{"name":"userdata","content":[{"inlineContent":[{"type":"text","text":"The userdata to associate with the menu item."}],"type":"paragraph"}]}],"kind":"parameters"},{"content":[{"text":"Return Value","anchor":"return-value","type":"heading","level":2},{"type":"paragraph","inlineContent":[{"type":"text","text":"The menu item"}]}],"kind":"content"}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"]]},"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/system\/addoptionsmenuitem(title:options:callback:userdata:)-1ohgi"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"metadata":{"symbolKind":"method","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"addOptionsMenuItem"},{"text":"(","kind":"text"},{"text":"title","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s12StaticStringV","text":"StaticString","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"options","kind":"externalParam"},{"text":": [","kind":"text"},{"text":"StaticString","kind":"typeIdentifier","preciseIdentifier":"s:s12StaticStringV"},{"kind":"text","text":"], "},{"text":"callback","kind":"externalParam"},{"kind":"text","text":": ("},{"text":"@convention","kind":"attribute"},{"text":"(c) (","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"userdata"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sv","kind":"typeIdentifier","text":"UnsafeMutableRawPointer"},{"kind":"text","text":"?) -> "},{"text":"Void","preciseIdentifier":"s:s4Voida","kind":"typeIdentifier"},{"kind":"text","text":")?, "},{"text":"userData","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sv","text":"UnsafeMutableRawPointer","kind":"typeIdentifier"},{"kind":"text","text":"?) -> "},{"preciseIdentifier":"s:11PlaydateKit0A0O6SystemO8MenuItemV","text":"MenuItem","kind":"typeIdentifier"}],"externalID":"s:11PlaydateKit0A0O6SystemO18addOptionsMenuItem5title7options8callback8userDataAE0fG0Vs12StaticStringV_SayANGySvSgXCSgAPtFZ","roleHeading":"Type Method","role":"symbol","title":"addOptionsMenuItem(title:options:callback:userData:)","modules":[{"name":"PlaydateKit"}]},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/addOptionsMenuItem(title:options:callback:userData:)-1ohgi","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Adds a new menu item that allows the player to cycle through a set of options."}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/addOptionsMenuItem(title:options:callback:userData:)-1ohgi":{"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"addOptionsMenuItem"},{"text":"(","kind":"text"},{"text":"title","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s12StaticStringV","text":"StaticString","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"options"},{"text":": [","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s12StaticStringV","text":"StaticString"},{"kind":"text","text":"], "},{"text":"callback","kind":"externalParam"},{"text":": (","kind":"text"},{"text":"@convention","kind":"attribute"},{"text":"(c) (","kind":"text"},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"text":"userdata","kind":"internalParam"},{"kind":"text","text":": "},{"text":"UnsafeMutableRawPointer","preciseIdentifier":"s:Sv","kind":"typeIdentifier"},{"text":"?) -> ","kind":"text"},{"text":"Void","kind":"typeIdentifier","preciseIdentifier":"s:s4Voida"},{"text":")?, ","kind":"text"},{"kind":"externalParam","text":"userData"},{"kind":"text","text":": "},{"text":"UnsafeMutableRawPointer","preciseIdentifier":"s:Sv","kind":"typeIdentifier"},{"text":"?) -> ","kind":"text"},{"kind":"typeIdentifier","text":"MenuItem","preciseIdentifier":"s:11PlaydateKit0A0O6SystemO8MenuItemV"}],"title":"addOptionsMenuItem(title:options:callback:userData:)","role":"symbol","kind":"symbol","abstract":[{"type":"text","text":"Adds a new menu item that allows the player to cycle through a set of options."}],"type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/addOptionsMenuItem(title:options:callback:userData:)-1ohgi","url":"\/documentation\/playdatekit\/playdate\/system\/addoptionsmenuitem(title:options:callback:userdata:)-1ohgi"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/MenuItem":{"navigatorTitle":[{"kind":"identifier","text":"MenuItem"}],"title":"Playdate.System.MenuItem","role":"symbol","abstract":[],"fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"MenuItem"}],"url":"\/documentation\/playdatekit\/playdate\/system\/menuitem","type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/MenuItem","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/addoptionsmenuitem(title:options:callback:userdata:)-51mvf.json b/docs/data/documentation/playdatekit/playdate/system/addoptionsmenuitem(title:options:callback:userdata:)-51mvf.json new file mode 100644 index 00000000..c7df3c16 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/addoptionsmenuitem(title:options:callback:userdata:)-51mvf.json @@ -0,0 +1 @@ +{"metadata":{"externalID":"s:11PlaydateKit0A0O6SystemO18addOptionsMenuItem5title7options8callback8userDataAE0fG0VSPys4Int8VG_SryAOSgGySvSgXCSgARtFZ","title":"addOptionsMenuItem(title:options:callback:userData:)","symbolKind":"method","role":"symbol","modules":[{"name":"PlaydateKit"}],"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"addOptionsMenuItem"},{"text":"(","kind":"text"},{"text":"title","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SP","text":"UnsafePointer","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","preciseIdentifier":"s:s5CChara","text":"CChar"},{"text":">, ","kind":"text"},{"text":"options","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sr","text":"UnsafeMutableBufferPointer","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"text":"UnsafePointer","kind":"typeIdentifier","preciseIdentifier":"s:SP"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s5CChara","text":"CChar"},{"kind":"text","text":">?>, "},{"kind":"externalParam","text":"callback"},{"text":": (","kind":"text"},{"text":"@convention","kind":"attribute"},{"text":"(c) (","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"userdata"},{"text":": ","kind":"text"},{"text":"UnsafeMutableRawPointer","kind":"typeIdentifier","preciseIdentifier":"s:Sv"},{"kind":"text","text":"?) -> "},{"text":"Void","kind":"typeIdentifier","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":")?, "},{"text":"userData","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UnsafeMutableRawPointer","kind":"typeIdentifier","preciseIdentifier":"s:Sv"},{"kind":"text","text":"?) -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O6SystemO8MenuItemV","text":"MenuItem"}],"roleHeading":"Type Method"},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"]]},"schemaVersion":{"patch":0,"minor":3,"major":0},"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"attribute","text":"@discardableResult"},{"kind":"text","text":" "},{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"addOptionsMenuItem","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"title"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UnsafePointer","preciseIdentifier":"s:SP"},{"kind":"text","text":"<"},{"text":"CChar","kind":"typeIdentifier","preciseIdentifier":"s:s5CChara"},{"kind":"text","text":">, "},{"text":"options","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UnsafeMutableBufferPointer","kind":"typeIdentifier","preciseIdentifier":"s:Sr"},{"kind":"text","text":"<"},{"text":"UnsafePointer","preciseIdentifier":"s:SP","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","preciseIdentifier":"s:s5CChara","text":"CChar"},{"text":">?>, ","kind":"text"},{"kind":"externalParam","text":"callback"},{"kind":"text","text":": ("},{"text":"@convention","kind":"attribute"},{"kind":"text","text":"(c) ("},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"text":"userdata","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"UnsafeMutableRawPointer","preciseIdentifier":"s:Sv"},{"kind":"text","text":"?) -> "},{"preciseIdentifier":"s:s4Voida","text":"Void","kind":"typeIdentifier"},{"text":")?, ","kind":"text"},{"kind":"externalParam","text":"userData"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sv","text":"UnsafeMutableRawPointer"},{"text":"? = nil) -> ","kind":"text"},{"text":"MenuItem","preciseIdentifier":"s:11PlaydateKit0A0O6SystemO8MenuItemV","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/MenuItem","kind":"typeIdentifier"}],"platforms":["macOS"]}],"kind":"declarations"},{"kind":"parameters","parameters":[{"name":"title","content":[{"type":"paragraph","inlineContent":[{"text":"The title displayed by the menu item.","type":"text"}]}]},{"name":"options","content":[{"type":"paragraph","inlineContent":[{"text":"An array of strings representing the states this menu item can cycle through. Due to limited horizontal space,","type":"text"},{"type":"text","text":" "},{"text":"the option strings and title should be kept short for this type of menu item.","type":"text"}]}]},{"name":"callback","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The callback invoked when the menu item is selected by the user."}]}]},{"content":[{"inlineContent":[{"type":"text","text":"The userdata to associate with the menu item."}],"type":"paragraph"}],"name":"userdata"}]},{"kind":"content","content":[{"type":"heading","text":"Return Value","anchor":"return-value","level":2},{"type":"paragraph","inlineContent":[{"type":"text","text":"The menu item"}]}]}],"sections":[],"abstract":[{"text":"Adds a new menu item that allows the player to cycle through a set of options.","type":"text"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/addOptionsMenuItem(title:options:callback:userData:)-51mvf"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/system\/addoptionsmenuitem(title:options:callback:userdata:)-51mvf"]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/addOptionsMenuItem(title:options:callback:userData:)-51mvf":{"title":"addOptionsMenuItem(title:options:callback:userData:)","url":"\/documentation\/playdatekit\/playdate\/system\/addoptionsmenuitem(title:options:callback:userdata:)-51mvf","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"addOptionsMenuItem","kind":"identifier"},{"text":"(","kind":"text"},{"text":"title","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UnsafePointer","kind":"typeIdentifier","preciseIdentifier":"s:SP"},{"kind":"text","text":"<"},{"text":"CChar","kind":"typeIdentifier","preciseIdentifier":"s:s5CChara"},{"text":">, ","kind":"text"},{"text":"options","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UnsafeMutableBufferPointer","kind":"typeIdentifier","preciseIdentifier":"s:Sr"},{"kind":"text","text":"<"},{"text":"UnsafePointer","preciseIdentifier":"s:SP","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"text":"CChar","kind":"typeIdentifier","preciseIdentifier":"s:s5CChara"},{"text":">?>, ","kind":"text"},{"text":"callback","kind":"externalParam"},{"text":": (","kind":"text"},{"kind":"attribute","text":"@convention"},{"kind":"text","text":"(c) ("},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"text":"userdata","kind":"internalParam"},{"text":": ","kind":"text"},{"text":"UnsafeMutableRawPointer","kind":"typeIdentifier","preciseIdentifier":"s:Sv"},{"text":"?) -> ","kind":"text"},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":")?, "},{"kind":"externalParam","text":"userData"},{"text":": ","kind":"text"},{"text":"UnsafeMutableRawPointer","kind":"typeIdentifier","preciseIdentifier":"s:Sv"},{"kind":"text","text":"?) -> "},{"text":"MenuItem","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O6SystemO8MenuItemV"}],"abstract":[{"text":"Adds a new menu item that allows the player to cycle through a set of options.","type":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/addOptionsMenuItem(title:options:callback:userData:)-51mvf","role":"symbol","type":"topic","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/MenuItem":{"navigatorTitle":[{"kind":"identifier","text":"MenuItem"}],"title":"Playdate.System.MenuItem","role":"symbol","abstract":[],"fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"MenuItem"}],"url":"\/documentation\/playdatekit\/playdate\/system\/menuitem","type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/MenuItem","kind":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/batterypercentage.json b/docs/data/documentation/playdatekit/playdate/system/batterypercentage.json new file mode 100644 index 00000000..fbe76375 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/batterypercentage.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/batteryPercentage"},"sections":[],"abstract":[{"text":"Returns a value from 0-100 denoting the current level of battery charge. 0 = empty; 100 = full.","type":"text"}],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/system\/batterypercentage"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"role":"symbol","externalID":"s:11PlaydateKit0A0O6SystemO17batteryPercentageSfvpZ","roleHeading":"Type Property","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"batteryPercentage"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sf","text":"Float","kind":"typeIdentifier"}],"title":"batteryPercentage","modules":[{"name":"PlaydateKit"}],"symbolKind":"property"},"schemaVersion":{"major":0,"patch":0,"minor":3},"kind":"symbol","primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"batteryPercentage"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","text":" { "},{"text":"get","kind":"keyword"},{"kind":"text","text":" }"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/batteryPercentage":{"abstract":[{"type":"text","text":"Returns a value from 0-100 denoting the current level of battery charge. 0 = empty; 100 = full."}],"role":"symbol","title":"batteryPercentage","kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/batteryPercentage","url":"\/documentation\/playdatekit\/playdate\/system\/batterypercentage","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"batteryPercentage","kind":"identifier"},{"kind":"text","text":": "},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"}],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/batteryvoltage.json b/docs/data/documentation/playdatekit/playdate/system/batteryvoltage.json new file mode 100644 index 00000000..cb5283d5 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/batteryvoltage.json @@ -0,0 +1 @@ +{"schemaVersion":{"minor":3,"major":0,"patch":0},"sections":[],"metadata":{"modules":[{"name":"PlaydateKit"}],"symbolKind":"property","externalID":"s:11PlaydateKit0A0O6SystemO14batteryVoltageSfvpZ","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"batteryVoltage","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"}],"role":"symbol","roleHeading":"Type Property","title":"batteryVoltage"},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/batteryVoltage","interfaceLanguage":"swift"},"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/system\/batteryvoltage"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"batteryVoltage","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"},{"text":" { ","kind":"text"},{"kind":"keyword","text":"get"},{"text":" }","kind":"text"}],"languages":["swift"]}]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"]]},"abstract":[{"text":"Returns the battery’s current voltage level.","type":"text"}],"kind":"symbol","references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/batteryVoltage":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/batteryVoltage","title":"batteryVoltage","url":"\/documentation\/playdatekit\/playdate\/system\/batteryvoltage","abstract":[{"text":"Returns the battery’s current voltage level.","type":"text"}],"type":"topic","kind":"symbol","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"batteryVoltage","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Float","preciseIdentifier":"s:Sf","kind":"typeIdentifier"}],"role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/buttons.json b/docs/data/documentation/playdatekit/playdate/system/buttons.json new file mode 100644 index 00000000..e0261f27 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/buttons.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/Buttons","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/system\/buttons"]}],"sections":[],"metadata":{"modules":[{"name":"PlaydateKit"}],"title":"Playdate.System.Buttons","externalID":"s:11PlaydateKit0A0O6SystemO7Buttonsa","navigatorTitle":[{"kind":"identifier","text":"Buttons"}],"fragments":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Buttons"}],"role":"symbol","symbolKind":"typealias","roleHeading":"Type Alias"},"kind":"symbol","schemaVersion":{"minor":3,"patch":0,"major":0},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"]]},"primaryContentSections":[{"declarations":[{"tokens":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Buttons","kind":"identifier"},{"kind":"text","text":" = "},{"preciseIdentifier":"c:@EA@PDButtons","kind":"typeIdentifier","text":"PDButtons"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/Buttons":{"fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Buttons","kind":"identifier"}],"abstract":[],"title":"Playdate.System.Buttons","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/Buttons","url":"\/documentation\/playdatekit\/playdate\/system\/buttons","type":"topic","navigatorTitle":[{"text":"Buttons","kind":"identifier"}],"role":"symbol","kind":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/buttonstate.json b/docs/data/documentation/playdatekit/playdate/system/buttonstate.json new file mode 100644 index 00000000..e1dac015 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/buttonstate.json @@ -0,0 +1 @@ +{"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"buttonState","kind":"identifier"},{"text":": (current","kind":"text"},{"kind":"text","text":": "},{"text":"PDButtons","kind":"typeIdentifier","preciseIdentifier":"c:@EA@PDButtons"},{"text":", pushed","kind":"text"},{"kind":"text","text":": "},{"preciseIdentifier":"c:@EA@PDButtons","kind":"typeIdentifier","text":"PDButtons"},{"text":", released","kind":"text"},{"kind":"text","text":": "},{"text":"PDButtons","kind":"typeIdentifier","preciseIdentifier":"c:@EA@PDButtons"},{"kind":"text","text":") { "},{"text":"get","kind":"keyword"},{"kind":"text","text":" }"}],"platforms":["macOS"],"languages":["swift"]}]}],"metadata":{"externalID":"s:11PlaydateKit0A0O6SystemO11buttonStateSo9PDButtonsa7current_AH6pushedAH8releasedtvpZ","role":"symbol","roleHeading":"Type Property","modules":[{"name":"PlaydateKit"}],"title":"buttonState","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"buttonState"},{"kind":"text","text":": (current"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:@EA@PDButtons","text":"PDButtons"},{"kind":"text","text":", pushed"},{"kind":"text","text":": "},{"preciseIdentifier":"c:@EA@PDButtons","kind":"typeIdentifier","text":"PDButtons"},{"kind":"text","text":", released"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:@EA@PDButtons","text":"PDButtons"},{"text":")","kind":"text"}],"symbolKind":"property"},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/buttonState","interfaceLanguage":"swift"},"schemaVersion":{"patch":0,"major":0,"minor":3},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/system\/buttonstate"]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"]]},"abstract":[{"type":"codeVoice","code":"current"},{"type":"text","text":" reflects which buttons are currently down. "},{"type":"codeVoice","code":"pushed"},{"type":"text","text":" and "},{"code":"released","type":"codeVoice"},{"text":" reflect which buttons","type":"text"},{"type":"text","text":" "},{"text":"were pushed or released over the previous update cycle—at the nominal frame rate of 50 ms,","type":"text"},{"type":"text","text":" "},{"text":"fast button presses can be missed if you just poll the instantaneous state.","type":"text"}],"sections":[],"references":{"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/buttonState":{"type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/buttonState","title":"buttonState","url":"\/documentation\/playdatekit\/playdate\/system\/buttonstate","kind":"symbol","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"buttonState"},{"text":": (current","kind":"text"},{"kind":"text","text":": "},{"text":"PDButtons","kind":"typeIdentifier","preciseIdentifier":"c:@EA@PDButtons"},{"kind":"text","text":", pushed"},{"kind":"text","text":": "},{"text":"PDButtons","preciseIdentifier":"c:@EA@PDButtons","kind":"typeIdentifier"},{"kind":"text","text":", released"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:@EA@PDButtons","text":"PDButtons","kind":"typeIdentifier"},{"kind":"text","text":")"}],"abstract":[{"type":"codeVoice","code":"current"},{"type":"text","text":" reflects which buttons are currently down. "},{"code":"pushed","type":"codeVoice"},{"type":"text","text":" and "},{"type":"codeVoice","code":"released"},{"text":" reflect which buttons","type":"text"},{"text":" ","type":"text"},{"text":"were pushed or released over the previous update cycle—at the nominal frame rate of 50 ms,","type":"text"},{"type":"text","text":" "},{"text":"fast button presses can be missed if you just poll the instantaneous state.","type":"text"}],"role":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/clearicache().json b/docs/data/documentation/playdatekit/playdate/system/clearicache().json new file mode 100644 index 00000000..c6f94266 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/clearicache().json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/clearICache()","interfaceLanguage":"swift"},"metadata":{"roleHeading":"Type Method","externalID":"s:11PlaydateKit0A0O6SystemO11clearICacheyyFZ","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"clearICache","kind":"identifier"},{"text":"()","kind":"text"}],"role":"symbol","symbolKind":"method","modules":[{"name":"PlaydateKit"}],"title":"clearICache()"},"abstract":[{"text":"Flush the CPU instruction cache, on the very unlikely chance you’re modifying instruction code on the fly.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"(If you don’t know what I’m talking about, you don’t need this. :smile:)"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/system\/clearicache()"]}],"sections":[],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"]]},"schemaVersion":{"minor":3,"major":0,"patch":0},"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"clearICache","kind":"identifier"},{"text":"()","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/clearICache()":{"abstract":[{"type":"text","text":"Flush the CPU instruction cache, on the very unlikely chance you’re modifying instruction code on the fly."},{"type":"text","text":" "},{"type":"text","text":"(If you don’t know what I’m talking about, you don’t need this. :smile:)"}],"role":"symbol","kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/system\/clearicache()","title":"clearICache()","type":"topic","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"clearICache","kind":"identifier"},{"text":"()","kind":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/clearICache()"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/convertdatetimetoepoch(_:).json b/docs/data/documentation/playdatekit/playdate/system/convertdatetimetoepoch(_:).json new file mode 100644 index 00000000..5247d864 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/convertdatetimetoepoch(_:).json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/convertDateTimeToEpoch(_:)","interfaceLanguage":"swift"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"convertDateTimeToEpoch"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"text":"dateTime","kind":"internalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O6SystemO8DateTimea","text":"DateTime","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/DateTime"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s12CUnsignedInta","text":"CUnsignedInt"}],"languages":["swift"]}]}],"metadata":{"title":"convertDateTimeToEpoch(_:)","modules":[{"name":"PlaydateKit"}],"roleHeading":"Type Method","role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"convertDateTimeToEpoch","kind":"identifier"},{"text":"(","kind":"text"},{"text":"DateTime","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O6SystemO8DateTimea"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:s12CUnsignedInta","text":"CUnsignedInt","kind":"typeIdentifier"}],"externalID":"s:11PlaydateKit0A0O6SystemO22convertDateTimeToEpochys6UInt32VSo06PDDateF0VFZ","symbolKind":"method"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/system\/convertdatetimetoepoch(_:)"]}],"kind":"symbol","schemaVersion":{"patch":0,"minor":3,"major":0},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"]]},"sections":[],"abstract":[{"type":"text","text":"Converts the given PDDateTime to an epoch time."}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/DateTime":{"url":"\/documentation\/playdatekit\/playdate\/system\/datetime","fragments":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"text":"DateTime","kind":"identifier"}],"navigatorTitle":[{"text":"DateTime","kind":"identifier"}],"abstract":[],"title":"Playdate.System.DateTime","role":"symbol","kind":"symbol","type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/DateTime"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/convertDateTimeToEpoch(_:)":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/convertDateTimeToEpoch(_:)","type":"topic","abstract":[{"type":"text","text":"Converts the given PDDateTime to an epoch time."}],"title":"convertDateTimeToEpoch(_:)","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"convertDateTimeToEpoch","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O6SystemO8DateTimea","text":"DateTime"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s12CUnsignedInta","text":"CUnsignedInt"}],"role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system\/convertdatetimetoepoch(_:)","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/convertepochtodatetime(_:).json b/docs/data/documentation/playdatekit/playdate/system/convertepochtodatetime(_:).json new file mode 100644 index 00000000..573becf0 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/convertepochtodatetime(_:).json @@ -0,0 +1 @@ +{"schemaVersion":{"minor":3,"major":0,"patch":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/convertEpochToDateTime(_:)"},"sections":[],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/system\/convertepochtodatetime(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"symbolKind":"method","externalID":"s:11PlaydateKit0A0O6SystemO22convertEpochToDateTimeySo06PDDateH0Vs6UInt32VFZ","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"convertEpochToDateTime","kind":"identifier"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:s12CUnsignedInta","text":"CUnsignedInt"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","text":"DateTime","preciseIdentifier":"s:11PlaydateKit0A0O6SystemO8DateTimea"}],"roleHeading":"Type Method","role":"symbol","title":"convertEpochToDateTime(_:)","modules":[{"name":"PlaydateKit"}]},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"]]},"abstract":[{"text":"Converts the given epoch time to a DateTime.","type":"text"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"convertEpochToDateTime"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"epoch"},{"text":": ","kind":"text"},{"text":"CUnsignedInt","kind":"typeIdentifier","preciseIdentifier":"s:s12CUnsignedInta"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O6SystemO8DateTimea","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/DateTime","text":"DateTime"}],"platforms":["macOS"]}]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/convertEpochToDateTime(_:)":{"type":"topic","title":"convertEpochToDateTime(_:)","abstract":[{"text":"Converts the given epoch time to a DateTime.","type":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/convertEpochToDateTime(_:)","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"convertEpochToDateTime"},{"kind":"text","text":"("},{"preciseIdentifier":"s:s12CUnsignedInta","kind":"typeIdentifier","text":"CUnsignedInt"},{"text":") -> ","kind":"text"},{"text":"DateTime","preciseIdentifier":"s:11PlaydateKit0A0O6SystemO8DateTimea","kind":"typeIdentifier"}],"role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system\/convertepochtodatetime(_:)","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/DateTime":{"url":"\/documentation\/playdatekit\/playdate\/system\/datetime","fragments":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"text":"DateTime","kind":"identifier"}],"navigatorTitle":[{"text":"DateTime","kind":"identifier"}],"abstract":[],"title":"Playdate.System.DateTime","role":"symbol","kind":"symbol","type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/DateTime"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/crankangle.json b/docs/data/documentation/playdatekit/playdate/system/crankangle.json new file mode 100644 index 00000000..660ed6b7 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/crankangle.json @@ -0,0 +1 @@ +{"metadata":{"roleHeading":"Type Property","externalID":"s:11PlaydateKit0A0O6SystemO10crankAngleSfvpZ","symbolKind":"property","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"crankAngle","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sf","kind":"typeIdentifier","text":"Float"}],"modules":[{"name":"PlaydateKit"}],"title":"crankAngle","role":"symbol"},"sections":[],"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"crankAngle"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Float","preciseIdentifier":"s:Sf"},{"text":" { ","kind":"text"},{"kind":"keyword","text":"get"},{"kind":"text","text":" }"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/system\/crankangle"]}],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/crankAngle","interfaceLanguage":"swift"},"schemaVersion":{"major":0,"minor":3,"patch":0},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"]]},"abstract":[{"type":"text","text":"Returns the current position of the crank, in the range 0-360. Zero is pointing up, and the"},{"type":"text","text":" "},{"type":"text","text":"value increases as the crank moves clockwise, as viewed from the right side of the device."}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/crankAngle":{"abstract":[{"type":"text","text":"Returns the current position of the crank, in the range 0-360. Zero is pointing up, and the"},{"type":"text","text":" "},{"text":"value increases as the crank moves clockwise, as viewed from the right side of the device.","type":"text"}],"role":"symbol","kind":"symbol","title":"crankAngle","type":"topic","url":"\/documentation\/playdatekit\/playdate\/system\/crankangle","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/crankAngle","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"crankAngle"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sf","text":"Float"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/crankchange.json b/docs/data/documentation/playdatekit/playdate/system/crankchange.json new file mode 100644 index 00000000..20985634 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/crankchange.json @@ -0,0 +1 @@ +{"abstract":[{"type":"text","text":"Returns the angle change of the crank since the last time this function was called."},{"type":"text","text":" "},{"type":"text","text":"Negative values are anti-clockwise."}],"schemaVersion":{"patch":0,"minor":3,"major":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/crankChange"},"kind":"symbol","primaryContentSections":[{"declarations":[{"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"crankChange","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Float","preciseIdentifier":"s:Sf","kind":"typeIdentifier"},{"kind":"text","text":" { "},{"text":"get","kind":"keyword"},{"text":" }","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"metadata":{"role":"symbol","roleHeading":"Type Property","title":"crankChange","symbolKind":"property","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"crankChange"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sf","text":"Float"}],"externalID":"s:11PlaydateKit0A0O6SystemO11crankChangeSfvpZ","modules":[{"name":"PlaydateKit"}]},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"]]},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/system\/crankchange"]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/crankChange":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/crankChange","type":"topic","title":"crankChange","url":"\/documentation\/playdatekit\/playdate\/system\/crankchange","kind":"symbol","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"crankChange","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Float","preciseIdentifier":"s:Sf"}],"abstract":[{"text":"Returns the angle change of the crank since the last time this function was called.","type":"text"},{"type":"text","text":" "},{"text":"Negative values are anti-clockwise.","type":"text"}],"role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/currenttimemilliseconds.json b/docs/data/documentation/playdatekit/playdate/system/currenttimemilliseconds.json new file mode 100644 index 00000000..d6612389 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/currenttimemilliseconds.json @@ -0,0 +1 @@ +{"abstract":[{"type":"text","text":"Returns the number of milliseconds since…​some arbitrary point in time."}],"kind":"symbol","metadata":{"externalID":"s:11PlaydateKit0A0O6SystemO23currentTimeMillisecondss6UInt32VvpZ","title":"currentTimeMilliseconds","symbolKind":"property","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"currentTimeMilliseconds"},{"text":": ","kind":"text"},{"text":"CUnsignedInt","kind":"typeIdentifier","preciseIdentifier":"s:s12CUnsignedInta"}],"role":"symbol","modules":[{"name":"PlaydateKit"}],"roleHeading":"Type Property"},"schemaVersion":{"patch":0,"major":0,"minor":3},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/currentTimeMilliseconds","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"]]},"sections":[],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/system\/currenttimemilliseconds"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"currentTimeMilliseconds"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s12CUnsignedInta","text":"CUnsignedInt"},{"kind":"text","text":" { "},{"text":"get","kind":"keyword"},{"kind":"text","text":" }"}]}],"kind":"declarations"},{"kind":"content","content":[{"level":2,"type":"heading","text":"Discussion","anchor":"discussion"},{"inlineContent":[{"text":"This should present a consistent timebase while a game is running,","type":"text"},{"text":" ","type":"text"},{"text":"but the counter will be disabled when the device is sleeping.","type":"text"}],"type":"paragraph"}]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/currentTimeMilliseconds":{"url":"\/documentation\/playdatekit\/playdate\/system\/currenttimemilliseconds","kind":"symbol","abstract":[{"type":"text","text":"Returns the number of milliseconds since…​some arbitrary point in time."}],"title":"currentTimeMilliseconds","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/currentTimeMilliseconds","role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"currentTimeMilliseconds","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:s12CUnsignedInta","text":"CUnsignedInt"}],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/datetime.json b/docs/data/documentation/playdatekit/playdate/system/datetime.json new file mode 100644 index 00000000..34a5df51 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/datetime.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/DateTime","interfaceLanguage":"swift"},"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"text":"DateTime","kind":"identifier"},{"kind":"text","text":" = "},{"text":"PDDateTime","kind":"typeIdentifier","preciseIdentifier":"c:@S@PDDateTime"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"metadata":{"title":"Playdate.System.DateTime","symbolKind":"typealias","roleHeading":"Type Alias","role":"symbol","modules":[{"name":"PlaydateKit"}],"fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"text":"DateTime","kind":"identifier"}],"navigatorTitle":[{"text":"DateTime","kind":"identifier"}],"externalID":"s:11PlaydateKit0A0O6SystemO8DateTimea"},"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/system\/datetime"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","schemaVersion":{"major":0,"patch":0,"minor":3},"sections":[],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"]]},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/DateTime":{"url":"\/documentation\/playdatekit\/playdate\/system\/datetime","fragments":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"text":"DateTime","kind":"identifier"}],"navigatorTitle":[{"text":"DateTime","kind":"identifier"}],"abstract":[],"title":"Playdate.System.DateTime","role":"symbol","kind":"symbol","type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/DateTime"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/drawfps(x:y:).json b/docs/data/documentation/playdatekit/playdate/system/drawfps(x:y:).json new file mode 100644 index 00000000..0c4ae86f --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/drawfps(x:y:).json @@ -0,0 +1 @@ +{"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"drawFPS"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"x"},{"text":": ","kind":"text"},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"kind":"text","text":" = 0, "},{"text":"y","kind":"externalParam"},{"kind":"text","text":": "},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"text":" = 0)","kind":"text"}]}],"kind":"declarations"}],"schemaVersion":{"minor":3,"major":0,"patch":0},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"]]},"metadata":{"modules":[{"name":"PlaydateKit"}],"role":"symbol","title":"drawFPS(x:y:)","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"drawFPS","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"x"},{"text":": ","kind":"text"},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"y","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"kind":"text","text":")"}],"roleHeading":"Type Method","symbolKind":"method","externalID":"s:11PlaydateKit0A0O6SystemO7drawFPS1x1yys5Int32V_AJtFZ"},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/drawFPS(x:y:)"},"abstract":[{"type":"text","text":"Calculates the current frames per second and draws that value at "},{"type":"codeVoice","code":"x"},{"type":"text","text":", "},{"type":"codeVoice","code":"y"},{"text":".","type":"text"}],"sections":[],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/system\/drawfps(x:y:)"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/drawFPS(x:y:)":{"url":"\/documentation\/playdatekit\/playdate\/system\/drawfps(x:y:)","kind":"symbol","abstract":[{"type":"text","text":"Calculates the current frames per second and draws that value at "},{"code":"x","type":"codeVoice"},{"type":"text","text":", "},{"code":"y","type":"codeVoice"},{"type":"text","text":"."}],"title":"drawFPS(x:y:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/drawFPS(x:y:)","role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"drawFPS","kind":"identifier"},{"kind":"text","text":"("},{"text":"x","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"y"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"kind":"text","text":")"}],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/elapsedtime.json b/docs/data/documentation/playdatekit/playdate/system/elapsedtime.json new file mode 100644 index 00000000..5cae4189 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/elapsedtime.json @@ -0,0 +1 @@ +{"metadata":{"modules":[{"name":"PlaydateKit"}],"title":"elapsedTime","role":"symbol","externalID":"s:11PlaydateKit0A0O6SystemO11elapsedTimeSfvpZ","symbolKind":"property","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"elapsedTime","kind":"identifier"},{"kind":"text","text":": "},{"text":"Float","kind":"typeIdentifier","preciseIdentifier":"s:Sf"}],"roleHeading":"Type Property"},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/elapsedTime","interfaceLanguage":"swift"},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"elapsedTime"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Float","preciseIdentifier":"s:Sf"},{"text":" { ","kind":"text"},{"text":"get","kind":"keyword"},{"text":" }","kind":"text"}]}],"kind":"declarations"}],"sections":[],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/system\/elapsedtime"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"]]},"abstract":[{"type":"text","text":"Returns the number of seconds since "},{"code":"playdate.resetElapsedTime()","type":"codeVoice"},{"type":"text","text":" was called."},{"type":"text","text":" "},{"type":"text","text":"The value is a floating-point number with microsecond accuracy."}],"kind":"symbol","schemaVersion":{"patch":0,"minor":3,"major":0},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/elapsedTime":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/elapsedTime","type":"topic","title":"elapsedTime","url":"\/documentation\/playdatekit\/playdate\/system\/elapsedtime","kind":"symbol","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"elapsedTime"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Float","preciseIdentifier":"s:Sf"}],"abstract":[{"text":"Returns the number of seconds since ","type":"text"},{"type":"codeVoice","code":"playdate.resetElapsedTime()"},{"type":"text","text":" was called."},{"type":"text","text":" "},{"type":"text","text":"The value is a floating-point number with microsecond accuracy."}],"role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/error(_:)-1qzf1.json b/docs/data/documentation/playdatekit/playdate/system/error(_:)-1qzf1.json new file mode 100644 index 00000000..1007d0ba --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/error(_:)-1qzf1.json @@ -0,0 +1 @@ +{"schemaVersion":{"minor":3,"patch":0,"major":0},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/error(_:)-1qzf1","interfaceLanguage":"swift"},"sections":[],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/system\/error(_:)-1qzf1"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"symbolKind":"method","externalID":"s:11PlaydateKit0A0O6SystemO5erroryys12StaticStringVFZ","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"error"},{"kind":"text","text":"("},{"preciseIdentifier":"s:s12StaticStringV","kind":"typeIdentifier","text":"StaticString"},{"text":")","kind":"text"}],"roleHeading":"Type Method","role":"symbol","title":"error(_:)","modules":[{"name":"PlaydateKit"}]},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"]]},"abstract":[{"type":"text","text":"Calls the log function, outputting an error in red to the console, then pauses execution."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"error"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"error"},{"kind":"text","text":": "},{"text":"StaticString","preciseIdentifier":"s:s12StaticStringV","kind":"typeIdentifier"},{"text":")","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/error(_:)-1qzf1":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/error(_:)-1qzf1","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system\/error(_:)-1qzf1","kind":"symbol","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"error"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"StaticString","preciseIdentifier":"s:s12StaticStringV"},{"text":")","kind":"text"}],"title":"error(_:)","type":"topic","abstract":[{"type":"text","text":"Calls the log function, outputting an error in red to the console, then pauses execution."}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/error(_:)-376ql.json b/docs/data/documentation/playdatekit/playdate/system/error(_:)-376ql.json new file mode 100644 index 00000000..43bf440a --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/error(_:)-376ql.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/error(_:)-376ql","interfaceLanguage":"swift"},"metadata":{"modules":[{"name":"PlaydateKit"}],"externalID":"s:11PlaydateKit0A0O6SystemO5erroryyAC5ErrorVFZ","roleHeading":"Type Method","role":"symbol","title":"error(_:)","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"error","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","text":"Error"},{"text":")","kind":"text"}],"symbolKind":"method"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/system\/error(_:)-376ql"]}],"abstract":[{"type":"text","text":"Calls the log function, outputting an error in red to the console, then pauses execution."}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"]]},"kind":"symbol","schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"error","kind":"identifier"},{"kind":"text","text":"("},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"kind":"internalParam","text":"error"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","kind":"typeIdentifier","text":"Error","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV"},{"kind":"text","text":")"}],"platforms":["macOS"]}],"kind":"declarations"}],"references":{"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/error(_:)-376ql":{"abstract":[{"text":"Calls the log function, outputting an error in red to the console, then pauses execution.","type":"text"}],"role":"symbol","kind":"symbol","title":"error(_:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/error(_:)-376ql","url":"\/documentation\/playdatekit\/playdate\/system\/error(_:)-376ql","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"error"},{"kind":"text","text":"("},{"text":"Error","preciseIdentifier":"s:11PlaydateKit0A0O5ErrorV","kind":"typeIdentifier"},{"kind":"text","text":")"}],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Error":{"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"Error","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Error"}],"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/error","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Error","title":"Playdate.Error","role":"symbol","type":"topic","abstract":[]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/error(_:)-7ut9u.json b/docs/data/documentation/playdatekit/playdate/system/error(_:)-7ut9u.json new file mode 100644 index 00000000..d73044f4 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/error(_:)-7ut9u.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"error"},{"text":"(","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"error","kind":"internalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SP","kind":"typeIdentifier","text":"UnsafePointer"},{"text":"<","kind":"text"},{"text":"CChar","kind":"typeIdentifier","preciseIdentifier":"s:s5CChara"},{"kind":"text","text":">?)"}]}]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"]]},"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/system\/error(_:)-7ut9u"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","metadata":{"modules":[{"name":"PlaydateKit"}],"roleHeading":"Type Method","symbolKind":"method","role":"symbol","title":"error(_:)","externalID":"s:11PlaydateKit0A0O6SystemO5erroryySPys4Int8VGSgFZ","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"error","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"s:SP","text":"UnsafePointer","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","preciseIdentifier":"s:s5CChara","text":"CChar"},{"kind":"text","text":">?)"}]},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/error(_:)-7ut9u","interfaceLanguage":"swift"},"schemaVersion":{"patch":0,"major":0,"minor":3},"sections":[],"abstract":[{"type":"text","text":"Calls the log function, outputting an error in red to the console, then pauses execution."}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/error(_:)-7ut9u":{"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"error","kind":"identifier"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:SP","text":"UnsafePointer","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"text":"CChar","preciseIdentifier":"s:s5CChara","kind":"typeIdentifier"},{"kind":"text","text":">?)"}],"url":"\/documentation\/playdatekit\/playdate\/system\/error(_:)-7ut9u","kind":"symbol","abstract":[{"text":"Calls the log function, outputting an error in red to the console, then pauses execution.","type":"text"}],"title":"error(_:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/error(_:)-7ut9u","type":"topic","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/event.json b/docs/data/documentation/playdatekit/playdate/system/event.json new file mode 100644 index 00000000..a800e063 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/event.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/Event","interfaceLanguage":"swift"},"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/system\/event"]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"]]},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"text":"Event","kind":"identifier"},{"kind":"text","text":" = "},{"text":"PDSystemEvent","preciseIdentifier":"c:@EA@PDSystemEvent","kind":"typeIdentifier"}]}],"kind":"declarations"}],"metadata":{"modules":[{"name":"PlaydateKit"}],"externalID":"s:11PlaydateKit0A0O6SystemO5Eventa","symbolKind":"typealias","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Event"}],"roleHeading":"Type Alias","navigatorTitle":[{"kind":"identifier","text":"Event"}],"role":"symbol","title":"Playdate.System.Event"},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/Event":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/Event","url":"\/documentation\/playdatekit\/playdate\/system\/event","abstract":[],"type":"topic","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Event"}],"navigatorTitle":[{"kind":"identifier","text":"Event"}],"kind":"symbol","title":"Playdate.System.Event","role":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/flipped.json b/docs/data/documentation/playdatekit/playdate/system/flipped.json new file mode 100644 index 00000000..95df259e --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/flipped.json @@ -0,0 +1 @@ +{"kind":"symbol","abstract":[{"type":"text","text":"Returns true if the global “flipped” system setting is set, otherwise false."}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/system\/flipped"]}],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/flipped","interfaceLanguage":"swift"},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"flipped","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":" { "},{"kind":"keyword","text":"get"},{"text":" }","kind":"text"}],"platforms":["macOS"]}]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"]]},"sections":[],"metadata":{"externalID":"s:11PlaydateKit0A0O6SystemO7flippedSbvpZ","role":"symbol","title":"flipped","modules":[{"name":"PlaydateKit"}],"roleHeading":"Type Property","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"flipped","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"}],"symbolKind":"property"},"schemaVersion":{"major":0,"patch":0,"minor":3},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/flipped":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/flipped","title":"flipped","abstract":[{"text":"Returns true if the global “flipped” system setting is set, otherwise false.","type":"text"}],"type":"topic","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"flipped"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system\/flipped","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/getsecondssinceepoch(_:).json b/docs/data/documentation/playdatekit/playdate/system/getsecondssinceepoch(_:).json new file mode 100644 index 00000000..c662cad9 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/getsecondssinceepoch(_:).json @@ -0,0 +1 @@ +{"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/system\/getsecondssinceepoch(_:)"]}],"schemaVersion":{"patch":0,"major":0,"minor":3},"sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"getSecondsSinceEpoch","kind":"identifier"},{"text":"(","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"epoch","kind":"internalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s12CUnsignedInta","text":"CUnsignedInt","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:s12CUnsignedInta","kind":"typeIdentifier","text":"CUnsignedInt"}]}]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"]]},"metadata":{"role":"symbol","symbolKind":"method","modules":[{"name":"PlaydateKit"}],"externalID":"s:11PlaydateKit0A0O6SystemO20getSecondsSinceEpochys6UInt32VAHFZ","roleHeading":"Type Method","title":"getSecondsSinceEpoch(_:)","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"getSecondsSinceEpoch","kind":"identifier"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:s12CUnsignedInta","text":"CUnsignedInt"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","text":"CUnsignedInt","preciseIdentifier":"s:s12CUnsignedInta"}]},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/getSecondsSinceEpoch(_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Returns the number of seconds (and sets milliseconds if not NULL) elapsed since midnight (hour 0), January 1, 2000."}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"System","kind":"identifier"}],"type":"topic","title":"Playdate.System","navigatorTitle":[{"text":"System","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/system","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","kind":"symbol","abstract":[]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/getSecondsSinceEpoch(_:)":{"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"getSecondsSinceEpoch","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"CUnsignedInt","preciseIdentifier":"s:s12CUnsignedInta"},{"text":") -> ","kind":"text"},{"text":"CUnsignedInt","kind":"typeIdentifier","preciseIdentifier":"s:s12CUnsignedInta"}],"abstract":[{"type":"text","text":"Returns the number of seconds (and sets milliseconds if not NULL) elapsed since midnight (hour 0), January 1, 2000."}],"title":"getSecondsSinceEpoch(_:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/getSecondsSinceEpoch(_:)","url":"\/documentation\/playdatekit\/playdate\/system\/getsecondssinceepoch(_:)","type":"topic","role":"symbol","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/iscrankdocked.json b/docs/data/documentation/playdatekit/playdate/system/iscrankdocked.json new file mode 100644 index 00000000..8b9469e0 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/iscrankdocked.json @@ -0,0 +1 @@ +{"metadata":{"symbolKind":"property","modules":[{"name":"PlaydateKit"}],"title":"isCrankDocked","role":"symbol","externalID":"s:11PlaydateKit0A0O6SystemO13isCrankDockedSbvpZ","roleHeading":"Type Property","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"isCrankDocked","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sb","kind":"typeIdentifier","text":"Bool"}]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/isCrankDocked"},"abstract":[{"text":"Returns true or false indicating whether or not the crank is folded into the unit.","type":"text"}],"schemaVersion":{"patch":0,"minor":3,"major":0},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"isCrankDocked"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"text":" { ","kind":"text"},{"text":"get","kind":"keyword"},{"text":" }","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/system\/iscrankdocked"]}],"kind":"symbol","sections":[],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/isCrankDocked":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/isCrankDocked","type":"topic","abstract":[{"type":"text","text":"Returns true or false indicating whether or not the crank is folded into the unit."}],"title":"isCrankDocked","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"isCrankDocked"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"}],"role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system\/iscrankdocked","kind":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/language-swift.type.property.json b/docs/data/documentation/playdatekit/playdate/system/language-swift.type.property.json new file mode 100644 index 00000000..d09bcf75 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/language-swift.type.property.json @@ -0,0 +1 @@ +{"kind":"symbol","metadata":{"role":"symbol","title":"language","externalID":"s:11PlaydateKit0A0O6SystemO8languageSo10PDLanguageavpZ","symbolKind":"property","modules":[{"name":"PlaydateKit"}],"roleHeading":"Type Property","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"language","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:11PlaydateKit0A0O6SystemO8Languagea","text":"Language","kind":"typeIdentifier"}]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/language-swift.type.property"},"schemaVersion":{"minor":3,"major":0,"patch":0},"abstract":[{"text":"Returns the current language of the system.","type":"text"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"language","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O6SystemO8Languagea","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/Language-swift.typealias","text":"Language"},{"text":" { ","kind":"text"},{"text":"get","kind":"keyword"},{"kind":"text","text":" }"}],"languages":["swift"],"platforms":["macOS"]}]}],"sections":[],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"]]},"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/system\/language-swift.type.property"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/Language-swift.typealias":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/Language-swift.typealias","type":"topic","title":"Playdate.System.Language","url":"\/documentation\/playdatekit\/playdate\/system\/language-swift.typealias","navigatorTitle":[{"kind":"identifier","text":"Language"}],"kind":"symbol","fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Language"}],"abstract":[],"role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/language-swift.type.property":{"role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"language","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Language","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O6SystemO8Languagea"}],"abstract":[{"text":"Returns the current language of the system.","type":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/language-swift.type.property","title":"language","type":"topic","kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/system\/language-swift.type.property"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/language-swift.typealias.json b/docs/data/documentation/playdatekit/playdate/system/language-swift.typealias.json new file mode 100644 index 00000000..a9a7ab9c --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/language-swift.typealias.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/Language-swift.typealias"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/system\/language-swift.typealias"]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Language"},{"kind":"text","text":" = "},{"kind":"typeIdentifier","preciseIdentifier":"c:@EA@PDLanguage","text":"PDLanguage"}],"platforms":["macOS"],"languages":["swift"]}]}],"kind":"symbol","sections":[],"metadata":{"modules":[{"name":"PlaydateKit"}],"fragments":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"text":"Language","kind":"identifier"}],"role":"symbol","externalID":"s:11PlaydateKit0A0O6SystemO8Languagea","roleHeading":"Type Alias","title":"Playdate.System.Language","symbolKind":"typealias","navigatorTitle":[{"kind":"identifier","text":"Language"}]},"schemaVersion":{"major":0,"minor":3,"patch":0},"references":{"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/Language-swift.typealias":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/Language-swift.typealias","type":"topic","title":"Playdate.System.Language","url":"\/documentation\/playdatekit\/playdate\/system\/language-swift.typealias","navigatorTitle":[{"kind":"identifier","text":"Language"}],"kind":"symbol","fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Language"}],"abstract":[],"role":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/log(_:)-4t2fc.json b/docs/data/documentation/playdatekit/playdate/system/log(_:)-4t2fc.json new file mode 100644 index 00000000..0e008f31 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/log(_:)-4t2fc.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/log(_:)-4t2fc","interfaceLanguage":"swift"},"kind":"symbol","sections":[],"schemaVersion":{"minor":3,"patch":0,"major":0},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/system\/log(_:)-4t2fc"]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"]]},"abstract":[{"text":"Calls the log function.","type":"text"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"log"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"text":"log","kind":"internalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UnsafePointer","preciseIdentifier":"s:SP"},{"text":"<","kind":"text"},{"text":"CChar","preciseIdentifier":"s:s5CChara","kind":"typeIdentifier"},{"kind":"text","text":">)"}]}]}],"metadata":{"externalID":"s:11PlaydateKit0A0O6SystemO3logyySPys4Int8VGFZ","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"log"},{"kind":"text","text":"("},{"text":"UnsafePointer","preciseIdentifier":"s:SP","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"preciseIdentifier":"s:s5CChara","kind":"typeIdentifier","text":"CChar"},{"kind":"text","text":">)"}],"title":"log(_:)","role":"symbol","roleHeading":"Type Method","modules":[{"name":"PlaydateKit"}],"symbolKind":"method"},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/log(_:)-4t2fc":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/log(_:)-4t2fc","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system\/log(_:)-4t2fc","kind":"symbol","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"log"},{"text":"(","kind":"text"},{"text":"UnsafePointer","kind":"typeIdentifier","preciseIdentifier":"s:SP"},{"kind":"text","text":"<"},{"text":"CChar","preciseIdentifier":"s:s5CChara","kind":"typeIdentifier"},{"text":">)","kind":"text"}],"title":"log(_:)","type":"topic","abstract":[{"type":"text","text":"Calls the log function."}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/log(_:)-4z6ae.json b/docs/data/documentation/playdatekit/playdate/system/log(_:)-4z6ae.json new file mode 100644 index 00000000..356175b4 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/log(_:)-4z6ae.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"]]},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/log(_:)-4z6ae","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/system\/log(_:)-4z6ae"]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"log","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"text":"log","kind":"internalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s12StaticStringV","text":"StaticString","kind":"typeIdentifier"},{"text":")","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}]}],"kind":"symbol","abstract":[{"text":"Calls the log function.","type":"text"}],"sections":[],"metadata":{"modules":[{"name":"PlaydateKit"}],"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"log","kind":"identifier"},{"kind":"text","text":"("},{"text":"StaticString","kind":"typeIdentifier","preciseIdentifier":"s:s12StaticStringV"},{"text":")","kind":"text"}],"role":"symbol","externalID":"s:11PlaydateKit0A0O6SystemO3logyys12StaticStringVFZ","roleHeading":"Type Method","title":"log(_:)","symbolKind":"method"},"schemaVersion":{"minor":3,"major":0,"patch":0},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/log(_:)-4z6ae":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/log(_:)-4z6ae","title":"log(_:)","abstract":[{"text":"Calls the log function.","type":"text"}],"type":"topic","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"log","kind":"identifier"},{"kind":"text","text":"("},{"text":"StaticString","kind":"typeIdentifier","preciseIdentifier":"s:s12StaticStringV"},{"text":")","kind":"text"}],"role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system\/log(_:)-4z6ae","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/menuitem.json b/docs/data/documentation/playdatekit/playdate/system/menuitem.json new file mode 100644 index 00000000..fd2e11ab --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/menuitem.json @@ -0,0 +1 @@ +{"schemaVersion":{"minor":3,"patch":0,"major":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/MenuItem"},"sections":[],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/system\/menuitem"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"externalID":"s:11PlaydateKit0A0O6SystemO8MenuItemV","title":"Playdate.System.MenuItem","symbolKind":"struct","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"MenuItem","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"MenuItem"}],"role":"symbol","roleHeading":"Structure","modules":[{"name":"PlaydateKit"}]},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"]]},"topicSections":[{"generated":true,"identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/MenuItem\/title","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/MenuItem\/userdata","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/MenuItem\/value"],"title":"Instance Properties"},{"generated":true,"title":"Instance Methods","identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/MenuItem\/setTitle(_:)"]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"MenuItem","kind":"identifier"}],"platforms":["macOS"]}]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/MenuItem/title":{"title":"title","type":"topic","abstract":[{"type":"text","text":"Gets\/sets the title of the menu item."}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/MenuItem\/title","url":"\/documentation\/playdatekit\/playdate\/system\/menuitem\/title","role":"symbol","kind":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"title","kind":"identifier"},{"text":": ","kind":"text"},{"text":"UnsafePointer","kind":"typeIdentifier","preciseIdentifier":"s:SP"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"CChar","preciseIdentifier":"s:s5CChara"},{"kind":"text","text":">"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/MenuItem/setTitle(_:)":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/MenuItem\/setTitle(_:)","url":"\/documentation\/playdatekit\/playdate\/system\/menuitem\/settitle(_:)","title":"setTitle(_:)","role":"symbol","type":"topic","kind":"symbol","abstract":[],"fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"setTitle","kind":"identifier"},{"kind":"text","text":"("},{"text":"StaticString","kind":"typeIdentifier","preciseIdentifier":"s:s12StaticStringV"},{"text":")","kind":"text"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/MenuItem/userdata":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/MenuItem\/userdata","title":"userdata","role":"symbol","abstract":[{"text":"Gets\/sets the userdata value associated with this menu item.","type":"text"}],"url":"\/documentation\/playdatekit\/playdate\/system\/menuitem\/userdata","kind":"symbol","type":"topic","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"userdata"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"UnsafeMutableRawPointer","preciseIdentifier":"s:Sv"},{"text":"?","kind":"text"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/MenuItem":{"navigatorTitle":[{"kind":"identifier","text":"MenuItem"}],"title":"Playdate.System.MenuItem","role":"symbol","abstract":[],"fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"MenuItem"}],"url":"\/documentation\/playdatekit\/playdate\/system\/menuitem","type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/MenuItem","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/MenuItem/value":{"abstract":[{"type":"text","text":"Gets\/sets the value of the menu item."}],"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/MenuItem\/value","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"value","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"}],"title":"value","type":"topic","url":"\/documentation\/playdatekit\/playdate\/system\/menuitem\/value","role":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/menuitem/settitle(_:).json b/docs/data/documentation/playdatekit/playdate/system/menuitem/settitle(_:).json new file mode 100644 index 00000000..8fab4d82 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/menuitem/settitle(_:).json @@ -0,0 +1 @@ +{"schemaVersion":{"major":0,"patch":0,"minor":3},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/MenuItem\/setTitle(_:)"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/system\/menuitem\/settitle(_:)"]}],"primaryContentSections":[{"declarations":[{"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"setTitle","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"text":"title","kind":"internalParam"},{"text":": ","kind":"text"},{"text":"StaticString","kind":"typeIdentifier","preciseIdentifier":"s:s12StaticStringV"},{"text":")","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"kind":"symbol","sections":[],"metadata":{"title":"setTitle(_:)","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"setTitle"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:s12StaticStringV","text":"StaticString","kind":"typeIdentifier"},{"kind":"text","text":")"}],"externalID":"s:11PlaydateKit0A0O6SystemO8MenuItemV8setTitleyys12StaticStringVF","symbolKind":"method","roleHeading":"Instance Method","role":"symbol","modules":[{"name":"PlaydateKit"}]},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/MenuItem"]]},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/MenuItem/setTitle(_:)":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/MenuItem\/setTitle(_:)","url":"\/documentation\/playdatekit\/playdate\/system\/menuitem\/settitle(_:)","title":"setTitle(_:)","role":"symbol","type":"topic","kind":"symbol","abstract":[],"fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"setTitle","kind":"identifier"},{"kind":"text","text":"("},{"text":"StaticString","kind":"typeIdentifier","preciseIdentifier":"s:s12StaticStringV"},{"text":")","kind":"text"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/MenuItem":{"navigatorTitle":[{"kind":"identifier","text":"MenuItem"}],"title":"Playdate.System.MenuItem","role":"symbol","abstract":[],"fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"MenuItem"}],"url":"\/documentation\/playdatekit\/playdate\/system\/menuitem","type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/MenuItem","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/menuitem/title.json b/docs/data/documentation/playdatekit/playdate/system/menuitem/title.json new file mode 100644 index 00000000..92471b58 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/menuitem/title.json @@ -0,0 +1 @@ +{"metadata":{"roleHeading":"Instance Property","title":"title","externalID":"s:11PlaydateKit0A0O6SystemO8MenuItemV5titleSPys4Int8VGvp","symbolKind":"property","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"title","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SP","text":"UnsafePointer","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"preciseIdentifier":"s:s5CChara","text":"CChar","kind":"typeIdentifier"},{"text":">","kind":"text"}],"role":"symbol","modules":[{"name":"PlaydateKit"}]},"sections":[],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/MenuItem"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/system\/menuitem\/title"]}],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/MenuItem\/title","interfaceLanguage":"swift"},"schemaVersion":{"patch":0,"minor":3,"major":0},"abstract":[{"text":"Gets\/sets the title of the menu item.","type":"text"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"title"},{"text":": ","kind":"text"},{"text":"UnsafePointer","kind":"typeIdentifier","preciseIdentifier":"s:SP"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"CChar","preciseIdentifier":"s:s5CChara"},{"text":"> { ","kind":"text"},{"kind":"keyword","text":"get"},{"kind":"text","text":" "},{"text":"set","kind":"keyword"},{"text":" }","kind":"text"}]}]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/MenuItem/title":{"title":"title","type":"topic","abstract":[{"type":"text","text":"Gets\/sets the title of the menu item."}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/MenuItem\/title","url":"\/documentation\/playdatekit\/playdate\/system\/menuitem\/title","role":"symbol","kind":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"title","kind":"identifier"},{"text":": ","kind":"text"},{"text":"UnsafePointer","kind":"typeIdentifier","preciseIdentifier":"s:SP"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"CChar","preciseIdentifier":"s:s5CChara"},{"kind":"text","text":">"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/MenuItem":{"navigatorTitle":[{"kind":"identifier","text":"MenuItem"}],"title":"Playdate.System.MenuItem","role":"symbol","abstract":[],"fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"MenuItem"}],"url":"\/documentation\/playdatekit\/playdate\/system\/menuitem","type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/MenuItem","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/menuitem/userdata.json b/docs/data/documentation/playdatekit/playdate/system/menuitem/userdata.json new file mode 100644 index 00000000..4b26eb3b --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/menuitem/userdata.json @@ -0,0 +1 @@ +{"schemaVersion":{"minor":3,"major":0,"patch":0},"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/system\/menuitem\/userdata"]}],"sections":[],"metadata":{"role":"symbol","symbolKind":"property","modules":[{"name":"PlaydateKit"}],"externalID":"s:11PlaydateKit0A0O6SystemO8MenuItemV8userdataSvSgvp","roleHeading":"Instance Property","title":"userdata","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"userdata"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sv","text":"UnsafeMutableRawPointer"},{"text":"?","kind":"text"}]},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/MenuItem"]]},"abstract":[{"text":"Gets\/sets the userdata value associated with this menu item.","type":"text"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"userdata","kind":"identifier"},{"kind":"text","text":": "},{"text":"UnsafeMutableRawPointer","preciseIdentifier":"s:Sv","kind":"typeIdentifier"},{"text":"? { ","kind":"text"},{"text":"get","kind":"keyword"},{"kind":"text","text":" "},{"text":"set","kind":"keyword"},{"kind":"text","text":" }"}]}]}],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/MenuItem\/userdata","interfaceLanguage":"swift"},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/MenuItem/userdata":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/MenuItem\/userdata","title":"userdata","role":"symbol","abstract":[{"text":"Gets\/sets the userdata value associated with this menu item.","type":"text"}],"url":"\/documentation\/playdatekit\/playdate\/system\/menuitem\/userdata","kind":"symbol","type":"topic","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"userdata"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"UnsafeMutableRawPointer","preciseIdentifier":"s:Sv"},{"text":"?","kind":"text"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/MenuItem":{"navigatorTitle":[{"kind":"identifier","text":"MenuItem"}],"title":"Playdate.System.MenuItem","role":"symbol","abstract":[],"fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"MenuItem"}],"url":"\/documentation\/playdatekit\/playdate\/system\/menuitem","type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/MenuItem","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/menuitem/value.json b/docs/data/documentation/playdatekit/playdate/system/menuitem/value.json new file mode 100644 index 00000000..a0a90c9b --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/menuitem/value.json @@ -0,0 +1 @@ +{"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/MenuItem\/value"},"schemaVersion":{"patch":0,"major":0,"minor":3},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/system\/menuitem\/value"]}],"metadata":{"externalID":"s:11PlaydateKit0A0O6SystemO8MenuItemV5values5Int32Vvp","title":"value","symbolKind":"property","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"value"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"}],"role":"symbol","modules":[{"name":"PlaydateKit"}],"roleHeading":"Instance Property"},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/MenuItem"]]},"abstract":[{"type":"text","text":"Gets\/sets the value of the menu item."}],"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"value"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","kind":"typeIdentifier","text":"CInt"},{"text":" { ","kind":"text"},{"text":"get","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"set"},{"kind":"text","text":" }"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"},{"content":[{"type":"heading","level":2,"text":"Discussion","anchor":"discussion"},{"type":"paragraph","inlineContent":[{"type":"text","text":"For checkmark menu items, 1 means checked, 0 unchecked."},{"text":" ","type":"text"},{"text":"For option menu items, the value indicates the array index of the currently selected option.","type":"text"}]}],"kind":"content"}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/MenuItem":{"navigatorTitle":[{"kind":"identifier","text":"MenuItem"}],"title":"Playdate.System.MenuItem","role":"symbol","abstract":[],"fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"MenuItem"}],"url":"\/documentation\/playdatekit\/playdate\/system\/menuitem","type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/MenuItem","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/MenuItem/value":{"abstract":[{"type":"text","text":"Gets\/sets the value of the menu item."}],"kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/MenuItem\/value","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"value","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"}],"title":"value","type":"topic","url":"\/documentation\/playdatekit\/playdate\/system\/menuitem\/value","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/peripherals.json b/docs/data/documentation/playdatekit/playdate/system/peripherals.json new file mode 100644 index 00000000..e46e54c3 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/peripherals.json @@ -0,0 +1 @@ +{"schemaVersion":{"patch":0,"major":0,"minor":3},"metadata":{"title":"Playdate.System.Peripherals","roleHeading":"Type Alias","symbolKind":"typealias","role":"symbol","modules":[{"name":"PlaydateKit"}],"fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"text":"Peripherals","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Peripherals"}],"externalID":"s:11PlaydateKit0A0O6SystemO11Peripheralsa"},"kind":"symbol","variants":[{"paths":["\/documentation\/playdatekit\/playdate\/system\/peripherals"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"]]},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/Peripherals","interfaceLanguage":"swift"},"sections":[],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Peripherals"},{"text":" = ","kind":"text"},{"preciseIdentifier":"c:@EA@PDPeripherals","text":"PDPeripherals","kind":"typeIdentifier"}]}],"kind":"declarations"}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/Peripherals":{"abstract":[],"navigatorTitle":[{"text":"Peripherals","kind":"identifier"}],"role":"symbol","title":"Playdate.System.Peripherals","kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/Peripherals","url":"\/documentation\/playdatekit\/playdate\/system\/peripherals","fragments":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"text":"Peripherals","kind":"identifier"}],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/realloc(pointer:size:).json b/docs/data/documentation/playdatekit/playdate/system/realloc(pointer:size:).json new file mode 100644 index 00000000..b3b87c1d --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/realloc(pointer:size:).json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"]]},"schemaVersion":{"major":0,"patch":0,"minor":3},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/realloc(pointer:size:)","interfaceLanguage":"swift"},"kind":"symbol","sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"@discardableResult","kind":"attribute"},{"kind":"text","text":" "},{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"realloc"},{"kind":"text","text":"("},{"text":"pointer","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sv","kind":"typeIdentifier","text":"UnsafeMutableRawPointer"},{"kind":"text","text":"?, "},{"text":"size","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sv","text":"UnsafeMutableRawPointer"}]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/system\/realloc(pointer:size:)"]}],"metadata":{"externalID":"s:11PlaydateKit0A0O6SystemO7realloc7pointer4sizeS2vSg_SitFZ","modules":[{"name":"PlaydateKit"}],"symbolKind":"method","title":"realloc(pointer:size:)","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"realloc"},{"kind":"text","text":"("},{"kind":"externalParam","text":"pointer"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sv","text":"UnsafeMutableRawPointer","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"size","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:Sv","kind":"typeIdentifier","text":"UnsafeMutableRawPointer"}],"roleHeading":"Type Method","role":"symbol"},"abstract":[{"type":"text","text":"Allocates heap space if "},{"type":"codeVoice","code":"pointer"},{"text":" is nil, else reallocates the given pointer. If ","type":"text"},{"type":"codeVoice","code":"size"},{"type":"text","text":" is zero, frees the given pointer."}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/realloc(pointer:size:)":{"title":"realloc(pointer:size:)","abstract":[{"type":"text","text":"Allocates heap space if "},{"code":"pointer","type":"codeVoice"},{"type":"text","text":" is nil, else reallocates the given pointer. If "},{"code":"size","type":"codeVoice"},{"text":" is zero, frees the given pointer.","type":"text"}],"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/system\/realloc(pointer:size:)","type":"topic","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/realloc(pointer:size:)","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"realloc"},{"text":"(","kind":"text"},{"text":"pointer","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UnsafeMutableRawPointer","kind":"typeIdentifier","preciseIdentifier":"s:Sv"},{"kind":"text","text":"?, "},{"text":"size","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"},{"kind":"text","text":") -> "},{"text":"UnsafeMutableRawPointer","preciseIdentifier":"s:Sv","kind":"typeIdentifier"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/reduceflashing.json b/docs/data/documentation/playdatekit/playdate/system/reduceflashing.json new file mode 100644 index 00000000..d61220b1 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/reduceflashing.json @@ -0,0 +1 @@ +{"schemaVersion":{"minor":3,"patch":0,"major":0},"kind":"symbol","identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/reduceFlashing","interfaceLanguage":"swift"},"sections":[],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"reduceFlashing","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"text":" { ","kind":"text"},{"kind":"keyword","text":"get"},{"text":" }","kind":"text"}],"languages":["swift"]}]}],"abstract":[{"text":"Returns true if the global “reduce flashing” system setting is set, otherwise false.","type":"text"}],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/system\/reduceflashing"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"role":"symbol","externalID":"s:11PlaydateKit0A0O6SystemO14reduceFlashingSbvpZ","roleHeading":"Type Property","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"reduceFlashing"},{"kind":"text","text":": "},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"title":"reduceFlashing","modules":[{"name":"PlaydateKit"}],"symbolKind":"property"},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/reduceFlashing":{"abstract":[{"text":"Returns true if the global “reduce flashing” system setting is set, otherwise false.","type":"text"}],"role":"symbol","kind":"symbol","title":"reduceFlashing","type":"topic","url":"\/documentation\/playdatekit\/playdate\/system\/reduceflashing","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/reduceFlashing","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"reduceFlashing"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/removeallmenuitems().json b/docs/data/documentation/playdatekit/playdate/system/removeallmenuitems().json new file mode 100644 index 00000000..460a9fd3 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/removeallmenuitems().json @@ -0,0 +1 @@ +{"schemaVersion":{"minor":3,"major":0,"patch":0},"metadata":{"title":"removeAllMenuItems()","symbolKind":"method","role":"symbol","modules":[{"name":"PlaydateKit"}],"roleHeading":"Type Method","externalID":"s:11PlaydateKit0A0O6SystemO18removeAllMenuItemsyyFZ","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"removeAllMenuItems"},{"text":"()","kind":"text"}]},"abstract":[{"type":"text","text":"Removes all custom menu items from the system menu."}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"]]},"kind":"symbol","sections":[],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"removeAllMenuItems"},{"text":"()","kind":"text"}],"languages":["swift"]}],"kind":"declarations"}],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/removeAllMenuItems()","interfaceLanguage":"swift"},"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/system\/removeallmenuitems()"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/removeAllMenuItems()":{"abstract":[{"type":"text","text":"Removes all custom menu items from the system menu."}],"role":"symbol","title":"removeAllMenuItems()","kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/removeAllMenuItems()","url":"\/documentation\/playdatekit\/playdate\/system\/removeallmenuitems()","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"removeAllMenuItems","kind":"identifier"},{"kind":"text","text":"()"}],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/removemenuitem(_:).json b/docs/data/documentation/playdatekit/playdate/system/removemenuitem(_:).json new file mode 100644 index 00000000..4bed734b --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/removemenuitem(_:).json @@ -0,0 +1 @@ +{"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"removeMenuItem"},{"text":"(","kind":"text"},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"text":"menuItem","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O6SystemO8MenuItemV","text":"MenuItem","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/MenuItem"},{"text":")","kind":"text"}],"platforms":["macOS"]}],"kind":"declarations"}],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/system\/removemenuitem(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"schemaVersion":{"minor":3,"major":0,"patch":0},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"]]},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/removeMenuItem(_:)","interfaceLanguage":"swift"},"metadata":{"title":"removeMenuItem(_:)","modules":[{"name":"PlaydateKit"}],"roleHeading":"Type Method","role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"removeMenuItem"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"MenuItem","preciseIdentifier":"s:11PlaydateKit0A0O6SystemO8MenuItemV"},{"kind":"text","text":")"}],"externalID":"s:11PlaydateKit0A0O6SystemO14removeMenuItemyyAE0eF0VFZ","symbolKind":"method"},"abstract":[{"text":"Removes the menu item from the system menu.","type":"text"}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/MenuItem":{"navigatorTitle":[{"kind":"identifier","text":"MenuItem"}],"title":"Playdate.System.MenuItem","role":"symbol","abstract":[],"fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"MenuItem"}],"url":"\/documentation\/playdatekit\/playdate\/system\/menuitem","type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/MenuItem","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/removeMenuItem(_:)":{"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"removeMenuItem"},{"text":"(","kind":"text"},{"text":"MenuItem","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O6SystemO8MenuItemV"},{"text":")","kind":"text"}],"abstract":[{"text":"Removes the menu item from the system menu.","type":"text"}],"title":"removeMenuItem(_:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/removeMenuItem(_:)","url":"\/documentation\/playdatekit\/playdate\/system\/removemenuitem(_:)","type":"topic","role":"symbol","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/resetelapsedtime().json b/docs/data/documentation/playdatekit/playdate/system/resetelapsedtime().json new file mode 100644 index 00000000..1dea04ea --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/resetelapsedtime().json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/system\/resetelapsedtime()"]}],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/resetElapsedTime()","interfaceLanguage":"swift"},"sections":[],"abstract":[{"type":"text","text":"Resets the high-resolution timer."}],"metadata":{"title":"resetElapsedTime()","roleHeading":"Type Method","symbolKind":"method","role":"symbol","modules":[{"name":"PlaydateKit"}],"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"resetElapsedTime"},{"text":"()","kind":"text"}],"externalID":"s:11PlaydateKit0A0O6SystemO16resetElapsedTimeyyFZ"},"kind":"symbol","schemaVersion":{"patch":0,"minor":3,"major":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"resetElapsedTime","kind":"identifier"},{"text":"()","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/resetElapsedTime()":{"type":"topic","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"resetElapsedTime","kind":"identifier"},{"kind":"text","text":"()"}],"role":"symbol","kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/resetElapsedTime()","abstract":[{"type":"text","text":"Resets the high-resolution timer."}],"url":"\/documentation\/playdatekit\/playdate\/system\/resetelapsedtime()","title":"resetElapsedTime()"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/setautolockdisabled(_:).json b/docs/data/documentation/playdatekit/playdate/system/setautolockdisabled(_:).json new file mode 100644 index 00000000..10f4f3e9 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/setautolockdisabled(_:).json @@ -0,0 +1 @@ +{"metadata":{"modules":[{"name":"PlaydateKit"}],"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"setAutoLockDisabled"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"kind":"text","text":")"}],"role":"symbol","externalID":"s:11PlaydateKit0A0O6SystemO19setAutoLockDisabledyySbFZ","roleHeading":"Type Method","title":"setAutoLockDisabled(_:)","symbolKind":"method"},"abstract":[{"text":"Disables or enables the 3 minute auto lock feature. When called, the timer is reset to 3 minutes.","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/system\/setautolockdisabled(_:)"]}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"setAutoLockDisabled","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"text":"disabled","kind":"internalParam"},{"text":": ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"text":")","kind":"text"}],"languages":["swift"]}],"kind":"declarations"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/setAutoLockDisabled(_:)"},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"]]},"schemaVersion":{"minor":3,"major":0,"patch":0},"sections":[],"kind":"symbol","references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/setAutoLockDisabled(_:)":{"abstract":[{"type":"text","text":"Disables or enables the 3 minute auto lock feature. When called, the timer is reset to 3 minutes."}],"role":"symbol","kind":"symbol","title":"setAutoLockDisabled(_:)","type":"topic","url":"\/documentation\/playdatekit\/playdate\/system\/setautolockdisabled(_:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/setAutoLockDisabled(_:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"setAutoLockDisabled"},{"kind":"text","text":"("},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"kind":"text","text":")"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/setbuttoncallback(callback:buttonuserdata:queuesize:).json b/docs/data/documentation/playdatekit/playdate/system/setbuttoncallback(callback:buttonuserdata:queuesize:).json new file mode 100644 index 00000000..fac3e263 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/setbuttoncallback(callback:buttonuserdata:queuesize:).json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/setButtonCallback(callback:buttonUserdata:queueSize:)"},"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/system\/setbuttoncallback(callback:buttonuserdata:queuesize:)"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"declarations":[{"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"setButtonCallback","kind":"identifier"},{"kind":"text","text":"("},{"text":"callback","kind":"externalParam"},{"kind":"text","text":": (("},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"button"},{"kind":"text","text":": "},{"preciseIdentifier":"s:11PlaydateKit0A0O6SystemO7Buttonsa","kind":"typeIdentifier","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/Buttons","text":"Buttons"},{"kind":"text","text":", "},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"text":"down","kind":"internalParam"},{"kind":"text","text":": "},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"text":"when","kind":"internalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s12CUnsignedInta","kind":"typeIdentifier","text":"CUnsignedInt"},{"kind":"text","text":", "},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"userdata"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sv","text":"UnsafeMutableRawPointer"},{"text":"?) -> ","kind":"text"},{"preciseIdentifier":"s:Sb","kind":"typeIdentifier","text":"Bool"},{"kind":"text","text":")?, "},{"text":"buttonUserdata","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UnsafeMutableRawPointer","kind":"typeIdentifier","preciseIdentifier":"s:Sv"},{"kind":"text","text":"? = nil, "},{"text":"queueSize","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":" = 5)","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"kind":"symbol","abstract":[{"type":"text","text":"As an alternative to polling for button presses using getButtonState(), this function allows a callback function to be set."},{"type":"text","text":" "},{"text":"The function is called for each button up\/down event (possibly multiple events on the same button) that occurred during","type":"text"},{"type":"text","text":" "},{"type":"text","text":"the previous update cycle. At the default 30 FPS, a queue size of 5 should be adequate. At lower frame rates\/longer frame times,"},{"text":" ","type":"text"},{"type":"text","text":"the queue size should be extended until all button presses are caught. The function should return true on success or false"},{"type":"text","text":" "},{"type":"text","text":"to signal an error."}],"sections":[],"schemaVersion":{"minor":3,"patch":0,"major":0},"metadata":{"modules":[{"name":"PlaydateKit"}],"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"setButtonCallback"},{"kind":"text","text":"("},{"kind":"externalParam","text":"callback"},{"kind":"text","text":": (("},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"text":"button","kind":"internalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Buttons","preciseIdentifier":"s:11PlaydateKit0A0O6SystemO7Buttonsa"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"down"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"kind":"text","text":", "},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"text":"when","kind":"internalParam"},{"kind":"text","text":": "},{"text":"CUnsignedInt","preciseIdentifier":"s:s12CUnsignedInta","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"userdata"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sv","text":"UnsafeMutableRawPointer"},{"text":"?) -> ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"text":")?, ","kind":"text"},{"text":"buttonUserdata","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sv","kind":"typeIdentifier","text":"UnsafeMutableRawPointer"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"queueSize"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"kind":"text","text":")"}],"role":"symbol","externalID":"s:11PlaydateKit0A0O6SystemO17setButtonCallback8callback14buttonUserdata9queueSizeySbSo9PDButtonsa_Sbs6UInt32VSvSgtcSg_ANs5Int32VtFZ","roleHeading":"Type Method","title":"setButtonCallback(callback:buttonUserdata:queueSize:)","symbolKind":"method"},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/setButtonCallback(callback:buttonUserdata:queueSize:)":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/setButtonCallback(callback:buttonUserdata:queueSize:)","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system\/setbuttoncallback(callback:buttonuserdata:queuesize:)","kind":"symbol","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"setButtonCallback","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"callback"},{"text":": ((","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"button","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O6SystemO7Buttonsa","text":"Buttons"},{"text":", ","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"down","kind":"internalParam"},{"kind":"text","text":": "},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"kind":"text","text":", "},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"text":"when","kind":"internalParam"},{"text":": ","kind":"text"},{"text":"CUnsignedInt","kind":"typeIdentifier","preciseIdentifier":"s:s12CUnsignedInta"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"userdata"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sv","text":"UnsafeMutableRawPointer"},{"kind":"text","text":"?) -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"kind":"text","text":")?, "},{"text":"buttonUserdata","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"UnsafeMutableRawPointer","preciseIdentifier":"s:Sv"},{"kind":"text","text":"?, "},{"text":"queueSize","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":")","kind":"text"}],"title":"setButtonCallback(callback:buttonUserdata:queueSize:)","type":"topic","abstract":[{"text":"As an alternative to polling for button presses using getButtonState(), this function allows a callback function to be set.","type":"text"},{"type":"text","text":" "},{"text":"The function is called for each button up\/down event (possibly multiple events on the same button) that occurred during","type":"text"},{"type":"text","text":" "},{"type":"text","text":"the previous update cycle. At the default 30 FPS, a queue size of 5 should be adequate. At lower frame rates\/longer frame times,"},{"text":" ","type":"text"},{"type":"text","text":"the queue size should be extended until all button presses are caught. The function should return true on success or false"},{"type":"text","text":" "},{"text":"to signal an error.","type":"text"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/Buttons":{"fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Buttons","kind":"identifier"}],"abstract":[],"title":"Playdate.System.Buttons","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/Buttons","url":"\/documentation\/playdatekit\/playdate\/system\/buttons","type":"topic","navigatorTitle":[{"text":"Buttons","kind":"identifier"}],"role":"symbol","kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/setcranksoundsdisabled(_:).json b/docs/data/documentation/playdatekit/playdate/system/setcranksoundsdisabled(_:).json new file mode 100644 index 00000000..e5f30818 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/setcranksoundsdisabled(_:).json @@ -0,0 +1 @@ +{"schemaVersion":{"minor":3,"major":0,"patch":0},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"setCrankSoundsDisabled","kind":"identifier"},{"text":"(","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"disabled","kind":"internalParam"},{"kind":"text","text":": "},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"}],"languages":["swift"]}],"kind":"declarations"}],"metadata":{"role":"symbol","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"setCrankSoundsDisabled","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"modules":[{"name":"PlaydateKit"}],"symbolKind":"method","externalID":"s:11PlaydateKit0A0O6SystemO22setCrankSoundsDisabledyS2bFZ","roleHeading":"Type Method","title":"setCrankSoundsDisabled(_:)"},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"]]},"abstract":[{"type":"text","text":"The function returns the previous value for this setting."}],"variants":[{"paths":["\/documentation\/playdatekit\/playdate\/system\/setcranksoundsdisabled(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","sections":[],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/setCrankSoundsDisabled(_:)","interfaceLanguage":"swift"},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/setCrankSoundsDisabled(_:)":{"role":"symbol","title":"setCrankSoundsDisabled(_:)","abstract":[{"type":"text","text":"The function returns the previous value for this setting."}],"type":"topic","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"setCrankSoundsDisabled","kind":"identifier"},{"kind":"text","text":"("},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:Sb","kind":"typeIdentifier","text":"Bool"}],"kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/system\/setcranksoundsdisabled(_:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/setCrankSoundsDisabled(_:)"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/setmenuimage(_:xoffset:).json b/docs/data/documentation/playdatekit/playdate/system/setmenuimage(_:xoffset:).json new file mode 100644 index 00000000..29aa341d --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/setmenuimage(_:xoffset:).json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/system\/setmenuimage(_:xoffset:)"]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"]]},"abstract":[{"type":"text","text":"Sets the menu image."}],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/setMenuImage(_:xOffset:)","interfaceLanguage":"swift"},"schemaVersion":{"patch":0,"minor":3,"major":0},"sections":[],"metadata":{"symbolKind":"method","modules":[{"name":"PlaydateKit"}],"role":"symbol","roleHeading":"Type Method","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"setMenuImage"},{"text":"(","kind":"text"},{"text":"Graphics","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO"},{"text":".","kind":"text"},{"text":"Bitmap","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"xOffset"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s4CInta","text":"CInt","kind":"typeIdentifier"},{"text":")","kind":"text"}],"externalID":"s:11PlaydateKit0A0O6SystemO12setMenuImage_7xOffsetyAC8GraphicsO6BitmapC_s5Int32VtFZ","title":"setMenuImage(_:xOffset:)"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"setMenuImage","kind":"identifier"},{"text":"(","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"bitmap","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO","text":"Graphics","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},{"text":".","kind":"text"},{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","text":"Bitmap","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"xOffset"},{"text":": ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"},{"kind":"text","text":" = 0)"}],"languages":["swift"]}]},{"content":[{"text":"Discussion","type":"heading","level":2,"anchor":"discussion"},{"type":"paragraph","inlineContent":[{"type":"text","text":"A game can optionally provide an image to be displayed alongside the system menu."},{"type":"text","text":" "},{"type":"text","text":"bitmap must be a 400x240 LCDBitmap. All important content should be in the left half of the image in an area 200 pixels wide,"},{"type":"text","text":" "},{"type":"text","text":"as the menu will obscure the rest. The right side of the image will be visible briefly as the menu animates in and out."}]},{"inlineContent":[{"type":"text","text":"Optionally, a non-zero xoffset, can be provided. This must be a number between 0 and 200 and will cause the menu image"},{"type":"text","text":" "},{"text":"to animate to a position offset left by xoffset pixels as the menu is animated in.","type":"text"}],"type":"paragraph"},{"inlineContent":[{"type":"text","text":"This function could be called in response to the kEventPause event in your implementation of eventHandler()."}],"type":"paragraph"}],"kind":"content"}],"kind":"symbol","references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/setMenuImage(_:xOffset:)":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/setMenuImage(_:xOffset:)","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system\/setmenuimage(_:xoffset:)","kind":"symbol","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"setMenuImage","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO","text":"Graphics","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O8GraphicsO6BitmapC","kind":"typeIdentifier","text":"Bitmap"},{"text":", ","kind":"text"},{"text":"xOffset","kind":"externalParam"},{"kind":"text","text":": "},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"},{"kind":"text","text":")"}],"title":"setMenuImage(_:xOffset:)","type":"topic","abstract":[{"type":"text","text":"Sets the menu image."}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics":{"kind":"symbol","type":"topic","abstract":[],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Graphics"}],"navigatorTitle":[{"text":"Graphics","kind":"identifier"}],"url":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Graphics/Bitmap":{"navigatorTitle":[{"text":"Bitmap","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Bitmap","kind":"identifier"}],"abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Graphics\/Bitmap","kind":"symbol","title":"Playdate.Graphics.Bitmap","url":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap","role":"symbol","type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/setserialmessagecallback(callback:).json b/docs/data/documentation/playdatekit/playdate/system/setserialmessagecallback(callback:).json new file mode 100644 index 00000000..d29e9528 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/setserialmessagecallback(callback:).json @@ -0,0 +1 @@ +{"schemaVersion":{"minor":3,"patch":0,"major":0},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/setSerialMessageCallback(callback:)","interfaceLanguage":"swift"},"abstract":[{"text":"Provides a callback to receive messages sent to the device over the serial port using the msg command.","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/system\/setserialmessagecallback(callback:)"]}],"metadata":{"role":"symbol","externalID":"s:11PlaydateKit0A0O6SystemO24setSerialMessageCallback8callbackyySPys4Int8VGSgXC_tFZ","roleHeading":"Type Method","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"setSerialMessageCallback"},{"text":"(","kind":"text"},{"text":"callback","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"@convention","kind":"attribute"},{"text":"(c) (","kind":"text"},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"message"},{"text":": ","kind":"text"},{"text":"UnsafePointer","preciseIdentifier":"s:SP","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"text":"CChar","kind":"typeIdentifier","preciseIdentifier":"s:s5CChara"},{"kind":"text","text":">?) -> "},{"text":"Void","preciseIdentifier":"s:s4Voida","kind":"typeIdentifier"},{"text":")","kind":"text"}],"title":"setSerialMessageCallback(callback:)","modules":[{"name":"PlaydateKit"}],"symbolKind":"method"},"sections":[],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"setSerialMessageCallback"},{"kind":"text","text":"("},{"text":"callback","kind":"externalParam"},{"kind":"text","text":": "},{"text":"@convention","kind":"attribute"},{"kind":"text","text":"(c) ("},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"message"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SP","text":"UnsafePointer"},{"kind":"text","text":"<"},{"preciseIdentifier":"s:s5CChara","text":"CChar","kind":"typeIdentifier"},{"text":">?) -> ","kind":"text"},{"text":"Void","kind":"typeIdentifier","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":")"}],"languages":["swift"]}]},{"content":[{"text":"Discussion","type":"heading","level":2,"anchor":"discussion"},{"inlineContent":[{"type":"text","text":"If no device is connected, you can send these messages to a game in the simulator by entering "},{"type":"codeVoice","code":"!msg "},{"text":" in the Lua console.","type":"text"}],"type":"paragraph"}],"kind":"content"}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"]]},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/setSerialMessageCallback(callback:)":{"role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"setSerialMessageCallback","kind":"identifier"},{"text":"(","kind":"text"},{"text":"callback","kind":"externalParam"},{"kind":"text","text":": "},{"text":"@convention","kind":"attribute"},{"text":"(c) (","kind":"text"},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"text":"message","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"UnsafePointer","preciseIdentifier":"s:SP"},{"text":"<","kind":"text"},{"text":"CChar","kind":"typeIdentifier","preciseIdentifier":"s:s5CChara"},{"text":">?) -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4Voida","text":"Void"},{"kind":"text","text":")"}],"abstract":[{"text":"Provides a callback to receive messages sent to the device over the serial port using the msg command.","type":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/setSerialMessageCallback(callback:)","title":"setSerialMessageCallback(callback:)","type":"topic","kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/system\/setserialmessagecallback(callback:)"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/shoulddisplay24hourtime.json b/docs/data/documentation/playdatekit/playdate/system/shoulddisplay24hourtime.json new file mode 100644 index 00000000..176a7550 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/shoulddisplay24hourtime.json @@ -0,0 +1 @@ +{"schemaVersion":{"patch":0,"minor":3,"major":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/shouldDisplay24HourTime"},"abstract":[{"text":"Returns true if the user has set the 24-Hour Time preference in the Settings program.","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/system\/shoulddisplay24hourtime"]}],"metadata":{"role":"symbol","externalID":"s:11PlaydateKit0A0O6SystemO23shouldDisplay24HourTimeSbvpZ","roleHeading":"Type Property","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"shouldDisplay24HourTime"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"}],"title":"shouldDisplay24HourTime","modules":[{"name":"PlaydateKit"}],"symbolKind":"property"},"sections":[],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"shouldDisplay24HourTime"},{"text":": ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"text":" { ","kind":"text"},{"text":"get","kind":"keyword"},{"text":" }","kind":"text"}],"platforms":["macOS"]}]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"]]},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/shouldDisplay24HourTime":{"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"shouldDisplay24HourTime"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"}],"abstract":[{"type":"text","text":"Returns true if the user has set the 24-Hour Time preference in the Settings program."}],"type":"topic","kind":"symbol","role":"symbol","title":"shouldDisplay24HourTime","url":"\/documentation\/playdatekit\/playdate\/system\/shoulddisplay24hourtime","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/shouldDisplay24HourTime"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/timezoneoffset.json b/docs/data/documentation/playdatekit/playdate/system/timezoneoffset.json new file mode 100644 index 00000000..1e442932 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/timezoneoffset.json @@ -0,0 +1 @@ +{"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/timezoneOffset"},"schemaVersion":{"minor":3,"patch":0,"major":0},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"]]},"sections":[],"abstract":[{"type":"text","text":"Returns the system timezone offset from GMT, in seconds."}],"metadata":{"modules":[{"name":"PlaydateKit"}],"fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"timezoneOffset","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"}],"role":"symbol","externalID":"s:11PlaydateKit0A0O6SystemO14timezoneOffsets5Int32VvpZ","roleHeading":"Type Property","title":"timezoneOffset","symbolKind":"property"},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"timezoneOffset"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"},{"text":" { ","kind":"text"},{"text":"get","kind":"keyword"},{"text":" }","kind":"text"}],"languages":["swift"]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/system\/timezoneoffset"]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/timezoneOffset":{"fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"timezoneOffset","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"}],"abstract":[{"type":"text","text":"Returns the system timezone offset from GMT, in seconds."}],"type":"topic","kind":"symbol","role":"symbol","title":"timezoneOffset","url":"\/documentation\/playdatekit\/playdate\/system\/timezoneoffset","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/timezoneOffset"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdate/system/updatecallback.json b/docs/data/documentation/playdatekit/playdate/system/updatecallback.json new file mode 100644 index 00000000..135b6f05 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdate/system/updatecallback.json @@ -0,0 +1 @@ +{"metadata":{"modules":[{"name":"PlaydateKit"}],"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"updateCallback","kind":"identifier"},{"text":": (() -> ","kind":"text"},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"},{"kind":"text","text":")?"}],"role":"symbol","externalID":"s:11PlaydateKit0A0O6SystemO14updateCallbackSbycSgvpZ","roleHeading":"Type Property","title":"updateCallback","symbolKind":"property"},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/updateCallback"},"sections":[],"kind":"symbol","schemaVersion":{"major":0,"minor":3,"patch":0},"abstract":[{"text":"A custom update function.","type":"text"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"nonisolated","kind":"attribute"},{"text":"(unsafe) ","kind":"text"},{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"updateCallback"},{"kind":"text","text":": (() -> "},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"text":")?","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}]},{"kind":"content","content":[{"text":"Discussion","level":2,"anchor":"discussion","type":"heading"},{"inlineContent":[{"type":"text","text":"The update function should return true to tell the system to update the display, or false if an update isn’t needed."}],"type":"paragraph"}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdate\/system\/updatecallback"]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/updateCallback":{"role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"updateCallback","kind":"identifier"},{"text":": (() -> ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"kind":"text","text":")?"}],"abstract":[{"text":"A custom update function.","type":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/updateCallback","title":"updateCallback","type":"topic","kind":"symbol","url":"\/documentation\/playdatekit\/playdate\/system\/updatecallback"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdategame.json b/docs/data/documentation/playdatekit/playdategame.json new file mode 100644 index 00000000..661dfddf --- /dev/null +++ b/docs/data/documentation/playdatekit/playdategame.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"text":"PlaydateGame","kind":"identifier"}],"platforms":["macOS"]}]}],"variants":[{"paths":["\/documentation\/playdatekit\/playdategame"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"schemaVersion":{"major":0,"minor":3,"patch":0},"topicSections":[{"generated":true,"title":"Initializers","identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/init()"]},{"identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/deviceDidUnlock()-3b5ai","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/deviceWillLock()-26xpv","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/deviceWillSleep()-1i4ad","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/gameWillPause()-185zs","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/gameWillResume()-1er7i","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/gameWillTerminate()-5qroh","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/handle(_:)","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/update()-873r0"],"generated":true,"title":"Instance Methods"}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit"]]},"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame"},"metadata":{"title":"PlaydateGame","modules":[{"name":"PlaydateKit"}],"navigatorTitle":[{"text":"PlaydateGame","kind":"identifier"}],"roleHeading":"Protocol","role":"symbol","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"PlaydateGame","kind":"identifier"}],"externalID":"s:11PlaydateKit0A4GameP","symbolKind":"protocol"},"references":{"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame/init()":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/init()","role":"symbol","url":"\/documentation\/playdatekit\/playdategame\/init()","kind":"symbol","required":true,"fragments":[{"text":"init","kind":"identifier"},{"text":"()","kind":"text"}],"title":"init()","type":"topic","abstract":[{"type":"text","text":"Called after loading pdex.bin into memory."}]},"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame/gameWillPause()-185zs":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/gameWillPause()-185zs","role":"symbol","defaultImplementations":1,"url":"\/documentation\/playdatekit\/playdategame\/gamewillpause()-185zs","kind":"symbol","required":true,"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"gameWillPause"},{"text":"()","kind":"text"}],"title":"gameWillPause()","type":"topic","abstract":[{"text":"Called before the system pauses the game. (In the current version of Playdate OS, this only happens when the","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"device’s Menu button is pushed.) Implementing these functions allows your game to take special action when it"},{"type":"text","text":" "},{"text":"is paused, e.g., updating the menu image.","type":"text"}]},"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame/update()-873r0":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/update()-873r0","role":"symbol","defaultImplementations":1,"url":"\/documentation\/playdatekit\/playdategame\/update()-873r0","kind":"symbol","required":true,"fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"update"},{"text":"() -> ","kind":"text"},{"preciseIdentifier":"s:Sb","kind":"typeIdentifier","text":"Bool"}],"title":"update()","type":"topic","abstract":[{"text":"Implement this callback and Playdate OS will call it once per frame. This is the place to put the main update-and-draw","type":"text"},{"type":"text","text":" "},{"text":"code for your game. Playdate will attempt to call this function by default 30 times per second; that value can be changed","type":"text"},{"type":"text","text":" "},{"text":"by changing ","type":"text"},{"code":"Playdate.Display.refreshRate","type":"codeVoice"},{"type":"text","text":"."},{"text":" ","type":"text"},{"type":"text","text":"The update function should return true to tell the system to update the display, or false if an update isn’t needed."}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame/gameWillResume()-1er7i":{"abstract":[{"type":"text","text":"Called before the system resumes the game."}],"role":"symbol","kind":"symbol","title":"gameWillResume()","type":"topic","url":"\/documentation\/playdatekit\/playdategame\/gamewillresume()-1er7i","required":true,"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/gameWillResume()-1er7i","defaultImplementations":1,"fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"gameWillResume"},{"kind":"text","text":"()"}]},"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame","role":"symbol","url":"\/documentation\/playdatekit\/playdategame","kind":"symbol","fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"text":"PlaydateGame","kind":"identifier"}],"title":"PlaydateGame","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"PlaydateGame"}]},"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame/deviceDidUnlock()-3b5ai":{"role":"symbol","defaultImplementations":1,"title":"deviceDidUnlock()","abstract":[{"type":"text","text":"If your game is running on the Playdate when the device is unlocked, this function will be called."}],"type":"topic","required":true,"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"deviceDidUnlock"},{"text":"()","kind":"text"}],"kind":"symbol","url":"\/documentation\/playdatekit\/playdategame\/devicedidunlock()-3b5ai","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/deviceDidUnlock()-3b5ai"},"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame/handle(_:)":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/handle(_:)","role":"symbol","url":"\/documentation\/playdatekit\/playdategame\/handle(_:)","kind":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"handle"},{"kind":"text","text":"("},{"preciseIdentifier":"s:11PlaydateKit0A0O","text":"Playdate","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"System","preciseIdentifier":"s:11PlaydateKit0A0O6SystemO","kind":"typeIdentifier"},{"kind":"text","text":"."},{"text":"Event","preciseIdentifier":"s:11PlaydateKit0A0O6SystemO5Eventa","kind":"typeIdentifier"},{"kind":"text","text":")"}],"title":"handle(_:)","type":"topic","abstract":[]},"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame/deviceWillLock()-26xpv":{"defaultImplementations":1,"type":"topic","title":"deviceWillLock()","url":"\/documentation\/playdatekit\/playdategame\/devicewilllock()-26xpv","abstract":[{"type":"text","text":"If your game is running on the Playdate when the device is locked, this function will be called. Implementing"},{"text":" ","type":"text"},{"text":"this function allows your game to take special action when the Playdate is locked, e.g., saving state.","type":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/deviceWillLock()-26xpv","required":true,"role":"symbol","kind":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"deviceWillLock"},{"kind":"text","text":"()"}]},"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame/gameWillTerminate()-5qroh":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/gameWillTerminate()-5qroh","url":"\/documentation\/playdatekit\/playdategame\/gamewillterminate()-5qroh","type":"topic","abstract":[{"text":"Called when the player chooses to exit the game via the System Menu or Menu button.","type":"text"}],"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"gameWillTerminate"},{"text":"()","kind":"text"}],"kind":"symbol","required":true,"defaultImplementations":1,"title":"gameWillTerminate()","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame/deviceWillSleep()-1i4ad":{"kind":"symbol","url":"\/documentation\/playdatekit\/playdategame\/devicewillsleep()-1i4ad","abstract":[{"type":"text","text":"Called before the device goes to low-power sleep mode because of a low battery."}],"title":"deviceWillSleep()","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/deviceWillSleep()-1i4ad","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"deviceWillSleep","kind":"identifier"},{"kind":"text","text":"()"}],"defaultImplementations":1,"type":"topic","required":true}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdategame/devicedidunlock()-1l3vt.json b/docs/data/documentation/playdatekit/playdategame/devicedidunlock()-1l3vt.json new file mode 100644 index 00000000..92fc5ee6 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdategame/devicedidunlock()-1l3vt.json @@ -0,0 +1 @@ +{"schemaVersion":{"minor":3,"major":0,"patch":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/deviceDidUnlock()-1l3vt"},"abstract":[{"type":"text","text":"If your game is running on the Playdate when the device is unlocked, this function will be called."}],"variants":[{"paths":["\/documentation\/playdatekit\/playdategame\/devicedidunlock()-1l3vt"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"role":"symbol","externalID":"s:11PlaydateKit0A4GamePAAE15deviceDidUnlockyyF","roleHeading":"Instance Method","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"deviceDidUnlock","kind":"identifier"},{"kind":"text","text":"()"}],"title":"deviceDidUnlock()","modules":[{"name":"PlaydateKit"}],"extendedModule":"PlaydateKit","symbolKind":"method"},"sections":[],"kind":"symbol","primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"deviceDidUnlock"},{"text":"()","kind":"text"}]}],"kind":"declarations"}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/deviceDidUnlock()-3b5ai"]]},"references":{"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame/deviceDidUnlock()-1l3vt":{"title":"deviceDidUnlock()","type":"topic","url":"\/documentation\/playdatekit\/playdategame\/devicedidunlock()-1l3vt","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"deviceDidUnlock","kind":"identifier"},{"kind":"text","text":"()"}],"role":"symbol","kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/deviceDidUnlock()-1l3vt","abstract":[{"type":"text","text":"If your game is running on the Playdate when the device is unlocked, this function will be called."}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame/deviceDidUnlock()-3b5ai":{"role":"symbol","defaultImplementations":1,"title":"deviceDidUnlock()","abstract":[{"type":"text","text":"If your game is running on the Playdate when the device is unlocked, this function will be called."}],"type":"topic","required":true,"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"deviceDidUnlock"},{"text":"()","kind":"text"}],"kind":"symbol","url":"\/documentation\/playdatekit\/playdategame\/devicedidunlock()-3b5ai","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/deviceDidUnlock()-3b5ai"},"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame","role":"symbol","url":"\/documentation\/playdatekit\/playdategame","kind":"symbol","fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"text":"PlaydateGame","kind":"identifier"}],"title":"PlaydateGame","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"PlaydateGame"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdategame/devicedidunlock()-3b5ai.json b/docs/data/documentation/playdatekit/playdategame/devicedidunlock()-3b5ai.json new file mode 100644 index 00000000..b64fb0d4 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdategame/devicedidunlock()-3b5ai.json @@ -0,0 +1 @@ +{"schemaVersion":{"minor":3,"major":0,"patch":0},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/deviceDidUnlock()-3b5ai","interfaceLanguage":"swift"},"sections":[],"variants":[{"paths":["\/documentation\/playdatekit\/playdategame\/devicedidunlock()-3b5ai"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"symbolKind":"method","externalID":"s:11PlaydateKit0A4GameP15deviceDidUnlockyyF","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"deviceDidUnlock","kind":"identifier"},{"kind":"text","text":"()"}],"required":true,"roleHeading":"Instance Method","role":"symbol","title":"deviceDidUnlock()","modules":[{"name":"PlaydateKit"}]},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame"]]},"abstract":[{"type":"text","text":"If your game is running on the Playdate when the device is unlocked, this function will be called."}],"defaultImplementationsSections":[{"title":"PlaydateGame Implementations","identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/deviceDidUnlock()-1l3vt"]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"deviceDidUnlock","kind":"identifier"},{"kind":"text","text":"()"}],"languages":["swift"],"platforms":["macOS"]}]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame/deviceDidUnlock()-3b5ai":{"role":"symbol","defaultImplementations":1,"title":"deviceDidUnlock()","abstract":[{"type":"text","text":"If your game is running on the Playdate when the device is unlocked, this function will be called."}],"type":"topic","required":true,"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"deviceDidUnlock"},{"text":"()","kind":"text"}],"kind":"symbol","url":"\/documentation\/playdatekit\/playdategame\/devicedidunlock()-3b5ai","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/deviceDidUnlock()-3b5ai"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame","role":"symbol","url":"\/documentation\/playdatekit\/playdategame","kind":"symbol","fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"text":"PlaydateGame","kind":"identifier"}],"title":"PlaydateGame","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"PlaydateGame"}]},"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame/deviceDidUnlock()-1l3vt":{"title":"deviceDidUnlock()","type":"topic","url":"\/documentation\/playdatekit\/playdategame\/devicedidunlock()-1l3vt","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"deviceDidUnlock","kind":"identifier"},{"kind":"text","text":"()"}],"role":"symbol","kind":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/deviceDidUnlock()-1l3vt","abstract":[{"type":"text","text":"If your game is running on the Playdate when the device is unlocked, this function will be called."}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdategame/devicewilllock()-26xpv.json b/docs/data/documentation/playdatekit/playdategame/devicewilllock()-26xpv.json new file mode 100644 index 00000000..dd26bbf3 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdategame/devicewilllock()-26xpv.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame"]]},"variants":[{"paths":["\/documentation\/playdatekit\/playdategame\/devicewilllock()-26xpv"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/deviceWillLock()-26xpv"},"metadata":{"title":"deviceWillLock()","symbolKind":"method","role":"symbol","roleHeading":"Instance Method","externalID":"s:11PlaydateKit0A4GameP14deviceWillLockyyF","required":true,"modules":[{"name":"PlaydateKit"}],"fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"deviceWillLock"},{"text":"()","kind":"text"}]},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"deviceWillLock"},{"text":"()","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}]}],"kind":"symbol","sections":[],"schemaVersion":{"minor":3,"major":0,"patch":0},"abstract":[{"type":"text","text":"If your game is running on the Playdate when the device is locked, this function will be called. Implementing"},{"type":"text","text":" "},{"text":"this function allows your game to take special action when the Playdate is locked, e.g., saving state.","type":"text"}],"defaultImplementationsSections":[{"identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/deviceWillLock()-49mit"],"title":"PlaydateGame Implementations"}],"references":{"doc://PlaydateKit/documentation/PlaydateKit":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"type":"text","text":"Create games for Playdate using Swift."}],"kind":"symbol","role":"collection","url":"\/documentation\/playdatekit","type":"topic","title":"PlaydateKit"},"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame","role":"symbol","url":"\/documentation\/playdatekit\/playdategame","kind":"symbol","fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"text":"PlaydateGame","kind":"identifier"}],"title":"PlaydateGame","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"PlaydateGame"}]},"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame/deviceWillLock()-26xpv":{"defaultImplementations":1,"type":"topic","title":"deviceWillLock()","url":"\/documentation\/playdatekit\/playdategame\/devicewilllock()-26xpv","abstract":[{"type":"text","text":"If your game is running on the Playdate when the device is locked, this function will be called. Implementing"},{"text":" ","type":"text"},{"text":"this function allows your game to take special action when the Playdate is locked, e.g., saving state.","type":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/deviceWillLock()-26xpv","required":true,"role":"symbol","kind":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"deviceWillLock"},{"kind":"text","text":"()"}]},"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame/deviceWillLock()-49mit":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/deviceWillLock()-49mit","role":"symbol","url":"\/documentation\/playdatekit\/playdategame\/devicewilllock()-49mit","kind":"symbol","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"deviceWillLock","kind":"identifier"},{"kind":"text","text":"()"}],"title":"deviceWillLock()","type":"topic","abstract":[{"text":"If your game is running on the Playdate when the device is locked, this function will be called. Implementing","type":"text"},{"type":"text","text":" "},{"text":"this function allows your game to take special action when the Playdate is locked, e.g., saving state.","type":"text"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdategame/devicewilllock()-49mit.json b/docs/data/documentation/playdatekit/playdategame/devicewilllock()-49mit.json new file mode 100644 index 00000000..0e8d40ea --- /dev/null +++ b/docs/data/documentation/playdatekit/playdategame/devicewilllock()-49mit.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"deviceWillLock"},{"kind":"text","text":"()"}],"platforms":["macOS"],"languages":["swift"]}]}],"kind":"symbol","abstract":[{"type":"text","text":"If your game is running on the Playdate when the device is locked, this function will be called. Implementing"},{"type":"text","text":" "},{"text":"this function allows your game to take special action when the Playdate is locked, e.g., saving state.","type":"text"}],"schemaVersion":{"major":0,"patch":0,"minor":3},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdategame\/devicewilllock()-49mit"]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/deviceWillLock()-49mit"},"sections":[],"metadata":{"modules":[{"name":"PlaydateKit"}],"extendedModule":"PlaydateKit","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"deviceWillLock","kind":"identifier"},{"text":"()","kind":"text"}],"role":"symbol","externalID":"s:11PlaydateKit0A4GamePAAE14deviceWillLockyyF","roleHeading":"Instance Method","title":"deviceWillLock()","symbolKind":"method"},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/deviceWillLock()-26xpv"]]},"references":{"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame/deviceWillLock()-49mit":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/deviceWillLock()-49mit","role":"symbol","url":"\/documentation\/playdatekit\/playdategame\/devicewilllock()-49mit","kind":"symbol","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"deviceWillLock","kind":"identifier"},{"kind":"text","text":"()"}],"title":"deviceWillLock()","type":"topic","abstract":[{"text":"If your game is running on the Playdate when the device is locked, this function will be called. Implementing","type":"text"},{"type":"text","text":" "},{"text":"this function allows your game to take special action when the Playdate is locked, e.g., saving state.","type":"text"}]},"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame","role":"symbol","url":"\/documentation\/playdatekit\/playdategame","kind":"symbol","fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"text":"PlaydateGame","kind":"identifier"}],"title":"PlaydateGame","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"PlaydateGame"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame/deviceWillLock()-26xpv":{"defaultImplementations":1,"type":"topic","title":"deviceWillLock()","url":"\/documentation\/playdatekit\/playdategame\/devicewilllock()-26xpv","abstract":[{"type":"text","text":"If your game is running on the Playdate when the device is locked, this function will be called. Implementing"},{"text":" ","type":"text"},{"text":"this function allows your game to take special action when the Playdate is locked, e.g., saving state.","type":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/deviceWillLock()-26xpv","required":true,"role":"symbol","kind":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"deviceWillLock"},{"kind":"text","text":"()"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdategame/devicewillsleep()-1i4ad.json b/docs/data/documentation/playdatekit/playdategame/devicewillsleep()-1i4ad.json new file mode 100644 index 00000000..703e021f --- /dev/null +++ b/docs/data/documentation/playdatekit/playdategame/devicewillsleep()-1i4ad.json @@ -0,0 +1 @@ +{"kind":"symbol","metadata":{"role":"symbol","symbolKind":"method","required":true,"modules":[{"name":"PlaydateKit"}],"externalID":"s:11PlaydateKit0A4GameP15deviceWillSleepyyF","title":"deviceWillSleep()","roleHeading":"Instance Method","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"deviceWillSleep","kind":"identifier"},{"text":"()","kind":"text"}]},"abstract":[{"text":"Called before the device goes to low-power sleep mode because of a low battery.","type":"text"}],"defaultImplementationsSections":[{"title":"PlaydateGame Implementations","identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/deviceWillSleep()-7hts3"]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdategame\/devicewillsleep()-1i4ad"]}],"schemaVersion":{"minor":3,"major":0,"patch":0},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame"]]},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/deviceWillSleep()-1i4ad","interfaceLanguage":"swift"},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"deviceWillSleep","kind":"identifier"},{"text":"()","kind":"text"}],"languages":["swift"]}],"kind":"declarations"}],"sections":[],"references":{"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame/deviceWillSleep()-7hts3":{"fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"deviceWillSleep"},{"text":"()","kind":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/deviceWillSleep()-7hts3","url":"\/documentation\/playdatekit\/playdategame\/devicewillsleep()-7hts3","abstract":[{"type":"text","text":"Called before the device goes to low-power sleep mode because of a low battery."}],"kind":"symbol","title":"deviceWillSleep()","type":"topic","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame","role":"symbol","url":"\/documentation\/playdatekit\/playdategame","kind":"symbol","fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"text":"PlaydateGame","kind":"identifier"}],"title":"PlaydateGame","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"PlaydateGame"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame/deviceWillSleep()-1i4ad":{"kind":"symbol","url":"\/documentation\/playdatekit\/playdategame\/devicewillsleep()-1i4ad","abstract":[{"type":"text","text":"Called before the device goes to low-power sleep mode because of a low battery."}],"title":"deviceWillSleep()","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/deviceWillSleep()-1i4ad","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"deviceWillSleep","kind":"identifier"},{"kind":"text","text":"()"}],"defaultImplementations":1,"type":"topic","required":true}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdategame/devicewillsleep()-7hts3.json b/docs/data/documentation/playdatekit/playdategame/devicewillsleep()-7hts3.json new file mode 100644 index 00000000..b015c820 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdategame/devicewillsleep()-7hts3.json @@ -0,0 +1 @@ +{"metadata":{"extendedModule":"PlaydateKit","role":"symbol","roleHeading":"Instance Method","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"deviceWillSleep"},{"kind":"text","text":"()"}],"symbolKind":"method","title":"deviceWillSleep()","modules":[{"name":"PlaydateKit"}],"externalID":"s:11PlaydateKit0A4GamePAAE15deviceWillSleepyyF"},"schemaVersion":{"major":0,"minor":3,"patch":0},"kind":"symbol","primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"deviceWillSleep"},{"text":"()","kind":"text"}]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdategame\/devicewillsleep()-7hts3"]}],"abstract":[{"text":"Called before the device goes to low-power sleep mode because of a low battery.","type":"text"}],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/deviceWillSleep()-7hts3","interfaceLanguage":"swift"},"sections":[],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/deviceWillSleep()-1i4ad"]]},"references":{"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame","role":"symbol","url":"\/documentation\/playdatekit\/playdategame","kind":"symbol","fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"text":"PlaydateGame","kind":"identifier"}],"title":"PlaydateGame","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"PlaydateGame"}]},"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame/deviceWillSleep()-7hts3":{"fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"deviceWillSleep"},{"text":"()","kind":"text"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/deviceWillSleep()-7hts3","url":"\/documentation\/playdatekit\/playdategame\/devicewillsleep()-7hts3","abstract":[{"type":"text","text":"Called before the device goes to low-power sleep mode because of a low battery."}],"kind":"symbol","title":"deviceWillSleep()","type":"topic","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame/deviceWillSleep()-1i4ad":{"kind":"symbol","url":"\/documentation\/playdatekit\/playdategame\/devicewillsleep()-1i4ad","abstract":[{"type":"text","text":"Called before the device goes to low-power sleep mode because of a low battery."}],"title":"deviceWillSleep()","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/deviceWillSleep()-1i4ad","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"deviceWillSleep","kind":"identifier"},{"kind":"text","text":"()"}],"defaultImplementations":1,"type":"topic","required":true}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdategame/gamewillpause()-185zs.json b/docs/data/documentation/playdatekit/playdategame/gamewillpause()-185zs.json new file mode 100644 index 00000000..a7bff2af --- /dev/null +++ b/docs/data/documentation/playdatekit/playdategame/gamewillpause()-185zs.json @@ -0,0 +1 @@ +{"metadata":{"modules":[{"name":"PlaydateKit"}],"symbolKind":"method","title":"gameWillPause()","role":"symbol","externalID":"s:11PlaydateKit0A4GameP13gameWillPauseyyF","roleHeading":"Instance Method","required":true,"fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"gameWillPause","kind":"identifier"},{"kind":"text","text":"()"}]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/gameWillPause()-185zs"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"gameWillPause","kind":"identifier"},{"text":"()","kind":"text"}]}]}],"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdategame\/gamewillpause()-185zs"]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame"]]},"abstract":[{"type":"text","text":"Called before the system pauses the game. (In the current version of Playdate OS, this only happens when the"},{"text":" ","type":"text"},{"type":"text","text":"device’s Menu button is pushed.) Implementing these functions allows your game to take special action when it"},{"type":"text","text":" "},{"type":"text","text":"is paused, e.g., updating the menu image."}],"defaultImplementationsSections":[{"title":"PlaydateGame Implementations","identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/gameWillPause()-62mhi"]}],"kind":"symbol","schemaVersion":{"minor":3,"patch":0,"major":0},"references":{"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame","role":"symbol","url":"\/documentation\/playdatekit\/playdategame","kind":"symbol","fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"text":"PlaydateGame","kind":"identifier"}],"title":"PlaydateGame","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"PlaydateGame"}]},"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame/gameWillPause()-185zs":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/gameWillPause()-185zs","role":"symbol","defaultImplementations":1,"url":"\/documentation\/playdatekit\/playdategame\/gamewillpause()-185zs","kind":"symbol","required":true,"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"gameWillPause"},{"text":"()","kind":"text"}],"title":"gameWillPause()","type":"topic","abstract":[{"text":"Called before the system pauses the game. (In the current version of Playdate OS, this only happens when the","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"device’s Menu button is pushed.) Implementing these functions allows your game to take special action when it"},{"type":"text","text":" "},{"text":"is paused, e.g., updating the menu image.","type":"text"}]},"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame/gameWillPause()-62mhi":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/gameWillPause()-62mhi","url":"\/documentation\/playdatekit\/playdategame\/gamewillpause()-62mhi","abstract":[{"text":"Called before the system pauses the game. (In the current version of Playdate OS, this only happens when the","type":"text"},{"type":"text","text":" "},{"type":"text","text":"device’s Menu button is pushed.) Implementing these functions allows your game to take special action when it"},{"text":" ","type":"text"},{"text":"is paused, e.g., updating the menu image.","type":"text"}],"type":"topic","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"gameWillPause","kind":"identifier"},{"text":"()","kind":"text"}],"kind":"symbol","title":"gameWillPause()","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdategame/gamewillpause()-62mhi.json b/docs/data/documentation/playdatekit/playdategame/gamewillpause()-62mhi.json new file mode 100644 index 00000000..9b43ea54 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdategame/gamewillpause()-62mhi.json @@ -0,0 +1 @@ +{"sections":[],"schemaVersion":{"minor":3,"patch":0,"major":0},"abstract":[{"type":"text","text":"Called before the system pauses the game. (In the current version of Playdate OS, this only happens when the"},{"text":" ","type":"text"},{"text":"device’s Menu button is pushed.) Implementing these functions allows your game to take special action when it","type":"text"},{"type":"text","text":" "},{"text":"is paused, e.g., updating the menu image.","type":"text"}],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/gameWillPause()-62mhi","interfaceLanguage":"swift"},"kind":"symbol","primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"gameWillPause","kind":"identifier"},{"kind":"text","text":"()"}],"platforms":["macOS"]}],"kind":"declarations"}],"variants":[{"paths":["\/documentation\/playdatekit\/playdategame\/gamewillpause()-62mhi"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/gameWillPause()-185zs"]]},"metadata":{"modules":[{"name":"PlaydateKit"}],"externalID":"s:11PlaydateKit0A4GamePAAE13gameWillPauseyyF","title":"gameWillPause()","extendedModule":"PlaydateKit","symbolKind":"method","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"gameWillPause","kind":"identifier"},{"text":"()","kind":"text"}],"role":"symbol","roleHeading":"Instance Method"},"references":{"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame/gameWillPause()-185zs":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/gameWillPause()-185zs","role":"symbol","defaultImplementations":1,"url":"\/documentation\/playdatekit\/playdategame\/gamewillpause()-185zs","kind":"symbol","required":true,"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"gameWillPause"},{"text":"()","kind":"text"}],"title":"gameWillPause()","type":"topic","abstract":[{"text":"Called before the system pauses the game. (In the current version of Playdate OS, this only happens when the","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"device’s Menu button is pushed.) Implementing these functions allows your game to take special action when it"},{"type":"text","text":" "},{"text":"is paused, e.g., updating the menu image.","type":"text"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame/gameWillPause()-62mhi":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/gameWillPause()-62mhi","url":"\/documentation\/playdatekit\/playdategame\/gamewillpause()-62mhi","abstract":[{"text":"Called before the system pauses the game. (In the current version of Playdate OS, this only happens when the","type":"text"},{"type":"text","text":" "},{"type":"text","text":"device’s Menu button is pushed.) Implementing these functions allows your game to take special action when it"},{"text":" ","type":"text"},{"text":"is paused, e.g., updating the menu image.","type":"text"}],"type":"topic","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"gameWillPause","kind":"identifier"},{"text":"()","kind":"text"}],"kind":"symbol","title":"gameWillPause()","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame","role":"symbol","url":"\/documentation\/playdatekit\/playdategame","kind":"symbol","fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"text":"PlaydateGame","kind":"identifier"}],"title":"PlaydateGame","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"PlaydateGame"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdategame/gamewillresume()-1er7i.json b/docs/data/documentation/playdatekit/playdategame/gamewillresume()-1er7i.json new file mode 100644 index 00000000..94b7fa93 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdategame/gamewillresume()-1er7i.json @@ -0,0 +1 @@ +{"kind":"symbol","abstract":[{"type":"text","text":"Called before the system resumes the game."}],"defaultImplementationsSections":[{"title":"PlaydateGame Implementations","identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/gameWillResume()-7avob"]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/gameWillResume()-1er7i"},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"gameWillResume"},{"text":"()","kind":"text"}]}],"kind":"declarations"}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame"]]},"sections":[],"metadata":{"externalID":"s:11PlaydateKit0A4GameP14gameWillResumeyyF","role":"symbol","title":"gameWillResume()","modules":[{"name":"PlaydateKit"}],"required":true,"roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"gameWillResume"},{"kind":"text","text":"()"}],"symbolKind":"method"},"schemaVersion":{"major":0,"minor":3,"patch":0},"variants":[{"paths":["\/documentation\/playdatekit\/playdategame\/gamewillresume()-1er7i"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame/gameWillResume()-7avob":{"url":"\/documentation\/playdatekit\/playdategame\/gamewillresume()-7avob","kind":"symbol","abstract":[{"text":"Called before the system resumes the game.","type":"text"}],"title":"gameWillResume()","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/gameWillResume()-7avob","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"gameWillResume","kind":"identifier"},{"kind":"text","text":"()"}],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame","role":"symbol","url":"\/documentation\/playdatekit\/playdategame","kind":"symbol","fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"text":"PlaydateGame","kind":"identifier"}],"title":"PlaydateGame","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"PlaydateGame"}]},"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame/gameWillResume()-1er7i":{"abstract":[{"type":"text","text":"Called before the system resumes the game."}],"role":"symbol","kind":"symbol","title":"gameWillResume()","type":"topic","url":"\/documentation\/playdatekit\/playdategame\/gamewillresume()-1er7i","required":true,"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/gameWillResume()-1er7i","defaultImplementations":1,"fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"gameWillResume"},{"kind":"text","text":"()"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdategame/gamewillresume()-7avob.json b/docs/data/documentation/playdatekit/playdategame/gamewillresume()-7avob.json new file mode 100644 index 00000000..ba8590fc --- /dev/null +++ b/docs/data/documentation/playdatekit/playdategame/gamewillresume()-7avob.json @@ -0,0 +1 @@ +{"kind":"symbol","abstract":[{"text":"Called before the system resumes the game.","type":"text"}],"variants":[{"paths":["\/documentation\/playdatekit\/playdategame\/gamewillresume()-7avob"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/gameWillResume()-7avob"},"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"gameWillResume"},{"kind":"text","text":"()"}],"platforms":["macOS"]}],"kind":"declarations"}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/gameWillResume()-1er7i"]]},"sections":[],"metadata":{"externalID":"s:11PlaydateKit0A4GamePAAE14gameWillResumeyyF","role":"symbol","extendedModule":"PlaydateKit","title":"gameWillResume()","roleHeading":"Instance Method","modules":[{"name":"PlaydateKit"}],"fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"gameWillResume"},{"kind":"text","text":"()"}],"symbolKind":"method"},"schemaVersion":{"major":0,"patch":0,"minor":3},"references":{"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame/gameWillResume()-7avob":{"url":"\/documentation\/playdatekit\/playdategame\/gamewillresume()-7avob","kind":"symbol","abstract":[{"text":"Called before the system resumes the game.","type":"text"}],"title":"gameWillResume()","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/gameWillResume()-7avob","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"gameWillResume","kind":"identifier"},{"kind":"text","text":"()"}],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame","role":"symbol","url":"\/documentation\/playdatekit\/playdategame","kind":"symbol","fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"text":"PlaydateGame","kind":"identifier"}],"title":"PlaydateGame","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"PlaydateGame"}]},"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame/gameWillResume()-1er7i":{"abstract":[{"type":"text","text":"Called before the system resumes the game."}],"role":"symbol","kind":"symbol","title":"gameWillResume()","type":"topic","url":"\/documentation\/playdatekit\/playdategame\/gamewillresume()-1er7i","required":true,"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/gameWillResume()-1er7i","defaultImplementations":1,"fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"gameWillResume"},{"kind":"text","text":"()"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdategame/gamewillterminate()-5qroh.json b/docs/data/documentation/playdatekit/playdategame/gamewillterminate()-5qroh.json new file mode 100644 index 00000000..af947db6 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdategame/gamewillterminate()-5qroh.json @@ -0,0 +1 @@ +{"kind":"symbol","defaultImplementationsSections":[{"title":"PlaydateGame Implementations","identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/gameWillTerminate()-9epf7"]}],"metadata":{"role":"symbol","title":"gameWillTerminate()","externalID":"s:11PlaydateKit0A4GameP17gameWillTerminateyyF","required":true,"symbolKind":"method","modules":[{"name":"PlaydateKit"}],"roleHeading":"Instance Method","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"gameWillTerminate"},{"text":"()","kind":"text"}]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/gameWillTerminate()-5qroh"},"schemaVersion":{"minor":3,"patch":0,"major":0},"abstract":[{"type":"text","text":"Called when the player chooses to exit the game via the System Menu or Menu button."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"gameWillTerminate","kind":"identifier"},{"kind":"text","text":"()"}],"platforms":["macOS"]}]}],"sections":[],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdategame\/gamewillterminate()-5qroh"]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame","role":"symbol","url":"\/documentation\/playdatekit\/playdategame","kind":"symbol","fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"text":"PlaydateGame","kind":"identifier"}],"title":"PlaydateGame","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"PlaydateGame"}]},"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame/gameWillTerminate()-5qroh":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/gameWillTerminate()-5qroh","url":"\/documentation\/playdatekit\/playdategame\/gamewillterminate()-5qroh","type":"topic","abstract":[{"text":"Called when the player chooses to exit the game via the System Menu or Menu button.","type":"text"}],"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"gameWillTerminate"},{"text":"()","kind":"text"}],"kind":"symbol","required":true,"defaultImplementations":1,"title":"gameWillTerminate()","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame/gameWillTerminate()-9epf7":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/gameWillTerminate()-9epf7","role":"symbol","url":"\/documentation\/playdatekit\/playdategame\/gamewillterminate()-9epf7","kind":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"gameWillTerminate"},{"text":"()","kind":"text"}],"title":"gameWillTerminate()","type":"topic","abstract":[{"type":"text","text":"Called when the player chooses to exit the game via the System Menu or Menu button."}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdategame/gamewillterminate()-9epf7.json b/docs/data/documentation/playdatekit/playdategame/gamewillterminate()-9epf7.json new file mode 100644 index 00000000..2c2d3ed4 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdategame/gamewillterminate()-9epf7.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/gameWillTerminate()-5qroh"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/gameWillTerminate()-9epf7"},"kind":"symbol","sections":[],"metadata":{"role":"symbol","externalID":"s:11PlaydateKit0A4GamePAAE17gameWillTerminateyyF","roleHeading":"Instance Method","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"gameWillTerminate","kind":"identifier"},{"text":"()","kind":"text"}],"title":"gameWillTerminate()","modules":[{"name":"PlaydateKit"}],"extendedModule":"PlaydateKit","symbolKind":"method"},"abstract":[{"type":"text","text":"Called when the player chooses to exit the game via the System Menu or Menu button."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"gameWillTerminate"},{"text":"()","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"variants":[{"paths":["\/documentation\/playdatekit\/playdategame\/gamewillterminate()-9epf7"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame","role":"symbol","url":"\/documentation\/playdatekit\/playdategame","kind":"symbol","fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"text":"PlaydateGame","kind":"identifier"}],"title":"PlaydateGame","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"PlaydateGame"}]},"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame/gameWillTerminate()-5qroh":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/gameWillTerminate()-5qroh","url":"\/documentation\/playdatekit\/playdategame\/gamewillterminate()-5qroh","type":"topic","abstract":[{"text":"Called when the player chooses to exit the game via the System Menu or Menu button.","type":"text"}],"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"gameWillTerminate"},{"text":"()","kind":"text"}],"kind":"symbol","required":true,"defaultImplementations":1,"title":"gameWillTerminate()","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame/gameWillTerminate()-9epf7":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/gameWillTerminate()-9epf7","role":"symbol","url":"\/documentation\/playdatekit\/playdategame\/gamewillterminate()-9epf7","kind":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"gameWillTerminate"},{"text":"()","kind":"text"}],"title":"gameWillTerminate()","type":"topic","abstract":[{"type":"text","text":"Called when the player chooses to exit the game via the System Menu or Menu button."}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdategame/handle(_:).json b/docs/data/documentation/playdatekit/playdategame/handle(_:).json new file mode 100644 index 00000000..56c3c393 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdategame/handle(_:).json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdategame\/handle(_:)"]}],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/handle(_:)","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame"]]},"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"handle","kind":"identifier"},{"text":"(","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"event","kind":"internalParam"},{"text":": ","kind":"text"},{"text":"Playdate","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate"},{"kind":"text","text":"."},{"preciseIdentifier":"s:11PlaydateKit0A0O6SystemO","text":"System","kind":"typeIdentifier","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"},{"kind":"text","text":"."},{"text":"Event","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O6SystemO5Eventa","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/Event"},{"text":")","kind":"text"}],"platforms":["macOS"]}]}],"sections":[],"metadata":{"fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"handle","kind":"identifier"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O","text":"Playdate","kind":"typeIdentifier"},{"kind":"text","text":"."},{"preciseIdentifier":"s:11PlaydateKit0A0O6SystemO","text":"System","kind":"typeIdentifier"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O6SystemO5Eventa","text":"Event"},{"text":")","kind":"text"}],"modules":[{"name":"PlaydateKit"}],"externalID":"s:11PlaydateKit0A4GamePAAE6handleyySo13PDSystemEventaF","symbolKind":"method","title":"handle(_:)","roleHeading":"Instance Method","role":"symbol","extendedModule":"PlaydateKit"},"schemaVersion":{"patch":0,"major":0,"minor":3},"references":{"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]},"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame","role":"symbol","url":"\/documentation\/playdatekit\/playdategame","kind":"symbol","fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"text":"PlaydateGame","kind":"identifier"}],"title":"PlaydateGame","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"PlaydateGame"}]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System/Event":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System\/Event","url":"\/documentation\/playdatekit\/playdate\/system\/event","abstract":[],"type":"topic","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Event"}],"navigatorTitle":[{"kind":"identifier","text":"Event"}],"kind":"symbol","title":"Playdate.System.Event","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame/handle(_:)":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/handle(_:)","role":"symbol","url":"\/documentation\/playdatekit\/playdategame\/handle(_:)","kind":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"handle"},{"kind":"text","text":"("},{"preciseIdentifier":"s:11PlaydateKit0A0O","text":"Playdate","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"System","preciseIdentifier":"s:11PlaydateKit0A0O6SystemO","kind":"typeIdentifier"},{"kind":"text","text":"."},{"text":"Event","preciseIdentifier":"s:11PlaydateKit0A0O6SystemO5Eventa","kind":"typeIdentifier"},{"kind":"text","text":")"}],"title":"handle(_:)","type":"topic","abstract":[]},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdategame/init().json b/docs/data/documentation/playdatekit/playdategame/init().json new file mode 100644 index 00000000..67bf7c06 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdategame/init().json @@ -0,0 +1 @@ +{"schemaVersion":{"minor":3,"patch":0,"major":0},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/init()","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Called after loading pdex.bin into memory."}],"variants":[{"paths":["\/documentation\/playdatekit\/playdategame\/init()"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"role":"symbol","required":true,"roleHeading":"Initializer","externalID":"s:11PlaydateKit0A4GamePxycfc","title":"init()","fragments":[{"kind":"identifier","text":"init"},{"text":"()","kind":"text"}],"modules":[{"name":"PlaydateKit"}],"symbolKind":"init"},"sections":[],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"init","kind":"keyword"},{"kind":"text","text":"()"}],"platforms":["macOS"],"languages":["swift"]}]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame"]]},"references":{"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame/init()":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/init()","role":"symbol","url":"\/documentation\/playdatekit\/playdategame\/init()","kind":"symbol","required":true,"fragments":[{"text":"init","kind":"identifier"},{"text":"()","kind":"text"}],"title":"init()","type":"topic","abstract":[{"type":"text","text":"Called after loading pdex.bin into memory."}]},"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame","role":"symbol","url":"\/documentation\/playdatekit\/playdategame","kind":"symbol","fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"text":"PlaydateGame","kind":"identifier"}],"title":"PlaydateGame","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"PlaydateGame"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdategame/update()-873r0.json b/docs/data/documentation/playdatekit/playdategame/update()-873r0.json new file mode 100644 index 00000000..0e5d7b35 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdategame/update()-873r0.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/update()-873r0","interfaceLanguage":"swift"},"schemaVersion":{"minor":3,"patch":0,"major":0},"sections":[],"kind":"symbol","defaultImplementationsSections":[{"title":"PlaydateGame Implementations","identifiers":["doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/update()-91u4m"]}],"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame"]]},"abstract":[{"type":"text","text":"Implement this callback and Playdate OS will call it once per frame. This is the place to put the main update-and-draw"},{"type":"text","text":" "},{"text":"code for your game. Playdate will attempt to call this function by default 30 times per second; that value can be changed","type":"text"},{"type":"text","text":" "},{"type":"text","text":"by changing "},{"code":"Playdate.Display.refreshRate","type":"codeVoice"},{"type":"text","text":"."},{"text":" ","type":"text"},{"text":"The update function should return true to tell the system to update the display, or false if an update isn’t needed.","type":"text"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"update"},{"kind":"text","text":"() -> "},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"}],"languages":["swift"],"platforms":["macOS"]}]}],"metadata":{"modules":[{"name":"PlaydateKit"}],"externalID":"s:11PlaydateKit0A4GameP6updateSbyF","symbolKind":"method","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"update"},{"kind":"text","text":"() -> "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"}],"roleHeading":"Instance Method","required":true,"role":"symbol","title":"update()"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdategame\/update()-873r0"]}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame","role":"symbol","url":"\/documentation\/playdatekit\/playdategame","kind":"symbol","fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"text":"PlaydateGame","kind":"identifier"}],"title":"PlaydateGame","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"PlaydateGame"}]},"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame/update()-91u4m":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/update()-91u4m","url":"\/documentation\/playdatekit\/playdategame\/update()-91u4m","type":"topic","abstract":[{"type":"text","text":"Implement this callback and Playdate OS will call it once per frame. This is the place to put the main update-and-draw"},{"text":" ","type":"text"},{"text":"code for your game. Playdate will attempt to call this function by default 30 times per second; that value can be changed","type":"text"},{"type":"text","text":" "},{"type":"text","text":"by changing "},{"type":"codeVoice","code":"Playdate.Display.refreshRate"},{"text":".","type":"text"},{"type":"text","text":" "},{"text":"The update function should return true to tell the system to update the display, or false if an update isn’t needed.","type":"text"}],"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"update","kind":"identifier"},{"text":"() -> ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"kind":"symbol","title":"update()","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame/update()-873r0":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/update()-873r0","role":"symbol","defaultImplementations":1,"url":"\/documentation\/playdatekit\/playdategame\/update()-873r0","kind":"symbol","required":true,"fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"update"},{"text":"() -> ","kind":"text"},{"preciseIdentifier":"s:Sb","kind":"typeIdentifier","text":"Bool"}],"title":"update()","type":"topic","abstract":[{"text":"Implement this callback and Playdate OS will call it once per frame. This is the place to put the main update-and-draw","type":"text"},{"type":"text","text":" "},{"text":"code for your game. Playdate will attempt to call this function by default 30 times per second; that value can be changed","type":"text"},{"type":"text","text":" "},{"text":"by changing ","type":"text"},{"code":"Playdate.Display.refreshRate","type":"codeVoice"},{"type":"text","text":"."},{"text":" ","type":"text"},{"type":"text","text":"The update function should return true to tell the system to update the display, or false if an update isn’t needed."}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/playdategame/update()-91u4m.json b/docs/data/documentation/playdatekit/playdategame/update()-91u4m.json new file mode 100644 index 00000000..206b6eb6 --- /dev/null +++ b/docs/data/documentation/playdatekit/playdategame/update()-91u4m.json @@ -0,0 +1 @@ +{"sections":[],"metadata":{"title":"update()","role":"symbol","externalID":"s:11PlaydateKit0A4GamePAAE6updateSbyF","symbolKind":"method","modules":[{"name":"PlaydateKit"}],"extendedModule":"PlaydateKit","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"update","kind":"identifier"},{"kind":"text","text":"() -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"}]},"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"update"},{"text":"() -> ","kind":"text"},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/playdategame\/update()-91u4m"]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/update()-91u4m"},"schemaVersion":{"patch":0,"minor":3,"major":0},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame","doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/update()-873r0"]]},"abstract":[{"text":"Implement this callback and Playdate OS will call it once per frame. This is the place to put the main update-and-draw","type":"text"},{"type":"text","text":" "},{"text":"code for your game. Playdate will attempt to call this function by default 30 times per second; that value can be changed","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"by changing "},{"type":"codeVoice","code":"Playdate.Display.refreshRate"},{"type":"text","text":"."},{"text":" ","type":"text"},{"type":"text","text":"The update function should return true to tell the system to update the display, or false if an update isn’t needed."}],"references":{"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame/update()-873r0":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/update()-873r0","role":"symbol","defaultImplementations":1,"url":"\/documentation\/playdatekit\/playdategame\/update()-873r0","kind":"symbol","required":true,"fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"update"},{"text":"() -> ","kind":"text"},{"preciseIdentifier":"s:Sb","kind":"typeIdentifier","text":"Bool"}],"title":"update()","type":"topic","abstract":[{"text":"Implement this callback and Playdate OS will call it once per frame. This is the place to put the main update-and-draw","type":"text"},{"type":"text","text":" "},{"text":"code for your game. Playdate will attempt to call this function by default 30 times per second; that value can be changed","type":"text"},{"type":"text","text":" "},{"text":"by changing ","type":"text"},{"code":"Playdate.Display.refreshRate","type":"codeVoice"},{"type":"text","text":"."},{"text":" ","type":"text"},{"type":"text","text":"The update function should return true to tell the system to update the display, or false if an update isn’t needed."}]},"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame/update()-91u4m":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame\/update()-91u4m","url":"\/documentation\/playdatekit\/playdategame\/update()-91u4m","type":"topic","abstract":[{"type":"text","text":"Implement this callback and Playdate OS will call it once per frame. This is the place to put the main update-and-draw"},{"text":" ","type":"text"},{"text":"code for your game. Playdate will attempt to call this function by default 30 times per second; that value can be changed","type":"text"},{"type":"text","text":" "},{"type":"text","text":"by changing "},{"type":"codeVoice","code":"Playdate.Display.refreshRate"},{"text":".","type":"text"},{"type":"text","text":" "},{"text":"The update function should return true to tell the system to update the display, or false if an update isn’t needed.","type":"text"}],"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"update","kind":"identifier"},{"text":"() -> ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"kind":"symbol","title":"update()","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit/PlaydateGame":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/PlaydateGame","role":"symbol","url":"\/documentation\/playdatekit\/playdategame","kind":"symbol","fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"text":"PlaydateGame","kind":"identifier"}],"title":"PlaydateGame","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"PlaydateGame"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/posix_memalign(_:_:_:).json b/docs/data/documentation/playdatekit/posix_memalign(_:_:_:).json new file mode 100644 index 00000000..4a5d8d67 --- /dev/null +++ b/docs/data/documentation/playdatekit/posix_memalign(_:_:_:).json @@ -0,0 +1 @@ +{"abstract":[{"text":"Implement ","type":"text"},{"code":"posix_memalign(3)","type":"codeVoice"},{"type":"text","text":", which is required by the Swift runtime but is"},{"text":" ","type":"text"},{"text":"not provided by the Playdate C library.","type":"text"}],"kind":"symbol","metadata":{"modules":[{"name":"PlaydateKit"}],"externalID":"c:(cm)posix_memalign:::","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"posix_memalign"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sp","text":"UnsafeMutablePointer"},{"text":"<","kind":"text"},{"text":"UnsafeMutableRawPointer","kind":"typeIdentifier","preciseIdentifier":"s:Sv"},{"kind":"text","text":"?>, "},{"text":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Si","text":"Int"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4CInta","text":"CInt"}],"roleHeading":"Function","title":"posix_memalign(_:_:_:)","role":"symbol","symbolKind":"func"},"schemaVersion":{"minor":3,"major":0,"patch":0},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/posix_memalign(_:_:_:)","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit"]]},"sections":[],"variants":[{"paths":["\/documentation\/playdatekit\/posix_memalign(_:_:_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"posix_memalign","kind":"identifier"},{"text":"(","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"memptr"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sp","text":"UnsafeMutablePointer","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sv","text":"UnsafeMutableRawPointer"},{"text":"?>, ","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"alignment"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Si","text":"Int","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"size"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Si","text":"Int"},{"text":") -> ","kind":"text"},{"text":"CInt","preciseIdentifier":"s:s4CInta","kind":"typeIdentifier"}],"languages":["swift"]}],"kind":"declarations"}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/posix_memalign(_:_:_:)":{"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"posix_memalign"},{"text":"(","kind":"text"},{"text":"UnsafeMutablePointer","preciseIdentifier":"s:Sp","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"text":"UnsafeMutableRawPointer","kind":"typeIdentifier","preciseIdentifier":"s:Sv"},{"kind":"text","text":"?>, "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Si","text":"Int"},{"text":") -> ","kind":"text"},{"text":"CInt","kind":"typeIdentifier","preciseIdentifier":"s:s4CInta"}],"url":"\/documentation\/playdatekit\/posix_memalign(_:_:_:)","kind":"symbol","abstract":[{"text":"Implement ","type":"text"},{"type":"codeVoice","code":"posix_memalign(3)"},{"type":"text","text":", which is required by the Swift runtime but is"},{"type":"text","text":" "},{"type":"text","text":"not provided by the Playdate C library."}],"title":"posix_memalign(_:_:_:)","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/posix_memalign(_:_:_:)","type":"topic","role":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/scoreboards.json b/docs/data/documentation/playdatekit/scoreboards.json new file mode 100644 index 00000000..fbe093fa --- /dev/null +++ b/docs/data/documentation/playdatekit/scoreboards.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit"]]},"schemaVersion":{"minor":3,"major":0,"patch":0},"kind":"symbol","primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Scoreboards"},{"text":" = ","kind":"text"},{"preciseIdentifier":"s:11PlaydateKit0A0O","kind":"typeIdentifier","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","text":"Playdate"},{"text":".","kind":"text"},{"kind":"typeIdentifier","text":"Scoreboards","preciseIdentifier":"s:11PlaydateKit0A0O11ScoreboardsO","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards"}]}],"kind":"declarations"}],"metadata":{"modules":[{"name":"PlaydateKit"}],"roleHeading":"Type Alias","title":"Scoreboards","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"Scoreboards"}],"externalID":"s:11PlaydateKit11Scoreboardsa","fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Scoreboards"}],"symbolKind":"typealias"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/scoreboards"]}],"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Scoreboards","interfaceLanguage":"swift"},"sections":[],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Scoreboards":{"title":"Scoreboards","type":"topic","abstract":[],"navigatorTitle":[{"text":"Scoreboards","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Scoreboards","url":"\/documentation\/playdatekit\/scoreboards","role":"symbol","kind":"symbol","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Scoreboards","kind":"identifier"}]},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Scoreboards":{"type":"topic","title":"Playdate.Scoreboards","url":"\/documentation\/playdatekit\/playdate\/scoreboards","abstract":[],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Scoreboards","navigatorTitle":[{"kind":"identifier","text":"Scoreboards"}],"role":"symbol","kind":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Scoreboards","kind":"identifier"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/sprite.json b/docs/data/documentation/playdatekit/sprite.json new file mode 100644 index 00000000..ade77b8c --- /dev/null +++ b/docs/data/documentation/playdatekit/sprite.json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/sprite"]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Sprite"},"sections":[],"metadata":{"externalID":"s:11PlaydateKit6Spritea","modules":[{"name":"PlaydateKit"}],"symbolKind":"typealias","title":"Sprite","roleHeading":"Type Alias","navigatorTitle":[{"kind":"identifier","text":"Sprite"}],"role":"symbol","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Sprite","kind":"identifier"}]},"kind":"symbol","schemaVersion":{"major":0,"minor":3,"patch":0},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"text":"Sprite","kind":"identifier"},{"text":" = ","kind":"text"},{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","text":"Playdate","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O"},{"text":".","kind":"text"},{"text":"Sprite","kind":"typeIdentifier","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite","preciseIdentifier":"s:11PlaydateKit0A0O6SpriteO"}],"languages":["swift"]}],"kind":"declarations"}],"references":{"doc://PlaydateKit/documentation/PlaydateKit/Sprite":{"url":"\/documentation\/playdatekit\/sprite","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Sprite","kind":"identifier"}],"navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"abstract":[],"title":"Sprite","role":"symbol","kind":"symbol","type":"topic","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Sprite"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/Sprite":{"abstract":[],"type":"topic","role":"symbol","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/Sprite","navigatorTitle":[{"text":"Sprite","kind":"identifier"}],"kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Sprite"}],"title":"Playdate.Sprite","url":"\/documentation\/playdatekit\/playdate\/sprite"}}} \ No newline at end of file diff --git a/docs/data/documentation/playdatekit/system.json b/docs/data/documentation/playdatekit/system.json new file mode 100644 index 00000000..1438c6a5 --- /dev/null +++ b/docs/data/documentation/playdatekit/system.json @@ -0,0 +1 @@ +{"kind":"symbol","schemaVersion":{"patch":0,"minor":3,"major":0},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playdatekit\/system"]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"System"},{"text":" = ","kind":"text"},{"text":"Playdate","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","preciseIdentifier":"s:11PlaydateKit0A0O","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"System","kind":"typeIdentifier","preciseIdentifier":"s:11PlaydateKit0A0O6SystemO","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System"}],"languages":["swift"]}]}],"metadata":{"symbolKind":"typealias","modules":[{"name":"PlaydateKit"}],"navigatorTitle":[{"text":"System","kind":"identifier"}],"title":"System","role":"symbol","externalID":"s:11PlaydateKit6Systema","roleHeading":"Type Alias","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"System"}]},"hierarchy":{"paths":[["doc:\/\/PlaydateKit\/documentation\/PlaydateKit"]]},"identifier":{"url":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/System","interfaceLanguage":"swift"},"references":{"doc://PlaydateKit/documentation/PlaydateKit/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/System","url":"\/documentation\/playdatekit\/system","role":"symbol","title":"System","abstract":[],"fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"System","kind":"identifier"}],"type":"topic","navigatorTitle":[{"text":"System","kind":"identifier"}],"kind":"symbol"},"doc://PlaydateKit/documentation/PlaydateKit":{"url":"\/documentation\/playdatekit","title":"PlaydateKit","identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit","abstract":[{"text":"Create games for Playdate using Swift.","type":"text"}],"kind":"symbol","type":"topic","role":"collection"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate":{"url":"\/documentation\/playdatekit\/playdate","title":"Playdate","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Playdate"}],"kind":"symbol","navigatorTitle":[{"text":"Playdate","kind":"identifier"}],"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate","role":"symbol","abstract":[],"type":"topic"},"doc://PlaydateKit/documentation/PlaydateKit/Playdate/System":{"identifier":"doc:\/\/PlaydateKit\/documentation\/PlaydateKit\/Playdate\/System","role":"symbol","url":"\/documentation\/playdatekit\/playdate\/system","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"System"}],"title":"Playdate.System","type":"topic","abstract":[],"navigatorTitle":[{"kind":"identifier","text":"System"}]}}} \ No newline at end of file diff --git a/docs/developer-og-twitter.jpg b/docs/developer-og-twitter.jpg new file mode 100644 index 0000000000000000000000000000000000000000..63c48359d11d9f755203ce58eeec9d3504a71f44 GIT binary patch literal 12562 zcmeHsWmH_v((d3k$lwHmyAMvVK#&kTxWfz{9D+-L;O-DCxVu|$2^t&*cXtcHF6VvE z_nou8weDK?*S+`0=^wqTYVY0qsp_YztJi*>e?9?FiJRC#OaUfe0000S0ssdA9s&79 z{O|U>2>1#BqN1Xrp#ss+fFKNX3=jb}5Qt4cjE6^nher$o{?-0@`CIv)Jsc(m1|}9J z4i**;J{A@h{y#b_{J&oT{hti*+zkMs!UGTi2yoN@cn}-{2=2KT&<=oud$GK<|Avc# zh=h!a0RQi%f8N6Zz`ry&1b9Rwq`yo^$Owq=C;&J<9A2Wg1e8^H_{tzEZXQlBE*&8V z01pR`0FMkrL&iizczGNi0S*@t079b1!=VCmeRLF8k%0Ke)zCQA;yWAXaKBT92E-FM zbWi3^@ld{1KJ$yMrj`8K%Zpsq)w9WYsfPP6gnz@SdWHdjFVNvZ2%r~B$=}xh^#6&# z|HlzPA$LI~{z2tTQ}Y){G7a$RKheVDopXdRNNN~jH~kxavZ$;1FK{{h6|Om`rX&A$ z<3+?f0RG-Q`p9BDEcwX7EF>DH()gxKR=T&=_@^gc>2R=~ywa9un-C`A;(@Bmndnu2 z_h>hBlSfgu*@}Eq{6rJ66IWwF^mRTr_vl=_L-DqoW92Vtsc4i<1davJtDh4ABjiDs z<9Q?6pR;gcblTeY0}jV!-gL*;UM|y~ob#St47a8_Fyz+zrl{;ipI}e-&ASh+Sv!39 zUXYx3A1-2C+$T)vcoK_|sBcKUD9pD1Oh%$P`Ll&9?dmeIF8Q{m{m!nx^J`K@-EO!D zi0xoI=%yO6Iz`_uRfJ3Mj{Yd$mNLUqwrB1g#_f>rKxTx4e$l`DN4rM$a!eY`sFE+{ ze3!j>P?O^q+cZM?BYcBVChd`g?uo4Y0{T(-R3%kUQ7owX0B9{d!i`Y4(}L?Kl%p_e zM(%<(>*|H#BmYB8sjKT3!wrHGQ@ay`ELNLTw1m$WY)%iQ(ad;mQC~%}kVX3Gp6J>> zHnSuq^T^kVi|VzEFojhd=QBAk$#(DR4)ZKq&cjgZ4skn4-I~o-?utv-yf&DQDX)7f z%!1L40VR3K6${ zi+N<>PhMq{^fX(Abhs|;#(Ob;neKTcx}YWN>#_Z0I_uVzz4zwv9JzhhgbeZamw=@2 zt=i%%x9Dt9E512?AfFtWUU{GA%vei`Mw*Qv#xBW+CBX( z1E#(5fn(X`X#N^qzSm%$&Ze6lF!GevKSbp#7nB$3`qiXR<~-oV;GuzZO253reGYJVbt# z+;v0tYs&c%{XQnfn47>-0kT4hp(~C1BiAg+FH@`5pp4tvImHQo1Tf(9RSrmm{nL`7 zNT6sk=A!4rvi3%jV9vNOv>UlT4Ns?DCmlcKOH6ugT&KHaBU@_HHY~yD)FkgS8!rC) zxvi;ph#Guv6ukP#flw?%0b;YyVOWhHy`vHhRDuGDg6_bZ5LohFjMbcc_%vQ_oFJ51 z&8W#~A>_9iQv@hViAQ~XvA+iouTUP1WQf)Rw;c&iz)AI);Ld}Y5A)0}l^gOb|aTU-I;k?bi9!z?VzVvTNZ==Sb2R3Uy0 zm*EH5t#BQD@32-|P;&XXic}D$U$RgcUh=tgg@GUIAV8y&CaN!nSlb^lB>1nzK3phRq!qs;Wn95gM$7PpYIXs!icO&^sHs zgP4*)zw;wT^RyCh#d0Fvo*TG7;H9;wJxM7UXgp0!JSIp;kyjz7pUnyjj5Ik1|2YB1 zlp_?Ygl?UBi25#$;=#*qt4>q}cwG{#Qm`G%K5169vAI=Kxfbv1&a%8lmogeiR7Dj{qJ&Lfy6DMm;vO+_-C@IhrghAw6ikmLtfe6m5Ose9A?K z!Ycb~l}V840>h_CLu-mAB9vcub=VlNVw0+)D)tUDmQU8o@x_cyG&QrcR$h|qm4*ev ztE1oD%x&0{aDyE`DBQO$T-ovKk6a2CqDbjO)AF1@`cLxH9-JIqCJZeXvMs#mGp4S3 z)wEYAHXvS&t1+jsRkYiBBD-A9Cc)Twb^tj<`eGyvS8%t(@}F6=iGQ-R ztaUxbmlY1gJKdaB(|8ECT8=A$kmB^!Qt?9nCb&O z{=0F`+Ix)d>p+V#At%?(XsEO6&5yr>`a?;WcVm7O49=LQq9toMm3zaM9j_9G_WPP6 zsbGqLbt(vz`NTe}0jyoi$}5_T@n;)*YV0?!L9lb*`GFxjE!AWRuD*hG!#{{Vx*#JA zw9Kg*YagA~VC>yT=W>O9zN1fL!VDa|I*qsgd-kh6+Mrhrk7UP;`!!Y5#+wrsk|l>$TzXE+)A^5MNeuXYZpSrM zn)K;?LX_qwt^0ijdi1(RwFGZvS6*n%q2}K4vbYX7Fq@yKS7VNKKI+KN;&;UuzxWhH z$lLkGO7K%Ft*dLBWhL(BGa!}q_sZHOrvBQZ(RQ|+&N5%A$e$3)tGi}!IUe%&v*qO@ z7=Op%5czeL#jdxIHo;e@F9vP}qs6OQ0?51pQHk(sS}Uy1^~UEVpo7prIM}Iao9pm^ zRemcwOPowT9VS#F zEXq?KfR702Q|kTcVwP=B%_rLIv@1qPn^Gr6wp+1X4eANaotO`2G!bmaX+bIp#1FUH zCx?9)2!8dZzlkKQrv=B1nl5_tW4*ikJStk=wkY05haOh)J|GDl)~Hy!zK7I2ZCi1c zSX;Z`C0Le5Hh*k~m0Oyrb3`wV5R{Taq0Su@xLmpgv#t6u?8>z?Y4M*khpN6lQ(91qvPZ{()g?i-vXmQ;+Jgt1>%RXDo+F-lG3_Dx!E9V&s zWfsczN8cgV&P1hTaIRu;b$tdn6|^4Kvy0uu4S2iMH~Z`L=9~-|>67naZ9I!s=(e`;WWWX-+|AytW84{Q`M z2{01X#r{Kg5cOw&HLU}7W#{daJg2179^o^|l4VISXr&%-hJ#F&#mrPT89()-<+QRc zY**ixLpQ9{HIE#T@yDHr&a8)jzRpULm3lLgEVGEYLA}SsrHea#?qOLxD?_PHQp_KO z^(#uCps1Rvc0L1l4;nba;&<)C>oAg4UrT}!Y0RDI$ra^+6Z>;h|8PSRPvE|g6 zmxA*W+4KC{2y%9`u9H;@O6HT=nG=mVjh48Q7D`RKy6wJv;D*xoa)8XfH|)1W#)OXH>x?0F zj<+JFZYE19obFqdI_(yJ@VU#{*@{`0V%#`;gtn?>*g@FYSYDaspG3qzmfLL#p%@Zb zvWK-h*kkV;JOlnNXyB2>0DyniGyf*T!M)g@0p%1n?)h(UZuHSZ@+2?OkTZDdv=Fyhds1Y0>cle3%G^0}sTg5~iPZ&%nlO2lS;FBkMI zIhMfVlqQ2{JDj*`TN9#(ud+67K@LZYkz;S+5=S?PM z#yq=tAcNVn03sEWV4C^c&!@$kD|Sq|F6LKysEtCu6Vtj(aT2AW3<$#Ed(Qw`nCG5H z;rc<#hZCYBYvxy+&~z}VS~}sZ*rJW-x^K2Ws1Ac@oNHs2$_a0k(Q6o`vxnzCHGeOK zr;R&=DkEP+>fzS9+wL{^*eX?OML!AI!09;Y?F!~>ZV?@3l)Ab0fcA#~qu)(|G-_%j ziYl1?icYglNLbua0+|BofCK)bTKe9h^%0yBnhYr?0#ywx=fk=ciJG7f^4bb|u)Vl~ z5;s6SX&ns1%-C@grv#dz;6!Y`J{Q`yY}&SzlEG^(bnBd}wRSQ@GFv1?bN z#KnN1sm=j?>NAqa6iK&JjLEgyo-Rg!;%(do!>jQ-yK7<6;}829e!_86eyPLXx$DLe z@O>CbZft*ocqOhnv7?e0$mf$lao>nFbctZsJk!ZLT>>0qdwb8vn z=XlV8$3r)v3Z??D6KALDRyJkYRtP55eWwaC9n5C3VvcNIMg0BlmEX8wa8JwhXT05tFQp3A*w3bF^@SwcE7^_-T+>J=ZIP&FpbzLCS-sFgnub%&)1+6 zSwGsfOPS9DEMzRIfn(otfGaU%Uk)VcZW>K>Ze$KH@9QlQ-SaGEHwi07QTKVx&qtNi}EpOPUMYsexTl1D#%e# zjRBjF@u*if?h?H$Dn$2}bT@70s>0oi9WqaKwIP&qdMk{0pX85AX4a1n7}(|>bPzuX zryggDK_+uM)W%|(;+S$AjJSnpbF;5(?c4RPuO9G!sMEWUQ$!JN1#s8-AoKf%A$zwk zTAtskZTc4KGaq}$sdSm1kzsT9tOcM^XKoo8J)yK8=2nnJJwKVkDS3A$5gHAfZH(b%1wxVfquymN(KvKD%n$v;NjUB z$27aTMGiAklmJ{@N?cCvNrMAFAwNco{9=)77$bO$WyA`orL$tC(QpgbUanw)7G-OR z`BqAk&#JTD6uChXhj`3^2AmQz?j3oP>s%@|PQ|n4^c%jy*Ds7gl_YbCX^Nb)BwcAe z`DY7b#I})&p3M6=wK^|((iKQOqse@C`d3Lv4i|gKMkmkxmVSz!EOEZS6G-wHA90M= zuGbD^-hSh~^3cm%=&MgKqOR~Rw5h5|f0EkdFK~iA%0{lfU+qf6n3m=YJbAY3^}P^Z zc!X#sts2uS<18h-^kK1tF~po{S-e5m836$&Lrg_3U2jJIm(#RvwwVt$++WixCI7#j z-pH|hpFAPfZNZ=EGG2K-KzqiT=>%I*N|l`&roAt1n%bXzW7tHlL{!h70gmQnGFXYe zphlr-vKuq%pwhn4rWxzPRO&*YO9Aby53l%_iL2V>)uli?FQ5l}lfytCY09D7z`F*LVxdL}^VFR2|T0W3HcX;_?lV&x9}J zHtKypb+!v*@a~uRrTppN+IgyU2oxS*IFRCJSj=%@8z^mgeF|HLk*7==WY~Tz9CVPI z=a!?)bDv%F1axHFDdl$R9V9~w<)~3@*7(apG8JxMelpjdZWw3I`r6`>n6R9;v+j58 z2ba|9QWrMJMpu!_htq5l^`h=$YSu}Yd0R)vUVGjJJg4p))DC6OfTU-DYCs!tK%4VP z*_^NgYsy&dpS-Ar$5mH1}v&9oqAq?Q%fEZu(T|KKeIrnQlvt8Exgb@zWNYCZn z;MP7~g8TzVD$exTnQHa&%3q9XetT z24{ubyBfdxwgDHIqQ@*06g?EIxl43y{(oUcXGMNKm7TxJk!~zjz?VFa0DqCy&T=D| z^Ped|l-SDKIXT)gtraeyrtXiqy|O+3ZSzo;&JN{Pkp+gTDv_YtFaL45GYzM3Rf-WN za*+@7Uk9oUXqh;Cav_tk-mddy#HZL<{}VW&Vq@L>38OZq-yP^Y+|>ECE2TO?Yo6T+ zRN@F%*y=hd&~89^jrpD}QzbqBLsI9s#W#5c1HihH@hRI#N9!uJiK754ueDC-&Tsvj zS)TfVh95HfRx*pgtMS7G)!jEfqOXh6#aqk>tcthzlAOg|{S?nL)*#Z&&26@3b6k!( z$#}zp*2Pqr-LnE?ybd?%&8?}+yAze3hQY196<9WQ#|89222LX-;&G`#JIMh;SP>Ae z$HtV=fO z;50J6<$&Z_0?$s*oml*_i{w~NHng<2Tem$iVI(pCg5F4u-Tt=ls#q+Fc(nnMc2ie++@ru?b2(dPfE3dd+o;u2qSn+ zh5RPst?cM*wu@?=Qw*Sg!h_T~T85-m6XZ2O>`&{@P^JjafrqZ$O23U&*D5)<3ldZl z4r+jto;TXgV`*z^^iE4n8oQ*C{^Pg5gPBWstJJ1HqQ|8UfPV+(AuhY|x!zZ&Ln2ZO5tv4U^Y0PoZEfkq7En{IS!TTNWV z=G28%7OtF}oht2+XF#;oNHSk)8fifK$am`821{2{X;}0#z<}5A9l4g#azUVGBf5~9 zyg4l`OoBK&%IQZm`BdqFik-`Ht=8AJ@8Qwo0^eE|rV39v3FoBQ<$_v0zl4Segbr@R z?SQ@KjgxK**_x+P(N_|7By+-IS=sjnY(Cc$x*Bu0<0EOX6X4YniILVfh|1a#EMRZ1YX5=E2#Q{_!c zOIsC!RBgJA#4sbJKl7T)8{!6`qB4%7ZawaWV0QjkQBh2XbiI97?XTm6j=9C=GZvjm z2nJ&N{_ioF5k-2mTWC5*uCqcq0eVN%s ztQBm>x>%4NChAxicEX^KMp*TI;Oa|3Xc<1r`^|fXUzWFb?39ryn$PPQkY>sd$yAye zb^=G2Y@)w|C8ixIv?4c{{z+`RV|t@|Sa>$v(ptuA3e0q_Ol*23lljA4HrXuDJwMoA zck*5lLqwXI|E7_&q*bUPR2F-M$!&(!%xj_8*6$bxzrswIaASNac(wz{9kgp_;Apy# z?_+Abb~jEDpg2S6bpg}p)vp3G0Fspxod3vMHK>k+$_0s%tgvNDoR=(-?IsT6i%2Qe zmTs^R-Y`v71ZoT+AxfXdAfpsUFR{ODBKPw823l}A3uAoQrU^LW1olF&f%*nyJFah3 zcnUnt!iI=jnHdUL3&I@^AdG1!C^XxaT zkcOn9#?H*h4RO&bW1D?{im{-bE|b8~`#M=|FKbH|!L4dt@^_2WvC1RYNT%VV5-F>C zOD9{cJd6^4=SyQqO9u^;yR`g95Hmb!N9VCU|MDDGg`|{bg=Vq_3HfM??~)CvwEF$L zcJ3VaQ2ARPkE*`i?{+a-6OY&ARSu;d6yre4v-uLDcB9@aKY7Y5#D*p|dYUNf0Kt3B z4Iq@-X88SXBUs`grmu6HigCj?&-|6)58Xe%`hHbdrp4>fd-B9;IIP3(bsf0g95tuN zvf-3C;R(J<-9;6(syaLWCvgI%=1lEdV~zNh%W`6=zA2W-hg;Hj_LNh5&CFC!i-aXp zf8s!N%@pN1b>U!laIy#Q>bppoo&lKs&OV7^YDsg2Hd8;v4GwP-@>DuDUW+g zoDQAp9TAitNbD?K#HmuFnllwS;qE0E<%6u!)h( z>bn^+>|1(|UVFTiu8*3y^2Q^m5i-t_x&kXY@}q&@ZEeEbN;iuu3*1|KcD%JXki6Do zZ3{;Cde0U2sK2^BIkZbd)y4a@m(pZP7H$F`q#;wv8cF^b2?5-pqD(1^>>@JuxN?Z!6YvvcD-J&eEdPPjstTla_u4_-lf|?|~nyhCFD(ZH%Eir^&6( zk5(=a^NPsTW#b!yXMhLM6B(J8XTh%1#tHvk-%3r_d@bgX`JwK3?3Lv!pVe1^G1BHv z)-#B%y@*uj)kd#M`jY7Pbi2~u#qJc*Y%ORfy1ir*rR%Ky^+s16D+1du^t|y5F(G|Y z!cyUC`)Jx$T!TUufui)74(t^LKvq}JmYeEA&!6sik>(GLf6^^)@7x;~hpdj&a%nDX zIgj}&#UL9@*rm4f6f1UatXHv&t4l&KR8P+OE=2ij*l4s&q^fetPYA}_aqBSCLeLD3 zVRSf$BZbZbzoLJ%MUA_Bu(``}l~~(KG;&5hn%Rc2KJnFCqqrLOW>Tgrw;8)3KGcLS zSznD{t6F7NMFPV@@fO#*qQ5#qMs%#uCx3}M#+W%U^l_6y$9Lh52*qHkkLG{eK9^3X zI0BOf36}8HxMe%P^?tc&5txp(Ce33}vY>Oo!~aqgXq<2*^GY+HLt}jHzY0Ii7-8&5 zwndcURm76F41yoSP0MZdx_OTny@a&`x%qB_i8PVs{nTa=L}M50H}pVR)p~4w$h0cy_oq{lgkjl|h=dS? zlKY6jMZTm$4!*a&AeRsm9k7T4ci&Db9qGOK>32`AhLA{=8A!CBj$>K>_1B_LX1c98 z#f*RrU6&B)Hms6Gt=b^YF1dh;Y|M;pHI7|=zcr{v=riC7{~4esx%t6J5u#x+Wa-cr$ zCRYRR4`@5?_XlNDH#RZtMvRyySx(At0WSCyG?*8v4OH_r5oft* z?rtjH+vy!ilw+wK-gKh{2;#HHL5nk=GFF4b<9=|FvVhPabAq6F+D36hdvc4z&J*V} z_t>qZs2ksk4efB2PYy_7)iN);6S#Un^?#JLvOa?$p}kpTrsn&h!rWx#82)<1s|XRBAx0oHq!B ze48XSJA2Fzai8njaEhw`%G=tXDGpM*3Ot-Hz-8Cv&w%P@z`*fehg(e#-5uCkw}uQn zU5b1t&c_MxE&%%Y>*?6ArnBJYWaE#S3n&$5cO~1Cz>Qe{=0|f~6^VcN#|0-(iFad- znu?Vohny^0onItTBcxS8WD+#Qn1&yS*`${ktpw?YUuQ2rdeq*lKW1Y6gre9XaSfAZ zGk$Mv5sVb~QY!6Q)S=VyxuBIDDoO)^lhe4rY0l-eF=)-;ewe~ho(ZR+cJG~Tk?iQ1 zY3TPl{duNehFlu{{wB}mK*O;ss)a5)%;}q%({Oc`9ib&S|CZ)h>3Di6M6xAxnZpmZ zk`U*TW&d%Y*ddj6*fOw{;%rCvGxp#b>j`1GxK#)NX-QD843BKKs8bL6*&F9CISYXl z%QjyNw6u@V#?1O{yjHNaX98S()^e8d#y$>b+U&KrV}CQu>rZ=0`HH-iFDc)CRHPQe zS@B|KYKaG8nfj-8+-2+%=OzIM-w|8t0zIa^f5Es4y(^N>J-~fGiv$qFcVa6oAfUG+O77M>bkP8@u5+M zdg&)vi7p}m5wTCM)sQFVB&*cy6dyCPsN>(p?H%k|IUu6L?N{QFNmCiIrotf8-M32N z(vuab?$ecvEPI%FG(gat48l-pM1K_}>o{QH>T6K;G~;U?P@~ng*d<@nzxRQW{Ui#i zY>0Po<}w?qk<}K8>sUhHD{s0pvXgkdSBW;uD;ZbUi_Z%g9L#j!Wsl`JySAy$61s5v z>p)wb@A2{4`U!J-fFjF0Nei*`Bb81+0GY6YiZ~A%sg>BM?uF){c#^0T;inC~Ppkzh zI+-rk5=eV(LdP@p6*j?q2N~Ck7c8x*5v7bfACR?;0`@- z61BZc^5M8S)2Qbpc5D;&QyaSNajZvYME15a{`OT&yFYtT5Pm_ZK#mz(nT@}Rw0R9n z*x>k~c96bduVS$)2=--+FpXVoOm>;LU%Lkk;tt(iO$`kmVS{cwnj%vKD! zG~3nT`+UOEz#y;MWTs>v(+0P!JEWSBqm!?Yy&&%8I%*=sk>*mzUcRSzP@zP!y9FLs zjE%C~m{kli;zNe68qQkX_7`nS%TSvIMmZNw5G#eHrF=Yw`N(&n4w<(8=q#e!X^+nS z@;&G#da}|>?(Rg(sVF!_Z=@S8p!fdP zKX2wYo^Sz!?KkK9V}#;O+wNfP4Md@E#5Ka71gaCkpo&rBwM0o;=3Q<}50YnAE9YYK z0+VI}8`k9)Sv3Z1*ZCD6CPMLf14ueKQTJDz`M*G02i9lpgBHa>?Bs|aadl+?a*&2k zi?F`j@(pZdfchS*+xM;H-Gmd01f++qe(RXdnJ&f0r6S)|sXt z+zr!!OZvpX*Z1o}OWKqrFA0V$IIV^<-D6nzUh%<*tRNzWfIGz;{_W>rL!_eBu)bfH z8nU6FJR?-MkktCdaLdq*o0#+`%(V^49C~`LluUt?biR8<6)_pXcwE%D1oKO!lSbo9 z+w(KNWEPDamJovanRkv+@A(k#R)MZ5`neGJm7+v#T{L;n1*X?ca|W4WV`PF%`+l&I2go>i=hHbvD8=t^3 zVBp3{Glf?Zo+&dz7NZP$*JXb4?$Gc{=w_&A4#bBfLM|&`CygN@+!@R*a?L5Qq_tQw zqmTIItFN-8eeVI``<9d~`mztu3lb@`sy3Nr4f>vDVVDKU-8&LWy9eni^o9CVjz)WfC!kNQ+~~5B8k|5 zu1Cn}=D|SYWFw3+g1;^N`cIYW6uv95(jsyns(>_sImawbDvss3$lPn0{IPjD=6k^$ zM5!SPEnUpyRXZeKLRyNU2CHzFqNKu`&EadJtiWl+msVkgV+#4r;@^j=#mGGtLrgqgB8=Ft zlQ+^d7z*X)UZke#MSa=NB~g1#L7<-qpiqPmD#pPes6fhZD8bX~Plj^#Z4XvpcrXqP z2~Y-KQU(In$ThZe_DZaV$lRuCo>#Y3PnDN1kVPN?DTroG4bWldEKTB<2@?S%XG)~^ zm~U2=mxKH_n#Pmjcd-%cZ}`TH6&=lDsLw+jS{jw<90oCnLFeyqR4hVL(l?C7GkrLK z4ZCvnP=?V`E@o1FNTERWEumNW_audo~xwDc%=6Z<4&dLrn1BApb#B|GWyo{sSKohy?uOX%YX&{U7-s z2L8jq|91>fdM%B$v-Z9ti7^n3TPsL3`HKN(VfO~+(*?fzf9OEO5*i=+^0*U-vE<69 z2MhYg`?m}bb2IgNDs<@sh>4Bu59)ojp48J5|F;JJrefZ(Fvnz=FeU6?zSp@%8(U#k z5R%Co_e|q0z+uqWCHvZHc!+=S$bNz_7x~#jHfFNASC%6CRm+&sc15Sa@vYQ z1`RV4s%S5kW2LO`-Te)Vk-4#SPFCdp71vF{_;A{d*JC7RtC3Wm7sb?pT zTm7bsdHR<8ddpyWjr~31@7IJqley!2wT;%?ExWx;NL~2(N-;MxlO$h2VRb2K9aT@> zUw5Bge^;+^vuHdhzLF7gtuvz0sl4O<@~t` zz6^ys(MW!9k>aDf_|wqGe;fOMsVvLYmEAndT{|??HI4;wmykP;DX6thMmUXsUl@U) z6M?~PscQj?!d+zO%J?BQyRmw+|6VgywF|xTZ-HpN?XR`0>)P(ImoqF^rF)Pua_+=#mv8!ChwhZA**TseoupOjAEOcSnJ;<|K@jb zne@K!ihG5Z#^R)+v0KZW0!YqJ(#T>wA?NEZ221pMF-7mt3GjyqR9X45HfE~i^xZlU z5PC&NJpiQrt~(@ap{d36>)Z_-zLVMP;KCs^`*W%^^F%NnVlmrV^%F znWbS<`u~OTC&focKm;J503HoT{x<$xIR4u}_}h5@CHJGtAdL^<-Kk_gSpUl`cc>_k z^joQwJ$W6K?pK9(a8CpIRes;EWfKlC)-Ke;W?!)+%PwWAopiyS8`qUOV;%d2rmfOV zZTQRmCF8iFDjRDKI2GP4MQMWMZ2Op@L1st;HqIj({NTzGF7K1WtVdbyQvS2E?|!Bw zE6sOt$0y(!;B*(SzxmDLAs;Pdy$uTps^F{j{bk+W+NrFQwt_hkqmROA~@k%)Xcr1~NTU}*0 zxXF&B6eEjEr|NgoPl1W$CWT}SccBrJRp*!~7zcAzKA%rnUs*-ORe~_`ti82L9#rSo zzJvYDOF3KCR`Aae+QxLgQog7#Q3hO#=x!&%!QlmT-Ir=$Bx-8PtFNhC$>I`+-AuF36 zL(4DMw1&9vqL|{)Cl+IGJ9!C*2Xoi$?Fz$z2Y2Z}j&E}V4!!Dc$`e(ZjlOXux1a@# zzagc2=bBsaE&p5@@OQ^yll#EU>G;7gfLr0tc;M_oEM1Kz_R>~laW+0$Vvqxop&as7 z-#4Xp0*V_UlNRC&;CBCJc(pEThGd7{ke(iCvp&CsRe-d;j1W$3RE2#^y5i~cnrysz zc-^OrsPJTIJX-GsRdYdn_D91!IVIMiDKWNPtHS-+p&L0Y%MYun4X*^kH>F!pnXnvP zG*_~|+rCdlq`tdMpATgp7{TT|+Ekza>?6x}o#=D_3}F2kDjZg(HLgdh({l9Lh&ZNM zvX9w}0<8sZ!DmIK#3qy0l&I-8hnh5yj{NCvk0no3e>Szdap0^uXjQ4%cBxLQD~32~ z@_k>_szh#hp%=_Q%LeAnTMuq=!UVR8!1_N^_`UifS;4LEoZ;y+#NG=MxHC)eYQ>x7 zP4l$S*FK?s2HX%ihH^)4I1%*7l{005Oot9vnDMg?BU!tYy1JeL5k+E&X!mofcA@MQ z$Y0`9Uc9X@5~>oD2nk-Y!yszDAINzmeV&8t4Jv#qjJoZGQ8m}fl zOYgFTQD)?`(mXrVW_=?){W_Vu@2rWMaR%c~-JJ0m0M}fg3*@$SSjrnR0dw;huYg4U zv_hQQjmYfkp^n>Ks1wmWr0Tq3blHPfp~y=a`Db>Cq!g~z@k|+Z@m?V&d=@*@bKkGY zR$|rn$TwHK{1bp13vzwznW!t|ACgx}F)OfP_7*l&(D7c(?P!|8N6O(-jB|!Z4OY3& zi^ymP-}liErRY|_7A3B4fh)voL;-rwX7>xWrbQ zXOU|DNa&-@*QLBcpHPP$2ZL!5r(urYsU9TZ3)GI|y|d-tcK!a4_a4o@QqSHgX#^$i9z>6Ww&ekUuxK7|FH9pdAfND&Xmrr61;vI!({0Lp=&$XKtt5W;vv!@>wRP?ahM{br+hlo~UPC)RMbj6S zCBHQDU2_IAs_PNH!WQVsW|haq;xERe8U&vRl4gy_Axx#on&@8Y2G!c`rJsb?0{qNZ zR$LC}0-LknO$%jIlDj?FOwL6COp-RN^gri+G*tV7>Ac*whmTY3VKu`++6i!$cPr)$ zres5@zNS|}f*dt^^d9{#(v5%s>2nz72Al9WD+gAk$hQpRlzCAy{@=X4U?^VoGH2Kq z#wN+eIfjvXHXK*C`I$`q&s{yx59jP+cPS(B>mQo>TYKskhgjEsSx6|?JCe2uDJ5ml zNHr-dp&rt2bE0`1PSf(*I;DM)P>vJE4y*wMe@uG3$0~=QG%vgz^lyH1OrcTj!0hwS zRD0fQQasds;IEXmq4^n9>r2a$%%lm|jY5CLYNQxR?58%L312gvd3==F4H{4Ok|Ykn z_fH}k<-F<(|9k``g(?-@pPE!Eqt?{ZN>Ks(MY#<$=DjKdQH4tUrcTO#1jgIc8Kd-O zSfL1HBPTY;tCj?Vl(r&`4SNi0MaoU!q$j{&eFQsWvbQOE2ECha)DT;}W`Kw)1`tmCCo%Xp9RcBw{~1uiWq9)u zhnKfLIV=vS3AWp+UTTs*Ki~*B4!k41BI)($eTWl>B(_9vR*Y>v28$uNL(e+eL|KSc zq%Q3)dUp!v6juy^u?x^yF7pPIdIzBkkDcI+XBf$6@gWEjkLHf zo3{n`yQBXKKc?vgxfl!Om~@5`m2E^Dyu;HrmtWZowchY$eg*($?ST0y7GP%;Mf_+%^8c`VBFdhTpeunonA zMM9L69*rBUU`Y4{?Z~;mid#%g>~J%`)PO?`e=AMB({98ISyA`#1ibw<%9`219!~%% zDkt6^S1wU3p<4e?3#P^{i5;Mm$5j3MI)`BTi7)q@;kz<#{>`_+XTTWz{>B>?W-wLR zpHWRl-$6Fk5IQ~^AfmW(IP-Fyxa?Ivjy-e0DWFC|EhVdh1S_ZSN1l*AnLS?6*M6(} zB9?i!kmC0CDGj^y%bcsH`PX%uh`(U|BG%u8AAk1_mHEkeqr_Y8wLZP9ud3VI)-R2< zKD;EG)tt+F2An;X4M%ncu!~~kU3_b@ucW1=S4E7J_9&?=#mJjcG>(paWE~f1vFcEL z-EW7VgXi0=WHblz_0Fo_i}iKRiH}To8{tGd(jPsCFxT6rX-w44_F0rCeAuid+u6ju z*n1>WhVs{2pls}VA~S44?P>?@TQuX<8ge7zoR?!-!y?o3FS-oh$#k*6LK(Cr0B9gI zvXVSEG9_f>Ufb9je%+2ERtBjWd1*vwbjkRocxNRs!f(-`yxby#Ym2cjOALr;+$cP> zA_tB6Z)QKYDA^p;nobtZn*+cIzO3dB!S0Ua8ore76r2>fx}lmV2lL!R{BzB348nf- zO>Q+#Z9kran)xJ6kT#wU!1P;CqJVuNL^EIO00sugoSn?TgPqLv`>$p^>-z8aY(%YH zgFe;dbX$KTFp}QUeFoS+C{qRcj4HLXe`((D0A9F8wST1SCU3TWGPKN-fZ)Fq*e6Sa zc6LPno*OYrw>isc+L(HZ>sTLiLSG6DY|4syDc;vjpG&BMdv^1*gxS?>E(G5}Eyc5n z@Pazq+m;w9HImt|at7&IxQw9aHj^5tQ0nUH@ds9Ob#!<0#*OZMj&&=L1Q$9SdFr0@ zic$GbECj0(DR4QlgS|E4FbAD57RT?x<0d2;p>$i6XOJ@guZ|mA+8)&rYu$7)CO1*? z%mjlQ8y0qgg&XUZ^rpMHkO_qQ#S0Nd`D*fAO>UOvda_FT(sq^zuU|;r9lbK@neji# zf;~G7`!T#ovsoG_>^03asx3{6C_TV61$4V*4|QtYEwAB2JykkIV~nZzV8r4|YCb^A zLe77Kh-(wJ(%on@6=R@BQw!h=I#fPkiPx z=gv>oMgV1{mTt;~*R@hkO+WlMP@je^xIR#a>{MS&X$6YkdD-u-(eWLSndumo1GlpJ zi=^@jEJ0xGQjC4dZE&@^Hbg(rHlc@gVN1}mJNJ>y<8V(sNV(&6z?cPXHWK1lg4d`T zZdvAZ&p>TW0(oQ{M3H(1Lq<|H{>|953WGk~cT58|^|vEdHoQRS!0xVou3b9kMbtzT z@5M@g&#Hdb3QdNTHoVpGSwT>34EoW7)1c{%!^qAL-GJuWZB5u<~HO6B{} zsGQP*1g3sm^2dN*we~~~16cm6!#eQXv9Q?!+VTzqMXKW@qsno?k9NfU2D1Eq$s59_ z5Gv@8j4y~^7Ta7IxHAxNuP%MwJ3hordf`1 zJi>harYwNYAG1*pPQ)=a+U-uhQ>r(L!#@o9dL0R^kQu4aXCo48$bu%LIKB+jxTPE5 zgdDC991n$(B~vh&GUV&Xjt}+Rd~|!e8d{s_ti+8KA+jt&sNSMQnv3ZZo;1F;GKT@SK#k3L+VA^*-?u&8FDIXMm_Z&NY>pTe*YV zQfFmLYl1MRHu(zYDR?V5TN{%Zj2It`;u@P8MtcoT%kD$>l-nW`AWM{4wn#0E5`9!x z8tOl*k-4u&zpAA+UZ^_ev~TX1cQAWh(Hx2&eJAFIue0On?X-tKp}^)iU|}IfeS^9w zf@+dkzHU_Xs-q=qO7_obZmg3!T;y*)IXOn8mIVa8pN9+y(0$H*>@QdNndQayaYoFwrO(WHUzI6V>BT#X(~4Rpp8kjqr3H6L~VSjK24Bo^_I^Io8)fy7iu?$ z+S`+?oZ2nHeJNSykXn_bqz3=}E&X@#cy12{exTR8y_O1jT8~+N^SEB~g#tYW+;>MS zL$j4r-`?d_CZ9-0ma!*`_O5Jiz%4R6t*|(#ROanol^0e&k~hJta2h_n__VSEHjx(P zJo`y{frqxBtKQs|1?PGhw25UY_J2vTVcRm^aTp<5hzje0UptX)0nuX{#< zBmx2$S$wx#N!}6Iiau86ppIMn6tF#S)=39(i1CN<{_@g$$u^Z``(hvgv&4+e_jSRd zm&!N3)cIQ5cDpH!xQT{l?V$oGd8aO6usqu=CyNgLptS7cGeDR`@I&d%jQP= zziBlXFp-BP^_Y=i3wX4Jh~)kvN%-^(Ao0=1to^vmD}76R7?b!(|J^F|ho+@t*|g@{ zTd>qz#@l@3pXZJaO^Sv*C>aUmHhhE{s#*c@x+e<}%ijo$?aq@q!8D{^9@yS!p@-EK ztA-ONS)e{Al%`yfNS4I8;S#srH;=EY|6KDJMYY&|+VAiiauT$kXt)9dp8==gYbzfy zW`LhM>7s41-b?$LQrr9rjt(Lv&6;wFYqxCjJX+aJXAPh-62HO4idEddgvIA=_zJW` z$6~WP?Zu1Q2$nDBZ`Xp|1&HAB9$LZtc(_};oS2GN%ld&9Xu*2J07P18RIaF~&0t`h zm>NpoA-R)6a040el}BFsyI1_~5dUX@Ql@5!uKuCqTa#PnD8{vX`3CrJJ6&r`*21$d z(@`fO6>tR4;zjMB&aQQawG@0K=*=N$Tkq;MUZpVgWQh7FCO3eq5X2lB%PTjUg|SQ zl}~;#Y5m*@y|AkwKi(K7fp^`i!>t$5D-&WMA^?I90rr9EDOLMA=#lt6`u2AFv-%;t zzr;Td4cE|t+}*Y{xXdC5+o^*0=4ZLYEGLGJbNeJJMomVi@o>1os^1WfBY09VMhh># zZJ=`0rD&|HVoKkd#%HQz-i}rIZkm{>C1(qZXGerGg2^CYELF{6s;x!;O(?QK0WdDi zBmxW;PW~LcWFM{SYh!{(OE(!K2#@!6o>WYmx$&JaIpfP9X%Te06QM8_cdZB2ZvZ`6tW8fQ~g!4DtX;hMvMBQwd^=M2|Y^!Bk7_UXw4_5{_(5* z7o+cZz+_%ZVMsPnDoutHTn3B%mqxv1>u^y;<}RKIow^u!GjqNBB`U9pB{c^-_jFe_ zu4|tFFN-xQHtFQc)mN2*0#8Nu+xZ7O_wj8pfkm+_sDxyz`W47#dFm_(y7&uIWhB@L zCFEf;vlqu2t`KLM09G;U=!N2EfNxt{HtXfqw~> zAkPHsJ;6E@M&CbHM(#P7ku0znxE2VC)lzn&$`pUdilxyA@E}AGmiGifwg zBW&Mgfb8iZQ7jWLlbnlW2R3Fjcc%YN&H9Aye{`0Nv8uj~Hk-2Hjg31LQ#MNlm%7AU zLpwzx?-H;I5}&x`&axXxjn^R?i5-u-JlXr4bB2o}zbX-m$}M*j!<_KH0X^vtNA>ui zN*m`o2D5@E;}{$|mq?!t-&;PNp{hPn^cqdGHkh3qUZ6Gj`waxssUkwXl?33$^q)CE zVcY>x*f-(5%931u%WBzEz)7WtO2 z+Mt@BCL6eOBrx|rytepX=5y0sICiiHT4ab75;AeI|Ayx@f`i>@I?gdEZ@A`Y{{ojM zKcwweVeohOk{!sjqK`PinK83KHtoEl?R<%}yvjH^ths z&xLFCE4i+Lb4#1M_Bf-?ACBp`Vdb#ySI0=hOtkC{zmR;W*U)F(_mrAy-VkP2MAPyn zjD^3KAXsi#-ZNQqbSJq5g1XwIiDz7Ft#OY{r!F}8%IE8d7PHv`b|;8Rbm!*)paNT! zNlZMgZt-DnY#7;;YyYo(tocR3HYE$#YxtatzKGTd9$KOFhz4vFp5Z7oh#|_xaF_X7 zCN#B$Pj2wmQ(;mrk;ZS@Iz%7*Q6QNvZ+>uChBPg~#G@v1`IGOPcIM-?Z_d_^t6HRp zpW5SvPQd&Xc0{}`CCa2poR6gxu*Xk#?VsAo&^rw9L!e$bAp=45?xL}tgI8(W?i6sz z^G;ZtlH>?y`Uw7P^Q@)Z$>8n&&tBbl;cbP{oWJ+zfolrRbVKVDY4O*M60lFDf^RAj za&b;bvl|$HWVjM+;S%VM0D8~qs2@4b#_CYI>a-Nf@Qi#m(EwGdU1YeZ*X*ryvn zQ^vh+VBIajlJ2ak&oVJWyHiu277o?vRHRF*M2X%C9;vD$e(aSAm@lCamsyURt2wD_oCRRmO zfR31Dh1&Pb8?Q?%pTP0;WxmuD3%5iHkM^w=sda1X*|q%6;M7X9R96Hjhu28)yn3y7 zUKMAVwET%)aLS9=aAi2{NCDpTz#q_)rwiR!u0DN{@=;e2voQ-8l+%5?J$S9ew-q-Y zLN4AueV*ia_R>#<_%Q3eUY&rB<=ED$S-{tGv32soT~BsQyA%UtEOy~#k#qqM?Hi*u zk`D$GSd?VNWi2=u8;q7c8@S(AHXUGUBzzX~9j&665grDqKV0xWPGBY6v*EEdi@a5| z%=PL8{%)U2$Zj>JZod7XOu6HMdLR`YI#}luFm;sCi;q4 zx1cXs|DF=4!(t(kIp2-egIOV?)r3^sUj68ezY!bH&9Jthf`iMWEn^c6?4T!)1AE(4 zJBb8?BOTp@Y`dK-)=*5VBbH^HA%@#r2^E3xRevb5Xu^lVvqzfW{^5bXeq15Y!E%5= zN%K6Xl69R4|G#H(jR#_I?gq;=K#X#%7(bMi;!qRgQvMQFRdo|%S!IE8S&q}8Xd&m7lsU~GBN;F;ja2&QbCvrsjezvY>+;HyM(C!r3 zdHe-vd7;PeNn$wlOzY`~7wFZBePxv89%I;@fO1x)NKGx9T$Xo}0EGKxG;*=-{TSc5 zS^4UoN8zTkvN{=3P=VsBJocF&Uq!<@^$=uZ%$@2uIfq@}DFNJ#0kW&%KQ|I@~nd_K-mnu4(FY*^1mrh1wpSl?gHw4rrs9KM@fh zxfV{uhoHE7y1N2Lqfz3nDiFn{2lcEy`t9=8`)0|?VLJ;d@Bblg`sKY>Ra_c@VZ2lTGKzUjOlHE$o!IUq8>UjIdu4>fmiWM!B45r;3&L2o|c^?Dsu$>^^%ZHJed$T^leZ%Hva$lbYh@wNk||DNqb^ z^>JaBGTR06hWCd@MY-)c4~D06eTI!SlIN};Ru7^8nY$H8P1@BPH~-{h+5U2_FUoqW zx?eJ~%fG2vaf)Xc)4l6{r@0X6&fSl#xB$EiWnx9yy;M-|(CBB!HX&f3Dq6Rg+`?Ps zN^JVcHG3}k+Y^UXb=V9NVv*+O5u%>ATl9(aR3eQjPxKbZ-&rkR)XJnKBT9jr^t)+r z&Dy%KyQG$>A};f!C12ccgZ*lcvYLI?nx2}B6p~cQeRpnOS@}2#tB{KsMFqQt;F2X| z{L;Ia&nK9p&-^G1<2Ad_9f=}co3CXQZa@TzDIht;dUtf<;`>jWqFd%5B)!1ug=?>D z7_tBP=keCCjLt%J6*TqH%BO$u+Fu9eedY+_RHeqUsK#p1FSQ{M5l*HWD=U+Ol-H-SKE4wIAPsOGg+#Z(Lkaud^TZijlyVZ6?mJM84{Ys&P{#-j+%cTL{_ z5rs%;bDDSzs-7$6&2)4mAc}ON(=(xRQBK+DkP4QnZw`L_8Y(BXr zKt$+#6&$|E)yU#@tm2kIIhol!uU+0fHQ9HL0f=JKm11H~6X=*-9e8Vqg4`dK6*Yww zf>jiDIQq$TlG7OrLP}OGXTbGZbfE5pgTg^x5sU!k2I0RMYwdABQ zYupmGBBvmfo||f7hgIJwqVSSMD>Td;i7D+p7pkApAl2cnwi#jgstd8StQDR}f58!2 zLGGR{e?*)ufogl7u zuP9uJr4>n|25v?^l_5_uKGbNb=g{@{L_LVlFyy|5SkSgmsbsciPFfitPq$ce!%fKp z@@dA`Y@`+1fg8Xt(o#Z`YK({FxW?J{-TH^O2F*b8?%bC%E?Qk;d}v#MAfJ ZDocumentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/cplaydate/lcdrect/index.html b/docs/documentation/playdatekit/cplaydate/lcdrect/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/cplaydate/lcdrect/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/cplaydate/lcdrect/init(x:y:width:height:)/index.html b/docs/documentation/playdatekit/cplaydate/lcdrect/init(x:y:width:height:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/cplaydate/lcdrect/init(x:y:width:height:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/cplaydate/lcdrect/translated(dx:dy:)/index.html b/docs/documentation/playdatekit/cplaydate/lcdrect/translated(dx:dy:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/cplaydate/lcdrect/translated(dx:dy:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/display/index.html b/docs/documentation/playdatekit/display/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/display/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/file/index.html b/docs/documentation/playdatekit/file/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/file/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/graphics/index.html b/docs/documentation/playdatekit/graphics/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/graphics/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/index.html b/docs/documentation/playdatekit/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/json/index.html b/docs/documentation/playdatekit/json/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/json/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/display/flipped/index.html b/docs/documentation/playdatekit/playdate/display/flipped/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/display/flipped/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/display/height/index.html b/docs/documentation/playdatekit/playdate/display/height/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/display/height/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/display/index.html b/docs/documentation/playdatekit/playdate/display/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/display/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/display/inverted/index.html b/docs/documentation/playdatekit/playdate/display/inverted/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/display/inverted/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/display/refreshrate/index.html b/docs/documentation/playdatekit/playdate/display/refreshrate/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/display/refreshrate/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/display/scale/index.html b/docs/documentation/playdatekit/playdate/display/scale/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/display/scale/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/display/setmosaic(x:y:)/index.html b/docs/documentation/playdatekit/playdate/display/setmosaic(x:y:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/display/setmosaic(x:y:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/display/setoffset(dx:dy:)/index.html b/docs/documentation/playdatekit/playdate/display/setoffset(dx:dy:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/display/setoffset(dx:dy:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/display/width/index.html b/docs/documentation/playdatekit/playdate/display/width/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/display/width/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/error/index.html b/docs/documentation/playdatekit/playdate/error/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/error/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/file/filehandle/close()/index.html b/docs/documentation/playdatekit/playdate/file/filehandle/close()/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/file/filehandle/close()/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/file/filehandle/currentseekposition()/index.html b/docs/documentation/playdatekit/playdate/file/filehandle/currentseekposition()/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/file/filehandle/currentseekposition()/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/file/filehandle/flush()/index.html b/docs/documentation/playdatekit/playdate/file/filehandle/flush()/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/file/filehandle/flush()/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/file/filehandle/index.html b/docs/documentation/playdatekit/playdate/file/filehandle/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/file/filehandle/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/file/filehandle/read(buffer:length:)/index.html b/docs/documentation/playdatekit/playdate/file/filehandle/read(buffer:length:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/file/filehandle/read(buffer:length:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/file/filehandle/seek(to:seek:)/index.html b/docs/documentation/playdatekit/playdate/file/filehandle/seek(to:seek:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/file/filehandle/seek(to:seek:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/file/filehandle/seek/!=(_:_:)/index.html b/docs/documentation/playdatekit/playdate/file/filehandle/seek/!=(_:_:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/file/filehandle/seek/!=(_:_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/file/filehandle/seek/beginning/index.html b/docs/documentation/playdatekit/playdate/file/filehandle/seek/beginning/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/file/filehandle/seek/beginning/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/file/filehandle/seek/current/index.html b/docs/documentation/playdatekit/playdate/file/filehandle/seek/current/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/file/filehandle/seek/current/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/file/filehandle/seek/end/index.html b/docs/documentation/playdatekit/playdate/file/filehandle/seek/end/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/file/filehandle/seek/end/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/file/filehandle/seek/equatable-implementations/index.html b/docs/documentation/playdatekit/playdate/file/filehandle/seek/equatable-implementations/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/file/filehandle/seek/equatable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/file/filehandle/seek/hash(into:)/index.html b/docs/documentation/playdatekit/playdate/file/filehandle/seek/hash(into:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/file/filehandle/seek/hash(into:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/file/filehandle/seek/hashvalue/index.html b/docs/documentation/playdatekit/playdate/file/filehandle/seek/hashvalue/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/file/filehandle/seek/hashvalue/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/file/filehandle/seek/index.html b/docs/documentation/playdatekit/playdate/file/filehandle/seek/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/file/filehandle/seek/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/file/filehandle/seek/init(rawvalue:)/index.html b/docs/documentation/playdatekit/playdate/file/filehandle/seek/init(rawvalue:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/file/filehandle/seek/init(rawvalue:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/file/filehandle/seek/rawrepresentable-implementations/index.html b/docs/documentation/playdatekit/playdate/file/filehandle/seek/rawrepresentable-implementations/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/file/filehandle/seek/rawrepresentable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/file/filehandle/write(buffer:)/index.html b/docs/documentation/playdatekit/playdate/file/filehandle/write(buffer:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/file/filehandle/write(buffer:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/file/index.html b/docs/documentation/playdatekit/playdate/file/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/file/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/file/listfiles(path:callback:userdata:showhidden:)-2w9lz/index.html b/docs/documentation/playdatekit/playdate/file/listfiles(path:callback:userdata:showhidden:)-2w9lz/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/file/listfiles(path:callback:userdata:showhidden:)-2w9lz/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/file/listfiles(path:callback:userdata:showhidden:)-59mk2/index.html b/docs/documentation/playdatekit/playdate/file/listfiles(path:callback:userdata:showhidden:)-59mk2/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/file/listfiles(path:callback:userdata:showhidden:)-59mk2/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/file/mkdir(path:)-4vzum/index.html b/docs/documentation/playdatekit/playdate/file/mkdir(path:)-4vzum/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/file/mkdir(path:)-4vzum/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/file/mkdir(path:)-9rwpo/index.html b/docs/documentation/playdatekit/playdate/file/mkdir(path:)-9rwpo/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/file/mkdir(path:)-9rwpo/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/file/open(path:mode:)-2yhbs/index.html b/docs/documentation/playdatekit/playdate/file/open(path:mode:)-2yhbs/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/file/open(path:mode:)-2yhbs/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/file/open(path:mode:)-8kp20/index.html b/docs/documentation/playdatekit/playdate/file/open(path:mode:)-8kp20/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/file/open(path:mode:)-8kp20/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/file/options/index.html b/docs/documentation/playdatekit/playdate/file/options/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/file/options/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/file/rename(from:to:)-3ff0y/index.html b/docs/documentation/playdatekit/playdate/file/rename(from:to:)-3ff0y/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/file/rename(from:to:)-3ff0y/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/file/rename(from:to:)-969yy/index.html b/docs/documentation/playdatekit/playdate/file/rename(from:to:)-969yy/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/file/rename(from:to:)-969yy/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/file/stat(path:)-6ac1z/index.html b/docs/documentation/playdatekit/playdate/file/stat(path:)-6ac1z/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/file/stat(path:)-6ac1z/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/file/stat(path:)-9vquc/index.html b/docs/documentation/playdatekit/playdate/file/stat(path:)-9vquc/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/file/stat(path:)-9vquc/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/file/unlink(path:recursive:)-4jt6t/index.html b/docs/documentation/playdatekit/playdate/file/unlink(path:recursive:)-4jt6t/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/file/unlink(path:recursive:)-4jt6t/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/file/unlink(path:recursive:)-9dq44/index.html b/docs/documentation/playdatekit/playdate/file/unlink(path:recursive:)-9dq44/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/file/unlink(path:recursive:)-9dq44/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/bitmap/clear(bgcolor:)/index.html b/docs/documentation/playdatekit/playdate/graphics/bitmap/clear(bgcolor:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/bitmap/clear(bgcolor:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/bitmap/copy()/index.html b/docs/documentation/playdatekit/playdate/graphics/bitmap/copy()/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/bitmap/copy()/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/bitmap/drawmode/index.html b/docs/documentation/playdatekit/playdate/graphics/bitmap/drawmode/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/bitmap/drawmode/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/bitmap/flip/index.html b/docs/documentation/playdatekit/playdate/graphics/bitmap/flip/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/bitmap/flip/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/bitmap/getdata(mask:data:)/index.html b/docs/documentation/playdatekit/playdate/graphics/bitmap/getdata(mask:data:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/bitmap/getdata(mask:data:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/bitmap/index.html b/docs/documentation/playdatekit/playdate/graphics/bitmap/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/bitmap/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/bitmap/init(path:)-2idv2/index.html b/docs/documentation/playdatekit/playdate/graphics/bitmap/init(path:)-2idv2/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/bitmap/init(path:)-2idv2/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/bitmap/init(path:)-3qejh/index.html b/docs/documentation/playdatekit/playdate/graphics/bitmap/init(path:)-3qejh/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/bitmap/init(path:)-3qejh/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/bitmap/init(width:height:bgcolor:)/index.html b/docs/documentation/playdatekit/playdate/graphics/bitmap/init(width:height:bgcolor:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/bitmap/init(width:height:bgcolor:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/bitmap/load(from:)-39up6/index.html b/docs/documentation/playdatekit/playdate/graphics/bitmap/load(from:)-39up6/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/bitmap/load(from:)-39up6/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/bitmap/load(from:)-9wm1t/index.html b/docs/documentation/playdatekit/playdate/graphics/bitmap/load(from:)-9wm1t/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/bitmap/load(from:)-9wm1t/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/bitmap/mask/index.html b/docs/documentation/playdatekit/playdate/graphics/bitmap/mask/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/bitmap/mask/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/bitmap/rotated(by:xscale:yscale:)/index.html b/docs/documentation/playdatekit/playdate/graphics/bitmap/rotated(by:xscale:yscale:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/bitmap/rotated(by:xscale:yscale:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/bitmaptable/bitmap(at:)/index.html b/docs/documentation/playdatekit/playdate/graphics/bitmaptable/bitmap(at:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/bitmaptable/bitmap(at:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/bitmaptable/index.html b/docs/documentation/playdatekit/playdate/graphics/bitmaptable/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/bitmaptable/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/bitmaptable/init(count:width:height:)/index.html b/docs/documentation/playdatekit/playdate/graphics/bitmaptable/init(count:width:height:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/bitmaptable/init(count:width:height:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/bitmaptable/init(path:)-2zigw/index.html b/docs/documentation/playdatekit/playdate/graphics/bitmaptable/init(path:)-2zigw/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/bitmaptable/init(path:)-2zigw/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/bitmaptable/init(path:)-8fybj/index.html b/docs/documentation/playdatekit/playdate/graphics/bitmaptable/init(path:)-8fybj/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/bitmaptable/init(path:)-8fybj/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/bitmaptable/load(from:)-2e5co/index.html b/docs/documentation/playdatekit/playdate/graphics/bitmaptable/load(from:)-2e5co/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/bitmaptable/load(from:)-2e5co/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/bitmaptable/load(from:)-9txdn/index.html b/docs/documentation/playdatekit/playdate/graphics/bitmaptable/load(from:)-9txdn/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/bitmaptable/load(from:)-9txdn/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/checkmaskcollision(bitmap1:x1:y1:flip1:bitmap2:x2:y2:flip2:rect:)/index.html b/docs/documentation/playdatekit/playdate/graphics/checkmaskcollision(bitmap1:x1:y1:flip1:bitmap2:x2:y2:flip2:rect:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/checkmaskcollision(bitmap1:x1:y1:flip1:bitmap2:x2:y2:flip2:rect:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/clear(color:)/index.html b/docs/documentation/playdatekit/playdate/graphics/clear(color:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/clear(color:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/clearcliprect()/index.html b/docs/documentation/playdatekit/playdate/graphics/clearcliprect()/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/clearcliprect()/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/color/index.html b/docs/documentation/playdatekit/playdate/graphics/color/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/color/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/colorfrompattern(_:x:y:)/index.html b/docs/documentation/playdatekit/playdate/graphics/colorfrompattern(_:x:y:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/colorfrompattern(_:x:y:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/copyframebufferbitmap()/index.html b/docs/documentation/playdatekit/playdate/graphics/copyframebufferbitmap()/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/copyframebufferbitmap()/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/display()/index.html b/docs/documentation/playdatekit/playdate/graphics/display()/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/display()/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/drawbitmap(_:x:y:degrees:centerx:centery:xscale:yscale:)/index.html b/docs/documentation/playdatekit/playdate/graphics/drawbitmap(_:x:y:degrees:centerx:centery:xscale:yscale:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/drawbitmap(_:x:y:degrees:centerx:centery:xscale:yscale:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/drawbitmap(_:x:y:flip:)/index.html b/docs/documentation/playdatekit/playdate/graphics/drawbitmap(_:x:y:flip:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/drawbitmap(_:x:y:flip:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/drawbitmap(_:x:y:xscale:yscale:)/index.html b/docs/documentation/playdatekit/playdate/graphics/drawbitmap(_:x:y:xscale:yscale:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/drawbitmap(_:x:y:xscale:yscale:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/drawellipse(x:y:width:height:linewidth:startangle:endangle:color:)/index.html b/docs/documentation/playdatekit/playdate/graphics/drawellipse(x:y:width:height:linewidth:startangle:endangle:color:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/drawellipse(x:y:width:height:linewidth:startangle:endangle:color:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/drawline(x1:y1:x2:y2:linewidth:color:)/index.html b/docs/documentation/playdatekit/playdate/graphics/drawline(x1:y1:x2:y2:linewidth:color:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/drawline(x1:y1:x2:y2:linewidth:color:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/drawrect(x:y:width:height:color:)/index.html b/docs/documentation/playdatekit/playdate/graphics/drawrect(x:y:width:height:color:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/drawrect(x:y:width:height:color:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/drawtext(_:length:encoding:x:y:)/index.html b/docs/documentation/playdatekit/playdate/graphics/drawtext(_:length:encoding:x:y:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/drawtext(_:length:encoding:x:y:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/fillellipse(x:y:width:height:startangle:endangle:color:)/index.html b/docs/documentation/playdatekit/playdate/graphics/fillellipse(x:y:width:height:startangle:endangle:color:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/fillellipse(x:y:width:height:startangle:endangle:color:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/fillpolygon(points:color:fillrule:)/index.html b/docs/documentation/playdatekit/playdate/graphics/fillpolygon(points:color:fillrule:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/fillpolygon(points:color:fillrule:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/fillrect(x:y:width:height:color:)/index.html b/docs/documentation/playdatekit/playdate/graphics/fillrect(x:y:width:height:color:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/fillrect(x:y:width:height:color:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/filltriangle(x1:y1:x2:y2:x3:y3:color:)/index.html b/docs/documentation/playdatekit/playdate/graphics/filltriangle(x1:y1:x2:y2:x3:y3:color:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/filltriangle(x1:y1:x2:y2:x3:y3:color:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/font/getpage(for:)/index.html b/docs/documentation/playdatekit/playdate/graphics/font/getpage(for:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/font/getpage(for:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/font/gettextwidth(for:length:encoding:tracking:)/index.html b/docs/documentation/playdatekit/playdate/graphics/font/gettextwidth(for:length:encoding:tracking:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/font/gettextwidth(for:length:encoding:tracking:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/font/glyph/index.html b/docs/documentation/playdatekit/playdate/graphics/font/glyph/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/font/glyph/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/font/glyph/kerning(between:and:)/index.html b/docs/documentation/playdatekit/playdate/graphics/font/glyph/kerning(between:and:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/font/glyph/kerning(between:and:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/font/height/index.html b/docs/documentation/playdatekit/playdate/graphics/font/height/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/font/height/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/font/index.html b/docs/documentation/playdatekit/playdate/graphics/font/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/font/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/font/page/glyph(for:)/index.html b/docs/documentation/playdatekit/playdate/graphics/font/page/glyph(for:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/font/page/glyph(for:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/font/page/index.html b/docs/documentation/playdatekit/playdate/graphics/font/page/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/font/page/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/getdebugbitmap()/index.html b/docs/documentation/playdatekit/playdate/graphics/getdebugbitmap()/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/getdebugbitmap()/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/getdisplaybufferbitmap()/index.html b/docs/documentation/playdatekit/playdate/graphics/getdisplaybufferbitmap()/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/getdisplaybufferbitmap()/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/getdisplayframe()/index.html b/docs/documentation/playdatekit/playdate/graphics/getdisplayframe()/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/getdisplayframe()/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/getframe()/index.html b/docs/documentation/playdatekit/playdate/graphics/getframe()/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/getframe()/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/index.html b/docs/documentation/playdatekit/playdate/graphics/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/linecapstyle/index.html b/docs/documentation/playdatekit/playdate/graphics/linecapstyle/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/linecapstyle/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/markupdatedrows(start:end:)/index.html b/docs/documentation/playdatekit/playdate/graphics/markupdatedrows(start:end:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/markupdatedrows(start:end:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/pattern/index.html b/docs/documentation/playdatekit/playdate/graphics/pattern/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/pattern/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/polygonfillrule/index.html b/docs/documentation/playdatekit/playdate/graphics/polygonfillrule/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/polygonfillrule/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/popcontext()/index.html b/docs/documentation/playdatekit/playdate/graphics/popcontext()/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/popcontext()/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/pushcontext(_:)/index.html b/docs/documentation/playdatekit/playdate/graphics/pushcontext(_:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/pushcontext(_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/rect/index.html b/docs/documentation/playdatekit/playdate/graphics/rect/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/rect/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/setbackgroundcolor(_:)/index.html b/docs/documentation/playdatekit/playdate/graphics/setbackgroundcolor(_:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/setbackgroundcolor(_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/setcliprect(x:y:width:height:)/index.html b/docs/documentation/playdatekit/playdate/graphics/setcliprect(x:y:width:height:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/setcliprect(x:y:width:height:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/setdrawmode(_:)/index.html b/docs/documentation/playdatekit/playdate/graphics/setdrawmode(_:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/setdrawmode(_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/setdrawoffset(dx:dy:)/index.html b/docs/documentation/playdatekit/playdate/graphics/setdrawoffset(dx:dy:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/setdrawoffset(dx:dy:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/setfont(_:)/index.html b/docs/documentation/playdatekit/playdate/graphics/setfont(_:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/setfont(_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/setlinecapstyle(_:)/index.html b/docs/documentation/playdatekit/playdate/graphics/setlinecapstyle(_:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/setlinecapstyle(_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/setscreencliprect(x:y:width:height:)/index.html b/docs/documentation/playdatekit/playdate/graphics/setscreencliprect(x:y:width:height:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/setscreencliprect(x:y:width:height:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/setstencil(_:)/index.html b/docs/documentation/playdatekit/playdate/graphics/setstencil(_:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/setstencil(_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/setstencilimage(_:tile:)/index.html b/docs/documentation/playdatekit/playdate/graphics/setstencilimage(_:tile:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/setstencilimage(_:tile:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/settextleading(_:)/index.html b/docs/documentation/playdatekit/playdate/graphics/settextleading(_:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/settextleading(_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/solidcolor/index.html b/docs/documentation/playdatekit/playdate/graphics/solidcolor/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/solidcolor/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/stringencoding/index.html b/docs/documentation/playdatekit/playdate/graphics/stringencoding/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/stringencoding/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/texttracking/index.html b/docs/documentation/playdatekit/playdate/graphics/texttracking/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/texttracking/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/tilebitmap(_:x:y:width:height:flip:)/index.html b/docs/documentation/playdatekit/playdate/graphics/tilebitmap(_:x:y:width:height:flip:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/tilebitmap(_:x:y:width:height:flip:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/video/index.html b/docs/documentation/playdatekit/playdate/graphics/video/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/video/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/video/player/context/index.html b/docs/documentation/playdatekit/playdate/graphics/video/player/context/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/video/player/context/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/video/player/index.html b/docs/documentation/playdatekit/playdate/graphics/video/player/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/video/player/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/video/player/info/index.html b/docs/documentation/playdatekit/playdate/graphics/video/player/info/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/video/player/info/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/video/player/init(path:)-672iw/index.html b/docs/documentation/playdatekit/playdate/graphics/video/player/init(path:)-672iw/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/video/player/init(path:)-672iw/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/video/player/init(path:)-9lw78/index.html b/docs/documentation/playdatekit/playdate/graphics/video/player/init(path:)-9lw78/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/video/player/init(path:)-9lw78/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/video/player/renderframe(_:)/index.html b/docs/documentation/playdatekit/playdate/graphics/video/player/renderframe(_:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/video/player/renderframe(_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/video/player/setcontext(_:)/index.html b/docs/documentation/playdatekit/playdate/graphics/video/player/setcontext(_:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/video/player/setcontext(_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/graphics/video/player/usescreencontext()/index.html b/docs/documentation/playdatekit/playdate/graphics/video/player/usescreencontext()/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/graphics/video/player/usescreencontext()/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/index.html b/docs/documentation/playdatekit/playdate/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/initialize(with:)/index.html b/docs/documentation/playdatekit/playdate/initialize(with:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/initialize(with:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/json/decode(using:reader:value:)/index.html b/docs/documentation/playdatekit/playdate/json/decode(using:reader:value:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/json/decode(using:reader:value:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/json/decoder/index.html b/docs/documentation/playdatekit/playdate/json/decoder/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/json/decoder/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/json/decodestring(using:jsonstring:value:)-1uq5u/index.html b/docs/documentation/playdatekit/playdate/json/decodestring(using:jsonstring:value:)-1uq5u/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/json/decodestring(using:jsonstring:value:)-1uq5u/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/json/decodestring(using:jsonstring:value:)-xwiz/index.html b/docs/documentation/playdatekit/playdate/json/decodestring(using:jsonstring:value:)-xwiz/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/json/decodestring(using:jsonstring:value:)-xwiz/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/json/encoder/index.html b/docs/documentation/playdatekit/playdate/json/encoder/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/json/encoder/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/json/index.html b/docs/documentation/playdatekit/playdate/json/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/json/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/json/initencoder(encoder:writefunc:userdata:pretty:)/index.html b/docs/documentation/playdatekit/playdate/json/initencoder(encoder:writefunc:userdata:pretty:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/json/initencoder(encoder:writefunc:userdata:pretty:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/json/reader/index.html b/docs/documentation/playdatekit/playdate/json/reader/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/json/reader/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/json/value/index.html b/docs/documentation/playdatekit/playdate/json/value/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/json/value/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/playdateapi/index.html b/docs/documentation/playdatekit/playdate/playdateapi/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/playdateapi/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/scoreboards/addscore(boardid:value:callback:)-29nc6/index.html b/docs/documentation/playdatekit/playdate/scoreboards/addscore(boardid:value:callback:)-29nc6/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/scoreboards/addscore(boardid:value:callback:)-29nc6/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/scoreboards/addscore(boardid:value:callback:)-8xab3/index.html b/docs/documentation/playdatekit/playdate/scoreboards/addscore(boardid:value:callback:)-8xab3/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/scoreboards/addscore(boardid:value:callback:)-8xab3/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/scoreboards/boardslist/index.html b/docs/documentation/playdatekit/playdate/scoreboards/boardslist/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/scoreboards/boardslist/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/scoreboards/freeboardslist(_:)/index.html b/docs/documentation/playdatekit/playdate/scoreboards/freeboardslist(_:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/scoreboards/freeboardslist(_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/scoreboards/freescore(_:)/index.html b/docs/documentation/playdatekit/playdate/scoreboards/freescore(_:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/scoreboards/freescore(_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/scoreboards/freescoreslist(_:)/index.html b/docs/documentation/playdatekit/playdate/scoreboards/freescoreslist(_:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/scoreboards/freescoreslist(_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/scoreboards/getpersonalbest(boardid:callback:)-8h5m9/index.html b/docs/documentation/playdatekit/playdate/scoreboards/getpersonalbest(boardid:callback:)-8h5m9/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/scoreboards/getpersonalbest(boardid:callback:)-8h5m9/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/scoreboards/getpersonalbest(boardid:callback:)-a93b/index.html b/docs/documentation/playdatekit/playdate/scoreboards/getpersonalbest(boardid:callback:)-a93b/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/scoreboards/getpersonalbest(boardid:callback:)-a93b/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/scoreboards/getscoreboards(callback:)/index.html b/docs/documentation/playdatekit/playdate/scoreboards/getscoreboards(callback:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/scoreboards/getscoreboards(callback:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/scoreboards/getscores(boardid:callback:)-8hnfz/index.html b/docs/documentation/playdatekit/playdate/scoreboards/getscores(boardid:callback:)-8hnfz/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/scoreboards/getscores(boardid:callback:)-8hnfz/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/scoreboards/getscores(boardid:callback:)-9heou/index.html b/docs/documentation/playdatekit/playdate/scoreboards/getscores(boardid:callback:)-9heou/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/scoreboards/getscores(boardid:callback:)-9heou/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/scoreboards/index.html b/docs/documentation/playdatekit/playdate/scoreboards/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/scoreboards/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/scoreboards/score/index.html b/docs/documentation/playdatekit/playdate/scoreboards/score/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/scoreboards/score/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/scoreboards/scoreslist/index.html b/docs/documentation/playdatekit/playdate/scoreboards/scoreslist/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/scoreboards/scoreslist/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/adddirtyrect(_:)/index.html b/docs/documentation/playdatekit/playdate/sprite/adddirtyrect(_:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/adddirtyrect(_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/alloverlappingsprites()/index.html b/docs/documentation/playdatekit/playdate/sprite/alloverlappingsprites()/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/alloverlappingsprites()/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/clearcliprectsinrange(startz:endz:)/index.html b/docs/documentation/playdatekit/playdate/sprite/clearcliprectsinrange(startz:endz:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/clearcliprectsinrange(startz:endz:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/collisioninfo/actualx/index.html b/docs/documentation/playdatekit/playdate/sprite/collisioninfo/actualx/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/collisioninfo/actualx/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/collisioninfo/actualy/index.html b/docs/documentation/playdatekit/playdate/sprite/collisioninfo/actualy/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/collisioninfo/actualy/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/collisioninfo/collisions/index.html b/docs/documentation/playdatekit/playdate/sprite/collisioninfo/collisions/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/collisioninfo/collisions/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/collisioninfo/index.html b/docs/documentation/playdatekit/playdate/sprite/collisioninfo/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/collisioninfo/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/collisionresponsetype/index.html b/docs/documentation/playdatekit/playdate/sprite/collisionresponsetype/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/collisionresponsetype/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/drawdisplaylistsprites()/index.html b/docs/documentation/playdatekit/playdate/sprite/drawdisplaylistsprites()/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/drawdisplaylistsprites()/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/getdisplaylistspritecount()/index.html b/docs/documentation/playdatekit/playdate/sprite/getdisplaylistspritecount()/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/getdisplaylistspritecount()/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/index.html b/docs/documentation/playdatekit/playdate/sprite/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/queryinfo/index.html b/docs/documentation/playdatekit/playdate/sprite/queryinfo/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/queryinfo/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/queryinfo/info/index.html b/docs/documentation/playdatekit/playdate/sprite/queryinfo/info/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/queryinfo/info/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/queryspriteinfoalongline(x1:y1:x2:y2:)/index.html b/docs/documentation/playdatekit/playdate/sprite/queryspriteinfoalongline(x1:y1:x2:y2:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/queryspriteinfoalongline(x1:y1:x2:y2:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/queryspritesalongline(x1:y1:x2:y2:)/index.html b/docs/documentation/playdatekit/playdate/sprite/queryspritesalongline(x1:y1:x2:y2:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/queryspritesalongline(x1:y1:x2:y2:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/queryspritesatpoint(x:y:)/index.html b/docs/documentation/playdatekit/playdate/sprite/queryspritesatpoint(x:y:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/queryspritesatpoint(x:y:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/queryspritesinrect(x:y:width:height:)/index.html b/docs/documentation/playdatekit/playdate/sprite/queryspritesinrect(x:y:width:height:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/queryspritesinrect(x:y:width:height:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/rect/index.html b/docs/documentation/playdatekit/playdate/sprite/rect/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/rect/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/removeallspritesfromdisplaylist()/index.html b/docs/documentation/playdatekit/playdate/sprite/removeallspritesfromdisplaylist()/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/removeallspritesfromdisplaylist()/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/removespritesfromdisplaylist(_:)/index.html b/docs/documentation/playdatekit/playdate/sprite/removespritesfromdisplaylist(_:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/removespritesfromdisplaylist(_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/resetcollisionworld()/index.html b/docs/documentation/playdatekit/playdate/sprite/resetcollisionworld()/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/resetcollisionworld()/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/setalwaysredraw(_:)/index.html b/docs/documentation/playdatekit/playdate/sprite/setalwaysredraw(_:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/setalwaysredraw(_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/setcliprectsinrange(cliprect:startz:endz:)/index.html b/docs/documentation/playdatekit/playdate/sprite/setcliprectsinrange(cliprect:startz:endz:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/setcliprectsinrange(cliprect:startz:endz:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/sprite/addtodisplaylist()/index.html b/docs/documentation/playdatekit/playdate/sprite/sprite/addtodisplaylist()/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/sprite/addtodisplaylist()/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/sprite/bounds/index.html b/docs/documentation/playdatekit/playdate/sprite/sprite/bounds/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/sprite/bounds/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/sprite/center/index.html b/docs/documentation/playdatekit/playdate/sprite/sprite/center/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/sprite/center/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/sprite/checkcollisions(goalx:goaly:)/index.html b/docs/documentation/playdatekit/playdate/sprite/sprite/checkcollisions(goalx:goaly:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/sprite/checkcollisions(goalx:goaly:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/sprite/colliderect/index.html b/docs/documentation/playdatekit/playdate/sprite/sprite/colliderect/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/sprite/colliderect/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/sprite/collisionsenabled/index.html b/docs/documentation/playdatekit/playdate/sprite/sprite/collisionsenabled/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/sprite/collisionsenabled/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/sprite/copy()/index.html b/docs/documentation/playdatekit/playdate/sprite/sprite/copy()/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/sprite/copy()/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/sprite/image/index.html b/docs/documentation/playdatekit/playdate/sprite/sprite/image/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/sprite/image/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/sprite/imageflip/index.html b/docs/documentation/playdatekit/playdate/sprite/sprite/imageflip/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/sprite/imageflip/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/sprite/index.html b/docs/documentation/playdatekit/playdate/sprite/sprite/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/sprite/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/sprite/init()/index.html b/docs/documentation/playdatekit/playdate/sprite/sprite/init()/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/sprite/init()/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/sprite/isvisible/index.html b/docs/documentation/playdatekit/playdate/sprite/sprite/isvisible/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/sprite/isvisible/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/sprite/markdirty()/index.html b/docs/documentation/playdatekit/playdate/sprite/sprite/markdirty()/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/sprite/markdirty()/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/sprite/moveby(dx:dy:)/index.html b/docs/documentation/playdatekit/playdate/sprite/sprite/moveby(dx:dy:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/sprite/moveby(dx:dy:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/sprite/moveto(x:y:)/index.html b/docs/documentation/playdatekit/playdate/sprite/sprite/moveto(x:y:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/sprite/moveto(x:y:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/sprite/movewithcollisions(goalx:goaly:)/index.html b/docs/documentation/playdatekit/playdate/sprite/sprite/movewithcollisions(goalx:goaly:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/sprite/movewithcollisions(goalx:goaly:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/sprite/overlappingsprites/index.html b/docs/documentation/playdatekit/playdate/sprite/sprite/overlappingsprites/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/sprite/overlappingsprites/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/sprite/position/index.html b/docs/documentation/playdatekit/playdate/sprite/sprite/position/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/sprite/position/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/sprite/removefromdisplaylist()/index.html b/docs/documentation/playdatekit/playdate/sprite/sprite/removefromdisplaylist()/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/sprite/removefromdisplaylist()/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/sprite/setcliprect(_:)/index.html b/docs/documentation/playdatekit/playdate/sprite/sprite/setcliprect(_:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/sprite/setcliprect(_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/sprite/setcollisionresponsefunction(function:)/index.html b/docs/documentation/playdatekit/playdate/sprite/sprite/setcollisionresponsefunction(function:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/sprite/setcollisionresponsefunction(function:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/sprite/setdrawfunction(drawfunction:)/index.html b/docs/documentation/playdatekit/playdate/sprite/sprite/setdrawfunction(drawfunction:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/sprite/setdrawfunction(drawfunction:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/sprite/setdrawmode(_:)/index.html b/docs/documentation/playdatekit/playdate/sprite/sprite/setdrawmode(_:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/sprite/setdrawmode(_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/sprite/setignoresdrawoffset(_:)/index.html b/docs/documentation/playdatekit/playdate/sprite/sprite/setignoresdrawoffset(_:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/sprite/setignoresdrawoffset(_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/sprite/setimage(image:flip:)/index.html b/docs/documentation/playdatekit/playdate/sprite/sprite/setimage(image:flip:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/sprite/setimage(image:flip:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/sprite/setopaque(_:)/index.html b/docs/documentation/playdatekit/playdate/sprite/sprite/setopaque(_:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/sprite/setopaque(_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/sprite/setsize(width:height:)/index.html b/docs/documentation/playdatekit/playdate/sprite/sprite/setsize(width:height:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/sprite/setsize(width:height:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/sprite/setstencil(_:)/index.html b/docs/documentation/playdatekit/playdate/sprite/sprite/setstencil(_:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/sprite/setstencil(_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/sprite/setstencilimage(_:tile:)/index.html b/docs/documentation/playdatekit/playdate/sprite/sprite/setstencilimage(_:tile:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/sprite/setstencilimage(_:tile:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/sprite/setstencilpattern(_:)/index.html b/docs/documentation/playdatekit/playdate/sprite/sprite/setstencilpattern(_:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/sprite/setstencilpattern(_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/sprite/setupdatefunction(_:)/index.html b/docs/documentation/playdatekit/playdate/sprite/sprite/setupdatefunction(_:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/sprite/setupdatefunction(_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/sprite/tag/index.html b/docs/documentation/playdatekit/playdate/sprite/sprite/tag/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/sprite/tag/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/sprite/updatesenabled/index.html b/docs/documentation/playdatekit/playdate/sprite/sprite/updatesenabled/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/sprite/updatesenabled/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/sprite/userdata/index.html b/docs/documentation/playdatekit/playdate/sprite/sprite/userdata/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/sprite/userdata/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/sprite/zindex/index.html b/docs/documentation/playdatekit/playdate/sprite/sprite/zindex/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/sprite/zindex/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/sprite/updateanddrawdisplaylistsprites()/index.html b/docs/documentation/playdatekit/playdate/sprite/updateanddrawdisplaylistsprites()/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/sprite/updateanddrawdisplaylistsprites()/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/accelerometer/index.html b/docs/documentation/playdatekit/playdate/system/accelerometer/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/accelerometer/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/accelerometerisenabled/index.html b/docs/documentation/playdatekit/playdate/system/accelerometerisenabled/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/accelerometerisenabled/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/addcheckmarkmenuitem(title:checked:callback:userdata:)-1zw7w/index.html b/docs/documentation/playdatekit/playdate/system/addcheckmarkmenuitem(title:checked:callback:userdata:)-1zw7w/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/addcheckmarkmenuitem(title:checked:callback:userdata:)-1zw7w/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/addcheckmarkmenuitem(title:checked:callback:userdata:)-8ift/index.html b/docs/documentation/playdatekit/playdate/system/addcheckmarkmenuitem(title:checked:callback:userdata:)-8ift/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/addcheckmarkmenuitem(title:checked:callback:userdata:)-8ift/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/addmenuitem(title:callback:userdata:)-1bfwq/index.html b/docs/documentation/playdatekit/playdate/system/addmenuitem(title:callback:userdata:)-1bfwq/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/addmenuitem(title:callback:userdata:)-1bfwq/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/addmenuitem(title:callback:userdata:)-47a4f/index.html b/docs/documentation/playdatekit/playdate/system/addmenuitem(title:callback:userdata:)-47a4f/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/addmenuitem(title:callback:userdata:)-47a4f/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/addoptionsmenuitem(title:options:callback:userdata:)-1ohgi/index.html b/docs/documentation/playdatekit/playdate/system/addoptionsmenuitem(title:options:callback:userdata:)-1ohgi/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/addoptionsmenuitem(title:options:callback:userdata:)-1ohgi/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/addoptionsmenuitem(title:options:callback:userdata:)-51mvf/index.html b/docs/documentation/playdatekit/playdate/system/addoptionsmenuitem(title:options:callback:userdata:)-51mvf/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/addoptionsmenuitem(title:options:callback:userdata:)-51mvf/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/batterypercentage/index.html b/docs/documentation/playdatekit/playdate/system/batterypercentage/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/batterypercentage/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/batteryvoltage/index.html b/docs/documentation/playdatekit/playdate/system/batteryvoltage/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/batteryvoltage/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/buttons/index.html b/docs/documentation/playdatekit/playdate/system/buttons/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/buttons/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/buttonstate/index.html b/docs/documentation/playdatekit/playdate/system/buttonstate/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/buttonstate/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/clearicache()/index.html b/docs/documentation/playdatekit/playdate/system/clearicache()/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/clearicache()/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/convertdatetimetoepoch(_:)/index.html b/docs/documentation/playdatekit/playdate/system/convertdatetimetoepoch(_:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/convertdatetimetoepoch(_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/convertepochtodatetime(_:)/index.html b/docs/documentation/playdatekit/playdate/system/convertepochtodatetime(_:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/convertepochtodatetime(_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/crankangle/index.html b/docs/documentation/playdatekit/playdate/system/crankangle/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/crankangle/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/crankchange/index.html b/docs/documentation/playdatekit/playdate/system/crankchange/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/crankchange/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/currenttimemilliseconds/index.html b/docs/documentation/playdatekit/playdate/system/currenttimemilliseconds/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/currenttimemilliseconds/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/datetime/index.html b/docs/documentation/playdatekit/playdate/system/datetime/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/datetime/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/drawfps(x:y:)/index.html b/docs/documentation/playdatekit/playdate/system/drawfps(x:y:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/drawfps(x:y:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/elapsedtime/index.html b/docs/documentation/playdatekit/playdate/system/elapsedtime/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/elapsedtime/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/error(_:)-1qzf1/index.html b/docs/documentation/playdatekit/playdate/system/error(_:)-1qzf1/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/error(_:)-1qzf1/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/error(_:)-376ql/index.html b/docs/documentation/playdatekit/playdate/system/error(_:)-376ql/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/error(_:)-376ql/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/error(_:)-7ut9u/index.html b/docs/documentation/playdatekit/playdate/system/error(_:)-7ut9u/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/error(_:)-7ut9u/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/event/index.html b/docs/documentation/playdatekit/playdate/system/event/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/event/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/flipped/index.html b/docs/documentation/playdatekit/playdate/system/flipped/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/flipped/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/getsecondssinceepoch(_:)/index.html b/docs/documentation/playdatekit/playdate/system/getsecondssinceepoch(_:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/getsecondssinceepoch(_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/index.html b/docs/documentation/playdatekit/playdate/system/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/iscrankdocked/index.html b/docs/documentation/playdatekit/playdate/system/iscrankdocked/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/iscrankdocked/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/language-swift.type.property/index.html b/docs/documentation/playdatekit/playdate/system/language-swift.type.property/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/language-swift.type.property/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/language-swift.typealias/index.html b/docs/documentation/playdatekit/playdate/system/language-swift.typealias/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/language-swift.typealias/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/log(_:)-4t2fc/index.html b/docs/documentation/playdatekit/playdate/system/log(_:)-4t2fc/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/log(_:)-4t2fc/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/log(_:)-4z6ae/index.html b/docs/documentation/playdatekit/playdate/system/log(_:)-4z6ae/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/log(_:)-4z6ae/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/menuitem/index.html b/docs/documentation/playdatekit/playdate/system/menuitem/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/menuitem/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/menuitem/settitle(_:)/index.html b/docs/documentation/playdatekit/playdate/system/menuitem/settitle(_:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/menuitem/settitle(_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/menuitem/title/index.html b/docs/documentation/playdatekit/playdate/system/menuitem/title/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/menuitem/title/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/menuitem/userdata/index.html b/docs/documentation/playdatekit/playdate/system/menuitem/userdata/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/menuitem/userdata/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/menuitem/value/index.html b/docs/documentation/playdatekit/playdate/system/menuitem/value/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/menuitem/value/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/peripherals/index.html b/docs/documentation/playdatekit/playdate/system/peripherals/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/peripherals/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/realloc(pointer:size:)/index.html b/docs/documentation/playdatekit/playdate/system/realloc(pointer:size:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/realloc(pointer:size:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/reduceflashing/index.html b/docs/documentation/playdatekit/playdate/system/reduceflashing/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/reduceflashing/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/removeallmenuitems()/index.html b/docs/documentation/playdatekit/playdate/system/removeallmenuitems()/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/removeallmenuitems()/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/removemenuitem(_:)/index.html b/docs/documentation/playdatekit/playdate/system/removemenuitem(_:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/removemenuitem(_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/resetelapsedtime()/index.html b/docs/documentation/playdatekit/playdate/system/resetelapsedtime()/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/resetelapsedtime()/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/setautolockdisabled(_:)/index.html b/docs/documentation/playdatekit/playdate/system/setautolockdisabled(_:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/setautolockdisabled(_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/setbuttoncallback(callback:buttonuserdata:queuesize:)/index.html b/docs/documentation/playdatekit/playdate/system/setbuttoncallback(callback:buttonuserdata:queuesize:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/setbuttoncallback(callback:buttonuserdata:queuesize:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/setcranksoundsdisabled(_:)/index.html b/docs/documentation/playdatekit/playdate/system/setcranksoundsdisabled(_:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/setcranksoundsdisabled(_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/setmenuimage(_:xoffset:)/index.html b/docs/documentation/playdatekit/playdate/system/setmenuimage(_:xoffset:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/setmenuimage(_:xoffset:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/setserialmessagecallback(callback:)/index.html b/docs/documentation/playdatekit/playdate/system/setserialmessagecallback(callback:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/setserialmessagecallback(callback:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/shoulddisplay24hourtime/index.html b/docs/documentation/playdatekit/playdate/system/shoulddisplay24hourtime/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/shoulddisplay24hourtime/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/timezoneoffset/index.html b/docs/documentation/playdatekit/playdate/system/timezoneoffset/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/timezoneoffset/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdate/system/updatecallback/index.html b/docs/documentation/playdatekit/playdate/system/updatecallback/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdate/system/updatecallback/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdategame/devicedidunlock()-1l3vt/index.html b/docs/documentation/playdatekit/playdategame/devicedidunlock()-1l3vt/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdategame/devicedidunlock()-1l3vt/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdategame/devicedidunlock()-3b5ai/index.html b/docs/documentation/playdatekit/playdategame/devicedidunlock()-3b5ai/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdategame/devicedidunlock()-3b5ai/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdategame/devicewilllock()-26xpv/index.html b/docs/documentation/playdatekit/playdategame/devicewilllock()-26xpv/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdategame/devicewilllock()-26xpv/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdategame/devicewilllock()-49mit/index.html b/docs/documentation/playdatekit/playdategame/devicewilllock()-49mit/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdategame/devicewilllock()-49mit/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdategame/devicewillsleep()-1i4ad/index.html b/docs/documentation/playdatekit/playdategame/devicewillsleep()-1i4ad/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdategame/devicewillsleep()-1i4ad/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdategame/devicewillsleep()-7hts3/index.html b/docs/documentation/playdatekit/playdategame/devicewillsleep()-7hts3/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdategame/devicewillsleep()-7hts3/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdategame/gamewillpause()-185zs/index.html b/docs/documentation/playdatekit/playdategame/gamewillpause()-185zs/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdategame/gamewillpause()-185zs/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdategame/gamewillpause()-62mhi/index.html b/docs/documentation/playdatekit/playdategame/gamewillpause()-62mhi/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdategame/gamewillpause()-62mhi/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdategame/gamewillresume()-1er7i/index.html b/docs/documentation/playdatekit/playdategame/gamewillresume()-1er7i/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdategame/gamewillresume()-1er7i/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdategame/gamewillresume()-7avob/index.html b/docs/documentation/playdatekit/playdategame/gamewillresume()-7avob/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdategame/gamewillresume()-7avob/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdategame/gamewillterminate()-5qroh/index.html b/docs/documentation/playdatekit/playdategame/gamewillterminate()-5qroh/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdategame/gamewillterminate()-5qroh/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdategame/gamewillterminate()-9epf7/index.html b/docs/documentation/playdatekit/playdategame/gamewillterminate()-9epf7/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdategame/gamewillterminate()-9epf7/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdategame/handle(_:)/index.html b/docs/documentation/playdatekit/playdategame/handle(_:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdategame/handle(_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdategame/index.html b/docs/documentation/playdatekit/playdategame/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdategame/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdategame/init()/index.html b/docs/documentation/playdatekit/playdategame/init()/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdategame/init()/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdategame/update()-873r0/index.html b/docs/documentation/playdatekit/playdategame/update()-873r0/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdategame/update()-873r0/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/playdategame/update()-91u4m/index.html b/docs/documentation/playdatekit/playdategame/update()-91u4m/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/playdategame/update()-91u4m/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/posix_memalign(_:_:_:)/index.html b/docs/documentation/playdatekit/posix_memalign(_:_:_:)/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/posix_memalign(_:_:_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/scoreboards/index.html b/docs/documentation/playdatekit/scoreboards/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/scoreboards/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/sprite/index.html b/docs/documentation/playdatekit/sprite/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/sprite/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/playdatekit/system/index.html b/docs/documentation/playdatekit/system/index.html new file mode 100644 index 00000000..685fbbbd --- /dev/null +++ b/docs/documentation/playdatekit/system/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/favicon.ico b/docs/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..5231da6dc99b41b8c9b720113cc4991529eb215e GIT binary patch literal 15406 zcmeI0eXLhy9l(EZk(V;zI<*U%aPfsugKmE)10f(cwHIH|L9U{ah=EJiM6*Bqr=-%B zThmgUiaYBb7lU3O68JDrPAE|?)})tN@Xd!mX^#urc&8-W~DL~ zA3}(DSI?zd>5t=7SPZK&9IMk-CKECK0-k`U;cFR=)oIfwPriimM=%tA34>uqhGTWw z^!XyhV$KJkAAAL7f)e5#tD6n_=o|X*H*J9*!w=xkaDO&l!&TI))8<%TW5QhB$+!uI zgTK|W+?WyW{SEqf|1Ajfd@f__<&V_U0+&D*$rJDKckKge;Kf=4$g1yzV zevDUKll89O?gaefnyh#KgdEOCSXb^j@flUKe{ri#JZG9=8hAeSq6{S0`EUiecg3+f zZG9m_NO~Q(PhNvAI0l^=j@4OB}1yrjNeH7;BDt zWHdpouphn+qu>SD3}=Ay(+tPz{s`+qUt^3l$7rZUrr_*cu7eQkS-Ka@9VD)=PTM~C zrZ)2K)rVdOADP-OM$Xw7xcdj5kIxhq;`Ko_erfdtCwz5ab>P+hI^p zWY@g<`siy+5ObN+++jY0EnHnEt*{XW2W2+i&GoiO7lwKDwcQT8Anwv1zHlea=$Fm1)sI(CEUl?<>-x#b&fv;*0N?0-z}1g&&lU_V`|9mi=Myc zxnOMGv-X*JZYk~$*X38eNyO)Q1TIeW;kK-PSOZPLIl9{09^9bKRvHMhR+!J{={mSZ}p2hmSQ_*J4%V8!QhMz&m7p^a$ z^Ea%@vFY>ojNl(%&1dX-i1m)OS<~8~eqN2^sc*ib`r1PMD;PT$d2{UC)jR*@Gu9lb z#PdG}W6}C^o%kE#cV3(;%xkO*<7(I6Kmv;PpL@ss=bx5&QdZv>WApZ(=SkRq=Jo9H zOi1N;&!1OGn0Nm8w?sI9tm#?k8t_@A=jET!Ez8mCw>Be<@qQT?o7${ltr-yHM8ALR z<0f#uP6N-~fbUS(;DksQY(6ueUAPZdeT_-qzthm=y?;@6Kc`l%ek0_4e=O1|k)rjd z?=Bb=`SPepAKywB^;;M_*%tm}?1`+Ztu!H^3Y4AhQ*Fos_PR7-If9s>KVyrpLRc&otyT#a6*bmJiTl_eC4Te}Daj`>Vh+L>zB}qp%5jZldfi5@( zof(eRXh;0!C&y zR;NuLeNP6lk6|zgJOl58r@(i`R&ei$V|Ci}(bpJbPta6h`nD1o*f5aCHPx{SnpBrx!(-~ zAeN&3_0e}R82bo>`C!;xVZh`4g&u_3-dw&O(faiBSzn|gW=k0oKhE&S>*S8sr zHOG|@#2VJJrnUVI;TbWkN}BNU`8hx484R&}n44$8Ir9G$ozGNy>fe|xlb-rFW<0o;&1KG1tZfhWVo&x~Ca(Fp;C|c= zE#UKv#d*66Le5iSV>GU&e`A+sxy)(qSgdUi_F_-=W{*WO3WH~`z1;#sau|-z=iLcc z=h#EcMc8&`I1c*sY7TQf1LjWc-hUnJ$#vvAu1H+V`n?6dS02h?1-gCU-ddhx4>7B- zc}9xkpii&nFxOr%cWU?EUj7Z9tBW8{Tx;zR-tS$E^U!{*3O{4@le|2!uG*aDYKL@B zy3Q76b)Mro3$86dyU%-Zfjz`6!0w!i@ses#^MQCh%`y{q#M6>ODD!(GJ)J6Em&9%fBZMfdA(;5Q^kn4DO?Ka7K|+rmv;{ zGl^Lb=C;Qo8HC|iV6XOU@9ORY*WWjwOeSM=udRfSlsRInrGIm+0&|CXWtc0sp|#f^ zg1w&xt3llqD3j|jc7bQwhsqqW)zZJY9tQh&ua?PFjP~#(*t_3K8(}|`t$obh?>}S1 zZ&z0&we%m>fVt-sCCv1$FV7i!w)YXR6?`XordYR#d$IYP?uU<+_!)m0yqe*-D5rXJ zJpktZK9u>|qrKX*y^n-#VC+AjqlAB9^Bv-KXNg}2HhcHIDvmo!Fqh9iPtP`M^u_sUPIK3Kehwn0 z+V|I`_TWA^yc@2xy)J3_rufp#orIy zcK=`MZmv7P9*g8u3~jI-nxRZQ!#gq@mq{~5bDF#C`_1n!dyK!|xb6NwuvV^b!ff!F z6p7!sufrup4w=4|{>^31Uzg;xCwsHU4KNgfXj=$f@I1@{_fZ~e(Radk3+y4Lp1)tr z9pclgJv|5Zcq^oH+=Q+jdA^W=7vMjXm z#SG{E8E_3u{q3TPIJdL$M#?^_GE7(p-37q%mu$sJr7zSU1tN( z-38`*3{HVOsb>EgYYuan)7-IG`;%ZV_GEAUp-dVvhMcPz=dHEr==VSyjDtL>rvLE- z?f`R5gH)_-5B|PK!QQG7<9t>JVF~ygWATiB7PPx((s@JG{SDv2Rs1cf7;^_40&|%& z7Hj%9nfBkoN1+yR&29nrmcPOHcr9JY{oC*d7zL^HH2=*6YzA|fD~L6$Wz9~ohYO)r zaW8xtjCY<_LY!wH_dZi?cZ2g8OIiQ=E(Yh;9OepQjg??tYr9tMr5-WPe6A(Wt{35Y z2=y*t{1Ujgu7UXZ6!ou z4g7WtbCuV>w#k{VF~*vs1ucb-aRa=P;aJ^X(8oAqjCE`- zbDFz1)(dHR6xYY@7ee^YE1DL~HCqmqduHQ*85BwYUDcA^G yVOxe{bx(pm`c4GDf#W^T?Fke6@Nd!6;4Byct_N|fPMba_OV70Of&4$uz<&VCpkVL- literal 0 HcmV?d00001 diff --git a/docs/favicon.svg b/docs/favicon.svg new file mode 100644 index 00000000..c54c53fb --- /dev/null +++ b/docs/favicon.svg @@ -0,0 +1,11 @@ + + + \ No newline at end of file diff --git a/docs/img/added-icon.832a5d2c.svg b/docs/img/added-icon.832a5d2c.svg new file mode 100644 index 00000000..6bb6d89a --- /dev/null +++ b/docs/img/added-icon.832a5d2c.svg @@ -0,0 +1,11 @@ + + + \ No newline at end of file diff --git a/docs/img/deprecated-icon.7bf1740a.svg b/docs/img/deprecated-icon.7bf1740a.svg new file mode 100644 index 00000000..a0f80086 --- /dev/null +++ b/docs/img/deprecated-icon.7bf1740a.svg @@ -0,0 +1,11 @@ + + + \ No newline at end of file diff --git a/docs/img/modified-icon.efb2697d.svg b/docs/img/modified-icon.efb2697d.svg new file mode 100644 index 00000000..3e0bd6f0 --- /dev/null +++ b/docs/img/modified-icon.efb2697d.svg @@ -0,0 +1,11 @@ + + + \ No newline at end of file diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 00000000..db00b4df --- /dev/null +++ b/docs/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/index/availability.index b/docs/index/availability.index new file mode 100644 index 0000000000000000000000000000000000000000..05be8ee21d92e061a53b344bf900718bd71dccc1 GIT binary patch literal 214 zcmYc)$jK}&F)+Bo$i&RT%EvDnl9E`G7%w24lbDxYnwXv%k{^(hSdx}slv^AxAe5O` zl3J9On4IbZl`f7ffJt9uV-GaA$iW!{6Y)#TO})g$&BGg#2V{lhCKhK0C+6gcFhIe7 zC|Iyi;4+sWw~(+%P-aSKaCv50NoX;M6kuGyAtS(hC66NkW$Z literal 0 HcmV?d00001 diff --git a/docs/index/data.mdb b/docs/index/data.mdb new file mode 100755 index 0000000000000000000000000000000000000000..21ac557e5e710399730924d9e1ddf7cab879674a GIT binary patch literal 102400 zcmeHw3zQ^PT4q*OWoBe%WF}&ZEaGfW4+pETnTq$L?3wAo7MUIfXP90F5gFofBVUn^ z%8Yy-MC5P~k;PsXXK|LrmPMA+2U!+5$U#JGaZZcvh&ax&II;{PBH}D^5L-lM|35P# zDk?H_sLFzI){W$lmHpov-@W(0H}2!V|05RjKGf*PbC3U@#}+)&=!1X5OE;lK*WKF0}%%z4n!P?IPhL@z`M7P#p1D3W3LrnD?D6yFK{D_hyxJ^A`V0x zh&T{&AmTv8frtYU2O0SPg_2sFUcaQF! zlSLEsZqq*yHQtoB?Zu(;S z`Ru*fOR{HYpU&Ko`DiAe`D*%_^hN12(@w3$95{RCxFXHX|n!_+ycFD32d^^4y~F!8$=zM6O}ad+aeg_{%I#Qm{D z3s)o#jH%$|HCfcsq^F64WkNhf?6v(pZDtbUGw3YWwTRv0a=^xIv(CBTfj5C#;@9j z*&>Fs>a?_a+Xi-+%VvMg9IUN;!fkJUF1&KR>@4@!25Y^t>6F$=q+BdHYb)GmT~vAt zsD35egSJCzt8L=6Nvo{cHPUWtMPg{St!uzi@5kCo>;e}*J0Cs_k50J;*vp?^>o+V5 zidzQKYqy#tJb!L6;W zcSwh{%R>UZ`BAq-YQ7S+j?=&a7i@%co{O291G7bdy~NgOdGQ$YJk|NX(4}1Iz<#FRz^MwsmPPJiuxg%gsi)?vU2nxJy3bA}-E>Xg7-3$a96E zq!HFbithx;;Vi@S-k^m!kc#+*8Vwlf?Q-3K$+KaUu#z8h+li)MTb+wn-M5~!T8-AI zrE_krB67c1lLW z225Cp+snm;O?~!7R~o z2FoknxLlqe&1f_MD0awg=?{dEytn*2bsat1tvBwW-fg^&hrIU$UZK3}6QdFRzO2*=T#S;Cs1` z@c5G5LOraqP2Qh<2fjbZjm#Em;ZBdSe-(R`nB=yc+Cs~ljdr>J`5LKdcDY!GZ)c6?9dG{p&fO(>{kF7?mU&D4c*XZtp&jqDVjj|t_gS%j zi`@nNg=gw_=`a6O^PRdU!=4#`;xQ*?Q7;#sDqKxHTsTs=q0lURfjYhLX#TGJO?fAO zdHz6tZ+=()?c9sG6S)U-w}WiJ&K=6_%bk^@a}UzD)7Qb-{}63a`{=W1ntmhuwd@nw ztFrsDZ)EPuT$agX9!Xa~UT`0Ul$#g!Ej*HWIX27)nUm?qK$dWRI+=cwx|wpQ#}d~k zt)Pb7{f?@JzDd@gZL;@0HX;%~;ESh^)~bje#4&fnHPcD(8Iw}dFBS@r+b_I7YT zvSUoma5}Kd?0AR=-Xp|*?4zU3U5cHz9Yk*_UG0`l(iq8DNK1E-_Roc6HR{eP95Niz zcSeGRWsrES*`!_s83U;s4YOP?u7NDWsNxU*1o*KXmDWUg02Z_|9_MsSQ3+$3rmhl$ z{|I1vvjYBpmv`BhHLd#m8MSIGA&LEv%by>b9|@})+vnn}&5u*G2hEb#VwI6OS?6RT z7@7i@Kjz}&@9no(FFQ4@>7XoR)oy6!GM>fYEUP+wvkr42e(0ENaF!_;BCE5i0OgG7 zx!7k>ns+YCvUR>~oDB&ZPiO+eNut2&viYIOCpe>BUtj+~@CijHtft6B5e?=0{3o!7 z8If3~&PW1tMt}}IE-)->5kuusvgp-S)fI!NGN%ffgeMV??$(v#RjH4XIgc)zjLJ*A zV5qDaq$`S`F&58DA|WVm3b$F3YwH6P8Lfv>xc;DNYA85qdSxiAB(n+>A~OuiEH>yG zq)3`#N(QcDAtYwllq$wIfvxRO3MX^Udi$RtrSD^@yuxaNsRqhZLQkeKkXT*)RW0z zN($d-+q(XX(^4#h)BC?REyd)xvUX%j3TNqqmQtIRB32l!i=vWndpMz~4uqeXmco}S z)y9=mQrMwgu2_#vOX;;u$N1T)DMU7#qoZVqZ)}@%x@A0ugzLttrH-clQaEM&JRMV2 zPLMQC;tWkJ`r{Yo3k~{?BgB#f;U|K0%QO_$G*nJye;nxF-ZjXRr|gI3Y;~p_-9z9P z-a<4rkmka*0jr3^_5oxH@aw%=(R{q^)^75age?o2>B+Zn$FQx|Zs56>8l2Q`cHhI5 z)oUrP)pOJ=c;CY7qE>#dR%#yVgFT9P+p5>-ie=@!U+FD{6BwE0MNX4PHN*PBTQ_s% zn?9eIPoBqL|t%Pq8df6D>|L zMZP~O3Cn|Z&g4v%Qv}vhtq*LXGsGgW$eEn-!61Fs4n>n$-H>_0apo@v^Q*9e^130) zhI;j8`ldarU(cy4IPQR0P8T>vu?!2R?~VM^cSh59E`TElhG|&_qlxmVK^&e4I;R?{ zrU|$}`S>ugE2^joBBR~3i4NUu39G*uA#3eV)J@X=Ajrh=vpD+B#6ZwcxY%6C_FWXBH3B zefmoJ0=gc*K7LE`D8**nrtWgpHS$qtjdmzERv zFYSxpkUb^w+G1(xNNQjDVDeD!1X5OE;lK*WLfp99`4(q~6HMV3>mtJW_-u^~FC zYgOBxq?<+F=>6>kopcnjQ~b~*y($k(WkctNc6FIZrP#KdU!BZv^?N$Ox@@iw;hmu= zqTT0ax>;m-$2>ks*9YYq|93t;>y~S@L4yJ>RYN$&dZlXCzc-*mG3JlatlISfS_Ez` z*Ql3k78BIwar0Xpz1n$o5??LWjmo1FbbVcEw@ut}ZpPOco9_>Qe}b+#MoHt)+I4e& ztvyux{nIAusWr_ZC+(WdUlYt~AMGweIHjT~GlwVX7RwGwe>6!Ko0Ve!Gn3`AL&vWC z!9;$wQP$K>@RoYaH)YV|`SlYM`IWxY?{`tRVskx}VwW+5&rHzes?_f{KjqWCejgdM zqWW40N0vy9S^u+1I!iP`y>)^vwaaR;{EbO^6Yk`j8+veFxsqY4Y6Bj82r z=6dpA;_Q^PNxD+yDjM3fY|hVFTEpz3RYQnw*mYKaWdeuOb+%v1`E;*;IlilxMIgI4 zzLwr#P;XnkKb@A+tvW^fucoDR^aek?ds>R)n0)~irYFjA_-aj~r##c|^c6$>!)YmH zS>ifmS_)qh&GpBpr1W}{Qxf&14ngj3a`TyNH z`%U-b$`Cf4|F`ip<>!sZcE#>5JX5$Ig;LQc;y}cKhyxJ^A`V0xh&T{&AmTv8frtYU z2OH?m|!C14wvlxiQd_@3I8Q2?JE}Se} z4l;mJ;l;u}@BnzMuv|D=xS;S*;f}&pkz8QR;^;f#K*WKF0}%%z4n!P?I1q6l;y}cK zhyxJ^{uOiJdq!>ZtiFm&zgJe!8VT(fJ`UgCJ^D?@Or0YF%j%pW67-pf>G=1%M!)G8 zuZiG3npG83QBE1rmSSIrzvIKTZ*d^9wINd(#cx3bw0}XH4g7rte2>f|;5Ql^jII3r zCp%TGHnc`DLNND-N6)|)JQMW&=g9>&4A|qb$6^;I?kgN9T#~)Lbn^1dfy~~_ zu8f&@JN;t%YpD}yCw(Y+dHRjif%M+=uJqf~i`2g43F<-WcIrCHrVdfJCeEVvQD?>v zEmpF0^5X2}OIO7OYH#W)YFBD4yC?hT(yOVrlg`ppnWe;q@m-mRGy4|rrEW^m=_le> zB`!=ny0C9lsz2YBESewre9%Ni zX3{#K;UQGUoFEI>$5M+td`KQOC0A>0Fh; ziLmiZAipG;tfi|Ak#zZg2IztbZmU%yshlo-H9!YPs1|Q%97AM+hE-nuIi2IczdA=4 zN&ZTZERm49I&>3Em!L_ai!;SxP zfX>4}fWCzklRpulGm-%w_K9IJL=0L$vX;O=-vgClj|cJ#f-DLKFB#B|-wV)1sF2C% zCb+d#e>X@6-?E0H$+{s4#{zVj(->f~CW?mqcz`YlFq|Q~Nett+19Z_eMV1p}&EUk} z3ee%@lEAsWF3F}4v{>ai9^N_5&{>iF%|L!hfKUL2$*_#5KOCS79JnO57*XYj{u=>$ za4vr+KxbuzM<$El2e%w}uQ}affNnyM86-ew;FabSi`N8&`&@v|%e<&SWo7Vkt|&@c|!vFj{z_6DKxTcZ!v!BMof)hgo%-( zY;Dw@5UH%_{efv~F>+-CH>hJ$Uxe>wQt z)?jIoG{fX~k4l0s*#B{cBC9gE7l-~fH_-)H#7$0uo}+2dI~X4EQ9^oV18MVb&)e*DcARIqO+C=^E|Bm#-7b| zMHd(qmJ@>aV17Mk?9*oLL%131?5uqP2V)glU@EX&1w9aO3K{z2DYZYcdPl7)8Ud2P*lY0B>gP9UvkMEI6{pD5@Fs8UW4I z!5u!U!UFT@AkK_ECM%f|Y<<9ro;7|Tm|qk$R^$zfg+*f%9X#vf%L&14ia|QKpqE7! zc1xPk-9+bLDK%ivC2GMl4g^0i71`op94bE*%)iY&9Se&%Bk;OFcQ>er4U6SGM?1VhyQUTvhY2BpL~zl z2qUpy4C2EkL6al`fu5`@H_@l>P8oJ|qT*n;uihKX4+DlkTq7Og4xtMG@2wB-_WvEE zVJfanJL?HQRs?p7_YZgnac;yCR(Di_A6E`u@+O2I-Uv;xQIt2TaKz8w76Vob3>}Z7 zYAij#`p0AU#ah%$g%gDb3b%m|z^(ZIYf+m$0NzP?J^*i|-VZN;-&y|uZq6*l`tQ;c z-l+WS$V-tn!^=$Hs13AEaL+!@Kg+vH(a}V<6x_3q^Y=?Nr_(s!-<$bTp@Hvrqp`V0 z&0$-$hv)fEcoMEkg@a=N#`+uQ_mR5wmd+@6EO4WCc~7+0J9ejm(eFY}Yt#MF4E_x%&}S-zISK8!YaryHi&!>zO13!e8C->c8+W==>UZ#-TLW_fesXLyOJ z4$WRu+=xo&;W*_cQ+4PH4B_|wYmm+ zDcRiKhNGAzJ1D~%<20ONj|~3_-nGs7+s&?HZjx<{^AC+yv)1^BiTog-nCk6kFmQ~T z6_jm_ahzhi)6(9Uz-c$FlG%QJf^LSqb$NWA>C?TDJ9O5I;$Hwc)H7YCSTxDkC+J~6RUS^eR5PO?C;3qMpdr&6*VX=8zT(_zTfTy zrDbEfF~h%Gw_6)_OF?PbIDbhhibg3YEgRDtm3ogbL222TzFyqSNp9%CSPaGj9On}{ z#bSw=6ElP$7UimT#RNU_|2O8_tTk!YiZN^Em^A~<8XuAWzcK%3%?y$MzcGKr$p7Ey zB)~`h|8OCOTkY|aTpdkVij-Ql394S#Z4ihqJ~_e>klgm)+# zDgMb};u)6dbsFbQDW}s=>y~!fw3LyKzy~pf#;?&Q9;?J&i9J+s!0Z1@`6F=We@gy% z?y4M@dw{mUm;SM=ojogiU*^)xTi~DnwDd#NrPK?lYf`&Yk0$HM)04*&*CftPd~NCG zrM0E!77s7(TYNo!B>vI(>kGFpT)6N`?C#hDsoPRlr_9vB6q7m)Zs%V}9#7tvyfryY zekJ!v?xMu~i$`+T=N?PfbC={y>a^@5$yce5=7#aif;_6>SP!DT?Hi?06#J!1T#S3* z@AfgAvQ5S}Qy?|zuMIZe8I9%d2iy|=+gv3;NK%LN9h+!oxn4xs%t06L?s@Ut@RQ@4 zg3qsE8`f6#yQsgqLsYDx$J4v!#xhz2LS%XZsR_oe{D@oI|2l68cDYUrt=V=4Ho+?U zw|jTai)c0KBhgvxN8P&p%DhMcS-#m{GY3$+kGq&hc7lnwg`>8jq#jRZzdSG6x9AzX zDMDz(>3do~yMc(K|&C?NYbRUziKcf&lGK ztE|fePUvB;bY$I1m3l6pCj0Y zX2Tv7A%JzWQLZ~}x89i0>fm$_t2%y`V*hdO5{M1+GX%1qXvAnBj~IxfdHlm|*u`$C zx6D;4PK@qrY?FEs^gm#cXyCdyT6_Io!JE15a}CkIb+33M>+sz8xa@2iRY>TSO=ybC zA;;y=FU(!W%zoJ@YYRPe^W5cc+7I>Hh6dwpF#fah3Ac6s{=GpTZ?OEaeA9b_YLX&s zKj58#$XKM+cmEF7LT$l&b9{q-e!f!26YKIy%;U+8bKw|`=6H7AJf-?G_0P?T3QMom zYScDjl;dmeuf#XZhYGvcmcMsciG2)Ekb^%vKiaZ4W42wa>*vEN5d-|px2phWm)m8S zILE^nX8+L|fFq4v8`EGd7_A6MfcezhRa`e$`8caNE!g?MT(;kB$+dGKwPEq9 z7rlAW+eiG&d{_;;Jl=&#Zk?`~3kO-`?csiUE(CWq^VYAJ>elD#`Oq{tQ?=@TpZ(Na zD8VCycM`p7E~L>Ij(I#D&V_-;kB`8U_&yEhLKqKjN7HTMS`{E#Ja${`Q0mdbvsAb6 z;X;#oHNTtsO8(LOUHO~xR@%v5o<9Jw|90iy&Rv~;F?S;OVD9$ZbvZkCD7Pe=kE?9uEk*&zAsHtnWdMrkHnwK-m>^`cDPtsI+ATAG7C3kFH1DD zdloLuJ{^B@>Dk4n6Z;_&->He^?49vbvNy(GiJ!>am^m|ZAH)wlE&U~`OPx)9HFaa^ zqp6pYHzyA!v7O%igCX*k1}Zy}0!p?E8+14=LdX;rG?#P|yqhM3XGOyTrD2AkKBtGH zfjT!~K#yFpnBd*CPCyaK0L6TjDCY$8>jYGNEseK$b|pYJL2I1_6+x)brnn|1Q9!R; z2lW@rIxCQ0R{%s7p{}MCyvsH@(BBjdj)=S&yvx>A#R7$Y9<Gg!7C={SK+0oM<<}= z1)6&tm=Caj6r}T@*D08w*QZN=7@%uBT12oaV@cZY2kEK;3dc|zp5?z3pcCj8os(Hj z<<;K_(mBx@X{p0#e=I=PH~}ODG7(gZc_c^&D+z%}7O!eL%JjVYTZ{_I$QH{Pta5jN zZZd*oYJv#wl7O-=FTW{*LMd-3V4%a_6`)(9DGD$>s9-*T(kDMZ@QkpU$T2c^BuM8> zRfQNsUAFQ!w29z(f^r3qt{Gs{VX%bf7y(c79$hyK z0q}W|5Drh}9$hnd7F1|u3Alu(RF7`4FqlDEQPoTd&wd`=5H$^E4FHlQJe_%TQ0r%T z0y?XfDdDc&qXUM(h$gYXs0a6$9^C>xVwRHy$zmhj1|0CpjrR=eDV)9<;exh@F2hueA2aD|E^IsU#D&vF}W{*>DayuIF_ z*5HrLy@m|1h2DT-hmqFAD?s(428>JRo* z)7LP;fa$?NqX7AwVE!3%->kjJ%(<8mz`#+26~;1~fWII9$6A^2z2!c1C7Jl{)EaHA zY>Wg~{s;%1WU#~HM50?djz+J|v-UN!)=5L`x=%ebh@)~W7?SCrMbDiUq${vF z(iy^m`OfEq^cnjgu-p_>*d)SmX6wQHGv@DE``KCZ_pJRX#Q$SpOD2HrC5Lmm$Ddj2 z&#Zmrto^ADuZCz!44C4OY!H9OJ`1*>U`MHdI=;@Y1>ON*rDTB_0c>6klvaDEDjj}r zd#sEkb6!g|i-UI&6#v2E5+&9?ebx@w0NY6p>`oa?|4=Z$F?~liYlWY+lF!`n%{WPD za9B_Tm8cdW-yf_Gm}jX3Y$8pS;Q7^W*NmO7He=_m&Dhy#u$h7Vn22^)d=P)e2??y& z;7nk`Ba($Hs9&F1JIYx*L6)enpM>KaG4=;>LOVonglLdw+aqKo*W3qBVm+^f?`T+pfos``vh#B)_5m(HEQX=JI$#Fdl005l-?bwOfqlIBXDV)qd zoY&!`e_QUuxfkf$!J_}=>^0fF+2`PNy*u-8`ik^h)EB4=sU-Da%1JG!zLIp3yFmlM zN+c8aFI}|s+TyK?=fVB|P4N%MUsWBV=Ap zA5DAm)vs@-9qj?!Zr4_uq*ZQ~NK3QZi3_k9&^yn=_m;Wp;@EI|(E)?Hb4L$;*cmj5 zW|y_Lh>(DZC#~&bk}hod{CzQ=$+nAtyF@VbBVJGc`5YK}$8o@%#IMJn&4B@X*G?JO z{TX-`xq;`%t+%Dwf@fF9H=tVG#OoJ#jRpy?)kpgE)a((%?X_E|u~as9_TMYS7nogBXUTZvub;-j2pyYEeaFL;8|rWfIza8Y8j z-4Z~HATUbCT`)3?hq36*sb8K0ch-yUaT}#b+pVh+yjk+!^i40gua|RT4tyBh@cy)H zt=WXz6?ZrSANB(lj*vfq@9owZB%@}zcCiq{n{kfM@w`9TcvgnE z()qV6D5u+QjYi`WN2ae?^?P%m`1KkgeGU+i+rPUlBm?ZD^@i3m+p937+xXA+@`zA2 z*Wh;AMvWts36)5r6Z6VA_P&&%ld}~Th2xg#@1Y{-`EkBSEGmKMcL@FnD;h3xE-ttykx8B$!2s{Pg=|F-?biY($Khj zt$$9B2Q1+o&TB#Jn~5zHL80u84Oo{IzXA z@AiJoLqMMfTYe))V`<#OE&u#~bUO&emewqljrQv3p277y2mo;Ye=c@7@lxT|#}40-~1GKIbXZcm?1nT40Ai_${+AlL_-R=ACNG47p}3SiAA#KclyVlF`IV z(Qtb}Pm6FxbX-Wn&$R7Mi^Yr4Fj}Qm84AOXY@m7e@N7r7i^Yw5B)@#q>~K<9fhYQ* zQc8v*wH0)D*bAj-Ht$#rx;zZmj1)<+P6S8^^G51R{USlvf?% z7)8=hzYkKvSp2IsjfE+ouC3)m}`z#4kPeI63RBS#U9wx-}k zgb_lk)|5IK{yC(C$Dvu{h}uVi`da9j2B;wnSrmeYYd~5&=p~_mILsZn(rgF?QB$PKBR;>T`jlRfrW>*aILGwPMP8G;1wS4RRdJZ*1sQ8 z!sS$z4sUZPUJRpEdgj2YT{s1;Qfl%o^%_VCqm?_ID&g*gl<>>~m2Ol`3R1#vLU~>9 zwfnb2O1QVn#E?z%I!Fn>BPFd;Vb-sPl<=%qVw<3>cm<@mUaW3jE%xi_|IjXu03E>*Z zL(ovsIY?Oz&4{uif?sSDXN21Wo`1TebNUptadd$*ASH%_Zv2UZB~dr|aG_o}v+(8o zb@_eyH*@#pF3X*o`!anUy_bF=dvo?c_N~mdnM~%+^ji7}>LO~1x-WHUDxW%*>?R)> z-RGZ7KbF2GeSSKbev-PGa;VFw{h)(SQ?I9KnK9@KraclBx@i*g7EZvegx!1X5OLsNgah84%r~L*Ez4qEO)b)Djh#iD%gfTb?d#ybvm-2a zeQ2@%4fa3JfrZ)*R9CRtScUSx7!;deT=f986|K+ac;#$`o}qt;DWKyMEi)gr){?El))X&noHfd()4f3 zR?dZ;OxN;CJ^Ae_m2H%Y<)3id`VaG!8fv6}vma<2#4r#n+bieI_pKaIx$mv7;_(ni z!QanU4h#S^tZr4q4MRE!=wAdHsFXqP*LKT&U2WMpAKj=1W2eh|8?zZbM=SPAOiS9rE%#Y#l z;v8t2VGx^u{w)Cq1kitVw6-_Bk^UDuM)Y|9^*N9NI`eK^LI8pL{|916lP?#ZDm+~1 zQ%4G!)D4AZVRvDPq6)9&pUFR-zbAh<-_Ku}zaY=#PtQM_jOAa>J(YVncO-W{*a@7L zdxw6B{xba#eI<1VeLekpvQ8gOUIO>|XVZE5&Fpj8o4^-9msGojy!a>DQ=dP_{SY zbHRun>Hm+dOIO|fa-{zs>Hlj3PvP)0?mL3lJ6qokj4e1?1Z@i<{eSQM8gnI}pWmLL zoFD1`F3k`AIrVzn5e^zH^)h)#Tlp=;n5`%Jf*M_FGIj9w7mD|f&#|45cJKo zz@9Nc2S*SlIBS3)Uc7!ufXjY{nagOygV7Jc6G+4Pgo}+T2Rp+am$R&aN2{h+V^mkz z8EP5!Rs9e;R<9P+>lu82Lf~mD+X?F1h7muv|!{F zS%i2}5_tH4D3_=};NeK3&dNHt#^4w>AD~0bV~BZ5WLYuIp8@W9`7y$o4i>U3M3Ox# zNS_g#b!H4-*?+q0WfF;9R_se|k(?h=q#2 zYAggd61*((`W#P8TkiAm8@%fM@l^pgI~aEF$RG}| zW%3Z?7Gj2~bC3MRHPPqy}y39f#V+b4yek%q+I(S90 z81R_^fswBd(navX0)7U-TbhXq8a_TmfJPTWoGR#eCGFE^#EhO5>v>j;^_j8DXT)xX z(3}$ZxUpcfz+tcX^$EpTKLBZ%igV`tJ=fkt}5&;ya{LhVd{$fa_afyuKbg^Ta#Di){@J)ZzP_l zZ%y1v?@wGnzq<5#_U`PROIK#|*$bDBW!_xuXTGqwCv)NAv2;IuGJa0_-uN@rq4*8d zI}2w~_bfb_x?o{%W>@Cz^o!{eX(xSo`apVbdRO{w>P6}V^&oXSbsc3>hp2s&kT{TX z=ogc3r_V~CMc=hR(`P1@;s+M)S~{@wM)s_vlUky_mVGe&ME1=1p~Xs;PF|e7eCevV zKnG#D(!)nTIp`7Vo8QO3~>j;#VauOgy@+NY#Nps8NB(&>WZ8cCHW-jX!E@*u( zuNW0?Zv5beQtj1P=isP$OR*n(uTXil)08|pF{-7`T~{mThapcx>;~ouTY|mXkY;Ww4+b^i3J2%p3Grnm#@oVb!`-gUn z?*?b**GZ-1p`tg+oz>b!<;rH4^JJ#Gw}U$J35Q=G?>50bT$_-pZ()k(j4jtMj5IRZ zTORvhhV|LIvB5LS+?ZIqWv8)*e*x3mO`sz7+?Z&l=2g@6p}t|oj*8rKBU?7aSy)~{ z;9F*$=W+qh0dw*fug6E8AeMcd3*4K}i8fxzYTjD$13N&%JNj8&@I56zF{sU!&AsM)gvtR`yMco%-0chma8 z`4QnR(%bp$o*%`VUVVFPlw8a?@+Li`DEk2oXR{B$_nfHZb{8D-!!_xCgaWMZhwpi@ zYH)#zH~RZrtTT6r<=riQ-~2cmFPM89?9C`=><|;|;=wD7w@<=T;GA3=$H7oMBs{0j ziKJs#r}jt|ggtrM{79o+>W18ocGOSV~;2RK__R>$PhO^)ftn zy}bkOQ{TPaI+&zeHb%REwoOPAm+X?$=Djr!?cKK3rVTtB^j-i?P-|sa`rP{AnSQHy z-#vN;zv8jOu~uSy|9_-#Lt$5{S-7;Yzpz|*HeXMkNFK`{&EJwAf?vRcc`koOKAwLi z_cX-qyEAuVt_5}i=jF};TY4hLc3=N+`*biCYT91d%1lZ=J8xM4% zA(*2EfdVm%E7VV^HaW(tAKrd$uYV`-xIsy8?*|-wGwSfYJ-ix?pAZDXNe0S8`tTsKcSf5W#LD9HCpWzZ6;15-t{R^?W`(yH%sX{IMDFf`|@*sTkE{L`7W< z;>?P(G%Mbeq+1YX!C+zO#JA6H?~FK91hgMC38G-}s&H*E|Ezdif*^oufMy7?iYtJR zzs-145aVTPoG8LT5HkpZ!HANHcN3n(fWYr9&q}V45@UyqEpj~ZuUFfd(b6oIfruA8 zD9ES>0<8lj30_nzP)~#4P(k{PsBSZ(ip`2TH7jb|jA%~aM1Tk^t3#AFav{_QNA~y= zk6jzPHF1C8io&kKQ~4Y6QvOBo*>?%(^`8K3{=31>{~(=DokBmIeKdI+`0+0#&&NT?`!E}aJoO7?!rC)dFkbJKK%yuEcG~bH+2)$ zqAsOAN}WYzsMk^#CF99!7tTp=i(g#0nzrb-7EY&Q^tDTSmfpVzfL@EEzYzx_4n!RI zPUFCMt?@kyv3j>OXkH8l(AdXERb7hVKeoK4jZR}5`@fMc#45zXh zyQcd!7kZM?6Y;3+>q+20c2<^7isgD8%u)UNqtn1GW4cyRo|Q7L^dmEKRL=9`1Yful z#F6mi<8DuVawkaMy`*0+bb>f{OGnKNjV+;}DXqcZU}eK8wl1;c=cc8Y&9+e*35UYZ zsJ2#Z?w|IIRO-nD6-dM7@Qt>u>%TZHrD_+ey+59oVi}y?|Fvl;5OJ=o9hs8C^#^b> zn*;`iYrt9hprzp9bt1)R*VorkU1%aj=A8BRKTmr`tT0;l+-WI7QymCDGcAQLSE`LG zH&T4xbsVos{ZpUjP8-XTt4a>wMcl#W^;V!VK5z#_&%7 zEbL2+88)Sg@l8kxd*xy@sb^JCy|sZSBCN;7@V(79C+0o-nQc8gQl-%aEEdZB^tPVe zh|e$@K=AyJZRdIP4zA!S153s;(3V^5$yj4vxu4q3)3~_s3>FLJ;;CZG<+|rBPfG$d z2)Fz!-VB!^NY_Yd9>irUo*nrGFpRd0;u^E~QB1&7zt!-14{!aqjO5)DYt6E!Er8PG zEkEzp#8(r*imdwoYJV8&g8apacgvU~XF1+Fk235nKRLBFn&EUnUrY56(e>_of!Mb^ zJ-q|lXx-?3f9#3_?!Xn9Z!w1F0Rr#Vw_39i&R95xy8z;iBeee8D#rBqz1|H9$|AOk zv`K3rs5L0Aw;Cl+XW--WBKlf`ENRK**!KX=_!Eyk7`xQ9|36ZoM%Mr1`~OoQ9^mu& z$ ze?PrUpF*F^KA%0Fy+3;!L=h}yKb=*;b3c`RE%Qv~@ytD$!yr4jGIK$O$(){vWnNA{ zm3}yVBz;4=3EBbsL3Z#8b(nfNb#-cY>cQlN)TPO161OciQ%(Z?2p&mpcoNJcy|zSu zBMw9yh&T{&;9rUZxbMZ?3Wf*R>dH5L4IPC}^6ncYnJf2x)WyaC1KY>8Kwn_B3F@J% zMSIXJEnAHioczb9j%@6+J@83(ZqeqM>W>5b=-hzqz<F2lQVaoum>xdZu)AtJVnF}0o}#Zh338}Z8U&P8}IeK%xZ=X2FIOjNE7 zjgO(TUKIZVfLuS#-g$jkt4NZDd(h3}X$Z=n)_(-DOZW2|t!Az94-@pku-k9<{&JE& zaEzMu_fzQWgmdnlq*sT=pdP$6{p@Ib4~mw~$-&z~moD)AcIUSyaQYC1q|*rM#*Fj# zjoLu#ptNkozcQJhDHcug^$B{X-*A-DU6b^-vfgR@?gZVb z)mvR7Hc_rqZZcJwnxq%ootE~-B#z92Pjx&aZLWWNy<>M8=yfDSZ+0D1`NzrpO{-+K zU!SDcoGvLPd>n5cY}e{l?tek{Fn$%T9XI(t7>|dx>S%0nIGLYQ*Sp=1PtaR7#28S& zI6+@;i(oB+vX9N}TCduSEWR{JFUm#6d2oW>9JWF60?%=qahitSAXStJh3LBIl&$|f zL2nF7GN=FiB;6_Y$nc-0&=s>}qwm+v_>D@vN0{H3q_aF*De@Eadb24v`Q4NBn#6XU z`zGn8Qm(3Bouq4nUblv}!<*|<8yak1;U?)Yo_p#!6F9YXQ0ge2H9@!4#$de}pF+1v z(lB`2KOQI5q1kJSnTc|%?Ovs*|K0>n6@1w%>TgfbD-E;LY_uln6^>KI{S)}*VW~}u z|6wA3xzSKGW@$1%&lS5Bb0U99QPvgv*C**xQ8Y>qPtuth&-8+RY{q;j_87+0(Xw@O zzZ4x!WJ@T=3eja-Qb#LUh%R^Nna$n3{o2%q5&aLJ41XL< z^ild2dPwW^L7Jn_pyTu_*{8FQWbe%0m~CY*%bu4#CwnSH5qKfGByY3dQ`HTsF=JbDt!1X5OE;lK*WJ>9|tz?fGjv_ zsn#z*@gX{B`&Vsyl5Q4xqxZKHbkb48PVqyN^r}2CmH5OCi&Tnj%lXyG{8qoGkM5;6 z*N5=V&=m2mbTi#7vb_RpTAmx`v$9G;|GEITOu(Ij1LR*HSpgbJ0*4jsGl z2NU_#Mp;uk`3br*X!88}iAj3j>G!*Mv$z>wDRvn{_{;=du1fuW6QyC}{9eD042RJG zIfNriq{giO*(9AMnxNh~L6_QPwOIbfB)zGdT=TnpK6vFyhOL%S%{x@C*ymef6}6l; zw@YlB?PBMi$^7ess?xe?l3s%dv>aOLhj5f4SL+^~pbHhYwXQBtlqIC)CoFYB>lG9nWS4#)6UD2bhBCN2yoB})sxpi zO{=6$(v>P#(Xtcm+UXD-$@JuCx78&Zm3*%kf>kECSiBkFPZ}7}VQV z?@y<(efoadw1*KaVDRqoT74i?~@Hlwv)4E#O*7UMnb_V!t z48?u!XXDqH;QbpVCHNU*WMio6(W*h$H*iMW(&wA*$Hhnh26{soed2xiY44Sc#;Il{dda!>*X8ED^OA~{&*_#-t*&pn6~-+AL;+Q42%9m9Edm&aUkNr zwm9(VQSM0pA8ZXG{r_*}D=^akkM#e~?M3?kBfAVI(*GavA=3XJYv)Az|E|42r2jv9 eFN(5vuJ_LI-nrhp$M^L4y?ov|-^&-46Z~I7)0Tb! literal 0 HcmV?d00001 diff --git a/docs/index/index.json b/docs/index/index.json new file mode 100644 index 00000000..88661c43 --- /dev/null +++ b/docs/index/index.json @@ -0,0 +1 @@ +{"includedArchiveIdentifiers":["PlaydateKit"],"interfaceLanguages":{"swift":[{"children":[{"title":"Placeholder","type":"groupMarker"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/init()","title":"init()","type":"init"},{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/bounds","title":"var bounds: Rect","type":"property"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/center","title":"var center: (x: Float, y: Float)","type":"property"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/colliderect","title":"var collideRect: Rect?","type":"property"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/collisionsenabled","title":"var collisionsEnabled: Bool","type":"property"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/image","title":"var image: Graphics.Bitmap?","type":"property"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/imageflip","title":"var imageFlip: Graphics.Bitmap.Flip","type":"property"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/isvisible","title":"var isVisible: Bool","type":"property"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/overlappingsprites","title":"var overlappingSprites: UnsafeBufferPointer","type":"property"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/position","title":"var position: (x: Float, y: Float)","type":"property"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/tag","title":"var tag: UInt8","type":"property"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/updatesenabled","title":"var updatesEnabled: Bool","type":"property"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/userdata","title":"var userdata: UnsafeMutableRawPointer?","type":"property"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/zindex","title":"var zIndex: Int16","type":"property"},{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/addtodisplaylist()","title":"func addToDisplayList()","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/checkcollisions(goalx:goaly:)","title":"func checkCollisions(goalX: Float, goalY: Float) -> CollisionInfo","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/copy()","title":"func copy() -> Sprite","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/markdirty()","title":"func markDirty()","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/moveby(dx:dy:)","title":"func moveBy(dx: Float, dy: Float)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/moveto(x:y:)","title":"func moveTo(x: Float, y: Float)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/movewithcollisions(goalx:goaly:)","title":"func moveWithCollisions(goalX: Float, goalY: Float) -> CollisionInfo","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/removefromdisplaylist()","title":"func removeFromDisplayList()","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setcliprect(_:)","title":"func setClipRect(Graphics.Rect?)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setcollisionresponsefunction(function:)","title":"func setCollisionResponseFunction(function: (@convention(c) (_ sprite: OpaquePointer?, _ other: OpaquePointer?) -> CollisionResponseType)?)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setdrawfunction(drawfunction:)","title":"func setDrawFunction(drawFunction: (@convention(c) (_ sprite: OpaquePointer?, _ bounds: Rect, _ drawRect: Rect) -> Void)?)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setdrawmode(_:)","title":"func setDrawMode(Graphics.Bitmap.DrawMode)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setignoresdrawoffset(_:)","title":"func setIgnoresDrawOffset(Bool)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setimage(image:flip:)","title":"func setImage(image: Graphics.Bitmap, flip: Graphics.Bitmap.Flip)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setopaque(_:)","title":"func setOpaque(Bool)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setsize(width:height:)","title":"func setSize(width: Float, height: Float)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setstencil(_:)","title":"func setStencil(Graphics.Bitmap?)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setstencilimage(_:tile:)","title":"func setStencilImage(Graphics.Bitmap, tile: CInt)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setstencilpattern(_:)","title":"func setStencilPattern(UnsafeMutablePointer)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/sprite\/setupdatefunction(_:)","title":"func setUpdateFunction((@convention(c) (_ sprite: OpaquePointer?) -> Void)?)","type":"method"}],"path":"\/documentation\/playdatekit\/playdate\/sprite\/sprite","title":"Playdate.Sprite.Sprite","type":"class"},{"title":"Protocols","type":"groupMarker"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/playdategame\/init()","title":"init()","type":"init"},{"title":"Instance Methods","type":"groupMarker"},{"children":[{"children":[{"path":"\/documentation\/playdatekit\/playdategame\/devicedidunlock()-1l3vt","title":"func deviceDidUnlock()","type":"method"}],"title":"PlaydateGame Implementations","type":"groupMarker"}],"path":"\/documentation\/playdatekit\/playdategame\/devicedidunlock()-3b5ai","title":"func deviceDidUnlock()","type":"method"},{"children":[{"children":[{"path":"\/documentation\/playdatekit\/playdategame\/devicewilllock()-49mit","title":"func deviceWillLock()","type":"method"}],"title":"PlaydateGame Implementations","type":"groupMarker"}],"path":"\/documentation\/playdatekit\/playdategame\/devicewilllock()-26xpv","title":"func deviceWillLock()","type":"method"},{"children":[{"children":[{"path":"\/documentation\/playdatekit\/playdategame\/devicewillsleep()-7hts3","title":"func deviceWillSleep()","type":"method"}],"title":"PlaydateGame Implementations","type":"groupMarker"}],"path":"\/documentation\/playdatekit\/playdategame\/devicewillsleep()-1i4ad","title":"func deviceWillSleep()","type":"method"},{"children":[{"children":[{"path":"\/documentation\/playdatekit\/playdategame\/gamewillpause()-62mhi","title":"func gameWillPause()","type":"method"}],"title":"PlaydateGame Implementations","type":"groupMarker"}],"path":"\/documentation\/playdatekit\/playdategame\/gamewillpause()-185zs","title":"func gameWillPause()","type":"method"},{"children":[{"children":[{"path":"\/documentation\/playdatekit\/playdategame\/gamewillresume()-7avob","title":"func gameWillResume()","type":"method"}],"title":"PlaydateGame Implementations","type":"groupMarker"}],"path":"\/documentation\/playdatekit\/playdategame\/gamewillresume()-1er7i","title":"func gameWillResume()","type":"method"},{"children":[{"children":[{"path":"\/documentation\/playdatekit\/playdategame\/gamewillterminate()-9epf7","title":"func gameWillTerminate()","type":"method"}],"title":"PlaydateGame Implementations","type":"groupMarker"}],"path":"\/documentation\/playdatekit\/playdategame\/gamewillterminate()-5qroh","title":"func gameWillTerminate()","type":"method"},{"path":"\/documentation\/playdatekit\/playdategame\/handle(_:)","title":"func handle(Playdate.System.Event)","type":"method"},{"children":[{"children":[{"path":"\/documentation\/playdatekit\/playdategame\/update()-91u4m","title":"func update() -> Bool","type":"method"}],"title":"PlaydateGame Implementations","type":"groupMarker"}],"path":"\/documentation\/playdatekit\/playdategame\/update()-873r0","title":"func update() -> Bool","type":"method"}],"path":"\/documentation\/playdatekit\/playdategame","title":"PlaydateGame","type":"protocol"},{"title":"Functions","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/posix_memalign(_:_:_:)","title":"func posix_memalign(UnsafeMutablePointer, Int, Int) -> CInt","type":"func"},{"title":"Type Aliases","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/display","title":"Display","type":"typealias"},{"path":"\/documentation\/playdatekit\/file","title":"File","type":"typealias"},{"path":"\/documentation\/playdatekit\/graphics","title":"Graphics","type":"typealias"},{"path":"\/documentation\/playdatekit\/json","title":"JSON","type":"typealias"},{"path":"\/documentation\/playdatekit\/scoreboards","title":"Scoreboards","type":"typealias"},{"path":"\/documentation\/playdatekit\/sprite","title":"Sprite","type":"typealias"},{"path":"\/documentation\/playdatekit\/system","title":"System","type":"typealias"},{"title":"Enumerations","type":"groupMarker"},{"children":[{"title":"Structures","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/playdate\/error","title":"Playdate.Error","type":"struct"},{"title":"Type Properties","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/playdate\/playdateapi","title":"static var playdateAPI: PlaydateAPI!","type":"property"},{"title":"Type Methods","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/playdate\/initialize(with:)","title":"static func initialize(with: UnsafeMutableRawPointer)","type":"method"},{"title":"Enumerations","type":"groupMarker"},{"children":[{"title":"Type Properties","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/playdate\/display\/flipped","title":"static var flipped: (x: Bool, y: Bool)","type":"property"},{"path":"\/documentation\/playdatekit\/playdate\/display\/height","title":"static var height: CInt","type":"property"},{"path":"\/documentation\/playdatekit\/playdate\/display\/inverted","title":"static var inverted: Bool","type":"property"},{"path":"\/documentation\/playdatekit\/playdate\/display\/refreshrate","title":"static var refreshRate: Float","type":"property"},{"path":"\/documentation\/playdatekit\/playdate\/display\/scale","title":"static var scale: CUnsignedInt","type":"property"},{"path":"\/documentation\/playdatekit\/playdate\/display\/width","title":"static var width: CInt","type":"property"},{"title":"Type Methods","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/playdate\/display\/setmosaic(x:y:)","title":"static func setMosaic(x: CUnsignedInt, y: CUnsignedInt)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/display\/setoffset(dx:dy:)","title":"static func setOffset(dx: CInt, dy: CInt)","type":"method"}],"path":"\/documentation\/playdatekit\/playdate\/display","title":"Playdate.Display","type":"enum"},{"children":[{"title":"Structures","type":"groupMarker"},{"children":[{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/close()","title":"func close() throws(Error)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/currentseekposition()","title":"func currentSeekPosition() throws(Error) -> CInt","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/flush()","title":"func flush() throws(Error) -> CInt","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/read(buffer:length:)","title":"func read(buffer: UnsafeMutableRawPointer, length: CUnsignedInt) throws(Error) -> CInt","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek(to:seek:)","title":"func seek(to: CInt, seek: Seek) throws(Error)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/write(buffer:)","title":"func write(buffer: UnsafeRawBufferPointer) throws(Error) -> CInt","type":"method"},{"title":"Enumerations","type":"groupMarker"},{"children":[{"title":"Enumeration Cases","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek\/beginning","title":"case beginning","type":"case"},{"path":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek\/current","title":"case current","type":"case"},{"path":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek\/end","title":"case end","type":"case"},{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek\/init(rawvalue:)","title":"init?(rawValue: CInt)","type":"init"},{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Operators","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek\/!=(_:_:)","title":"static func != (Self, Self) -> Bool","type":"op"}],"path":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek\/equatable-implementations","title":"Equatable Implementations","type":"symbol"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek\/hashvalue","title":"var hashValue: Int","type":"property"},{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek\/hash(into:)","title":"func hash(into: inout Hasher)","type":"method"}],"path":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek\/rawrepresentable-implementations","title":"RawRepresentable Implementations","type":"symbol"}],"path":"\/documentation\/playdatekit\/playdate\/file\/filehandle\/seek","title":"Playdate.File.FileHandle.Seek","type":"enum"}],"path":"\/documentation\/playdatekit\/playdate\/file\/filehandle","title":"Playdate.File.FileHandle","type":"struct"},{"title":"Type Aliases","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/playdate\/file\/options","title":"Playdate.File.Options","type":"typealias"},{"title":"Type Methods","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/playdate\/file\/listfiles(path:callback:userdata:showhidden:)-2w9lz","title":"static func listFiles(path: StaticString, callback: @convention(c) (_ filename: UnsafePointer?, _ userdata: UnsafeMutableRawPointer?) -> Void, userdata: UnsafeMutableRawPointer?, showHidden: Bool) throws(Error)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/file\/listfiles(path:callback:userdata:showhidden:)-59mk2","title":"static func listFiles(path: UnsafePointer, callback: @convention(c) (_ filename: UnsafePointer?, _ userdata: UnsafeMutableRawPointer?) -> Void, userdata: UnsafeMutableRawPointer?, showHidden: Bool) throws(Error)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/file\/mkdir(path:)-4vzum","title":"static func mkdir(path: StaticString) throws(Error)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/file\/mkdir(path:)-9rwpo","title":"static func mkdir(path: UnsafePointer) throws(Error)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/file\/open(path:mode:)-2yhbs","title":"static func open(path: UnsafePointer, mode: Options) throws(Error) -> FileHandle","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/file\/open(path:mode:)-8kp20","title":"static func open(path: StaticString, mode: Options) throws(Error) -> FileHandle","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/file\/rename(from:to:)-3ff0y","title":"static func rename(from: StaticString, to: StaticString) throws(Error)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/file\/rename(from:to:)-969yy","title":"static func rename(from: UnsafePointer, to: UnsafePointer) throws(Error)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/file\/stat(path:)-6ac1z","title":"static func stat(path: StaticString) throws(Error) -> FileStat","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/file\/stat(path:)-9vquc","title":"static func stat(path: UnsafePointer) throws(Error) -> FileStat","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/file\/unlink(path:recursive:)-4jt6t","title":"static func unlink(path: StaticString, recursive: Bool) throws(Error)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/file\/unlink(path:recursive:)-9dq44","title":"static func unlink(path: UnsafePointer, recursive: Bool) throws(Error)","type":"method"}],"path":"\/documentation\/playdatekit\/playdate\/file","title":"Playdate.File","type":"enum"},{"children":[{"title":"Classes","type":"groupMarker"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/init(path:)-2idv2","title":"init(path: UnsafeMutablePointer) throws(Error)","type":"init"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/init(path:)-3qejh","title":"init(path: StaticString) throws(Error)","type":"init"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/init(width:height:bgcolor:)","title":"init(width: CInt, height: CInt, bgColor: Color)","type":"init"},{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/mask","title":"var mask: Bitmap?","type":"property"},{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/clear(bgcolor:)","title":"func clear(bgColor: Color)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/copy()","title":"func copy() -> Bitmap","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/getdata(mask:data:)","title":"func getData(mask: UnsafeMutablePointer?>?, data: UnsafeMutablePointer?>?) -> (width: CInt, height: CInt, rowBytes: CInt)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/load(from:)-39up6","title":"func load(from: UnsafeMutablePointer) throws(Error)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/load(from:)-9wm1t","title":"func load(from: StaticString) throws(Error)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/rotated(by:xscale:yscale:)","title":"func rotated(by: Float, xScale: Float, yScale: Float) -> (bitmap: Bitmap, allocatedSize: CInt)","type":"method"},{"title":"Type Aliases","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/drawmode","title":"Playdate.Graphics.Bitmap.DrawMode","type":"typealias"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap\/flip","title":"Playdate.Graphics.Bitmap.Flip","type":"typealias"}],"path":"\/documentation\/playdatekit\/playdate\/graphics\/bitmap","title":"Playdate.Graphics.Bitmap","type":"class"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/bitmaptable\/init(count:width:height:)","title":"init(count: CInt, width: CInt, height: CInt)","type":"init"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/bitmaptable\/init(path:)-2zigw","title":"init(path: StaticString) throws(Error)","type":"init"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/bitmaptable\/init(path:)-8fybj","title":"init(path: UnsafeMutablePointer) throws(Error)","type":"init"},{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/bitmaptable\/bitmap(at:)","title":"func bitmap(at: CInt) -> Bitmap?","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/bitmaptable\/load(from:)-2e5co","title":"func load(from: StaticString) throws(Error)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/bitmaptable\/load(from:)-9txdn","title":"func load(from: UnsafeMutablePointer) throws(Error)","type":"method"}],"path":"\/documentation\/playdatekit\/playdate\/graphics\/bitmaptable","title":"Playdate.Graphics.BitmapTable","type":"class"},{"children":[{"title":"Classes","type":"groupMarker"},{"children":[{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/font\/glyph\/kerning(between:and:)","title":"func kerning(between: CUnsignedInt, and: CUnsignedInt) -> CInt","type":"method"}],"path":"\/documentation\/playdatekit\/playdate\/graphics\/font\/glyph","title":"Playdate.Graphics.Font.Glyph","type":"class"},{"children":[{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/font\/page\/glyph(for:)","title":"func glyph(for: CUnsignedInt) -> (pageGlyph: Glyph?, bitmap: Bitmap?, advance: CInt)","type":"method"}],"path":"\/documentation\/playdatekit\/playdate\/graphics\/font\/page","title":"Playdate.Graphics.Font.Page","type":"class"},{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/font\/height","title":"var height: UInt8","type":"property"},{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/font\/getpage(for:)","title":"func getPage(for: CUnsignedInt) -> Page?","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/font\/gettextwidth(for:length:encoding:tracking:)","title":"func getTextWidth(for: UnsafeRawPointer, length: Int, encoding: StringEncoding, tracking: CInt) -> CInt","type":"method"}],"path":"\/documentation\/playdatekit\/playdate\/graphics\/font","title":"Playdate.Graphics.Font","type":"class"},{"title":"Type Aliases","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/color","title":"Playdate.Graphics.Color","type":"typealias"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/linecapstyle","title":"Playdate.Graphics.LineCapStyle","type":"typealias"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/pattern","title":"Playdate.Graphics.Pattern","type":"typealias"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/polygonfillrule","title":"Playdate.Graphics.PolygonFillRule","type":"typealias"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/rect","title":"Playdate.Graphics.Rect","type":"typealias"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/solidcolor","title":"Playdate.Graphics.SolidColor","type":"typealias"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/stringencoding","title":"Playdate.Graphics.StringEncoding","type":"typealias"},{"title":"Type Properties","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/texttracking","title":"static var textTracking: CInt","type":"property"},{"title":"Type Methods","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/checkmaskcollision(bitmap1:x1:y1:flip1:bitmap2:x2:y2:flip2:rect:)","title":"static func checkMaskCollision(bitmap1: Bitmap, x1: CInt, y1: CInt, flip1: Bitmap.Flip, bitmap2: Bitmap, x2: CInt, y2: CInt, flip2: Bitmap.Flip, rect: Rect) -> Bool","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/clear(color:)","title":"static func clear(color: Color)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/clearcliprect()","title":"static func clearClipRect()","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/colorfrompattern(_:x:y:)","title":"static func colorFromPattern(Bitmap, x: CInt, y: CInt) -> Color","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/copyframebufferbitmap()","title":"static func copyFrameBufferBitmap() -> Bitmap?","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/display()","title":"static func display()","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/drawbitmap(_:x:y:degrees:centerx:centery:xscale:yscale:)","title":"static func drawBitmap(Bitmap, x: CInt, y: CInt, degrees: Float, centerX: Float, centerY: Float, xScale: Float, yScale: Float)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/drawbitmap(_:x:y:flip:)","title":"static func drawBitmap(Bitmap, x: CInt, y: CInt, flip: Bitmap.Flip)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/drawbitmap(_:x:y:xscale:yscale:)","title":"static func drawBitmap(Bitmap, x: CInt, y: CInt, xScale: Float, yScale: Float)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/drawellipse(x:y:width:height:linewidth:startangle:endangle:color:)","title":"static func drawEllipse(x: CInt, y: CInt, width: CInt, height: CInt, lineWidth: CInt, startAngle: Float, endAngle: Float, color: Color)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/drawline(x1:y1:x2:y2:linewidth:color:)","title":"static func drawLine(x1: CInt, y1: CInt, x2: CInt, y2: CInt, lineWidth: CInt, color: Color)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/drawrect(x:y:width:height:color:)","title":"static func drawRect(x: CInt, y: CInt, width: CInt, height: CInt, color: Color)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/drawtext(_:length:encoding:x:y:)","title":"static func drawText(UnsafeRawPointer?, length: Int, encoding: StringEncoding, x: CInt, y: CInt) -> CInt","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/fillellipse(x:y:width:height:startangle:endangle:color:)","title":"static func fillEllipse(x: CInt, y: CInt, width: CInt, height: CInt, startAngle: Float, endAngle: Float, color: Color)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/fillpolygon(points:color:fillrule:)","title":"static func fillPolygon(points: UnsafeMutableBufferPointer, color: Color, fillRule: PolygonFillRule)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/fillrect(x:y:width:height:color:)","title":"static func fillRect(x: CInt, y: CInt, width: CInt, height: CInt, color: Color)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/filltriangle(x1:y1:x2:y2:x3:y3:color:)","title":"static func fillTriangle(x1: CInt, y1: CInt, x2: CInt, y2: CInt, x3: CInt, y3: CInt, color: Color)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/getdebugbitmap()","title":"static func getDebugBitmap() -> Bitmap?","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/getdisplaybufferbitmap()","title":"static func getDisplayBufferBitmap() -> Bitmap?","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/getdisplayframe()","title":"static func getDisplayFrame() -> UnsafeMutablePointer?","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/getframe()","title":"static func getFrame() -> UnsafeMutablePointer?","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/markupdatedrows(start:end:)","title":"static func markUpdatedRows(start: CInt, end: CInt)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/popcontext()","title":"static func popContext()","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/pushcontext(_:)","title":"static func pushContext(Bitmap?)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/setbackgroundcolor(_:)","title":"static func setBackgroundColor(SolidColor)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/setcliprect(x:y:width:height:)","title":"static func setClipRect(x: CInt, y: CInt, width: CInt, height: CInt)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/setdrawmode(_:)","title":"static func setDrawMode(Bitmap.DrawMode)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/setdrawoffset(dx:dy:)","title":"static func setDrawOffset(dx: CInt, dy: CInt)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/setfont(_:)","title":"static func setFont(Font)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/setlinecapstyle(_:)","title":"static func setLineCapStyle(LineCapStyle)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/setscreencliprect(x:y:width:height:)","title":"static func setScreenClipRect(x: CInt, y: CInt, width: CInt, height: CInt)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/setstencil(_:)","title":"static func setStencil(Bitmap?)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/setstencilimage(_:tile:)","title":"static func setStencilImage(Bitmap, tile: Bool)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/settextleading(_:)","title":"static func setTextLeading(CInt)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/tilebitmap(_:x:y:width:height:flip:)","title":"static func tileBitmap(Bitmap, x: CInt, y: CInt, width: CInt, height: CInt, flip: Bitmap.Flip)","type":"method"},{"title":"Enumerations","type":"groupMarker"},{"children":[{"title":"Classes","type":"groupMarker"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/video\/player\/init(path:)-672iw","title":"init(path: UnsafePointer)","type":"init"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/video\/player\/init(path:)-9lw78","title":"init(path: StaticString)","type":"init"},{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/video\/player\/context","title":"var context: Bitmap","type":"property"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/video\/player\/info","title":"var info: (width: CInt, height: CInt, frameRate: Float, frameCount: CInt, currentFrame: CInt)","type":"property"},{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/video\/player\/renderframe(_:)","title":"func renderFrame(CInt) throws(Error)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/video\/player\/setcontext(_:)","title":"func setContext(Bitmap) throws(Error)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/graphics\/video\/player\/usescreencontext()","title":"func useScreenContext()","type":"method"}],"path":"\/documentation\/playdatekit\/playdate\/graphics\/video\/player","title":"Playdate.Graphics.Video.Player","type":"class"}],"path":"\/documentation\/playdatekit\/playdate\/graphics\/video","title":"Playdate.Graphics.Video","type":"enum"}],"path":"\/documentation\/playdatekit\/playdate\/graphics","title":"Playdate.Graphics","type":"enum"},{"children":[{"title":"Type Aliases","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/playdate\/json\/decoder","title":"Playdate.JSON.Decoder","type":"typealias"},{"path":"\/documentation\/playdatekit\/playdate\/json\/encoder","title":"Playdate.JSON.Encoder","type":"typealias"},{"path":"\/documentation\/playdatekit\/playdate\/json\/reader","title":"Playdate.JSON.Reader","type":"typealias"},{"path":"\/documentation\/playdatekit\/playdate\/json\/value","title":"Playdate.JSON.Value","type":"typealias"},{"title":"Type Methods","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/playdate\/json\/decode(using:reader:value:)","title":"static func decode(using: inout Decoder, reader: Reader, value: inout Value) -> CInt","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/json\/decodestring(using:jsonstring:value:)-1uq5u","title":"static func decodeString(using: inout Decoder, jsonString: StaticString, value: inout Value) -> CInt","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/json\/decodestring(using:jsonstring:value:)-xwiz","title":"static func decodeString(using: inout Decoder, jsonString: UnsafeMutablePointer, value: inout Value) -> CInt","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/json\/initencoder(encoder:writefunc:userdata:pretty:)","title":"static func initEncoder(encoder: inout Encoder, writeFunc: (@convention(c) (_ userdata: UnsafeMutableRawPointer?, _ string: UnsafePointer?, _ length: CInt) -> Void)?, userdata: UnsafeMutableRawPointer?, pretty: Bool)","type":"method"}],"path":"\/documentation\/playdatekit\/playdate\/json","title":"Playdate.JSON","type":"enum"},{"children":[{"title":"Type Aliases","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/playdate\/scoreboards\/boardslist","title":"Playdate.Scoreboards.BoardsList","type":"typealias"},{"path":"\/documentation\/playdatekit\/playdate\/scoreboards\/score","title":"Playdate.Scoreboards.Score","type":"typealias"},{"path":"\/documentation\/playdatekit\/playdate\/scoreboards\/scoreslist","title":"Playdate.Scoreboards.ScoresList","type":"typealias"},{"title":"Type Methods","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/playdate\/scoreboards\/addscore(boardid:value:callback:)-29nc6","title":"static func addScore(boardID: StaticString, value: CUnsignedInt, callback: (@convention(c) (_ score: UnsafeMutablePointer?, _ errorMessage: UnsafePointer?) -> Void)?) -> CInt","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/scoreboards\/addscore(boardid:value:callback:)-8xab3","title":"static func addScore(boardID: UnsafePointer, value: CUnsignedInt, callback: (@convention(c) (_ score: UnsafeMutablePointer?, _ errorMessage: UnsafePointer?) -> Void)?) -> CInt","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/scoreboards\/freeboardslist(_:)","title":"static func freeBoardsList(UnsafeMutablePointer)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/scoreboards\/freescore(_:)","title":"static func freeScore(UnsafeMutablePointer)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/scoreboards\/freescoreslist(_:)","title":"static func freeScoresList(UnsafeMutablePointer)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/scoreboards\/getpersonalbest(boardid:callback:)-8h5m9","title":"static func getPersonalBest(boardID: UnsafePointer, callback: (@convention(c) (_ score: UnsafeMutablePointer?, _ errorMessage: UnsafePointer?) -> Void)?) -> CInt","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/scoreboards\/getpersonalbest(boardid:callback:)-a93b","title":"static func getPersonalBest(boardID: StaticString, callback: (@convention(c) (_ score: UnsafeMutablePointer?, _ errorMessage: UnsafePointer?) -> Void)?) -> CInt","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/scoreboards\/getscoreboards(callback:)","title":"static func getScoreboards(callback: @convention(c) (_ boards: UnsafeMutablePointer?, _ errorMessage: UnsafePointer?) -> Void) -> CInt","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/scoreboards\/getscores(boardid:callback:)-8hnfz","title":"static func getScores(boardID: StaticString, callback: @convention(c) (_ scores: UnsafeMutablePointer?, _ errorMessage: UnsafePointer?) -> Void) -> CInt","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/scoreboards\/getscores(boardid:callback:)-9heou","title":"static func getScores(boardID: UnsafePointer, callback: @convention(c) (_ scores: UnsafeMutablePointer?, _ errorMessage: UnsafePointer?) -> Void) -> CInt","type":"method"}],"path":"\/documentation\/playdatekit\/playdate\/scoreboards","title":"Playdate.Scoreboards","type":"enum"},{"children":[{"title":"Classes","type":"groupMarker"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/collisioninfo\/actualx","title":"let actualX: Float","type":"property"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/collisioninfo\/actualy","title":"let actualY: Float","type":"property"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/collisioninfo\/collisions","title":"let collisions: UnsafeBufferPointer","type":"property"}],"path":"\/documentation\/playdatekit\/playdate\/sprite\/collisioninfo","title":"Playdate.Sprite.CollisionInfo","type":"class"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/queryinfo\/info","title":"let info: UnsafeBufferPointer","type":"property"}],"path":"\/documentation\/playdatekit\/playdate\/sprite\/queryinfo","title":"Playdate.Sprite.QueryInfo","type":"class"},{"title":"Type Aliases","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/collisionresponsetype","title":"Playdate.Sprite.CollisionResponseType","type":"typealias"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/rect","title":"Playdate.Sprite.Rect","type":"typealias"},{"title":"Type Methods","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/adddirtyrect(_:)","title":"static func addDirtyRect(Graphics.Rect)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/alloverlappingsprites()","title":"static func allOverlappingSprites() -> UnsafeBufferPointer","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/clearcliprectsinrange(startz:endz:)","title":"static func clearClipRectsInRange(startZ: CInt, endZ: CInt)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/drawdisplaylistsprites()","title":"static func drawDisplayListSprites()","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/getdisplaylistspritecount()","title":"static func getDisplayListSpriteCount() -> CInt","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/queryspriteinfoalongline(x1:y1:x2:y2:)","title":"static func querySpriteInfoAlongLine(x1: Float, y1: Float, x2: Float, y2: Float) -> QueryInfo","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/queryspritesalongline(x1:y1:x2:y2:)","title":"static func querySpritesAlongLine(x1: Float, y1: Float, x2: Float, y2: Float) -> UnsafeBufferPointer","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/queryspritesatpoint(x:y:)","title":"static func querySpritesAtPoint(x: Float, y: Float) -> UnsafeBufferPointer","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/queryspritesinrect(x:y:width:height:)","title":"static func querySpritesInRect(x: Float, y: Float, width: Float, height: Float) -> UnsafeBufferPointer","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/removeallspritesfromdisplaylist()","title":"static func removeAllSpritesFromDisplayList()","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/removespritesfromdisplaylist(_:)","title":"static func removeSpritesFromDisplayList(UnsafeMutableBufferPointer)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/resetcollisionworld()","title":"static func resetCollisionWorld()","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/setalwaysredraw(_:)","title":"static func setAlwaysRedraw(Bool)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/setcliprectsinrange(cliprect:startz:endz:)","title":"static func setClipRectsInRange(clipRect: Graphics.Rect, startZ: CInt, endZ: CInt)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/sprite\/updateanddrawdisplaylistsprites()","title":"static func updateAndDrawDisplayListSprites()","type":"method"}],"path":"\/documentation\/playdatekit\/playdate\/sprite","title":"Playdate.Sprite","type":"enum"},{"children":[{"title":"Structures","type":"groupMarker"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/playdate\/system\/menuitem\/title","title":"var title: UnsafePointer","type":"property"},{"path":"\/documentation\/playdatekit\/playdate\/system\/menuitem\/userdata","title":"var userdata: UnsafeMutableRawPointer?","type":"property"},{"path":"\/documentation\/playdatekit\/playdate\/system\/menuitem\/value","title":"var value: CInt","type":"property"},{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/playdate\/system\/menuitem\/settitle(_:)","title":"func setTitle(StaticString)","type":"method"}],"path":"\/documentation\/playdatekit\/playdate\/system\/menuitem","title":"Playdate.System.MenuItem","type":"struct"},{"title":"Type Aliases","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/playdate\/system\/buttons","title":"Playdate.System.Buttons","type":"typealias"},{"path":"\/documentation\/playdatekit\/playdate\/system\/datetime","title":"Playdate.System.DateTime","type":"typealias"},{"path":"\/documentation\/playdatekit\/playdate\/system\/event","title":"Playdate.System.Event","type":"typealias"},{"path":"\/documentation\/playdatekit\/playdate\/system\/language-swift.typealias","title":"Playdate.System.Language","type":"typealias"},{"path":"\/documentation\/playdatekit\/playdate\/system\/peripherals","title":"Playdate.System.Peripherals","type":"typealias"},{"title":"Type Properties","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/playdate\/system\/accelerometer","title":"static var accelerometer: (x: Float, y: Float, z: Float)","type":"property"},{"path":"\/documentation\/playdatekit\/playdate\/system\/accelerometerisenabled","title":"static var accelerometerIsEnabled: Bool","type":"property"},{"path":"\/documentation\/playdatekit\/playdate\/system\/batterypercentage","title":"static var batteryPercentage: Float","type":"property"},{"path":"\/documentation\/playdatekit\/playdate\/system\/batteryvoltage","title":"static var batteryVoltage: Float","type":"property"},{"path":"\/documentation\/playdatekit\/playdate\/system\/buttonstate","title":"static var buttonState: (current: PDButtons, pushed: PDButtons, released: PDButtons)","type":"property"},{"path":"\/documentation\/playdatekit\/playdate\/system\/crankangle","title":"static var crankAngle: Float","type":"property"},{"path":"\/documentation\/playdatekit\/playdate\/system\/crankchange","title":"static var crankChange: Float","type":"property"},{"path":"\/documentation\/playdatekit\/playdate\/system\/currenttimemilliseconds","title":"static var currentTimeMilliseconds: CUnsignedInt","type":"property"},{"path":"\/documentation\/playdatekit\/playdate\/system\/elapsedtime","title":"static var elapsedTime: Float","type":"property"},{"path":"\/documentation\/playdatekit\/playdate\/system\/flipped","title":"static var flipped: Bool","type":"property"},{"path":"\/documentation\/playdatekit\/playdate\/system\/iscrankdocked","title":"static var isCrankDocked: Bool","type":"property"},{"path":"\/documentation\/playdatekit\/playdate\/system\/language-swift.type.property","title":"static var language: Language","type":"property"},{"path":"\/documentation\/playdatekit\/playdate\/system\/reduceflashing","title":"static var reduceFlashing: Bool","type":"property"},{"path":"\/documentation\/playdatekit\/playdate\/system\/shoulddisplay24hourtime","title":"static var shouldDisplay24HourTime: Bool","type":"property"},{"path":"\/documentation\/playdatekit\/playdate\/system\/timezoneoffset","title":"static var timezoneOffset: CInt","type":"property"},{"path":"\/documentation\/playdatekit\/playdate\/system\/updatecallback","title":"static var updateCallback: (() -> Bool)?","type":"property"},{"title":"Type Methods","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/playdate\/system\/addcheckmarkmenuitem(title:checked:callback:userdata:)-1zw7w","title":"static func addCheckmarkMenuItem(title: StaticString, checked: Bool, callback: (@convention(c) (_ userdata: UnsafeMutableRawPointer?) -> Void)?, userdata: UnsafeMutableRawPointer?) -> MenuItem","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/system\/addcheckmarkmenuitem(title:checked:callback:userdata:)-8ift","title":"static func addCheckmarkMenuItem(title: UnsafePointer, checked: Bool, callback: (@convention(c) (_ userdata: UnsafeMutableRawPointer?) -> Void)?, userdata: UnsafeMutableRawPointer?) -> MenuItem","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/system\/addmenuitem(title:callback:userdata:)-1bfwq","title":"static func addMenuItem(title: StaticString, callback: (@convention(c) (_ userdata: UnsafeMutableRawPointer?) -> Void)?, userdata: UnsafeMutableRawPointer?) -> MenuItem","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/system\/addmenuitem(title:callback:userdata:)-47a4f","title":"static func addMenuItem(title: UnsafePointer, callback: (@convention(c) (_ userdata: UnsafeMutableRawPointer?) -> Void)?, userdata: UnsafeMutableRawPointer?) -> MenuItem","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/system\/addoptionsmenuitem(title:options:callback:userdata:)-1ohgi","title":"static func addOptionsMenuItem(title: StaticString, options: [StaticString], callback: (@convention(c) (_ userdata: UnsafeMutableRawPointer?) -> Void)?, userData: UnsafeMutableRawPointer?) -> MenuItem","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/system\/addoptionsmenuitem(title:options:callback:userdata:)-51mvf","title":"static func addOptionsMenuItem(title: UnsafePointer, options: UnsafeMutableBufferPointer?>, callback: (@convention(c) (_ userdata: UnsafeMutableRawPointer?) -> Void)?, userData: UnsafeMutableRawPointer?) -> MenuItem","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/system\/clearicache()","title":"static func clearICache()","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/system\/convertdatetimetoepoch(_:)","title":"static func convertDateTimeToEpoch(DateTime) -> CUnsignedInt","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/system\/convertepochtodatetime(_:)","title":"static func convertEpochToDateTime(CUnsignedInt) -> DateTime","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/system\/drawfps(x:y:)","title":"static func drawFPS(x: CInt, y: CInt)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/system\/error(_:)-1qzf1","title":"static func error(StaticString)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/system\/error(_:)-376ql","title":"static func error(Error)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/system\/error(_:)-7ut9u","title":"static func error(UnsafePointer?)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/system\/getsecondssinceepoch(_:)","title":"static func getSecondsSinceEpoch(CUnsignedInt) -> CUnsignedInt","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/system\/log(_:)-4t2fc","title":"static func log(UnsafePointer)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/system\/log(_:)-4z6ae","title":"static func log(StaticString)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/system\/realloc(pointer:size:)","title":"static func realloc(pointer: UnsafeMutableRawPointer?, size: Int) -> UnsafeMutableRawPointer","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/system\/removeallmenuitems()","title":"static func removeAllMenuItems()","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/system\/removemenuitem(_:)","title":"static func removeMenuItem(MenuItem)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/system\/resetelapsedtime()","title":"static func resetElapsedTime()","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/system\/setautolockdisabled(_:)","title":"static func setAutoLockDisabled(Bool)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/system\/setbuttoncallback(callback:buttonuserdata:queuesize:)","title":"static func setButtonCallback(callback: ((_ button: Buttons, _ down: Bool, _ when: CUnsignedInt, _ userdata: UnsafeMutableRawPointer?) -> Bool)?, buttonUserdata: UnsafeMutableRawPointer?, queueSize: CInt)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/system\/setcranksoundsdisabled(_:)","title":"static func setCrankSoundsDisabled(Bool) -> Bool","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/system\/setmenuimage(_:xoffset:)","title":"static func setMenuImage(Graphics.Bitmap, xOffset: CInt)","type":"method"},{"path":"\/documentation\/playdatekit\/playdate\/system\/setserialmessagecallback(callback:)","title":"static func setSerialMessageCallback(callback: @convention(c) (_ message: UnsafePointer?) -> Void)","type":"method"}],"path":"\/documentation\/playdatekit\/playdate\/system","title":"Playdate.System","type":"enum"}],"path":"\/documentation\/playdatekit\/playdate","title":"Playdate","type":"enum"},{"title":"Extended Modules","type":"groupMarker"},{"children":[{"title":"Extended Structures","type":"groupMarker"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/cplaydate\/lcdrect\/init(x:y:width:height:)","title":"init(x: CInt, y: CInt, width: CInt, height: CInt)","type":"init"},{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/playdatekit\/cplaydate\/lcdrect\/translated(dx:dy:)","title":"func translated(dx: CInt, dy: CInt) -> Playdate.Graphics.Rect","type":"method"}],"path":"\/documentation\/playdatekit\/cplaydate\/lcdrect","title":"LCDRect","type":"extension"}],"path":"\/documentation\/playdatekit\/cplaydate","title":"CPlaydate","type":"extension"}],"path":"\/documentation\/playdatekit","title":"PlaydateKit","type":"module"}]},"schemaVersion":{"major":0,"minor":1,"patch":2}} \ No newline at end of file diff --git a/docs/index/navigator.index b/docs/index/navigator.index new file mode 100644 index 0000000000000000000000000000000000000000..f9f02aadc997d3951154e3d323712290c7472f7c GIT binary patch literal 54700 zcmeHwYiwl6bsiPimhC8h>9x}8(X+EFH7$}oBAsXF&n)y;dGoXzG@gFCl*yKkNEoH}*t)T!6h)YMcR*VLbB;vY;uWNyj-FW-)$ z_!a*7aa?b_qxkzDOnzxTtnY=J@jLMO8m=GZhg|ye_OB1x`>jrMzuk<37s9yFj#|T= zpc^;iFzPmX_L~P`{O9oF`?&sWWOhHDX4eX~qfR^MkIwESi0ZGNSy(*9>_c4dak77( z&2~P`UeM01_xfQR*xP7I2@{QhykKu6xQ@%^=SM6dDI0vg)sNz+6?F!qX`D=c177Bt z^<7-=b9i}|&6>r?q>{hZ+zCeKo^Y^*pOwdbb=YmO6vyFCegoVK%=$aHo^WuJ8zwD- zO=Ml`MT79st2@C?vlDK0>vy|@=4NnX7&kXM!L2Cl#zFs6xreu#d-nN-=Voea-B|vc zuFXDITftxB1du27>N5XL6YtBo+#*yt&k{7!o&8==yVMDrgJ7IA__JpgPT3zqB#R{R z0vc1zItjm zd(DSK_1i8yS6wa{LdMY^5a`e0as~7h(IG9Hn*gOdNq67?5dxY75Z=x^nszNI$_=S zjHg~*44Nlp@xY7ZC#?*!rutwFjs(m!L_dGFI?;oWudDdoc2V1-=Pl`^UAz&*+tFB$ zQ=N)@dxW+>X%uZ9Xb~5P;B{Olofh%^mh!5-OCPG)Zr_P)*Wr3Nn8+nS9&uzl7ahri zApW5j#3f6dJ{OaKXl)0r2PWo1i_4e!1fi$*l0yL7tXtJs|+NKNHoo4^RYS@oKyE;X_ z+%_+h>{oEP+@2t-NEhXQTTVMLv6uJj?bMlRAHkbpZX1#tauLD50b(u`?TtQHgmNc3 z9=D1>V&-LGeAf$O)snwmgmFKNx8E}5CDuI<9H+lu^Wy)I#m)XDlPFR@V1`%w(asTV zfXQeR899c)uV6I+F*T(ILEsF6cm<9Poz;5ctnsf46X-cIYaugwt#t%zsOvujqv$Hw z*DVxwl$jDJYG-Z-gC2a?;HnL1)%gqSDqL(u-CcP3a2)Eb>015OnsGjsYk7xeruJ$r zinrMr$bVtNPeoFU1WixMwPx10xD{@STcq*d!K*6`dJjyu%q@||YQMRc2%w$$1O8GK zA!IvY6biFq5u4tLNaJ1#ozgv5Oju`rOH_S6CBBYmPkk?J$J>dMvmJz6+o%H)B$!MrgEUv0o5;m)eot6v7wtWPhIm>l z>=YG#LQ8}grQ~Ln>f0dZ7LmsCih90oUN*Xwv<9XE&eUQApO+X={CCTWmUp zR4r*90iIFFO4cm9Sov8JoRF6TpG%vQp_RzjK zySQe+>}k9xZk@lN9FognB{<(~Td2e<; z=%14^|Du=gC-9U>Jp(CoC4ML9?}S}Mn5xrzs^2IfaCF=cr@?hjk>5QSF4RGv(K%^@RFVbABi@35IBHw{m!8@tQSx+vrwlK4#5{e8qe7%e6Xk{=pSF}5_73|Rhpigp z)EZ^GbZc$7rmW(R6D43I95;I*iMMgN>}nIIsv_)`ZxT*gUNgZy()uM_u3DbKQzpGz zMx}1Bu`@%Ca6;*Wj+i7-rk+S!n9XdOm^N^Y=KnN-A!WysO9;6*_Pj_+ui$dWp0xq~ z1j!(2an9K&M+s^T8^<6KPCIgm`~~KWR5!Pj$RX1vRM8roKf&x@#pPzNG3uFO_Ua0k zVPeb9sF;9@L#9?FTyTyBv*!?p%Z0X!TH%tCC^y+6p^}+(L1Hg^iK#vLX?)9+5<6`A zMM_70ISGlwCS;@}k3^_=6&fBFfRk(0l+rZskz|C+<@y7b zl=^-dk|D-V`f-)HK}uBLBw6+iU9umxWY5`qhHO9BM8({`jqa%pyN+q*dPRQi+n6vJ zkorR}^^aJp8sW@PAGDehzl7_J7<|w^WcqQDyu41rp_lOcMiaJS=c?r^uaRH}ms{K4 zWeKX!Qn71OtV?MZXPz{F4VT-+(K6LZM^?Jh#le`wjcCveTdYYd86iuJ%04L7$x($v zwmX_F28)U97rofD%dFv`0yaBt!+~@b#7vFj==@X_jUBW>MjS)uMBElGw|q2UpfXDx z!ZJ$Fj!GeFKvE2dxKRU*2&sKj!#~Gvk^J|(#AeD8mTr=X#E>Wz-sMmAPjx}`@6h@7 zNw-~Ss3A{h-_Mia7A|-0_6E!84YA?!W{&~yGG44uZbaty75OV4I>_;tR;~pS zypOn#Te<$k^7S+Jo>gGZ@nK;O>KK+l_+VX{52zHT_|4Q{*g6}{)`R7mJ1R^?>cV%^ zkb}(E?&B#Fd!I~Me3-@GwPN$Zo2hYT11GtN2`r%H^gWu6icLUDQ!+>O+TY$75dZJv za?AZDK_eZ4KX16+3f$)(^sxK{$o>v47xz_yM)KkAi{-3yidE6%#!>!BLFlDh+AIm= zIX%0$xp``zaQ_J|7w$b`MLHC&Ur`9#_sy}vUpl+AFYx~+K)UeNS=IT-SuN-1!;OQg zGZm?{l+&!IXU{fU^U_SPyYC`YeK-VR2_YUC>C*1QVT-EpdtRhh@RUgrXJv`;Y-!L5t+9%-04t}Zq@bu}=0A3T9 z>+))>_B=U2TIn$}L(pBv3Vy4a|08lrjlAJQVt)E?op3Cis!pBPb3ej>{@ zXKLofh0KfiY+p=1@x|mP_C;2h%w%`^J(XlHOzeOOXunx8l`sM90Bz7JzDEno`wQ}H zVOdB|Q+8j()!$$UffxrgBh47?>poTK*NJ_T?I5*7g+WuI z7Ea995jm3l1n~E~fT`$A+B3_lb1A@&u{1nV=SD@Y-ha*TAPy)$7MZvLv)#jl;AHg2 z4*ty4GJ|t7wd_#rOpV^{eY0f5G&0DwA7AQjaTw9+9=1ZsKbYKFQ`kX*bAQ<&vyh0z zJP;5~0RiIXgCQz~{Kw$lmCwsoKI`^gln;9Vbzd`#rp#$!9l0EhXJ$v*Xhu!Lnev+9 z>yNyAY1C1bxX2e>>uQC5G+x-+gI=NVGHm<@FB{voSVq;sJMjJNW?Q$@4Yi=5L3fM8 zK{BAJelY`+92Zg-8}>3O!)#Moa{N1KjHsV5DR?KVmK(OHd{&d$-sy*8e@k1= zM~g{KOg?2xuX+)orY8^*0}3+xi_00S^Hnh7HVPlN>^R_l5)PbYZfv^{*lXWS|(Zs){K5%A+&*wF8qaB}~G)jKI}a zpS!uOut#1`V~Ex8AS+H)F-gD!i#1+>pSOYPIbR67!0T=$3IDUB&nf2+0-WtO##vN<*RrF%r$u zX2=yG<)_K9eEs!K2M2W2sQ`>)K6UX|CKv6!K$?9b9Tll(|ELUw z9U2`bQApqOLi)6Y@>xHm^%mkJ-M2*N2SVx)&Hq_16B^RgF@S*#S1_1h{gd`#k>#TAe;JAfqJb$5pk?cT$#piw1PW|wa;$icD2(Ohaxt2%_u zg@ii7mCnIEMS@$n+~GZqFQ3Ag3 z%&$ZyW|*gB>?)&WmY^kI@|`9J|Iy1q+j5|sxEz=u+Xy~L*!&I{#G*lXfHe!F>^FON!?lrRXY0^EgesuxQdN+yqm8jQ_@GR?3bDLwuHP>Fy#jt(3Mu769~<|Y~`li zW8b|v#=u5t4@Rm7dAB?#ybG`F`YtDY+03UIzU<)|-56;XqiSQ6S#R!XlSucAxLiZ3 z?xv2QCv8$@z5Co{Ib+~D78I0ee=|@T=5zusMIeNSUI-t=Q>HWKmNpz&2=ciqbwP4O z-i7dB65fUSKzXlF>=happ<#rq#hz(n$od&?eg5ZG*7xl_YoW0{t}tDfeAiY-7~yOj zJ-fWaw_O*HpwPL~g{Yp8GD~S>_mvyLU?7{H`{uA-NY>I|yG7P;R`se{0scg6hQF|F zZGN&q2D9~-x~;Pm-m_le{fkP%^YM`w_Wz58c>YmyW06996PN4dXk4sG_0KrDiG&4yf}5PsrH46I89aYHsVILOLg2tAq^x!XB5-| zn@oU0T@06Bfa&*>2~Z%4c~b$N^46Ar46!o#Tn7aIZ{Zw~sN3vZ4p0&z0a_e?rAex& zcL&$Em5~8wI6Xu-+ekQrtw~szo;|;PW@m|t_i?Y>{((r%Z05s{S;ZSExAhTA8{hUu zxrDr$ON$#6*AIBb^*5}z*6h6?F41;V!RkpFcvgIxpQr*B+N#TmA2dOOHEDAN$w*Zz zf)|_hQLilio|VDvF|rt>m2H&Lxa(m}ogX0`5wRGY{|(Zy>=bKQck^I$4f{vc#B`WV z`afP=OWQ#-WH9qpTy7Ud7x3snX@vzmW{dIc@*R@d!{shz`7oX`>6k{^BayAH<}iYW zRvXLJE1sr+;WG1Hh*KCyKEmaa*CCbD#DG*J|Jh;C->*m-=fw2)m2A0?Yvul*2uJ$> zX*hD8oN|Jn+x2^f>>*v0|6NWKLEpC9vJ+D&XWQ&vmIxf%mdJMWG2SPfit$5pQpFr+ zqg9~J$z&u}LEKgPT{&^5U9JU^`~_UD!>bcUG~AqRpwK0e<1u8$-8H)ho^V{wdo%(^ zE^O|cwjx5UrGM&wiRWJ4dcjReK*%hJ#D7>=D8l##&DHlN8fqJ`aMt-RE2bJAF*23ftWRNy8rY)&@H4WMM{Y`c9q-Cu3V${eGWhhJfbHOnLWJlK#o)1gw5Zii~* z92U#xMZ(%?rC1j5*152vLyJEeBfv*n8rvA#vp4{^D5^~XsU>7x8U(Sm$KPNM_)<@hB0 ztGL|d_!@!HyLAY-9KYFW1)Ts5cYs}Zy$8_F)DF~}t57hxe2MHYdy#2h`Vzin8ij0a zf}>*1zUVn1;lQ31OGIo&B>`cSpzAos9bC)pIGHKL?R%&gxo<`3a1lTJd&U~Zwu|KL();cA6~lXqck zIzoB~0xoF{czVPouVb%C#4>DUs!F>hFO%8mDQBM77n z&)Q-x*N&&To$K|nNg_@JCYl3WE*hPhP@F?0d*WzCK4kV(GK+BJ z>_~|vm7nY=KUaJe6a?(qy?pu)v;$_@Q+~9_(y5Qrv-1ag=k_SjTV8?wYZ0S4X0eJu zM-0bO{{N2%_B{G7lxxi^*Y8-l-m~|DqH6h%(9g6AyTjUVCxtBPq2f+3LjN{4_a0JC zb+4R$znYvzsGZXF%}h$LybUUF33;79*F3#RdENBNOY18GOH2j5vim5HS1-GN{BrH( z^~{8&SB~EhBL2}VOjo&`?g4THLuffDh*SCUn!#v$E2LNtykh+yB1{vnD=${RHY$v~ zzU2ppd~aUhei+BB$#0_)I5WSqD~io7pc@eXfGvT7_bn~E3<9sMG||qL4AGjtr@R-o z%zG^SzwIThQG+WMLbgt!)5Y^JpnaR3sBYtrdNY;qf9|@`e zyb~$HdKR6))o&{J9##qhFpd;4XPy%38(yhCW2NaUP=?H}-dcCIH>wg?U>=*jff+|6 z3`S&Jz0!WnvW1f^T$%D-&ln6gn9(G%Ssb!ApW*<~g zUrypQnPXI`g`=HWg(p_tPPAp`bmvdms3J4wLCrZGFKo6bG0w(wHAh1NzBp z{K46##K!)}Oa5nUL0z)ek=PDfp)vQvOe3zLkdt1E)nS)A;j7pf78PhQG@XycECZZ7Gkv1Q>TpGp^ zkAX*=hx@j-D-492(m@_gf;W5tjObxS$hQYd2 zz0w;o*wzKC8anEZrmULhNuNrHr1j4~>rJEFKK}}&B(%ED?Rf_IlIFCxssTMrAYiO@ zAlVfQ{oCHEpvKkLECHU>#2pMA)sv~Ay6eWHY^<+JO+~g+O(k1w5n+OU#+&*RFUZhp zq;Cova$CnxW)n6{R_}Qf)D0u-lw9do!7c*_^b$C1-mdmcb8xC$FmWw8cDz4sOgA~e zSWgr_nSGH*Rgfh0@+s8#e44j^>Qp%{Cw5%YWEvSOQGT1%aV75HlB3VXSIL^+h^l;_p3eYb0lPaZ>_;|J`{ z@bF#i>9HHOf_B)(0WoMY>Tv8ki@PyHcq}1TNbj}e)v*;JnOyE;jE!wqskSpiJ#*;u z>7|`8z7G@um#dKfjte;#c+@r`d3&QSLGEF|d;pIaoWorjT z_+VMoc^aMZ2>2%k81a7rW{DbDtPu^(TQU`3zwHHf5l@+Nz+~%_f`ri#&qbaK7>^># z967<-2O`&Uyi1TyO{tqzbw9I0l_+j&HqYXty>PcR`>>^~9)9ATTtzLLaf1zI;PI1!w2 z*ll&!WhAEZZ){=7K!oU*+{!o|$@YBqP&*^CT%TZL3+o7w=`?ZvJTA9Rz1!luVed(6 zoX#$tOv931LYfg&ZJtQjZ*%9P{G>&2-rhNPjmHh?IUuDbo)p!H8Ia`Tb43ai{jP{; zufL&HS42B!))nEQN5`NOGH`{AGJ3$-$*xPHJrE7=8yGlx$2x+t3FQQufP?v%2g~4t z-bmRW*y6rs??RYM7!j4KoAUQs8vjFdt+BT_H!ko*wbV$Be^p}3^)Xcy`)Oa^k9kxN ztL{Wqm5VA9{sgH==r_GZqeY@NSR~Ym-~(~V)#EnADIuK8yEN>bWl{dB7w9K!5sm_S z%+@%IY-w+2J|?n%=SB8;i%f%FBEo*exy0}!v0a>9+BfzXAG$d9$TPJ`Gc_5zU^W#4 zqy@9l$bcyv_(QH@T(0d_e@GVrbCFA}!rGVu2Aw~bE|OU!ZJI52A;k$iW%`u4rTZ&f z(`D~=(_1c(;vV0V*ba`&a$9f0pkwC380nZ5VO+&z-$@{FvhThnKe`08BbRloCZHy# z!#ds>$-jxq_0DGSl!*gHOyXq7;%x0xj5K4Dm@R>4+zdk`=WI+9Ck=y(Q#~~8@@Krr z+~0VOK);O3)ijOasy~_d zX@|#flc-6dzN@w+o?0fJOCVpxrbPZFd%eGp&fi`W-JkZMsLndkb_di*_k~)b1Vt=_W2$$KHvj zOd5%;urpAiT0C(eyFn1CG5G54(DNaZLON$|o)&~h9?V_q?Dw`S)i6S6Z1FV`XVBRt z{-h&KlDu5j)re^{FJXNWBPN=rIpjv87D(McQ9x%g<;Hp7jkBQZo6`SA zoea0SL7Tok?HIqRX2pyGV&_23bee$vD=yc7G3Lbdin*CcGyw7VgZn&p(V#MhBApDA zhBpCorY3tA%Mu#1U$t!5jK6W7L+-F;VTcyGdf5UKPgIa5UoaKVze^}h|1NkTU#Y-Fxfnsgtne(JEbYk0R(GUr3wkw*C;wh7gMh>+%OT&y7X^_eE6iVr|nPaA? z8nV)i2z~*Vi{N7K7l;^M$K|%!PvR-lMfo4zG!6-cPZQX_N9tPND*wcgZzj zesiJW@>>=}W-zR_f@SvO<~k)k!orA{j2dQ##o$&+UK}JMls<@^z&)RS%>H@V-diAF z+X%M8ZWlgCnJVDJ(MWP27JObeVUo^7w$9wE02d3pqmd7YK`EkMG1i zpFUv!R0r?M!y)4Om}7igz#4((I2-0!C8%$KybG#kLA|8lntQhc?1hExPmUKG3a+2c zxCn6>5WfTvu2O4H&~bJq?FpI=zu%OfB97k!4%d`xM?{A|#gsn?`ZQeijUe8`QG_Ack9PBOSA{ch4Q${;AFF9Scv4_q;-Vb$PV z)+UxQEWU+u>T)8lEy~ASe?R_qmd#jI0+^F3x=R+(NiVP=67mT~JR5 zBrm93EOlZ5<-ja;_RgIrm|p~0w}iC&ylz1yie9bz>=jB@-P7zCG9#W{P;}j0#dFEx zk?nO5ZA4r|HF$El*aM15{d->O8X{7gMe3$kHg2?9PNu$%5z1tcQ=Z6%z&c7~Jsvq5 zdy|=#9_e2op z)X^hM8p@(;n2bgA^y^2%dd9+1e@i@!1},autoplays:{type:Boolean,default:()=>!1},posterVariants:{type:Array,required:!1,default:()=>[]},muted:{type:Boolean,default:!1},deviceFrame:{type:String,required:!1},alt:{type:String,required:!1},id:{type:String,required:!0}},data:()=>({appState:A["default"].state,optimalWidth:null,orientation:null}),computed:{DeviceFrameComponent:()=>v.Z,preferredColorScheme:({appState:e})=>e.preferredColorScheme,systemColorScheme:({appState:e})=>e.systemColorScheme,altTextId:({id:e})=>`${e}-alt`,userPrefersDark:({preferredColorScheme:e,systemColorScheme:t})=>e===d.Z.dark||e===d.Z.auto&&t===d.Z.dark,shouldShowDarkVariant:({darkVideoVariantAttributes:e,userPrefersDark:t})=>e&&t,defaultVideoAttributes(){return this.videoVariantsGroupedByAppearance.light[0]||this.darkVideoVariantAttributes||{}},darkVideoVariantAttributes(){return this.videoVariantsGroupedByAppearance.dark[0]},videoVariantsGroupedByAppearance(){return(0,u.XV)(this.variants)},posterVariantsGroupedByAppearance(){const{light:e,dark:t}=(0,u.XV)(this.posterVariants);return{light:(0,u.u)(e),dark:(0,u.u)(t)}},defaultPosterAttributes:({posterVariantsGroupedByAppearance:e,userPrefersDark:t})=>t&&e.dark.length?e.dark[0]:e.light[0]||{},normalisedPosterPath:({defaultPosterAttributes:e})=>(0,u.AH)(e.src),videoAttributes:({darkVideoVariantAttributes:e,defaultVideoAttributes:t,shouldShowDarkVariant:n})=>n?e:t},watch:{normalisedPosterPath:{immediate:!0,handler:"getPosterDimensions"}},methods:{normalizePath:u.AH,async getPosterDimensions(e){if(!e)return void(this.optimalWidth=null);const{density:t}=this.defaultPosterAttributes,n=parseInt(t.match(/\d+/)[0],10),{width:r}=await(0,u.RY)(e);this.optimalWidth=r/n},setOrientation(){const{videoWidth:e,videoHeight:t}=this.$refs.video;this.orientation=(0,u.T8)(e,t)}}},y=b,C=(0,g.Z)(y,l,c,!1,null,null,null),I=C.exports,w=function(){var e=this,t=e._self._c;return t("div",{staticClass:"video-replay-container"},[t("VideoAsset",{ref:"asset",attrs:{variants:e.variants,autoplays:e.autoplays,showsDefaultControls:e.showsDefaultControls,muted:e.muted,posterVariants:e.posterVariants,deviceFrame:e.deviceFrame,alt:e.alt,id:e.id},on:{pause:e.onPause,playing:e.onVideoPlaying,ended:e.onVideoEnd}}),e.showsDefaultControls?e._e():t("a",{staticClass:"control-button",attrs:{href:"#","aria-controls":e.id},on:{click:function(t){return t.preventDefault(),e.togglePlayStatus.apply(null,arguments)}}},[e._v(" "+e._s(e.text)+" "),e.videoEnded?t("InlineReplayIcon",{staticClass:"control-icon icon-inline"}):e.isPlaying?t("PauseIcon",{staticClass:"control-icon icon-inline"}):t("PlayIcon",{staticClass:"control-icon icon-inline"})],1)],1)},E=[],B=function(){var e=this,t=e._self._c;return t("SVGIcon",{staticClass:"inline-replay-icon",attrs:{viewBox:"0 0 14 14",themeId:"inline-replay"}},[t("path",{attrs:{d:"M2.254 10.201c-1.633-2.613-0.838-6.056 1.775-7.689 2.551-1.594 5.892-0.875 7.569 1.592l0.12 0.184-0.848 0.53c-1.34-2.145-4.166-2.797-6.311-1.457s-2.797 4.166-1.457 6.311 4.166 2.797 6.311 1.457c1.006-0.629 1.71-1.603 2.003-2.723l0.056-0.242 0.98 0.201c-0.305 1.487-1.197 2.792-2.51 3.612-2.613 1.633-6.056 0.838-7.689-1.775z"}}),t("path",{attrs:{d:"M10.76 1.355l0.984-0.18 0.851 4.651-4.56-1.196 0.254-0.967 3.040 0.796z"}})])},x=[],k=n(9742),_={name:"InlineReplayIcon",components:{SVGIcon:k.Z}},S=_,T=(0,g.Z)(S,B,x,!1,null,null,null),L=T.exports,Q=n(6698),M=function(){var e=this,t=e._self._c;return t("SVGIcon",{staticClass:"pause-icon",attrs:{viewBox:"0 0 14 14",themeId:"pause"}},[t("path",{attrs:{d:"M5 4h1v6h-1z"}}),t("path",{attrs:{d:"M8 4h1v6h-1z"}}),t("path",{attrs:{d:"M7 0.5c-3.6 0-6.5 2.9-6.5 6.5s2.9 6.5 6.5 6.5 6.5-2.9 6.5-6.5-2.9-6.5-6.5-6.5zM7 12.5c-3 0-5.5-2.5-5.5-5.5s2.5-5.5 5.5-5.5 5.5 2.5 5.5 5.5-2.5 5.5-5.5 5.5z"}})])},P=[],Z={name:"PauseIcon",components:{SVGIcon:k.Z}},D=Z,N=(0,g.Z)(D,M,P,!1,null,null,null),O=N.exports,R={name:"ReplayableVideoAsset",components:{PauseIcon:O,PlayIcon:Q.Z,InlineReplayIcon:L,VideoAsset:I},props:{variants:{type:Array,required:!0},alt:{type:String,required:!1},id:{type:String,required:!0},showsDefaultControls:{type:Boolean,default:()=>!1},autoplays:{type:Boolean,default:()=>!1},muted:{type:Boolean,default:!1},posterVariants:{type:Array,default:()=>[]},deviceFrame:{type:String,required:!1}},computed:{text(){return this.videoEnded?this.$t("video.replay"):this.isPlaying?this.$t("video.pause"):this.$t("video.play")}},data(){return{isPlaying:!1,videoEnded:!1}},methods:{async togglePlayStatus(){const e=this.$refs.asset.$refs.video;e&&(this.isPlaying&&!this.videoEnded?await e.pause():await e.play())},onVideoEnd(){this.isPlaying=!1,this.videoEnded=!0},onVideoPlaying(){const{video:e}=this.$refs.asset.$refs;this.isPlaying=!e.paused,this.videoEnded=e.ended},onPause(){const{video:e}=this.$refs.asset.$refs;!this.showsDefaultControls&&this.isPlaying&&(this.isPlaying=!1),this.videoEnded=e.ended}}},j=R,G=(0,g.Z)(j,w,E,!1,null,"05855a6c",null),V=G.exports,z=n(5953);const H={video:"video",image:"image"};var $={name:"Asset",components:{ImageAsset:o.Z,VideoAsset:I},constants:{AssetTypes:H},mixins:[z.Z],props:{identifier:{type:String,required:!0},showsReplayButton:{type:Boolean,default:()=>!0},showsVideoControls:{type:Boolean,default:()=>!1},videoAutoplays:{type:Boolean,default:()=>!1},videoMuted:{type:Boolean,default:!1},deviceFrame:{type:String,required:!1}},computed:{rawAsset(){return this.references[this.identifier]||{}},isRawAssetVideo:({rawAsset:e})=>e.type===H.video,videoPoster(){return this.isRawAssetVideo&&this.references[this.rawAsset.poster]},asset(){return this.isRawAssetVideo&&this.prefersReducedMotion&&this.videoPoster||this.rawAsset},assetComponent(){switch(this.asset.type){case H.image:return o.Z;case H.video:return this.showsReplayButton?V:I;default:return}},prefersReducedMotion(){return window.matchMedia("(prefers-reduced-motion)").matches},assetProps(){return{[H.image]:this.imageProps,[H.video]:this.videoProps}[this.asset.type]},imageProps(){return{alt:this.asset.alt,variants:this.asset.variants}},videoProps(){return{variants:this.asset.variants,showsDefaultControls:this.showsVideoControls,muted:this.videoMuted,autoplays:!this.prefersReducedMotion&&this.videoAutoplays,posterVariants:this.videoPoster?this.videoPoster.variants:[],deviceFrame:this.deviceFrame,alt:this.asset.alt,id:this.identifier}},assetListeners(){return{[H.image]:null,[H.video]:{ended:()=>this.$emit("videoEnded")}}[this.asset.type]}}},q=$,W=(0,g.Z)(q,s,a,!1,null,"6ab0b718",null),F=W.exports},7188:function(e,t,n){"use strict";n.d(t,{default:function(){return h}});var r=n(5381);const i=e=>e?`(max-width: ${e}px)`:"",s=e=>e?`(min-width: ${e}px)`:"";function a({minWidth:e,maxWidth:t}){return["only screen",s(e),i(t)].filter(Boolean).join(" and ")}function o({maxWidth:e,minWidth:t}){return window.matchMedia(a({minWidth:t,maxWidth:e}))}var l,c,u={name:"BreakpointEmitter",constants:{BreakpointAttributes:r.kB,BreakpointName:r.L3,BreakpointScopes:r.lU},props:{scope:{type:String,default:()=>r.lU["default"],validator:e=>e in r.lU}},render(){return this.$scopedSlots.default?this.$scopedSlots.default({matchingBreakpoint:this.matchingBreakpoint}):null},data:()=>({matchingBreakpoint:null}),methods:{initMediaQuery(e,t){const n=o(t),r=t=>this.handleMediaQueryChange(t,e);n.addListener(r),this.$once("hook:beforeDestroy",(()=>{n.removeListener(r)})),r(n)},handleMediaQueryChange(e,t){e.matches&&(this.matchingBreakpoint=t,this.$emit("change",t))}},mounted(){const e=r.kB[this.scope]||{};Object.entries(e).forEach((([e,t])=>{this.initMediaQuery(e,t)}))}},A=u,d=n(1001),p=(0,d.Z)(A,l,c,!1,null,null,null),h=p.exports},5281:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=function(){var e=this,t=e._self._c;return t(e.resolvedComponent,e._b({tag:"component",staticClass:"button-cta",class:{"is-dark":e.isDark}},"component",e.componentProps,!1),[e._t("default")],2)},i=[],s=n(9882),a={name:"ButtonLink",components:{Reference:s.Z},props:{url:{type:String,required:!1},isDark:{type:Boolean,default:!1}},computed:{resolvedComponent:({url:e})=>e?s.Z:"button",componentProps:({url:e})=>e?{url:e}:{}}},o=a,l=n(1001),c=(0,l.Z)(o,r,i,!1,null,"c9c81868",null),u=c.exports},7605:function(e,t,n){"use strict";n.d(t,{Z:function(){return A}});var r=function(){var e=this,t=e._self._c;return e.action?t("DestinationDataProvider",{attrs:{destination:e.action},scopedSlots:e._u([{key:"default",fn:function({url:n,title:r}){return[t("ButtonLink",{attrs:{url:n,isDark:e.isDark}},[e._v(" "+e._s(r)+" ")])]}}],null,!1,710653997)}):e._e()},i=[],s=n(5281),a=n(1295),o={name:"CallToActionButton",components:{DestinationDataProvider:a.Z,ButtonLink:s.Z},props:{action:{type:Object,required:!0},isDark:{type:Boolean,default:!1}}},l=o,c=n(1001),u=(0,c.Z)(l,r,i,!1,null,null,null),A=u.exports},3917:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=function(){var e=this,t=e._self._c;return t("code",{attrs:{tabindex:"0","data-before-code":e.$t("accessibility.code.start"),"data-after-code":e.$t("accessibility.code.end")}},[e._t("default")],2)},i=[],s={name:"CodeBlock"},a=s,o=n(1001),l=(0,o.Z)(a,r,i,!1,null,"08295b2f",null),c=l.exports},2549:function(e,t,n){"use strict";n.r(t),n.d(t,{BlockType:function(){return wt},default:function(){return Pt}});var r=n(5953),i=n(7587),s=n(5996),a=n(8039),o=n(2020),l=function(){var e=this,t=e._self._c;return t("div",{staticClass:"DictionaryExample"},[e._t("default"),t("CollapsibleCodeListing",{attrs:{content:e.example.content,showLineNumbers:""}})],2)},c=[],u=function(){var e=this,t=e._self._c;return t("div",{staticClass:"collapsible-code-listing",class:{"single-line":1===e.content[0].code.length}},[t("pre",[t("CodeBlock",e._l(this.content,(function(n,r){return t("div",{key:r,class:["container-general",{collapsible:!0===n.collapsible},{collapsed:!0===n.collapsible&&e.collapsed}]},e._l(n.code,(function(n,r){return t("div",{key:r,staticClass:"code-line-container"},[e._v("\n "),t("div",{directives:[{name:"show",rawName:"v-show",value:e.showLineNumbers,expression:"showLineNumbers"}],staticClass:"code-number"}),e._v("\n "),t("div",{staticClass:"code-line"},[e._v(e._s(n))]),e._v("\n ")])})),0)})),0)],1)])},A=[],d=n(3917),p={name:"CollapsibleCodeListing",components:{CodeBlock:d.Z},props:{collapsed:{type:Boolean,required:!1},content:{type:Array,required:!0},showLineNumbers:{type:Boolean,default:()=>!0}}},h=p,g=n(1001),f=(0,g.Z)(h,u,A,!1,null,"25a17a0e",null),m=f.exports,v={name:"DictionaryExample",components:{CollapsibleCodeListing:m},props:{example:{type:Object,required:!0}}},b=v,y=(0,g.Z)(b,l,c,!1,null,null,null),C=y.exports,I=function(){var e=this,t=e._self._c;return t("Row",{staticClass:"endpoint-example"},[t("Column",{staticClass:"example-code"},[e._t("default"),t("Tabnav",{model:{value:e.currentTab,callback:function(t){e.currentTab=t},expression:"currentTab"}},[t("TabnavItem",{attrs:{value:e.Tab.request}},[e._v(e._s(e.$t("tab.request")))]),t("TabnavItem",{attrs:{value:e.Tab.response}},[e._v(e._s(e.$t("tab.response")))])],1),t("div",{staticClass:"output"},[e.isCurrent(e.Tab.request)?t("div",{staticClass:"code"},[t("CollapsibleCodeListing",e._b({attrs:{collapsed:e.isCollapsed,showLineNumbers:""}},"CollapsibleCodeListing",e.request,!1))],1):e._e(),e.isCurrent(e.Tab.response)?t("div",{staticClass:"code"},[t("CollapsibleCodeListing",e._b({attrs:{collapsed:e.isCollapsed,showLineNumbers:""}},"CollapsibleCodeListing",e.response,!1))],1):e._e()]),e.isCollapsible?t("div",{staticClass:"controls"},[e.isCollapsed?t("a",{staticClass:"toggle",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.showMore.apply(null,arguments)}}},[t("InlinePlusCircleSolidIcon",{staticClass:"control-icon icon-inline"}),e._v(" "+e._s(e.$t("more"))+" ")],1):t("a",{staticClass:"toggle",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.showLess.apply(null,arguments)}}},[t("InlineMinusCircleSolidIcon",{staticClass:"control-icon icon-inline"}),e._v(" "+e._s(e.$t("less"))+" ")],1)]):e._e()],2)],1)},w=[],E=n(9649),B=n(1576),x=function(){var e=this,t=e._self._c;return t("nav",{staticClass:"tabnav",class:{[`tabnav--${e.position}`]:e.position,"tabnav--vertical":e.vertical}},[t("ul",{staticClass:"tabnav-items"},[e._t("default")],2)])},k=[];const _="tabnavData";var S={name:"Tabnav",constants:{ProvideKey:_},provide(){const e={selectTab:this.selectTab};return Object.defineProperty(e,"activeTab",{enumerable:!0,get:()=>this.value}),{[_]:e}},props:{position:{type:String,required:!1,validator:e=>new Set(["start","center","end"]).has(e)},vertical:{type:Boolean,default:!1},value:{type:[String,Number],required:!0}},methods:{selectTab(e){this.$emit("input",e)}}},T=S,L=(0,g.Z)(T,x,k,!1,null,"5572fe1d",null),Q=L.exports,M=function(){var e=this,t=e._self._c;return t("li",{staticClass:"tabnav-item"},[t("a",{staticClass:"tabnav-link",class:{active:e.isActive},attrs:{href:"#","aria-current":e.isActive?"true":"false"},on:{click:function(t){return t.preventDefault(),e.tabnavData.selectTab(e.value)}}},[e._t("default")],2)])},P=[],Z={name:"TabnavItem",inject:{tabnavData:{default:{activeTab:null,selectTab:()=>{}}}},props:{value:{type:[String,Number],default:null}},computed:{isActive({tabnavData:e,value:t}){return e.activeTab===t}}},D=Z,N=(0,g.Z)(D,M,P,!1,null,"6aa9882a",null),O=N.exports,R=function(){var e=this,t=e._self._c;return t("SVGIcon",{staticClass:"inline-plus-circle-solid-icon",attrs:{viewBox:"0 0 14 14",themeId:"inline-plus-circle-solid"}},[t("path",{attrs:{d:"M7.005 0.5h-0.008c-1.791 0.004-3.412 0.729-4.589 1.9l0-0c-1.179 1.177-1.908 2.803-1.908 4.6 0 3.59 2.91 6.5 6.5 6.5s6.5-2.91 6.5-6.5c0-3.587-2.906-6.496-6.492-6.5h-0zM4.005 7.52v-1h2.5v-2.51h1v2.51h2.5v1h-2.501v2.49h-1v-2.49z"}})])},j=[],G=n(9742),V={name:"InlinePlusCircleSolidIcon",components:{SVGIcon:G.Z}},z=V,H=(0,g.Z)(z,R,j,!1,null,null,null),$=H.exports,q=function(){var e=this,t=e._self._c;return t("SVGIcon",{staticClass:"inline-minus-circle-solid-icon",attrs:{viewBox:"0 0 14 14",themeId:"inline-minus-circle-solid"}},[t("path",{attrs:{d:"m6.98999129.48999129c3.58985091 0 6.50000001 2.91014913 6.50000001 6.5 0 3.58985091-2.9101491 6.50000001-6.50000001 6.50000001-3.58985087 0-6.5-2.9101491-6.5-6.50000001 0-3.58985087 2.91014913-6.5 6.5-6.5zm3 6.02001742h-6v1h6z","fill-rule":"evenodd"}})])},W=[],F={name:"InlineMinusCircleSolidIcon",components:{SVGIcon:G.Z}},Y=F,U=(0,g.Z)(Y,q,W,!1,null,null,null),X=U.exports;const K={request:"Request",response:"Response"};var J={name:"EndpointExample",components:{InlineMinusCircleSolidIcon:X,InlinePlusCircleSolidIcon:$,TabnavItem:O,Tabnav:Q,CollapsibleCodeListing:m,Row:E.Z,Column:B.Z},constants:{Tab:K},props:{request:{type:Object,required:!0},response:{type:Object,required:!0}},data(){return{isCollapsed:!0,currentTab:K.request}},computed:{Tab:()=>K,isCollapsible:({response:e,request:t,currentTab:n})=>{const r={[K.request]:t.content,[K.response]:e.content}[n]||[];return r.some((({collapsible:e})=>e))}},methods:{isCurrent(e){return this.currentTab===e},showMore(){this.isCollapsed=!1},showLess(){this.isCollapsed=!0}}},ee=J,te=(0,g.Z)(ee,I,w,!1,null,"c84e62a6",null),ne=te.exports,re=function(){var e=this,t=e._self._c;return t("figure",{attrs:{id:e.anchor}},[e._t("default")],2)},ie=[],se={name:"Figure",props:{anchor:{type:String,required:!1}}},ae=se,oe=(0,g.Z)(ae,re,ie,!1,null,null,null),le=oe.exports,ce=function(){var e=this,t=e._self._c;return t(e.tag,{tag:"component",staticClass:"caption",class:{trailing:e.trailing}},[e.title?[t("strong",[e._v(e._s(e.title))]),e._v(" "),e._t("default")]:[e._t("default")]],2)},ue=[];const Ae={caption:"caption",figcaption:"figcaption"},de={leading:"leading",trailing:"trailing"};var pe={name:"Caption",constants:{CaptionPosition:de,CaptionTag:Ae},props:{title:{type:String,required:!1},tag:{type:String,required:!0,validator:e=>Object.hasOwnProperty.call(Ae,e)},position:{type:String,default:()=>de.leading,validator:e=>Object.hasOwnProperty.call(de,e)}},computed:{trailing:({position:e})=>e===de.trailing}},he=pe,ge=(0,g.Z)(he,ce,ue,!1,null,"869c6f6e",null),fe=ge.exports,me=function(){var e=this,t=e._self._c;return t("ImageAsset",{attrs:{alt:e.alt,variants:e.variants}})},ve=[],be=n(6769),ye={name:"InlineImage",components:{ImageAsset:be.Z},props:{alt:{type:String,default:""},variants:{type:Array,required:!0}}},Ce=ye,Ie=(0,g.Z)(Ce,me,ve,!1,null,"bf997940",null),we=Ie.exports,Ee=n(9882),Be=function(){var e=this,t=e._self._c;return t("div",{staticClass:"table-wrapper"},[t("table",{class:{spanned:e.spanned}},[e._t("default")],2)])},xe=[],ke={name:"Table",props:{spanned:{type:Boolean,default:!1}}},_e=ke,Se=(0,g.Z)(_e,Be,xe,!1,null,"f3322390",null),Te=Se.exports,Le=function(){var e=this,t=e._self._c;return t("s",{attrs:{"data-before-text":e.$t("accessibility.strike.start"),"data-after-text":e.$t("accessibility.strike.end")}},[e._t("default")],2)},Qe=[],Me={name:"StrikeThrough"},Pe=Me,Ze=(0,g.Z)(Pe,Le,Qe,!1,null,"7fc51673",null),De=Ze.exports,Ne=function(){var e=this,t=e._self._c;return t("small",[e._t("default")],2)},Oe=[],Re={name:"Small"},je=Re,Ge=(0,g.Z)(je,Ne,Oe,!1,null,"77035f61",null),Ve=Ge.exports,ze=function(){var e=this,t=e._self._c;return t("Asset",{attrs:{identifier:e.identifier,deviceFrame:e.deviceFrame}})},He=[],$e=n(1467),qe={name:"BlockVideo",components:{Asset:$e.Z},props:{identifier:{type:String,required:!0},deviceFrame:{type:String,required:!1}}},We=qe,Fe=(0,g.Z)(We,ze,He,!1,null,"4f18340d",null),Ye=Fe.exports,Ue=n(3938),Xe=n(3002),Ke=function(){var e=this,t=e._self._c;return t("div",{staticClass:"TabNavigator",class:[{"tabs--vertical":e.vertical}]},[t("Tabnav",e._b({model:{value:e.currentTitle,callback:function(t){e.currentTitle=t},expression:"currentTitle"}},"Tabnav",{position:e.position,vertical:e.vertical},!1),e._l(e.titles,(function(n){return t("TabnavItem",{key:n,attrs:{value:n}},[e._v(" "+e._s(n)+" ")])})),1),t("div",{staticClass:"tabs-content"},[t("div",{staticClass:"tabs-content-container"},[t("transition-group",{attrs:{name:"fade"}},[e._l(e.titles,(function(n){return[t("div",{directives:[{name:"show",rawName:"v-show",value:n===e.currentTitle,expression:"title === currentTitle"}],key:n,staticClass:"tab-container",class:{active:n===e.currentTitle}},[e._t(n)],2)]}))],2)],1)])],1)},Je=[],et={name:"TabNavigator",components:{TabnavItem:O,Tabnav:Q},props:{vertical:{type:Boolean,default:!1},position:{type:String,default:"start",validator:e=>new Set(["start","center","end"]).has(e)},titles:{type:Array,required:!0,default:()=>[]}},data(){return{currentTitle:this.titles[0]}},watch:{titles(e,t){if(e.length!t.includes(e)));this.currentTitle=n||this.currentTitle}}}},tt=et,nt=(0,g.Z)(tt,Ke,Je,!1,null,"e671a734",null),rt=nt.exports,it=function(){var e=this,t=e._self._c;return t("ul",{staticClass:"tasklist"},e._l(e.tasks,(function(n,r){return t("li",{key:r},[e.showCheckbox(n)?t("input",{attrs:{type:"checkbox",disabled:""},domProps:{checked:n.checked}}):e._e(),e._t("task",null,{task:n})],2)})),0)},st=[];const at="checked",ot=e=>Object.hasOwnProperty.call(e,at);var lt={name:"TaskList",props:{tasks:{required:!0,type:Array,validator:e=>e.some(ot)}},methods:{showCheckbox:ot}},ct=lt,ut=(0,g.Z)(ct,it,st,!1,null,"6a56a858",null),At=ut.exports,dt=function(){var e=this,t=e._self._c;return e.isListStyle?t("div",{staticClass:"links-block"},e._l(e.items,(function(e){return t("TopicsLinkBlock",{key:e.identifier,staticClass:"topic-link-block",attrs:{topic:e}})})),1):t("TopicsLinkCardGrid",{staticClass:"links-block",attrs:{items:e.items,"topic-style":e.blockStyle}})},pt=[],ht=n(3035),gt=n(3946),ft={name:"LinksBlock",mixins:[r.Z],components:{TopicsLinkBlock:()=>Promise.all([n.e(976),n.e(427)]).then(n.bind(n,3976)),TopicsLinkCardGrid:ht.Z},props:{identifiers:{type:Array,required:!0},blockStyle:{type:String,default:gt.o.compactGrid}},computed:{isListStyle:({blockStyle:e})=>e===gt.o.list,items:({identifiers:e,references:t})=>e.reduce(((e,n)=>t[n]?e.concat(t[n]):e),[])}},mt=ft,vt=(0,g.Z)(mt,dt,pt,!1,null,"b1a75c1c",null),bt=vt.exports,yt=n(889);const{CaptionPosition:Ct,CaptionTag:It}=fe.constants,wt={aside:"aside",codeListing:"codeListing",endpointExample:"endpointExample",heading:"heading",orderedList:"orderedList",paragraph:"paragraph",table:"table",termList:"termList",unorderedList:"unorderedList",dictionaryExample:"dictionaryExample",small:"small",video:"video",row:"row",tabNavigator:"tabNavigator",links:"links"},Et={codeVoice:"codeVoice",emphasis:"emphasis",image:"image",inlineHead:"inlineHead",link:"link",newTerm:"newTerm",reference:"reference",strong:"strong",text:"text",superscript:"superscript",subscript:"subscript",strikethrough:"strikethrough"},Bt={both:"both",column:"column",none:"none",row:"row"},xt={left:"left",right:"right",center:"center",unset:"unset"},kt=7;function _t(e,t){const n=n=>n.map(_t(e,t)),r=t=>t.map((t=>e("li",{},n(t.content)))),l=(t,r,i,s,a,o,l)=>{const{colspan:c,rowspan:u}=o[`${a}_${s}`]||{};if(0===c||0===u)return null;const A=l[s]||xt.unset;let d=null;return A!==xt.unset&&(d=`${A}-cell`),e(t,{attrs:{...r,colspan:c,rowspan:u},class:d},n(i))},c=(t,n=Bt.none,r={},i=[])=>{switch(n){case Bt.both:{const[n,...s]=t;return[e("thead",{},[e("tr",{},n.map(((e,t)=>l("th",{scope:"col"},e,t,0,r,i))))]),e("tbody",{},s.map((([t,...n],s)=>e("tr",{},[l("th",{scope:"row"},t,0,s+1,r,i),...n.map(((e,t)=>l("td",{},e,t+1,s+1,r,i)))]))))]}case Bt.column:return[e("tbody",{},t.map((([t,...n],s)=>e("tr",{},[l("th",{scope:"row"},t,0,s,r,i),...n.map(((e,t)=>l("td",{},e,t+1,s,r,i)))]))))];case Bt.row:{const[n,...s]=t;return[e("thead",{},[e("tr",{},n.map(((e,t)=>l("th",{scope:"col"},e,t,0,r,i))))]),e("tbody",{},s.map(((t,n)=>e("tr",{},t.map(((e,t)=>l("td",{},e,t,n+1,r,i)))))))]}default:return[e("tbody",{},t.map(((t,n)=>e("tr",{},t.map(((e,t)=>l("td",{},e,t,n,r,i)))))))]}},u=({metadata:{abstract:t=[],anchor:r,title:i,...s},...a})=>{const o={...a,metadata:s},l=[n([o])];if(i&&t.length||t.length){const r=i?Ct.leading:Ct.trailing,s=r===Ct.trailing?1:0,a=It.figcaption;l.splice(s,0,e(fe,{props:{title:i,position:r,tag:a}},n(t)))}return e(le,{props:{anchor:r}},l)},A=({metadata:{deviceFrame:t},...r})=>e(yt.Z,{props:{device:t}},n([r]));return function(l){switch(l.type){case wt.aside:{const t={kind:l.style,name:l.name};return e(i.Z,{props:t},n(l.content))}case wt.codeListing:{if(l.metadata&&l.metadata.anchor)return u(l);const t={syntax:l.syntax,fileType:l.fileType,content:l.code,showLineNumbers:l.showLineNumbers};return e(s.Z,{props:t})}case wt.endpointExample:{const t={request:l.request,response:l.response};return e(ne,{props:t},n(l.summary||[]))}case wt.heading:{const t={anchor:l.anchor,level:l.level};return e(a.Z,{props:t},l.text)}case wt.orderedList:return e("ol",{attrs:{start:l.start}},r(l.items));case wt.paragraph:{const t=1===l.inlineContent.length&&l.inlineContent[0].type===Et.image,r=t?{class:["inline-image-container"]}:{};return e("p",r,n(l.inlineContent))}case wt.table:{const t=c(l.rows,l.header,l.extendedData,l.alignments);if(l.metadata&&l.metadata.abstract){const{title:r}=l.metadata,i=r?Ct.leading:Ct.trailing,s=It.caption;t.unshift(e(fe,{props:{title:r,position:i,tag:s}},n(l.metadata.abstract)))}return e(Te,{attrs:{id:l.metadata&&l.metadata.anchor},props:{spanned:!!l.extendedData}},t)}case wt.termList:return e("dl",{},l.items.map((({term:t,definition:r})=>[e("dt",{},n(t.inlineContent)),e("dd",{},n(r.content))])));case wt.unorderedList:{const t=e=>At.props.tasks.validator(e.items);return t(l)?e(At,{props:{tasks:l.items},scopedSlots:{task:e=>n(e.task.content)}}):e("ul",{},r(l.items))}case wt.dictionaryExample:{const t={example:l.example};return e(C,{props:t},n(l.summary||[]))}case wt.small:return e("p",{},[e(Ve,{},n(l.inlineContent))]);case wt.video:{if(l.metadata&&l.metadata.abstract)return u(l);if(!t[l.identifier])return null;const{deviceFrame:n}=l.metadata||{};return e(Ye,{props:{identifier:l.identifier,deviceFrame:n}})}case wt.row:{const t=l.numberOfColumns?{large:l.numberOfColumns}:void 0;return e(Xe.Z,{props:{columns:t}},l.columns.map((t=>e(Ue.Z,{props:{span:t.size}},n(t.content)))))}case wt.tabNavigator:{const t=l.tabs.length>kt,r=l.tabs.map((e=>e.title)),i=l.tabs.reduce(((e,t)=>({...e,[t.title]:()=>n(t.content)})),{});return e(rt,{props:{titles:r,vertical:t},scopedSlots:i})}case wt.links:return e(bt,{props:{blockStyle:l.style,identifiers:l.items}});case Et.codeVoice:return e(o.Z,{},l.code);case Et.emphasis:case Et.newTerm:return e("em",n(l.inlineContent));case Et.image:{if(l.metadata&&(l.metadata.anchor||l.metadata.abstract))return u(l);const n=t[l.identifier];return n?l.metadata&&l.metadata.deviceFrame?A(l):e(we,{props:{alt:n.alt,variants:n.variants}}):null}case Et.link:return e("a",{attrs:{href:l.destination},class:"inline-link"},l.title);case Et.reference:{const r=t[l.identifier];if(!r)return null;const i=l.overridingTitleInlineContent||r.titleInlineContent,s=l.overridingTitle||r.title;return e(Ee.Z,{props:{url:r.url,kind:r.kind,role:r.role,isActive:l.isActive,ideTitle:r.ideTitle,titleStyle:r.titleStyle,hasInlineFormatting:!!i},class:"inline-link"},i?n(i):s)}case Et.strong:case Et.inlineHead:return e("strong",n(l.inlineContent));case Et.text:return"\n"===l.text?e("br"):l.text;case Et.superscript:return e("sup",n(l.inlineContent));case Et.subscript:return e("sub",n(l.inlineContent));case Et.strikethrough:return e(De,n(l.inlineContent));default:return null}}}var St,Tt,Lt={name:"ContentNode",constants:{TableHeaderStyle:Bt,TableColumnAlignments:xt},mixins:[r.Z],render:function(e){return e(this.tag,{class:"content"},this.content.map(_t(e,this.references),this))},props:{content:{type:Array,required:!0},tag:{type:String,default:()=>"div"}},methods:{map(e){function t(n=[]){return n.map((n=>{switch(n.type){case wt.aside:return e({...n,content:t(n.content)});case wt.dictionaryExample:return e({...n,summary:t(n.summary)});case wt.paragraph:case Et.emphasis:case Et.strong:case Et.inlineHead:case Et.superscript:case Et.subscript:case Et.strikethrough:case Et.newTerm:return e({...n,inlineContent:t(n.inlineContent)});case wt.orderedList:case wt.unorderedList:return e({...n,items:n.items.map((e=>({...e,content:t(e.content)})))});case wt.table:return e({...n,rows:n.rows.map((e=>e.map(t)))});case wt.termList:return e({...n,items:n.items.map((e=>({...e,term:{inlineContent:t(e.term.inlineContent)},definition:{content:t(e.definition.content)}})))});default:return e(n)}}))}return t(this.content)},forEach(e){function t(n=[]){n.forEach((n=>{switch(e(n),n.type){case wt.aside:t(n.content);break;case wt.paragraph:case Et.emphasis:case Et.strong:case Et.inlineHead:case Et.newTerm:case Et.superscript:case Et.subscript:case Et.strikethrough:t(n.inlineContent);break;case wt.orderedList:case wt.unorderedList:n.items.forEach((e=>t(e.content)));break;case wt.dictionaryExample:t(n.summary);break;case wt.table:n.rows.forEach((e=>{e.forEach(t)}));break;case wt.termList:n.items.forEach((e=>{t(e.term.inlineContent),t(e.definition.content)}));break}}))}return t(this.content)},reduce(e,t){let n=t;return this.forEach((t=>{n=e(n,t)})),n}},computed:{plaintext(){return this.reduce(((e,t)=>t.type===wt.paragraph?`${e}\n`:t.type===Et.text?`${e}${t.text}`:e),"").trim()}},BlockType:wt,InlineType:Et},Qt=Lt,Mt=(0,g.Z)(Qt,St,Tt,!1,null,null,null),Pt=Mt.exports},7587:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=function(){var e=this,t=e._self._c;return t("aside",{class:e.kind,attrs:{"aria-label":e.kind}},[t("p",{staticClass:"label"},[e._v(e._s(e.name||e.$t(e.label)))]),e._t("default")],2)},i=[];const s={deprecated:"deprecated",experiment:"experiment",important:"important",note:"note",tip:"tip",warning:"warning"};var a={name:"Aside",props:{kind:{type:String,required:!0,validator:e=>Object.prototype.hasOwnProperty.call(s,e)},name:{type:String,required:!1}},computed:{label:({kind:e})=>`aside-kind.${e}`}},o=a,l=n(1001),c=(0,l.Z)(o,r,i,!1,null,"3ccce809",null),u=c.exports},5996:function(e,t,n){"use strict";n.d(t,{Z:function(){return J}});var r=function(){var e=this,t=e._self._c;return t("div",{staticClass:"code-listing",class:{"single-line":1===e.syntaxHighlightedLines.length},attrs:{"data-syntax":e.syntaxNameNormalized}},[e.fileName?t("Filename",{attrs:{isActionable:e.isFileNameActionable,fileType:e.fileType},on:{click:function(t){return e.$emit("file-name-click")}}},[e._v(e._s(e.fileName)+" ")]):e._e(),t("div",{staticClass:"container-general"},[t("pre",[t("CodeBlock",[e._l(e.syntaxHighlightedLines,(function(n,r){return[t("span",{key:r,class:["code-line-container",{highlighted:e.isHighlighted(r)}]},[e.showLineNumbers?t("span",{staticClass:"code-number",attrs:{"data-line-number":e.lineNumberFor(r)}}):e._e(),t("span",{staticClass:"code-line",domProps:{innerHTML:e._s(n)}})]),e._v("\n")]}))],2)],1)])],1)},i=[],s=n(3208),a=n(3078),o=n(3917),l=n(3390),c=l;const u={objectivec:["objective-c"]},A={bash:["sh","zsh"],c:["h"],cpp:["cc","c++","h++","hpp","hh","hxx","cxx"],css:[],diff:["patch"],http:["https"],java:["jsp"],javascript:["js","jsx","mjs","cjs"],json:[],llvm:[],markdown:["md","mkdown","mkd"],objectivec:["mm","objc","obj-c"].concat(u.objectivec),perl:["pl","pm"],php:[],python:["py","gyp","ipython"],ruby:["rb","gemspec","podspec","thor","irb"],scss:[],shell:["console","shellsession"],swift:[],xml:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],...{NODE_ENV:"production",VUE_APP_TITLE:"Documentation",BASE_URL:"{{BASE_PATH}}/"}.VUE_APP_HLJS_LANGUAGES?Object.fromEntries({NODE_ENV:"production",VUE_APP_TITLE:"Documentation",BASE_URL:"{{BASE_PATH}}/"}.VUE_APP_HLJS_LANGUAGES.split(",").map((e=>[e,[]]))):void 0},d=new Set(["markdown","swift"]),p=Object.entries(A),h=new Set(Object.keys(A)),g=new Map;async function f(e){const t=[e];try{return await t.reduce((async(e,t)=>{let r;await e,r=d.has(t)?await n(3685)(`./${t}`):await n(2122)(`./${t}.js`),c.registerLanguage(t,r.default)}),Promise.resolve()),!0}catch(r){return console.error(`Could not load ${e} file`),!1}}function m(e){if(h.has(e))return e;const t=p.find((([,t])=>t.includes(e)));return t?t[0]:null}function v(e){if(g.has(e))return g.get(e);const t=m(e);return g.set(e,t),t}c.configure({classPrefix:"syntax-",languages:[...h]});const b=async e=>{const t=v(e);return!(!t||c.listLanguages().includes(t))&&f(t)},y=/\r\n|\r|\n/g,C=/syntax-/;function I(e){return 0===e.length?[]:e.split(y)}function w(e){return(e.trim().match(y)||[]).length}function E(e){const t=document.createElement("template");return t.innerHTML=e,t.content.childNodes}function B(e){const{className:t}=e;if(!C.test(t))return null;const n=I(e.innerHTML).reduce(((e,n)=>`${e}${n}\n`),"");return E(n.trim())}function x(e){return Array.from(e.childNodes).forEach((e=>{if(w(e.textContent))try{const t=e.childNodes.length?x(e):B(e);t&&e.replaceWith(...t)}catch(t){console.error(t)}})),B(e)}function k(e,t){const n=m(t);if(!c.getLanguage(n))throw new Error(`Unsupported language for syntax highlighting: ${t}`);return c.highlight(e,{language:n,ignoreIllegals:!0}).value}function _(e,t){const n=e.join("\n"),r=k(n,t),i=document.createElement("code");return i.innerHTML=r,x(i),I(i.innerHTML)}var S=function(){var e=this,t=e._self._c;return t("span",{staticClass:"filename"},[e.isActionable?t("a",{attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.$emit("click")}}},[t("FileIcon",{attrs:{fileType:e.fileType}}),e._t("default")],2):t("span",[t("FileIcon",{attrs:{fileType:e.fileType}}),e._t("default")],2)])},T=[],L=function(){var e=this,t=e._self._c;return"swift"===e.fileType?t("SwiftFileIcon",{staticClass:"file-icon"}):t("GenericFileIcon",{staticClass:"file-icon"})},Q=[],M=n(7834),P=function(){var e=this,t=e._self._c;return t("SVGIcon",{staticClass:"generic-file-icon",attrs:{viewBox:"0 0 14 14",themeId:"generic-file"}},[t("path",{attrs:{d:"M8.033 1l3.967 4.015v7.985h-10v-12zM7.615 2h-4.615v10h8v-6.574z"}}),t("path",{attrs:{d:"M7 1h1v4h-1z"}}),t("path",{attrs:{d:"M7 5h5v1h-5z"}})])},Z=[],D=n(9742),N={name:"GenericFileIcon",components:{SVGIcon:D.Z}},O=N,R=n(1001),j=(0,R.Z)(O,P,Z,!1,null,null,null),G=j.exports,V={name:"CodeListingFileIcon",components:{SwiftFileIcon:M.Z,GenericFileIcon:G},props:{fileType:String}},z=V,H=(0,R.Z)(z,L,Q,!1,null,"7c381064",null),$=H.exports,q={name:"CodeListingFilename",components:{FileIcon:$},props:{isActionable:{type:Boolean,default:()=>!1},fileType:String}},W=q,F=(0,R.Z)(W,S,T,!1,null,"c8c40662",null),Y=F.exports,U={name:"CodeListing",components:{Filename:Y,CodeBlock:o.Z},data(){return{syntaxHighlightedLines:[]}},props:{fileName:String,isFileNameActionable:{type:Boolean,default:()=>!1},syntax:String,fileType:String,content:{type:Array,required:!0},startLineNumber:{type:Number,default:()=>1},highlights:{type:Array,default:()=>[]},showLineNumbers:{type:Boolean,default:()=>!1}},computed:{escapedContent:({content:e})=>e.map(s.Xv),highlightedLineNumbers(){return new Set(this.highlights.map((({line:e})=>e)))},syntaxNameNormalized(){const e={occ:a.Z.objectiveC.key.url};return e[this.syntax]||this.syntax}},watch:{content:{handler:"syntaxHighlightLines",immediate:!0}},methods:{isHighlighted(e){return this.highlightedLineNumbers.has(this.lineNumberFor(e))},lineNumberFor(e){return this.startLineNumber+e},async syntaxHighlightLines(){let e;try{await b(this.syntaxNameNormalized),e=_(this.content,this.syntaxNameNormalized)}catch(t){e=this.escapedContent}this.syntaxHighlightedLines=e.map((e=>""===e?"\n":e))}}},X=U,K=(0,R.Z)(X,r,i,!1,null,"13e6923e",null),J=K.exports},2020:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=function(){var e=this,t=e._self._c;return t("WordBreak",{attrs:{tag:"code"}},[e._t("default")],2)},i=[],s=n(352),a={name:"CodeVoice",components:{WordBreak:s.Z}},o=a,l=n(1001),c=(0,l.Z)(o,r,i,!1,null,"05f4a5b7",null),u=c.exports},3938:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=function(){var e=this,t=e._self._c;return t("div",{staticClass:"column",style:e.style},[e._t("default")],2)},i=[],s={name:"Column",props:{span:{type:Number,default:null}},computed:{style:({span:e})=>({"--col-span":e})}},a=s,o=n(1001),l=(0,o.Z)(a,r,i,!1,null,"0f654188",null),c=l.exports},889:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=function(){var e=this,t=e._self._c;return t("div",{staticClass:"device-frame",class:e.classes,style:e.styles,attrs:{"data-device":e.device}},[t("div",{staticClass:"device-screen",class:{"with-device":e.currentDeviceAttrs}},[e._t("default")],2),t("div",{staticClass:"device"})])},i=[],s={},a=n(9089);const o=e=>e&&e!==1/0;var l={name:"DeviceFrame",props:{device:{type:String,required:!0}},provide:{insideDeviceFrame:!0},computed:{currentDeviceAttrs:({device:e})=>(0,a.$8)(["theme","device-frames",e],s[e]),styles:({toPixel:e,toUrl:t,toPct:n,currentDeviceAttrs:r={},toVal:i})=>{const{screenTop:s,screenLeft:a,screenWidth:o,frameWidth:l,lightUrl:c,darkUrl:u,screenHeight:A,frameHeight:d}=r;return{"--screen-top":n(s/d),"--screen-left":n(a/l),"--screen-width":n(o/l),"--screen-height":n(A/d),"--screen-aspect":i(o/A),"--frame-width":e(l),"--frame-aspect":i(l/d),"--device-light-url":t(c),"--device-dark-url":t(u)}},classes:({currentDeviceAttrs:e})=>({"no-device":!e})},methods:{toPixel:e=>o(e)?`${e}px`:null,toUrl:e=>o(e)?`url(${e})`:null,toPct:e=>o(e)?100*e+"%":null,toVal:e=>o(e)?e:null}},c=l,u=n(1001),A=(0,u.Z)(c,r,i,!1,null,"c2eac128",null),d=A.exports},8039:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=function(){var e=this,t=e._self._c;return t(`h${e.level}`,{tag:"component",attrs:{id:e.anchor}},[e.shouldLink?t("router-link",{staticClass:"header-anchor",attrs:{to:{hash:`#${e.anchor}`},"data-after-text":e.$t("accessibility.in-page-link")},on:{click:function(t){return e.handleFocusAndScroll(e.anchor)}}},[e._t("default"),t("LinkIcon",{staticClass:"icon",attrs:{"aria-hidden":"true"}})],2):[e._t("default")]],2)},i=[],s=n(3704),a=function(){var e=this,t=e._self._c;return t("SVGIcon",{staticClass:"link-icon",attrs:{viewBox:"0 0 20 20"}},[t("path",{attrs:{d:"M19.34,4.88L15.12,.66c-.87-.87-2.3-.87-3.17,0l-3.55,3.56-1.38,1.38-1.4,1.4c-.47,.47-.68,1.09-.64,1.7,.02,.29,.09,.58,.21,.84,.11,.23,.24,.44,.43,.63l4.22,4.22h0l.53-.53,.53-.53h0l-4.22-4.22c-.29-.29-.29-.77,0-1.06l1.4-1.4,.91-.91,.58-.58,.55-.55,2.9-2.9c.29-.29,.77-.29,1.06,0l4.22,4.22c.29,.29,.29,.77,0,1.06l-2.9,2.9c.14,.24,.24,.49,.31,.75,.08,.32,.11,.64,.09,.96l3.55-3.55c.87-.87,.87-2.3,0-3.17Z"}}),t("path",{attrs:{d:"M14.41,9.82s0,0,0,0l-4.22-4.22h0l-.53,.53-.53,.53h0l4.22,4.22c.29,.29,.29,.77,0,1.06l-1.4,1.4-.91,.91-.58,.58-.55,.55h0l-2.9,2.9c-.29,.29-.77,.29-1.06,0L1.73,14.04c-.29-.29-.29-.77,0-1.06l2.9-2.9c-.14-.24-.24-.49-.31-.75-.08-.32-.11-.64-.09-.97L.68,11.93c-.87,.87-.87,2.3,0,3.17l4.22,4.22c.87,.87,2.3,.87,3.17,0l3.55-3.55,1.38-1.38,1.4-1.4c.47-.47,.68-1.09,.64-1.7-.02-.29-.09-.58-.21-.84-.11-.22-.24-.44-.43-.62Z"}})])},o=[],l=n(9742),c={name:"LinkIcon",components:{SVGIcon:l.Z}},u=c,A=n(1001),d=(0,A.Z)(u,a,o,!1,null,null,null),p=d.exports,h={name:"LinkableHeading",mixins:[s.Z],components:{LinkIcon:p},props:{anchor:{type:String,required:!1},level:{type:Number,default:()=>2,validator:e=>e>=1&&e<=6}},inject:{enableMinimized:{default:()=>!1},isTargetIDE:{default:()=>!1}},computed:{shouldLink:({anchor:e,enableMinimized:t,isTargetIDE:n})=>!!e&&!t&&!n}},g=h,f=(0,A.Z)(g,r,i,!1,null,"24fddf6a",null),m=f.exports},9882:function(e,t,n){"use strict";n.d(t,{Z:function(){return N}});var r=function(){var e=this,t=e._self._c;return t(e.refComponent,{tag:"component",attrs:{url:e.urlWithParams,"is-active":e.isActiveComputed}},[e._t("default")],2)},i=[],s=n(2449),a=n(7192),o=n(4589),l=function(){var e=this,t=e._self._c;return t("ReferenceExternal",e._b({},"ReferenceExternal",e.$props,!1),[t("CodeVoice",[e._t("default")],2)],1)},c=[],u=function(){var e=this,t=e._self._c;return e.isActive?t("a",{attrs:{href:e.url}},[e._t("default")],2):t("span",[e._t("default")],2)},A=[],d={name:"ReferenceExternal",props:{url:{type:String,required:!0},isActive:{type:Boolean,default:!0}}},p=d,h=n(1001),g=(0,h.Z)(p,u,A,!1,null,null,null),f=g.exports,m=n(2020),v={name:"ReferenceExternalSymbol",props:f.props,components:{ReferenceExternal:f,CodeVoice:m.Z}},b=v,y=(0,h.Z)(b,l,c,!1,null,null,null),C=y.exports,I=function(){var e=this,t=e._self._c;return t("ReferenceInternal",e._b({},"ReferenceInternal",e.$props,!1),[t("CodeVoice",[e._t("default")],2)],1)},w=[],E=function(){var e=this,t=e._self._c;return e.isActive?t("router-link",{attrs:{to:e.url}},[e._t("default")],2):t("span",[e._t("default")],2)},B=[],x={name:"ReferenceInternal",props:{url:{type:String,required:!0},isActive:{type:Boolean,default:!0}}},k=x,_=(0,h.Z)(k,E,B,!1,null,null,null),S=_.exports,T={name:"ReferenceInternalSymbol",props:S.props,components:{ReferenceInternal:S,CodeVoice:m.Z}},L=T,Q=(0,h.Z)(L,I,w,!1,null,null,null),M=Q.exports,P={name:"Reference",computed:{isInternal({url:e}){if(!e.startsWith("/")&&!e.startsWith("#"))return!1;const{resolved:{name:t}={}}=this.$router.resolve(e)||{};return t!==o.vL},isSymbolReference(){return"symbol"===this.kind&&!this.hasInlineFormatting&&(this.role===a.L.symbol||this.role===a.L.dictionarySymbol)},isDisplaySymbol({isSymbolReference:e,titleStyle:t,ideTitle:n}){return n?e&&"symbol"===t:e},refComponent({isInternal:e,isDisplaySymbol:t}){return e?t?M:S:t?C:f},urlWithParams({isInternal:e}){return e?(0,s.Q2)(this.url,this.$route.query):this.url},isActiveComputed({url:e,isActive:t}){return!(!e||!t)}},props:{url:{type:String,required:!0},kind:{type:String,required:!1},role:{type:String,required:!1},isActive:{type:Boolean,required:!1,default:!0},ideTitle:{type:String,required:!1},titleStyle:{type:String,required:!1},hasInlineFormatting:{type:Boolean,default:!1}}},Z=P,D=(0,h.Z)(Z,r,i,!1,null,null,null),N=D.exports},3002:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=function(){var e=this,t=e._self._c;return t("div",{staticClass:"row",class:{"with-columns":e.columns},style:e.style},[e._t("default")],2)},i=[],s=n(5381),a={name:"Row",props:{columns:{type:Object,required:!1,validator:e=>Object.entries(e).every((([e,t])=>s.L3[e]&&"number"===typeof t))},gap:{type:Number,required:!1}},computed:{style:({columns:e={},gap:t})=>({"--col-count-large":e.large,"--col-count-medium":e.medium,"--col-count-small":e.small||1,"--col-gap":t&&`${t}px`})}},o=a,l=n(1001),c=(0,l.Z)(o,r,i,!1,null,"1bcb2d0f",null),u=c.exports},1295:function(e,t,n){"use strict";n.d(t,{Z:function(){return A}});var r=n(5953);const i={link:"link",reference:"reference",text:"text"};var s,a,o={name:"DestinationDataProvider",mixins:[r.Z],props:{destination:{type:Object,required:!0,default:()=>({})}},inject:{isTargetIDE:{default:()=>!1}},constants:{DestinationType:i},computed:{isExternal:({reference:e,destination:t})=>e.type===i.link||t.type===i.link,shouldAppendOpensInBrowser:({isExternal:e,isTargetIDE:t})=>e&&t,reference:({references:e,destination:t})=>e[t.identifier]||{},linkUrl:({destination:e,reference:t})=>({[i.link]:e.destination,[i.reference]:t.url,[i.text]:e.text}[e.type]),linkTitle:({reference:e,destination:t})=>({[i.link]:t.title,[i.reference]:t.overridingTitle||e.title,[i.text]:""}[t.type])},methods:{formatAriaLabel(e){return this.shouldAppendOpensInBrowser?`${e} (opens in browser)`:e}},render(){return this.$scopedSlots.default({url:this.linkUrl||"",title:this.linkTitle||"",formatAriaLabel:this.formatAriaLabel,isExternal:this.isExternal})}},l=o,c=n(1001),u=(0,c.Z)(l,s,a,!1,null,null,null),A=u.exports},3035:function(e,t,n){"use strict";n.d(t,{Z:function(){return ue}});var r=function(){var e=this,t=e._self._c;return t("Pager",{class:["TopicsLinkCardGrid",e.topicStyle],attrs:{"aria-label":e.$t("links-grid.label"),pages:e.pages},scopedSlots:e._u([{key:"page",fn:function({page:n}){return[t("Row",{attrs:{columns:{large:e.compactCards?3:2,medium:e.compactCards?3:2}}},e._l(n,(function(n){return t("Column",{key:n.title},[t("TopicsLinkCardGridItem",{attrs:{item:n,compact:e.compactCards}})],1)})),1)]}}])},[t("BreakpointEmitter",{on:{change:e.handleBreakpointChange}})],1)},i=[],s=n(7188),a=n(3938),o=function(){var e=this,t=e._self._c;return t("div",{staticClass:"pager",attrs:{role:"region","aria-roledescription":e.$t("pager.roledescription")}},[1===e.pages.length?[e._t("page",null,{page:e.pages[0]})]:[t("div",{staticClass:"container"},[t("Gutter",{staticClass:"left"},[t("ControlPrevious",{attrs:{disabled:!e.hasPreviousPage},nativeOn:{click:function(t){return e.previous.apply(null,arguments)}}})],1),t("div",{ref:"viewport",staticClass:"viewport",attrs:{role:"group"}},e._l(e.keyedPages,(function({page:n,key:r},i){return t("div",{key:r,ref:"pages",refInFor:!0,class:["page",e.pageStates(i)],attrs:{"aria-label":e.$t("pager.page.label",{index:i+1,count:e.keyedPages.length}),id:r}},[e._t("page",null,{page:n})],2)})),0),t("Gutter",{staticClass:"right"},[t("ControlNext",{attrs:{disabled:!e.hasNextPage},nativeOn:{click:function(t){return e.next.apply(null,arguments)}}})],1)],1),t("div",{staticClass:"compact-controls",attrs:{role:"group","aria-label":"Controls"}},[t("ControlPrevious",{attrs:{disabled:!e.hasPreviousPage},nativeOn:{click:function(t){return e.previous.apply(null,arguments)}}}),t("ControlNext",{attrs:{disabled:!e.hasNextPage},nativeOn:{click:function(t){return e.next.apply(null,arguments)}}})],1),t("div",{staticClass:"indicators"},e._l(e.keyedPages,(function({key:n},r){return t("a",{key:n,class:["indicator",e.pageStates(r)],attrs:{"aria-current":e.isActivePage(r),href:`#${n}`},on:{click:function(t){return e.setActivePage(t,r)}}})})),0)],e._t("default")],2)},l=[],c=function(){var e=this,t=e._self._c;return t("button",{class:["pager-control",e.action],attrs:{"aria-label":e.$t(`pager.control.navigate-${e.action}`)}},[t("ChevronRoundedIcon",{staticClass:"icon"})],1)},u=[],A=function(){var e=this,t=e._self._c;return t("SVGIcon",{staticClass:"chevron-rounded-icon",attrs:{viewBox:"0 0 14 25",themeId:"chevron-rounded"}},[t("path",{attrs:{d:"M1,24.4a.9.9,0,0,0,.7-.3L13.4,13a1,1,0,0,0,0-1.6L1.7.3A.9.9,0,0,0,1,0,.9.9,0,0,0,0,1a.9.9,0,0,0,.3.7l11,10.5L.3,22.7a.9.9,0,0,0-.3.7A.9.9,0,0,0,1,24.4Z"}})])},d=[],p=n(9742),h={name:"ChevronRoundedIcon",components:{SVGIcon:p.Z}},g=h,f=n(1001),m=(0,f.Z)(g,A,d,!1,null,null,null),v=m.exports;const b={previous:"previous",next:"next"};var y={name:"PagerControl",components:{ChevronRoundedIcon:v},props:{action:{type:String,required:!0,validator:e=>Object.hasOwnProperty.call(b,e)}},Action:b},C=y,I=(0,f.Z)(C,c,u,!1,null,"470ad89c",null),w=I.exports;function E(e){return e.scrollIntoView({behavior:"auto",block:"nearest",inline:"start"}),new Promise((t=>{const n=60,r=2;let i=null,s=0;function a(){const o=e.getBoundingClientRect().left;s>r&&(o===i||s>=n)?t():(i=o,s+=1,requestAnimationFrame(a))}requestAnimationFrame(a)}))}var B={name:"Pager",components:{ControlNext:{render(e){return e(w,{props:{action:w.Action.next}})}},ControlPrevious:{render(e){return e(w,{props:{action:w.Action.previous}})}},Gutter:{render(e){return e("div",{class:"gutter"},this.$slots.default)}}},props:{pages:{type:Array,required:!0,validator:e=>e.length>0}},data:()=>({activePageIndex:0}),computed:{indices:({keyedPages:e})=>e.reduce(((e,t,n)=>({...e,[t.key]:n})),{}),keyedPages:({_uid:e,pages:t})=>t.map(((t,n)=>({key:`pager-${e}-page-${n}`,page:t}))),hasNextPage:({activePageIndex:e,pages:t})=>ee>0},methods:{isActivePage(e){return e===this.activePageIndex},pageStates(e){return{active:this.isActivePage(e)}},async setActivePage(e,t){if(e.preventDefault(),t===this.activePageIndex||t<0||t>=this.$refs.pages.length)return;const n=this.$refs.pages[t];this.pauseObservingPages(),await E(n),this.startObservingPages(),this.activePageIndex=t},next(e){this.setActivePage(e,this.activePageIndex+1)},previous(e){this.setActivePage(e,this.activePageIndex-1)},observePages(e){const t=e.find((e=>e.isIntersecting))?.target?.id;t&&(this.activePageIndex=this.indices[t])},setupObserver(){this.observer=new IntersectionObserver(this.observePages,{root:this.$refs.viewport,threshold:.5}),this.startObservingPages()},startObservingPages(){this.$refs.pages.forEach((e=>{this.observer?.observe(e)}))},pauseObservingPages(){this.$refs.pages.forEach((e=>{this.observer?.unobserve(e)}))}},mounted(){this.pages.length>1&&this.setupObserver()},beforeDestroy(){this.observer?.disconnect()}},x=B,k=(0,f.Z)(x,o,l,!1,null,"3d4388b7",null),_=k.exports,S=n(3002),T=n(3946),L=n(5381),Q=n(5654),M=function(){var e=this,t=e._self._c;return t("Card",{staticClass:"reference-card-grid-item",attrs:{url:e.item.url,image:e.imageReferences.card,title:e.item.title,"floating-style":"",size:e.cardSize,"link-text":e.compact?"":e.$t(e.linkText)},scopedSlots:e._u([e.imageReferences.card?null:{key:"cover",fn:function({classes:n}){return[t("div",{staticClass:"reference-card-grid-item__image",class:n},[t("TopicTypeIcon",{staticClass:"reference-card-grid-item__icon",attrs:{type:e.item.role,"image-override":e.references[e.imageReferences.icon]}})],1)]}}],null,!0)},[e.compact?e._e():t("ContentNode",{attrs:{content:e.item.abstract}})],1)},P=[],Z=function(){var e=this,t=e._self._c;return t("Reference",e._b({staticClass:"card",class:e.classes,attrs:{url:e.url}},"Reference",e.linkAriaTags,!1),[t("CardCover",{attrs:{variants:e.imageVariants,rounded:e.floatingStyle,alt:e.imageReference.alt,"aria-hidden":"true"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._t("cover",null,null,t)]}}],null,!0)}),t("div",{staticClass:"details",attrs:{"aria-hidden":"true"}},[e.eyebrow?t("div",{staticClass:"eyebrow",attrs:{id:e.eyebrowId,"aria-label":e.formatAriaLabel(`- ${e.eyebrow}`)}},[e._v(" "+e._s(e.eyebrow)+" ")]):e._e(),t("div",{staticClass:"title",attrs:{id:e.titleId}},[e._v(" "+e._s(e.title)+" ")]),e.$slots.default?t("div",{staticClass:"card-content",attrs:{id:e.contentId}},[e._t("default")],2):e._e(),e.linkText?t(e.hasButton?"ButtonLink":"div",{tag:"component",staticClass:"link"},[e._v(" "+e._s(e.linkText)+" "),e.showExternalLinks?t("DiagonalArrowIcon",{staticClass:"icon-inline link-icon"}):e.hasButton?e._e():t("InlineChevronRightIcon",{staticClass:"icon-inline link-icon"})],1):e._e()],1)],1)},D=[],N=n(5281),O=n(8785),R=n(6817),j=n(9882),G={small:"small",large:"large"},V=n(5953),z=function(){var e=this,t=e._self._c;return t("div",{staticClass:"card-cover-wrap",class:{rounded:e.rounded}},[e._t("default",(function(){return[t("ImageAsset",{staticClass:"card-cover",attrs:{variants:e.variants,alt:e.alt}})]}),{classes:"card-cover"})],2)},H=[],$=n(6769),q={name:"CardCover",components:{ImageAsset:$.Z},props:{variants:{type:Array,required:!0},rounded:{type:Boolean,default:!1},alt:{type:String,default:null}}},W=q,F=(0,f.Z)(W,z,H,!1,null,"28b14a83",null),Y=F.exports,U={name:"Card",components:{Reference:j.Z,DiagonalArrowIcon:R.Z,InlineChevronRightIcon:O.Z,CardCover:Y,ButtonLink:N.Z},constants:{CardSize:G},mixins:[V.Z],computed:{titleId:({_uid:e})=>`card_title_${e}`,contentId:({_uid:e})=>`card_content_${e}`,eyebrowId:({_uid:e})=>`card_eyebrow_${e}`,linkAriaTags:({titleId:e,eyebrowId:t,contentId:n,eyebrow:r,$slots:i})=>({"aria-labelledby":e.concat(r?` ${t}`:""),"aria-describedby":i.default?`${n}`:null}),classes:({size:e,floatingStyle:t})=>[e,{"floating-style":t}],imageReference:({image:e,references:t})=>t[e]||{},imageVariants:({imageReference:e})=>e.variants||[]},props:{linkText:{type:String,required:!1},url:{type:String,required:!1,default:""},eyebrow:{type:String,required:!1},image:{type:String,required:!1},size:{type:String,validator:e=>Object.prototype.hasOwnProperty.call(G,e)},title:{type:String,required:!0},hasButton:{type:Boolean,default:()=>!1},floatingStyle:{type:Boolean,default:!1},showExternalLinks:{type:Boolean,default:!1},formatAriaLabel:{type:Function,default:e=>e}}},X=U,K=(0,f.Z)(X,Z,D,!1,null,"5f68def4",null),J=K.exports,ee=n(636),te=n(7192);const ne={[te.L.article]:"documentation.card.read-article",[te.L.overview]:"documentation.card.start-tutorial",[te.L.collection]:"documentation.card.view-api",[te.L.symbol]:"documentation.card.view-symbol",[te.L.sampleCode]:"documentation.card.view-sample-code"};var re={name:"TopicsLinkCardGridItem",components:{TopicTypeIcon:ee.Z,Card:J,ContentNode:()=>Promise.resolve().then(n.bind(n,2549))},mixins:[V.Z],props:{item:{type:Object,required:!0},compact:{type:Boolean,default:!0}},computed:{imageReferences:({item:e})=>(e.images||[]).reduce(((e,t)=>(e[t.type]=t.identifier,e)),{icon:null,card:null}),linkText:({item:e})=>ne[e.role]||"documentation.card.learn-more",cardSize:({compact:e})=>e?void 0:G.large}},ie=re,se=(0,f.Z)(ie,M,P,!1,null,"87dd3302",null),ae=se.exports,oe={name:"TopicsLinkCardGrid",components:{BreakpointEmitter:s["default"],Column:a.Z,Pager:_,Row:S.Z,TopicsLinkCardGridItem:ae},data:()=>({breakpoint:L.L3.large}),props:{items:{type:Array,required:!0},pageSize:{type:Number,required:!1},topicStyle:{type:String,default:T.o.compactGrid,validator:e=>e===T.o.compactGrid||e===T.o.detailedGrid},usePager:{type:Boolean,default:!1}},computed:{compactCards:({topicStyle:e})=>e===T.o.compactGrid,defaultPageSize:({breakpoint:e,items:t,topicStyle:n,usePager:r})=>r?{[T.o.compactGrid]:{[L.L3.large]:6,[L.L3.medium]:6,[L.L3.small]:1},[T.o.detailedGrid]:{[L.L3.large]:4,[L.L3.medium]:2,[L.L3.small]:1}}[n][e]:t.length,pages:({items:e,defaultPageSize:t,pageSize:n})=>(0,Q.Md)(e,n||t)},methods:{handleBreakpointChange(e){this.breakpoint=e}}},le=oe,ce=(0,f.Z)(le,r,i,!1,null,null,null),ue=ce.exports},1576:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=function(){var e=this,t=e._self._c;return t("div",{staticClass:"col",class:e.classes},[e._t("default")],2)},i=[];const s=0,a=12,o=new Set(["large","medium","small"]),l=e=>({type:Object,default:()=>({}),validator:t=>Object.keys(t).every((n=>o.has(n)&&e(t[n])))}),c=l((e=>"boolean"===typeof e)),u=l((e=>"number"===typeof e&&e>=s&&e<=a));var A={name:"GridColumn",props:{isCentered:c,isUnCentered:c,span:{...u,default:()=>({large:a})}},computed:{classes:function(){return{[`large-${this.span.large}`]:void 0!==this.span.large,[`medium-${this.span.medium}`]:void 0!==this.span.medium,[`small-${this.span.small}`]:void 0!==this.span.small,"large-centered":!!this.isCentered.large,"medium-centered":!!this.isCentered.medium,"small-centered":!!this.isCentered.small,"large-uncentered":!!this.isUnCentered.large,"medium-uncentered":!!this.isUnCentered.medium,"small-uncentered":!!this.isUnCentered.small}}}},d=A,p=n(1001),h=(0,p.Z)(d,r,i,!1,null,"2ee3ad8b",null),g=h.exports},9649:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=function(){var e=this,t=e._self._c;return t("div",{staticClass:"row"},[e._t("default")],2)},i=[],s={name:"GridRow"},a=s,o=n(1001),l=(0,o.Z)(a,r,i,!1,null,"be73599c",null),c=l.exports},5692:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=function(){var e=this,t=e._self._c;return t("SVGIcon",{staticClass:"article-icon",attrs:{viewBox:"0 0 14 14",themeId:"article"}},[t("path",{attrs:{d:"M8.033 1l3.967 4.015v7.985h-10v-12zM7.615 2h-4.615v10h8v-6.574z"}}),t("path",{attrs:{d:"M7 1h1v4h-1z"}}),t("path",{attrs:{d:"M7 5h5v1h-5z"}})])},i=[],s=n(9742),a={name:"ArticleIcon",components:{SVGIcon:s.Z}},o=a,l=n(1001),c=(0,l.Z)(o,r,i,!1,null,null,null),u=c.exports},7775:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=function(){var e=this,t=e._self._c;return t("SVGIcon",{staticClass:"curly-brackets-icon",attrs:{viewBox:"0 0 14 14",themeId:"curly-brackets"}},[t("path",{attrs:{d:"M9.987 14h-0.814v-0.916h0.36c0.137 0 0.253-0.038 0.349-0.116 0.099-0.080 0.179-0.188 0.239-0.318 0.064-0.134 0.11-0.298 0.139-0.483 0.031-0.186 0.045-0.38 0.045-0.58v-2.115c0-0.417 0.046-0.781 0.139-1.083 0.092-0.3 0.2-0.554 0.322-0.754 0.127-0.203 0.246-0.353 0.366-0.458 0.087-0.076 0.155-0.131 0.207-0.169-0.052-0.037-0.12-0.093-0.207-0.167-0.12-0.105-0.239-0.255-0.366-0.459-0.122-0.2-0.23-0.453-0.322-0.754-0.093-0.3-0.139-0.665-0.139-1.082v-2.13c0-0.199-0.014-0.392-0.045-0.572-0.029-0.182-0.076-0.345-0.139-0.483-0.060-0.137-0.141-0.246-0.239-0.328-0.095-0.076-0.212-0.115-0.349-0.115h-0.36v-0.916h0.814c0.442 0 0.788 0.18 1.030 0.538 0.238 0.352 0.358 0.826 0.358 1.407v2.236c0 0.3 0.015 0.597 0.044 0.886 0.030 0.287 0.086 0.544 0.164 0.765 0.077 0.216 0.184 0.392 0.318 0.522 0.129 0.124 0.298 0.188 0.503 0.188h0.058v0.916h-0.058c-0.206 0-0.374 0.064-0.503 0.188-0.134 0.129-0.242 0.305-0.318 0.521-0.078 0.223-0.134 0.48-0.164 0.766-0.029 0.288-0.044 0.587-0.044 0.884v2.236c0 0.582-0.12 1.055-0.358 1.409-0.242 0.358-0.588 0.538-1.030 0.538z"}}),t("path",{attrs:{d:"M4.827 14h-0.814c-0.442 0-0.788-0.18-1.030-0.538-0.238-0.352-0.358-0.825-0.358-1.409v-2.221c0-0.301-0.015-0.599-0.045-0.886-0.029-0.287-0.085-0.544-0.163-0.764-0.077-0.216-0.184-0.393-0.318-0.522-0.131-0.127-0.296-0.188-0.503-0.188h-0.058v-0.916h0.058c0.208 0 0.373-0.063 0.503-0.188 0.135-0.129 0.242-0.304 0.318-0.522 0.078-0.22 0.134-0.477 0.163-0.765 0.030-0.286 0.045-0.585 0.045-0.886v-2.251c0-0.582 0.12-1.055 0.358-1.407 0.242-0.358 0.588-0.538 1.030-0.538h0.814v0.916h-0.36c-0.138 0-0.252 0.038-0.349 0.116-0.099 0.079-0.179 0.189-0.239 0.327-0.064 0.139-0.11 0.302-0.141 0.483-0.029 0.18-0.044 0.373-0.044 0.572v2.13c0 0.417-0.046 0.782-0.138 1.082-0.092 0.302-0.201 0.556-0.324 0.754-0.123 0.201-0.246 0.356-0.366 0.459-0.086 0.074-0.153 0.13-0.206 0.167 0.052 0.038 0.12 0.093 0.206 0.169 0.12 0.103 0.243 0.258 0.366 0.458s0.232 0.453 0.324 0.754c0.092 0.302 0.138 0.666 0.138 1.083v2.115c0 0.2 0.015 0.394 0.044 0.58 0.030 0.186 0.077 0.349 0.139 0.482 0.062 0.132 0.142 0.239 0.241 0.32 0.096 0.079 0.21 0.116 0.349 0.116h0.36z"}})])},i=[],s=n(9742),a={name:"CurlyBracketsIcon",components:{SVGIcon:s.Z}},o=a,l=n(1001),c=(0,l.Z)(o,r,i,!1,null,null,null),u=c.exports},6817:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=function(){var e=this,t=e._self._c;return t("SVGIcon",{staticClass:"diagonal-arrow",attrs:{viewBox:"0 0 14 14",themeId:"diagonal-arrow"}},[t("path",{attrs:{d:"M0.010 12.881l10.429-10.477-3.764 0.824-0.339-1.549 7.653-1.679-1.717 7.622-1.546-0.349 0.847-3.759-10.442 10.487z"}})])},i=[],s=n(9742),a={name:"DiagonalArrowIcon",components:{SVGIcon:s.Z}},o=a,l=n(1001),c=(0,l.Z)(o,r,i,!1,null,null,null),u=c.exports},8633:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=function(){var e=this,t=e._self._c;return t("SVGIcon",{attrs:{viewBox:"0 0 14 14",themeId:"path"}},[t("path",{attrs:{d:"M0 0.948h2.8v2.8h-2.8z"}}),t("path",{attrs:{d:"M11.2 10.252h2.8v2.8h-2.8z"}}),t("path",{attrs:{d:"M6.533 1.852h0.933v10.267h-0.933z"}}),t("path",{attrs:{d:"M2.8 1.852h4.667v0.933h-4.667z"}}),t("path",{attrs:{d:"M6.533 11.186h4.667v0.933h-4.667z"}})])},i=[],s=n(9742),a={name:"PathIcon",components:{SVGIcon:s.Z}},o=a,l=n(1001),c=(0,l.Z)(o,r,i,!1,null,null,null),u=c.exports},6698:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=function(){var e=this,t=e._self._c;return t("SVGIcon",{staticClass:"play-icon",attrs:{viewBox:"0 0 14 14",themeId:"play"}},[t("path",{attrs:{d:"M7 0.5c3.59 0 6.5 2.91 6.5 6.5s-2.91 6.5-6.5 6.5c-3.59 0-6.5-2.91-6.5-6.5v0c0-3.59 2.91-6.5 6.5-6.5v0zM7 1.5c-3.038 0-5.5 2.462-5.5 5.5s2.462 5.5 5.5 5.5c3.038 0 5.5-2.462 5.5-5.5v0c0-3.038-2.462-5.5-5.5-5.5v0z"}}),t("path",{attrs:{d:"M10.195 7.010l-5 3v-6l5 3z"}})])},i=[],s=n(9742),a={name:"PlayIcon",components:{SVGIcon:s.Z}},o=a,l=n(1001),c=(0,l.Z)(o,r,i,!1,null,null,null),u=c.exports},7834:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=function(){var e=this,t=e._self._c;return t("SVGIcon",{staticClass:"swift-file-icon",attrs:{viewBox:"0 0 15 14",themeId:"swift-file"}},[t("path",{attrs:{d:"M14.93,13.56A2.15,2.15,0,0,0,15,13a5.37,5.37,0,0,0-1.27-3.24A6.08,6.08,0,0,0,14,7.91,9.32,9.32,0,0,0,9.21.31a8.51,8.51,0,0,1,1.78,5,6.4,6.4,0,0,1-.41,2.18A45.06,45.06,0,0,1,3.25,1.54,44.57,44.57,0,0,0,7.54,6.9,45.32,45.32,0,0,1,1.47,2.32,35.69,35.69,0,0,0,8.56,9.94a6.06,6.06,0,0,1-3.26.85A9.48,9.48,0,0,1,0,8.91a10,10,0,0,0,8.1,4.72c2.55,0,3.25-1.2,4.72-1.2a2.09,2.09,0,0,1,1.91,1.15C14.79,13.69,14.88,13.75,14.93,13.56Z"}})])},i=[],s=n(9742),a={name:"SwiftFileIcon",components:{SVGIcon:s.Z}},o=a,l=n(1001),c=(0,l.Z)(o,r,i,!1,null,"c01a6890",null),u=c.exports},9001:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=function(){var e=this,t=e._self._c;return t("SVGIcon",{staticClass:"technology-icon",attrs:{viewBox:"0 0 14 14",themeId:"technology"}},[t("path",{attrs:{d:"M3.39,9l3.16,1.84.47.28.47-.28L10.61,9l.45.26,1.08.63L7,12.91l-5.16-3,1.08-.64L3.39,9M7,0,0,4.1,2.47,5.55,0,7,2.47,8.44,0,9.9,7,14l7-4.1L11.53,8.45,14,7,11.53,5.56,14,4.1ZM7,7.12,5.87,6.45l-1.54-.9L3.39,5,1.85,4.1,7,1.08l5.17,3L10.6,5l-.93.55-1.54.91ZM7,10,3.39,7.9,1.85,7,3.4,6.09,4.94,7,7,8.2,9.06,7,10.6,6.1,12.15,7l-1.55.9Z"}})])},i=[],s=n(9742),a={name:"TechnologyIcon",components:{SVGIcon:s.Z}},o=a,l=n(1001),c=(0,l.Z)(o,r,i,!1,null,null,null),u=c.exports},8638:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=function(){var e=this,t=e._self._c;return t("SVGIcon",{staticClass:"tutorial-icon",attrs:{viewBox:"0 0 14 14",themeId:"tutorial"}},[t("path",{attrs:{d:"M0.933 6.067h3.733v1.867h-3.733v-1.867z"}}),t("path",{attrs:{d:"M0.933 1.867h3.733v1.867h-3.733v-1.867z"}}),t("path",{attrs:{d:"M13.067 1.867v10.267h-7.467v-10.267zM12.133 2.8h-5.6v8.4h5.6z"}}),t("path",{attrs:{d:"M0.933 10.267h3.733v1.867h-3.733v-1.867z"}})])},i=[],s=n(9742),a={name:"TutorialIcon",components:{SVGIcon:s.Z}},o=a,l=n(1001),c=(0,l.Z)(o,r,i,!1,null,null,null),u=c.exports},6769:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=function(){var e=this,t=e._self._c;return e.fallbackImageSrcSet?t("img",{staticClass:"fallback",attrs:{title:e.$t("error.image"),decoding:"async",alt:e.alt,srcset:e.fallbackImageSrcSet}}):t("picture",[e.prefersAuto&&e.darkVariantAttributes?t("source",{attrs:{media:"(prefers-color-scheme: dark)",srcset:e.darkVariantAttributes.srcSet}}):e._e(),e.prefersDark&&e.darkVariantAttributes?t("img",e._b({ref:"img",attrs:{decoding:"async","data-orientation":e.orientation,loading:e.loading,alt:e.alt,width:e.darkVariantAttributes.width||e.optimalWidth,height:e.darkVariantAttributes.width||e.optimalWidth?"auto":null},on:{error:e.handleImageLoadError}},"img",e.darkVariantAttributes,!1)):t("img",e._b({ref:"img",attrs:{decoding:"async","data-orientation":e.orientation,loading:e.loading,alt:e.alt,width:e.defaultAttributes.width||e.optimalWidth,height:e.defaultAttributes.width||e.optimalWidth?"auto":null},on:{error:e.handleImageLoadError}},"img",e.defaultAttributes,!1))])},i=[],s=n(5947),a={props:{variants:{type:Array,required:!0}},computed:{variantsGroupedByAppearance(){return(0,s.XV)(this.variants)},lightVariants(){return(0,s.u)(this.variantsGroupedByAppearance.light)},darkVariants(){return(0,s.u)(this.variantsGroupedByAppearance.dark)}}},o=n(4030),l=n(9804),c="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAJZCAYAAABRKlHVAAAACXBIWXMAABYlAAAWJQFJUiTwAAAXvUlEQVR4nO3d72pU57vH4aWmSoIBqSGpQaFgsVDoMexj22e2D6Cvav8plVq0amK0rbGJ9V83d+hs/Llb80wy6ztr1lwXBPoizcyamRfz8XmedZ/56quv/qcDAAAIWOm67r+80AAAQMJZrzIAAJAiQAAAgBgBAgAAxAgQAAAgRoAAAAAxAgQAAIgRIAAAQIwAAQAAYgQIAAAQI0AAAIAYAQIAAMQIEAAAIEaAAAAAMQIEAACIESAAAECMAAEAAGIECAAAECNAAACAGAECAADECBAAACBGgAAAADECBAAAiBEgAABAjAABAABiBAgAABAjQAAAgBgBAgAAxAgQAAAgRoAAAAAxAgQAAIgRIAAAQIwAAQAAYgQIAAAQI0AAAIAYAQIAAMQIEAAAIEaAAAAAMQIEAACIESAAAECMAAEAAGIECAAAECNAAACAGAECAADECBAAACBGgAAAADECBAAAiBEgAABAjAABAABiBAgAABAjQAAAgBgBAgAAxAgQAAAgRoAAAAAxAgQAAIgRIAAAQIwAAQAAYgQIAAAQI0AAAIAYAQIAAMQIEAAAIEaAAAAAMQIEAACIESAAAECMAAEAAGIECAAAECNAAACAGAECAADECBAAACBGgAAAADECBAAAiBEgAABAjAABAABiBAgAABAjQAAAgBgBAgAAxAgQAAAgRoAAAAAxAgQAAIgRIAAAQIwAAQAAYgQIAAAQI0AAAIAYAQIAAMQIEAAAIEaAAAAAMQIEAACIESAAAECMAAEAAGIECAAAECNAAACAGAECAADECBAAACBGgAAAADECBAAAiBEgAABAjAABAABiBAgAABAjQAAAgBgBAgAAxAgQAAAgRoAAAAAxAgQAAIgRIAAAQIwAAQAAYgQIAAAQI0AAAIAYAQIAAMQIEAAAIEaAAAAAMQIEAACIESAAAECMAAEAAGIECAAAECNAAACAGAECAADECBAAACBGgAAAADECBAAAiBEgAABAjAABAABiBAgAABAjQAAAgBgBAgAAxAgQAAAgRoAAAAAxAgQAAIgRIAAAQIwAAQAAYgQIAAAQI0AAAIAYAQIAAMQIEAAAIEaAAAAAMQIEAACIESAAAECMAAEAAGIECAAAECNAAACAGAECAADECBAAACBGgAAAADECBAAAiBEgAABAjAABAABiBAgAABAjQAAAgBgBAgAAxAgQAAAgRoAAAAAxAgQAAIgRIAAAQIwAAQAAYgQIAAAQI0AAAIAYAQIAAMQIEAAAIEaAAAAAMQIEAACIESAAAECMAAEAAGIECAAAECNAAACAGAECAADECBAAACBGgAAAADECBAAAiBEgAABAjAABAABiBAgAABAjQAAAgBgBAgAAxAgQAAAgRoAAAAAxAgQAAIgRIAAAQIwAAQAAYgQIAAAQI0AAAIAYAQIAAMQIEAAAIEaAAAAAMQIEAACIESAAAECMAAEAAGIECAAAECNAAACAGAECAADECBAAACBGgAAAADECBAAAiBEgAABAjAABAABiBAgAABAjQAAAgBgBAgAAxAgQAAAgRoAAAAAxAgQAAIgRIAAAQIwAAQAAYgQIAAAQI0AAAIAYAQIAAMQIEAAAIEaAAAAAMQIEAACIESAAAECMAAEAAGIECAAAECNAAACAGAECAADECBAAACBGgAAAADECBAAAiBEgAABAjAABAABiBAgAABAjQAAAgBgBAgAAxAgQAAAgRoAAAAAxAgQAAIgRIAAAQIwAAQAAYgQIAAAQs+KlBmBR3L59u1tdXe0uX77cra2ted8AFpAAAWAhHBwcdPv7+0c/u7u73fnz57utra3u0qVLR/8NwGIQIAAshCdPnvzH03z58mV37969o5+KkPqplREAhk2AALAQ3g+Qd/32229HPxUjm5ub3fb2tjcVYKAcQgdg8Cou3rx5c+zTrN9ZWfFvawBDJkAAGLwKkFa2YQEMmwABYNBqVeND26/eVedAzp075w0FGDABAsCgTbP6UQECwLAJEAAGbWdnp+np1cqH7VcAwydAABisutXu4eFh09Oz+gGwGAQIAIO1t7fX/NTq9rsADJ8AAWCwWg+f1yT0tbU1byTAAhAgAAzS/v7+0RasFs5+ACwOAQLAILWufpSNjQ1vIsCCECAADFLr7XfX19ePtmABsBgECACDU6sfNYCwhe1XAItFgAAwOK2rHzX7w+13ARbLivcL4MNu377tFZqRGzduHPuH6uB5a4CcPXu2u3PnziCubaLlGgGWmQABOEbdjYnTa90q9fTp0+bHevXq1dEPAIvDFiwAIlq3Su3s7HhDAEZMgADQu9azGgcHB93r16+9IQAjJkAA6F3r6sfe3p43A2DkBAgAvWs9/zHN8EEAFpMAAaBXNSSwhgUep+589fbtW28GwMgJEAB61br96vHjx94IgCUgQADoVcv2q5p6/uzZM28EwBIQIAD0prZfra2tHfvnWwcPArD4DCIEmIH6ot160HqZtJz96KaY/XHmzJnuk08+mcsrWAfka0o7AKcjQABm4MKFC9329raX8gTqS/3h4WHT//jxxx/P7XV+/vy5AAGYAVuwAJiraSafb25uerMAFpwAAWCuWs9/tJ4nAWDYBAgAc7O/v9+8rWlra8sbBTACAgSAuZlm8nnrPBEAhk2AADAXNfujdftV3U2rtmABsPgECABzUfFREdLCLY4BxkOAADAXrasf586ds/0KYEQECABxdfC8NUAqPipCABgHAQJAXGt8dLZfAYyOAAEgrnX4YB08rwPoAIyHAAEg6uDgoHn2h7MfAOOz4j0FWCz1Bf758+fd69ev/+N5r6ysdBcvXhz8tPDd3d3m3zV8EGB8BAjAAqgVg9q2VIP7jrt1bW1bqnMT9eV9iIe3W89/rK6umv0BMEICBGDgHjx40D18+LD5SVas1O/XSsP29na3ubk5mAucZvaH1Q+AcRIgAANVX9Rv3brVHR4enugJ1v9/7969oy/9169fH8RqSK3gtHL+A2CcHEIHGKA653Hz5s0Tx8e79vf3j0KmdeWhL/X4Zn8AIEAABqa+qN+9e3emwVAhUxEyT9Osfpj9ATBeAgRgYCo+ZrHy8b76m7Ula1729vaaHrlWPmy/AhgvAQIwILVFaZop4dOqg+m1vSutDsa3RpXVD4BxEyAAA5JYobh//378glsnn3cCBGD0BAjAQNTKR+uE8NOoQ+mJx3lX66pOzf0Y+iBFAE5HgAAMRJ9br96XfqzW4DH7A2D8BAjAQNTKRMpQY8fhc4DxEyAAA5HcFpU6iD7t7I/aggXAuAkQgAFIrn50f4dBQsVH62NZ/QBYDgIEgN60Dh+s2R/ufgWwHAQIAL2oLWWtKztWPwCWhwABGID19fXok6gVh761Tj7vzP4AWCoCBGAgElEwkZi10br9qg6epwMMgPkRIAADkfwSfvHixV7/ft1lq/WuXlY/AJaLAAEYiOQ5iL4fa3d3t/l3NzY2en0uAAyLAAEYiFoJSMzBqJWWvrdgtc7+WF1dNfsDYMkIEIAB2d7e7v3JXLlypde/X2c/Wmd/bG1t9fpcABgeAQIwILUKUqsCfamtV32fNWld/ejcfhdgKQkQgIH57LPPerkjVoXNp59+2uvF1spHa4BUbCXv/AXAMAgQgIGpMxE3btyY6Zfz+lt9hc27Wm+9251i9aN1excAwyRAAAaoDolXhMzigHatfHz55ZeRw96twwcrhE4SIBUft27d6u7du3eCZwfAEAgQgIGqCPniiy9ONSdjc3Oz+/zzzyNbnWr2x+HhYdPvnuSaJvFRj1G3+Z1mtQWA4VjxXgAMV4VDnduoL+z1hbvlS/dkdaHuqJW8xe00QTBtgLwbHxO1ClKrO4mp7gDMjgABWAB156r6uXbtWre/v/9/k8Yn08bri3iFx+T35mGa2R/TRsP78dH9HSW3b98+2l7mMDvA4hAgAAtksroxtNvXVnxMYug4004+v3v37r9u7ZqsjNRWNQAWgzMgAJxaX7M/Kj6O29pVcVK/B8BiECAAnEqtQrSe/6j4aD2X0hIfE63nYwCYPwECwKn0sfoxTXy8+//U2RgAhk2AAHAqraFQ51da7n51kviYqEPpBhUCDJsAAeDE6uB53ZWrRcvqx2nio3vnUDoAwyVAADix1snn3d9DET/ktPEx4VA6wLAJEABOrDUY6uD5h2Z/zCo+Jupv1bR0AIZHgABwIrX1qnX2x4fOfsw6PiZqUnrr9jAAcgQIwIKoL/tDOmA9TTT82/DBvuJj4s6dO82RBECGAAFYAPUv+d99993RAeuhREjr7XfX19f/cfZHYnZHvVY//vijO2MBDIgAARi4+pI+ub1sHbAeQoTUc2p9Dv+0/ar+/9RB8XrNajsWAMMgQAAG7J++qNcX6ps3b8516N5phg8m4+Pdx3QoHWAYBAjAQNWX9H/7ol6rD7UqMo8IqTMVrQFSqx81gHBiHvExUasg04QTAP0QIAAD1HI4ezJ0L/2l+qSrH/OMj4l6/HmuHAEgQAAGpaLi22+/bT6c/fbt26M7Pe3s7MQuo3X4YB08nwTIEOKj+/v1refhUDrA/AgQgIGoL8V1p6sXL15M/YTu37/f/fzzz71fSK0e1BmUFkOLjwmT0gHmS4AADEB9sf/mm29ONbOiViZ++OGHXi9mmtvm1vmPocXHRG0je/DgwTCeDMCSESAAc1bxUWc5Xr9+feon8scffxyFTF9aA2R1dXXwKw0PHz50KB1gDgQIwBzVF/pataizHLPy559/Ht2md9bnHOrLeuvfrABZhG1ODqUD5AkQgDmZbE/666+/Zv4EaivX119/faotXe+bZrXg6dOnM3vcPjmUDpAnQADm4Jdfful9haBWVeqOWq2Hxj+kvqC3br86c+bMqR8vqV6fupMYABkCBCDsp59+6h49ehR50IqQurPWaVckpln96GNFp2/7+/tHgwoB6J8AAQiZTC+fx/akip7TPG5yzsi87O7uTnWXLwBORoAABFR81GHz+pf2eakIqa1f06pzJLPYxrUIahXEoXSAfgkQgJ7VF9rvv//+RAMGZ622fk07sLB18vkYVCjWeRCH0gH6I0AAejSZ8VG3xh2KCopaDWn1+PHjpfqI1IqPQ+kA/REgAD2p7VYVH7Oc8TErredB6hpmMSBx0dR1L8IcE4BFJEAAelCHmevA+RDjo6yvrzf93jJtv3pfvYcOpQPMngABmLG6m9LQ//X86tWrx/5OnYOY5va7Y2RSOsDsCRCAGaqzFUOfJ/HRRx91a2trx/5excdQV3CSaiXLoXSA2REgADNy2lkbKRsbG02PtAjXklDxUWd5AJiNFa8jwOnVLXbnOeNjGi0BUneCevbs2ZCe9lzVHJQLFy4s8SsAMDtWQABm4NWrVwvxMq6urnbnz58/9veW/ezHPxnSrZQBFpkAAVgiW1tbTRdbAwsBoA8CBGCJXLp06diLrbs+LcqKDgCLR4AALImKj3Pnzh17sWZfANAnAQKwJC5fvtx0ocs8fBCA/gkQgCVQKx8t26/M/gCgbwIEYAm0xEdn9QOAAAECsAQ2NzePvcgauPf777/7OADQKwECMHI192Ntbe3YizT7A4AEAQIwcq2Hz83+ACBBgACM3MbGxrEX+PLly+7Fixc+CgD0ToAAjNjq6urRFqzj7Ozs+BgAECFAAEZsa2ur6eJ+/fVXHwMAIgQIwIi13H53f3+/e/XqlY8BABECBGCkKj5qAOFxnjx54iMAQIwAARiplrtf1ewP268ASBIgACNUKx8t269q9sfbt299BACIESAAI9QSH2Vvb8/bD0CUAAEYoc3NzWMvqmZ/PH/+3NsPQJQAARiZmvuxtrZ27EXV9isASBMgACPTcvi8PHr0yFsPQJwAARiZjY2NYy/o4ODA7A8A5kKAAIzI6urq0Ras4+zu7nrbAZgLAQIwIltbW00XY/YHAPMiQABGxOwPAIZuxTsE8GFXrlxZiFfowoULRwMIj/PkyZPmv1krKmfP+rcqAGZHgAAcY3t7ezQv0Zs3b5pvv1urKVevXu39OQGwXPyzFsASmWb1o/V2vgAwDQECsET29vaaLra2crWcJwGAaQkQgCXx8uXL7vDwsOlirX4A0BcBArAkdnZ2mi9UgADQFwECsCRaD5/XIMO1tTUfCwB6IUAAlkDFR23BatE6zBAATkKAACyB1tWPrnGYIQCclAABGLlpZ3/UFiwA6IsAARi5io+KkBZWPwDomwABGLnW4YM1+8PdrwDomwABGLE6eL6/v990gVY/AEgQIAAj1jr5vDP7A4AQAQIwYq3br+rg+fr6uo8CAL0TIAAjdXBw0Dz7w+oHACkCBGDEWs91bGxs+BgAELHiZQYYp7W1te769etHt+CtrVh1HuTw8PD/Xevq6qrZHwDECBCAkavb625ubh791JasnZ2do9kgk+1ZW1tbPgIAxAgQgCVSKx3Xrl07+qkIqR+33wUgSYAALKkKD/EBQJpD6AAAQIwAAQAAYgQIAAAQI0AAAIAYAQIAAMQIEAAAIEaAAAAAMQIEAACIESAAAECMAAEAAGIECAAAECNAAACAGAECAADECBAAACBGgAAAADECBAAAiBEgAABAjAABAABiBAgAABAjQAAAgBgBAgAAxAgQAAAgRoAAAAAxAgQAAIgRIAAAQIwAAQAAYgQIAAAQI0AAAIAYAQIAAMQIEAAAIEaAAAAAMQIEAACIESAAAECMAAEAAGIECAAAECNAAACAGAECAADECBAAACBGgAAAADECBAAAiBEgAABAjAABAABiBAgAABAjQAAAgBgBAgAAxAgQAAAgRoAAAAAxAgQAAIgRIAAAQIwAAQAAYgQIAAAQI0AAAIAYAQIAAMQIEAAAIEaAAAAAMQIEAACIESAAAECMAAEAAGIECAAAECNAAACAGAECAADECBAAACBGgAAAADECBAAAiBEgAABAjAABAABiBAgAABAjQAAAgBgBAgAAxAgQAAAgRoAAAAAxAgQAAIgRIAAAQIwAAQAAYgQIAAAQI0AAAIAYAQIAAMQIEAAAIEaAAAAAMQIEAACIESAAAECMAAEAAGIECAAAECNAAACAGAECAADECBAAACBGgAAAADECBAAAiBEgAABAjAABAABiBAgAABAjQAAAgBgBAgAAxAgQAAAgRoAAAAAxAgQAAIgRIAAAQIwAAQAAYgQIAAAQI0AAAIAYAQIAAMQIEAAAIEaAAAAAMQIEAACIESAAAECMAAEAAGIECAAAECNAAACAGAECAADECBAAACBGgAAAADECBAAAiBEgAABAjAABAABiBAgAABAjQAAAgBgBAgAAxAgQAAAgRoAAAAAxAgQAAIgRIAAAQIwAAQAAYgQIAAAQI0AAAIAYAQIAAMQIEAAAIEaAAAAAMQIEAACIESAAAECMAAEAAGIECAAAECNAAACAGAECAADECBAAACBGgAAAADECBAAAiBEgAABAjAABAABiBAgAABAjQAAAgBgBAgAAxAgQAAAgRoAAAAAxAgQAAIgRIAAAQIwAAQAAYgQIAAAQI0AAAIAYAQIAAMQIEAAAIEaAAAAAMQIEAACIESAAAECMAAEAAGIECAAAECNAAACAGAECAADECBAAACBGgAAAADECBAAAiBEgAABAjAABAABiBAgAABAjQAAAgBgBAgAAxAgQAAAgRoAAAAAxAgQAAIgRIAAAQIwAAQAAYgQIAAAQI0AAAIAYAQIAAMQIEAAAIEaAAAAAMQIEAACIESAAAECMAAEAAGIECAAAECNAAACAGAECAADECBAAACBGgAAAADECBAAAiBEgAABAjAABAABiBAgAABAjQAAAgBgBAgAAxAgQAAAgRoAAAAAxAgQAAIgRIAAAQIwAAQAAYgQIAAAQI0AAAIAYAQIAAMQIEAAAIEaAAAAAMQIEAACIESAAAECMAAEAAGIECAAAECNAAACAGAECAADECBAAACBGgAAAADECBAAAiBEgAABAjAABAABiBAgAABAjQAAAgBgBAgAAxAgQAAAgRoAAAAAxAgQAAIgRIAAAQIwAAQAAYgQIAAAQI0AAAIAYAQIAAMQIEAAAIEaAAAAAMQIEAACIESAAAEDMStd1/+3lBgAAetd13f8C5ofqtHojInUAAAAASUVORK5CYII=";const u=10;function A(e){if(!e.length)return null;const t=e.map((e=>`${(0,s.AH)(e.src)} ${e.density}`)).join(", "),n=e[0],r={srcSet:t,src:(0,s.AH)(n.src)},{width:i}=n.size||{width:null};return i&&(r.width=i,r.height="auto"),r}var d={name:"ImageAsset",mixins:[a],inject:{imageLoadingStrategy:{default:null}},data:()=>({appState:o["default"].state,fallbackImageSrcSet:null,optimalWidth:null,optimalHeight:null}),computed:{allVariants:({lightVariants:e=[],darkVariants:t=[]})=>e.concat(t),defaultAttributes:({lightVariantAttributes:e,darkVariantAttributes:t})=>e||t,darkVariantAttributes:({darkVariants:e})=>A(e),lightVariantAttributes:({lightVariants:e})=>A(e),loading:({appState:e,imageLoadingStrategy:t})=>t||e.imageLoadingStrategy,preferredColorScheme:({appState:e})=>e.preferredColorScheme,prefersAuto:({preferredColorScheme:e})=>e===l.Z.auto,prefersDark:({preferredColorScheme:e})=>e===l.Z.dark,orientation:({optimalWidth:e,optimalHeight:t})=>(0,s.T8)(e,t)},props:{alt:{type:String,default:""},variants:{type:Array,required:!0},shouldCalculateOptimalWidth:{type:Boolean,default:!0}},methods:{handleImageLoadError(){this.fallbackImageSrcSet=`${c} 2x`},async calculateOptimalDimensions(){const{$refs:{img:{currentSrc:e}},allVariants:t}=this,{density:n}=t.find((({src:t})=>e.endsWith(t))),r=parseInt(n.match(/\d+/)[0],u),i=await(0,s.RY)(e),a=i.width/r,o=i.height/r;return{width:a,height:o}},async optimizeImageSize(){if(!this.defaultAttributes.width&&this.$refs.img)try{const e=await this.calculateOptimalDimensions();this.optimalWidth=e.width,this.optimalHeight=e.height}catch{console.error("Unable to calculate optimal image width")}}},mounted(){this.shouldCalculateOptimalWidth&&this.$refs.img.addEventListener("load",this.optimizeImageSize)}},p=d,h=n(1001),g=(0,h.Z)(p,r,i,!1,null,null,null),f=g.exports},1253:function(e,t,n){"use strict";n.d(t,{Z:function(){return I}});var r=function(){var e=this,t=e._self._c;return t("nav",{ref:"nav",staticClass:"nav",class:e.rootClasses,attrs:{role:"navigation"}},[t("div",{ref:"wrapper",staticClass:"nav__wrapper"},[t("div",{staticClass:"nav__background"}),e.hasOverlay?t("div",{staticClass:"nav-overlay",on:{click:e.closeNav}}):e._e(),t("div",{staticClass:"nav-content"},[e._t("pre-title",null,{className:"pre-title"},{closeNav:e.closeNav,inBreakpoint:e.inBreakpoint,currentBreakpoint:e.currentBreakpoint,isOpen:e.isOpen}),e.$slots.default?t("div",{staticClass:"nav-title"},[e._t("default")],2):e._e(),e._t("after-title"),t("div",{staticClass:"nav-menu"},[t("a",{ref:"axToggle",staticClass:"nav-ax-toggle",attrs:{href:"#",role:"button"},on:{click:function(t){return t.preventDefault(),e.toggleNav.apply(null,arguments)}}},[t("span",{staticClass:"visuallyhidden"},[e.isOpen?[e._v(" "+e._s(e.$t("documentation.nav.close-menu"))+" ")]:[e._v(" "+e._s(e.$t("documentation.nav.open-menu"))+" ")]],2)]),t("div",{ref:"tray",staticClass:"nav-menu-tray",on:{transitionend:function(t){return t.target!==t.currentTarget?null:e.onTransitionEnd.apply(null,arguments)},click:e.handleTrayClick}},[e._t("tray",(function(){return[t("NavMenuItems",[e._t("menu-items")],2)]}),{closeNav:e.closeNav})],2)]),t("div",{staticClass:"nav-actions"},[t("a",{ref:"toggle",staticClass:"nav-menucta",attrs:{href:"#",tabindex:"-1","aria-hidden":"true"},on:{click:function(t){return t.preventDefault(),e.toggleNav.apply(null,arguments)}}},[t("span",{staticClass:"nav-menucta-chevron"})])])],2),e._t("after-content")],2),t("BreakpointEmitter",{attrs:{scope:e.BreakpointScopes.nav},on:{change:e.onBreakpointChange}})],1)},i=[],s=n(9146),a=n(2853),o=n(7188),l=n(9652),c=n(1716),u=n(5381),A=n(1147),d=n(5657);const{noClose:p}=c.MenuLinkModifierClasses,{BreakpointName:h,BreakpointScopes:g}=o["default"].constants,f=8,m={isDark:"theme-dark",isOpen:"nav--is-open",inBreakpoint:"nav--in-breakpoint-range",isTransitioning:"nav--is-transitioning",isSticking:"nav--is-sticking",hasSolidBackground:"nav--solid-background",hasNoBorder:"nav--noborder",hasFullWidthBorder:"nav--fullwidth-border",isWideFormat:"nav--is-wide-format",noBackgroundTransition:"nav--no-bg-transition"};var v={name:"NavBase",components:{NavMenuItems:a.Z,BreakpointEmitter:o["default"]},constants:{NavStateClasses:m,NoBGTransitionFrames:f},props:{breakpoint:{type:String,default:h.small},hasOverlay:{type:Boolean,default:!0},hasSolidBackground:{type:Boolean,default:!1},hasNoBorder:{type:Boolean,default:!1},hasFullWidthBorder:{type:Boolean,default:!1},isDark:{type:Boolean,default:!1},isWideFormat:{type:Boolean,default:!1}},mixins:[s["default"]],data(){return{isOpen:!1,isTransitioning:!1,isSticking:!1,noBackgroundTransition:!0,currentBreakpoint:h.large}},computed:{BreakpointScopes:()=>g,inBreakpoint:({currentBreakpoint:e,breakpoint:t})=>!(0,u.fr)(e,t),rootClasses:({isOpen:e,inBreakpoint:t,isTransitioning:n,isSticking:r,hasSolidBackground:i,hasNoBorder:s,hasFullWidthBorder:a,isDark:o,isWideFormat:l,noBackgroundTransition:c})=>({[m.isDark]:o,[m.isOpen]:e,[m.inBreakpoint]:t,[m.isTransitioning]:n,[m.isSticking]:r,[m.hasSolidBackground]:i,[m.hasNoBorder]:s,[m.hasFullWidthBorder]:a,[m.isWideFormat]:l,[m.noBackgroundTransition]:c})},watch:{isOpen(e){this.$emit("change",e),e?this.onExpand():this.onClose()}},async mounted(){window.addEventListener("keydown",this.onEscape),window.addEventListener("popstate",this.closeNav),window.addEventListener("orientationchange",this.closeNav),document.addEventListener("click",this.handleClickOutside),this.handleFlashOnMount(),await this.$nextTick()},beforeDestroy(){window.removeEventListener("keydown",this.onEscape),window.removeEventListener("popstate",this.closeNav),window.removeEventListener("orientationchange",this.closeNav),document.removeEventListener("click",this.handleClickOutside),this.isOpen&&this.toggleScrollLock(!1)},methods:{getIntersectionTargets(){return[document.getElementById(c.EA)||this.$el]},toggleNav(){this.isOpen=!this.isOpen,this.isTransitioning=!0},closeNav(){const e=this.isOpen;return this.isOpen=!1,this.resolveOnceTransitionsEnd(e)},resolveOnceTransitionsEnd(e){return e&&this.inBreakpoint?(this.isTransitioning=!0,new Promise((e=>{const t=this.$watch("isTransitioning",(()=>{e(),t()}))}))):Promise.resolve()},async onTransitionEnd({propertyName:e}){"max-height"===e&&(this.$emit("changed",this.isOpen),this.isTransitioning=!1,this.isOpen?(this.$emit("opened"),this.toggleScrollLock(!0)):this.$emit("closed"))},onBreakpointChange(e){this.currentBreakpoint=e,this.inBreakpoint||this.closeNav()},onIntersect({intersectionRatio:e}){window.scrollY<0||(this.isSticking=1!==e)},onEscape({key:e}){"Escape"===e&&this.isOpen&&(this.closeNav(),this.$refs.axToggle.focus())},handleTrayClick({target:e}){e.href&&!e.classList.contains(p)&&this.closeNav()},handleClickOutside({target:e}){this.$refs.nav.contains(e)||this.closeNav()},toggleScrollLock(e){e?l.Z.lockScroll(this.$refs.tray):l.Z.unlockScroll(this.$refs.tray)},onExpand(){this.$emit("open"),A.Z.hide(this.$refs.wrapper),document.activeElement===this.$refs.toggle&&document.activeElement.blur()},onClose(){this.$emit("close"),this.toggleScrollLock(!1),A.Z.show(this.$refs.wrapper)},async handleFlashOnMount(){await(0,d.J)(f),this.noBackgroundTransition=!1}}},b=v,y=n(1001),C=(0,y.Z)(b,r,i,!1,null,"7169e69d",null),I=C.exports},535:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=function(){var e=this,t=e._self._c;return t("li",{staticClass:"nav-menu-item",class:{"nav-menu-item--animated":e.animate}},[e._t("default")],2)},i=[],s={name:"NavMenuItemBase",props:{animate:{type:Boolean,default:!0}}},a=s,o=n(1001),l=(0,o.Z)(a,r,i,!1,null,"296e4e0c",null),c=l.exports},2853:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=function(){var e=this,t=e._self._c;return t("ul",{staticClass:"nav-menu-items"},[e._t("default")],2)},i=[],s={name:"NavMenuItems"},a=s,o=n(1001),l=(0,o.Z)(a,r,i,!1,null,"a101abb4",null),c=l.exports},636:function(e,t,n){"use strict";n.d(t,{Z:function(){return le}});var r=function(){var e=this,t=e._self._c;return t("div",{staticClass:"TopicTypeIcon",style:e.styles},[e.imageOverride?t("OverridableAsset",{staticClass:"icon-inline",attrs:{imageOverride:e.imageOverride,shouldCalculateOptimalWidth:e.shouldCalculateOptimalWidth}}):t(e.icon,e._b({tag:"component",staticClass:"icon-inline"},"component",e.iconProps,!1))],1)},i=[],s=n(8633),a=n(9001),o=n(5692),l=n(8638),c=function(){var e=this,t=e._self._c;return t("SVGIcon",{attrs:{viewBox:"0 0 14 14",height:"14",themeId:"topic-func"}},[t("path",{attrs:{d:"M13 1v12h-12v-12zM12.077 1.923h-10.154v10.154h10.154z"}}),t("path",{attrs:{d:"M5.191 9.529c0.044 0.002 0.089 0.004 0.133 0.004 0.108 0 0.196-0.025 0.262-0.074s0.122-0.113 0.166-0.188c0.044-0.077 0.078-0.159 0.103-0.247s0.049-0.173 0.074-0.251l0.598-2.186h-0.709l0.207-0.702h0.702l0.288-1.086c0.083-0.384 0.256-0.667 0.517-0.849s0.591-0.273 0.99-0.273c0.108 0 0.212 0.007 0.314 0.022s0.203 0.027 0.306 0.037l-0.207 0.761c-0.054-0.006-0.106-0.011-0.155-0.018s-0.102-0.011-0.155-0.011c-0.108 0-0.196 0.016-0.262 0.048s-0.122 0.075-0.166 0.129-0.080 0.115-0.107 0.185c-0.028 0.068-0.055 0.14-0.085 0.214l-0.222 0.842h0.768l-0.192 0.702h-0.783l-0.628 2.319c-0.059 0.222-0.129 0.419-0.21 0.594s-0.182 0.322-0.303 0.443-0.269 0.214-0.443 0.281-0.385 0.1-0.631 0.1c-0.084 0-0.168-0.004-0.251-0.011s-0.168-0.014-0.251-0.018l0.207-0.768c0.040 0 0.081 0.001 0.126 0.004z"}})])},u=[],A=n(9742),d={name:"TopicFuncIcon",components:{SVGIcon:A.Z}},p=d,h=n(1001),g=(0,h.Z)(p,c,u,!1,null,null,null),f=g.exports,m=function(){var e=this,t=e._self._c;return t("SVGIcon",{staticClass:"collection-icon",attrs:{viewBox:"0 0 14 14",themeId:"collection"}},[t("path",{attrs:{d:"m1 1v12h12v-12zm11 11h-10v-10h10z"}}),t("path",{attrs:{d:"m3 4h8v1h-8zm0 2.5h8v1h-8zm0 2.5h8v1h-8z"}}),t("path",{attrs:{d:"m3 4h8v1h-8z"}}),t("path",{attrs:{d:"m3 6.5h8v1h-8z"}}),t("path",{attrs:{d:"m3 9h8v1h-8z"}})])},v=[],b={name:"CollectionIcon",components:{SVGIcon:A.Z}},y=b,C=(0,h.Z)(y,m,v,!1,null,null,null),I=C.exports,w=function(){var e=this,t=e._self._c;return t("SVGIcon",{attrs:{viewBox:"0 0 14 14",height:"14",themeId:"topic-func-op"}},[t("path",{attrs:{d:"M13 13h-12v-12h12zM1.923 12.077h10.154v-10.154h-10.154z"}}),t("path",{attrs:{d:"M5.098 4.968v-1.477h-0.738v1.477h-1.477v0.738h1.477v1.477h0.738v-1.477h1.477v-0.738z"}}),t("path",{attrs:{d:"M8.030 4.807l-2.031 5.538h0.831l2.031-5.538z"}}),t("path",{attrs:{d:"M8.894 8.805v0.923h2.215v-0.923z"}})])},E=[],B={name:"TopicFuncOpIcon",components:{SVGIcon:A.Z}},x=B,k=(0,h.Z)(x,w,E,!1,null,null,null),_=k.exports,S=n(7775),T=function(){var e=this,t=e._self._c;return t("SVGIcon",{attrs:{viewBox:"0 0 14 14",height:"14",themeId:"topic-subscript"}},[t("path",{attrs:{d:"M13 13h-12v-12h12zM1.923 12.077h10.154v-10.154h-10.154z"}}),t("path",{attrs:{d:"M4.133 3.633v6.738h1.938v-0.831h-0.923v-5.077h0.923v-0.831z"}}),t("path",{attrs:{d:"M9.856 10.371v-6.738h-1.938v0.831h0.923v5.077h-0.923v0.831z"}})])},L=[],Q={name:"TopicSubscriptIcon",components:{SVGIcon:A.Z}},M=Q,P=(0,h.Z)(M,T,L,!1,null,null,null),Z=P.exports,D=function(){var e=this,t=e._self._c;return t("SVGIcon",{staticClass:"two-letter-icon",attrs:{width:"16px",height:"16px",viewBox:"0 0 16 16",themeId:"two-letter"}},[t("g",{attrs:{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"}},[t("g",{attrs:{transform:"translate(1.000000, 1.000000)"}},[t("rect",{attrs:{stroke:"currentColor",x:"0.5",y:"0.5",width:"13",height:"13"}}),t("text",{attrs:{"font-size":"8","font-weight":"bold",fill:"currentColor"}},[t("tspan",{attrs:{x:"8.2",y:"11"}},[e._v(e._s(e.second))])]),t("text",{attrs:{"font-size":"11","font-weight":"bold",fill:"currentColor"}},[t("tspan",{attrs:{x:"1.7",y:"11"}},[e._v(e._s(e.first))])])])])])},N=[],O={name:"TwoLetterSymbolIcon",components:{SVGIcon:A.Z},props:{first:{type:String,required:!0},second:{type:String,required:!0}}},R=O,j=(0,h.Z)(R,D,N,!1,null,null,null),G=j.exports,V=function(){var e=this,t=e._self._c;return t("SVGIcon",{staticClass:"single-letter-icon",attrs:{width:"16px",height:"16px",viewBox:"0 0 16 16",themeId:"single-letter"}},[t("g",{attrs:{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"}},[t("rect",{attrs:{stroke:"currentColor",x:"1",y:"1",width:"14",height:"14"}}),t("text",{attrs:{"font-size":"11","font-weight":"bold",fill:"currentColor",x:"49%",y:"12","text-anchor":"middle"}},[t("tspan",[e._v(e._s(e.symbol))])])])])},z=[],H={name:"SingleLetterSymbolIcon",components:{SVGIcon:A.Z},props:{symbol:{type:String,required:!0}}},$=H,q=(0,h.Z)($,V,z,!1,null,null,null),W=q.exports,F=n(5629),Y=n(1869),U=function(){var e=this,t=e._self._c;return e.shouldUseAsset?t("ImageAsset",e._b({},"ImageAsset",{variants:e.variants,loading:null,shouldCalculateOptimalWidth:e.shouldCalculateOptimalWidth,alt:e.alt},!1)):t("SVGIcon",{attrs:{"icon-url":e.iconUrl,themeId:e.themeId}})},X=[],K=n(6769),J={name:"OverridableAsset",components:{SVGIcon:A.Z,ImageAsset:K.Z},props:{imageOverride:{type:Object,default:null},shouldCalculateOptimalWidth:{type:Boolean,default:!0}},computed:{variants:({imageOverride:e})=>e?e.variants:[],alt:({imageOverride:e})=>e.alt,firstVariant:({variants:e})=>e[0],iconUrl:({firstVariant:e})=>e&&e.url,themeId:({firstVariant:e})=>e&&e.svgID,isSameOrigin:({iconUrl:e,sameOrigin:t})=>t(e),shouldUseAsset:({isSameOrigin:e,themeId:t})=>!e||!t},methods:{sameOrigin(e){if(!e)return!1;const t=new URL(e,window.location),n=new URL(window.location);return t.origin===n.origin}}},ee=J,te=(0,h.Z)(ee,U,X,!1,null,null,null),ne=te.exports;const re={[F.t.article]:o.Z,[F.t.associatedtype]:I,[F.t.buildSetting]:I,[F.t["class"]]:W,[F.t.collection]:I,[F.t.dictionarySymbol]:W,[F.t.container]:I,[F.t["enum"]]:W,[F.t.extension]:G,[F.t.func]:f,[F.t.op]:_,[F.t.httpRequest]:W,[F.t.languageGroup]:I,[F.t.learn]:s.Z,[F.t.method]:W,[F.t.macro]:W,[F.t.module]:a.Z,[F.t.namespace]:W,[F.t.overview]:s.Z,[F.t.protocol]:G,[F.t.property]:W,[F.t.propertyListKey]:W,[F.t.resources]:s.Z,[F.t.sampleCode]:S.Z,[F.t.struct]:W,[F.t.subscript]:Z,[F.t.symbol]:I,[F.t.tutorial]:l.Z,[F.t.typealias]:W,[F.t.union]:W,[F.t["var"]]:W},ie={[F.t["class"]]:{symbol:"C"},[F.t.dictionarySymbol]:{symbol:"O"},[F.t["enum"]]:{symbol:"E"},[F.t.extension]:{first:"E",second:"x"},[F.t.httpRequest]:{symbol:"E"},[F.t.method]:{symbol:"M"},[F.t.macro]:{symbol:"#"},[F.t.namespace]:{symbol:"N"},[F.t.protocol]:{first:"P",second:"r"},[F.t.property]:{symbol:"P"},[F.t.propertyListKey]:{symbol:"K"},[F.t.struct]:{symbol:"S"},[F.t.typealias]:{symbol:"T"},[F.t.union]:{symbol:"U"},[F.t["var"]]:{symbol:"V"}};var se={name:"TopicTypeIcon",components:{OverridableAsset:ne,SVGIcon:A.Z,SingleLetterSymbolIcon:W},constants:{TopicTypeIcons:re,TopicTypeProps:ie},props:{type:{type:String,required:!0},withColors:{type:Boolean,default:!1},imageOverride:{type:Object,default:null},shouldCalculateOptimalWidth:{type:Boolean,default:!0}},computed:{normalisedType:({type:e})=>F.$[e]||e,icon:({normalisedType:e})=>re[e]||I,iconProps:({normalisedType:e})=>ie[e]||{},color:({normalisedType:e})=>Y.g[e],styles:({color:e,withColors:t})=>t&&e?{"--icon-color":`var(--color-type-icon-${e})`}:{}}},ae=se,oe=(0,h.Z)(ae,r,i,!1,null,"0a6f037f",null),le=oe.exports},352:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r,i,s={functional:!0,name:"WordBreak",render(e,{props:t,slots:n,data:r}){const i=n().default||[],s=i.filter((e=>e.text&&!e.tag));if(0===s.length||s.length!==i.length)return e(t.tag,r,i);const a=s.map((({text:e})=>e)).join(),o=[];let l=null,c=0;while(null!==(l=t.safeBoundaryPattern.exec(a))){const t=l.index+1;o.push(a.slice(c,t)),o.push(e("wbr",{key:l.index})),c=t}return o.push(a.slice(c,a.length)),e(t.tag,r,o)},props:{safeBoundaryPattern:{type:RegExp,default:()=>/([a-z](?=[A-Z])|(:)\w|\w(?=[._]\w))/g},tag:{type:String,default:()=>"span"}}},a=s,o=n(1001),l=(0,o.Z)(a,r,i,!1,null,null,null),c=l.exports},2122:function(e,t,n){var r={"./bash.js":[8780,393],"./c.js":[612,546],"./cpp.js":[6248,621],"./css.js":[5064,864],"./diff.js":[7731,213],"./http.js":[8937,878],"./java.js":[8257,788],"./javascript.js":[978,814],"./json.js":[14,82],"./llvm.js":[4972,133],"./markdown.js":[1312,113],"./objectivec.js":[2446,637],"./perl.js":[2482,645],"./php.js":[2656,596],"./python.js":[8245,435],"./ruby.js":[7905,623],"./scss.js":[1062,392],"./shell.js":[7874,176],"./swift.js":[7690,527],"./xml.js":[4610,490]};function i(e){if(!n.o(r,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=r[e],i=t[0];return n.e(t[1]).then((function(){return n.t(i,23)}))}i.keys=function(){return Object.keys(r)},i.id=2122,e.exports=i},1869:function(e,t,n){"use strict";n.d(t,{c:function(){return s},g:function(){return a}});var r=n(5629),i=n(7192);const s={blue:"blue",teal:"teal",orange:"orange",purple:"purple",green:"green",sky:"sky",pink:"pink"},a={[r.t.article]:s.teal,[r.t.init]:s.blue,[r.t["case"]]:s.orange,[r.t["class"]]:s.purple,[r.t.collection]:s.pink,[i.L.collectionGroup]:s.teal,[r.t.dictionarySymbol]:s.purple,[r.t["enum"]]:s.orange,[r.t.extension]:s.orange,[r.t.func]:s.green,[r.t.op]:s.green,[r.t.httpRequest]:s.green,[r.t.module]:s.sky,[r.t.method]:s.blue,[r.t.macro]:s.pink,[r.t.protocol]:s.purple,[r.t.property]:s.teal,[r.t.propertyListKey]:s.green,[r.t.propertyListKeyReference]:s.green,[r.t.sampleCode]:s.purple,[r.t.struct]:s.purple,[r.t.subscript]:s.blue,[r.t.typealias]:s.orange,[r.t.union]:s.purple,[r.t["var"]]:s.purple}},3078:function(e,t){"use strict";t["Z"]={objectiveC:{name:"Objective-C",key:{api:"occ",url:"objc"}},swift:{name:"Swift",key:{api:"swift",url:"swift"}}}},3946:function(e,t,n){"use strict";n.d(t,{o:function(){return r}});const r={list:"list",compactGrid:"compactGrid",detailedGrid:"detailedGrid",hidden:"hidden"}},5629:function(e,t,n){"use strict";n.d(t,{$:function(){return i},t:function(){return r}});const r={article:"article",associatedtype:"associatedtype",buildSetting:"buildSetting",case:"case",collection:"collection",class:"class",container:"container",dictionarySymbol:"dictionarySymbol",enum:"enum",extension:"extension",func:"func",groupMarker:"groupMarker",httpRequest:"httpRequest",init:"init",languageGroup:"languageGroup",learn:"learn",macro:"macro",method:"method",module:"module",namespace:"namespace",op:"op",overview:"overview",project:"project",property:"property",propertyListKey:"propertyListKey",propertyListKeyReference:"propertyListKeyReference",protocol:"protocol",resources:"resources",root:"root",sampleCode:"sampleCode",section:"section",struct:"struct",subscript:"subscript",symbol:"symbol",tutorial:"tutorial",typealias:"typealias",union:"union",var:"var"},i={[r.init]:r.method,[r.case]:r.enum,[r.propertyListKeyReference]:r.propertyListKey,[r.project]:r.tutorial}},7192:function(e,t,n){"use strict";n.d(t,{L:function(){return r}});const r={article:"article",codeListing:"codeListing",collection:"collection",collectionGroup:"collectionGroup",containerSymbol:"containerSymbol",devLink:"devLink",dictionarySymbol:"dictionarySymbol",generic:"generic",link:"link",media:"media",pseudoCollection:"pseudoCollection",pseudoSymbol:"pseudoSymbol",restRequestSymbol:"restRequestSymbol",sampleCode:"sampleCode",symbol:"symbol",table:"table",learn:"learn",overview:"overview",project:"project",tutorial:"tutorial",resources:"resources"}},1789:function(e,t){"use strict";t["Z"]={inject:{performanceMetricsEnabled:{default:!1},isTargetIDE:{default:!1}},methods:{newContentMounted(){let e;this.performanceMetricsEnabled&&(e=Math.round(window.performance.now()),window.renderedTimes||(window.renderedTimes=[]),window.renderedTimes.push(e)),this.$bridge.send({type:"rendered",data:{time:e}})},handleContentUpdateFromBridge(e){this.topicData=e}}}},2974:function(e,t,n){"use strict";var r=n(3465),i=n(3208),s=n(2449),a=n(2549);t["Z"]={methods:{extractFirstParagraphText(e=[]){const t=a["default"].computed.plaintext.bind({...a["default"].methods,content:e})();return(0,i.id)(t)}},computed:{pagePath:({$route:{path:e="/"}={}})=>e,pageURL:({pagePath:e="/"})=>(0,s.HH)(e),disableMetadata:()=>!1},mounted(){this.disableMetadata||(0,r.X)({title:this.pageTitle,description:this.pageDescription,url:this.pageURL,currentLocale:this.$i18n.locale})}}},9146:function(e,t,n){"use strict";const r={up:"up",down:"down"};t["default"]={constants:{IntersectionDirections:r},data(){return{intersectionObserver:null,intersectionPreviousScrollY:0,intersectionScrollDirection:r.down}},computed:{intersectionThreshold(){const e=[];for(let t=0;t<=1;t+=.01)e.push(t);return e},intersectionRoot(){return null},intersectionRootMargin(){return"0px 0px 0px 0px"},intersectionObserverOptions(){return{root:this.intersectionRoot,rootMargin:this.intersectionRootMargin,threshold:this.intersectionThreshold}}},async mounted(){await n.e(337).then(n.t.bind(n,6337,23)),this.intersectionObserver=new IntersectionObserver((e=>{this.detectIntersectionScrollDirection();const t=this.onIntersect;t?e.forEach(t):console.warn("onIntersect not implemented")}),this.intersectionObserverOptions),this.getIntersectionTargets().forEach((e=>{this.intersectionObserver.observe(e)}))},beforeDestroy(){this.intersectionObserver&&this.intersectionObserver.disconnect()},methods:{getIntersectionTargets(){return[this.$el]},detectIntersectionScrollDirection(){window.scrollYthis.intersectionPreviousScrollY&&(this.intersectionScrollDirection=r.up),this.intersectionPreviousScrollY=window.scrollY}}}},5184:function(e,t,n){"use strict";var r=n(4030),i=n(1265),s=n(3704);function a(e){return new Promise(((t,n)=>{e.complete?t():(e.addEventListener("load",t,{once:!0}),e.addEventListener("error",n,{once:!0}))}))}function o(){return Promise.allSettled([...document.getElementsByTagName("img")].map(a))}t["Z"]={mixins:[s.Z],mounted(){this.scrollToElementIfAnchorPresent()},updated(){this.scrollToElementIfAnchorPresent()},methods:{async scrollToElementIfAnchorPresent(){const{hash:e}=this.$route;if(!e)return;const{imageLoadingStrategy:t}=r["default"].state;r["default"].setImageLoadingStrategy(i.Z.eager),await this.$nextTick(),await o(),this.scrollToElement(e),r["default"].setImageLoadingStrategy(t)}}}},5953:function(e,t){"use strict";t["Z"]={inject:{store:{default:()=>({state:{references:{}},setReferences(){},reset(){}})}},computed:{references:({store:e})=>e.state.references}}},3704:function(e,t,n){"use strict";var r=n(5657);t["Z"]={methods:{async scrollToElement(e){await(0,r.J)(8);const t=this.$router.resolve({hash:e}),{selector:n,offset:i}=await this.$router.options.scrollBehavior(t.route),s=document.querySelector(n);return s?(s.scrollIntoView(),window.scrollY+window.innerHeight=0},isFocusableElement(e){const t=e.nodeName.toLowerCase(),n=r.includes(t);return!("a"!==t||!e.getAttribute("href"))||(n?!e.disabled:"true"===e.getAttribute("contenteditable")||!Number.isNaN(parseFloat(e.getAttribute("tabindex"))))}}},5654:function(e,t,n){"use strict";n.d(t,{Md:function(){return a},Xy:function(){return i},Z$:function(){return r}});const r=e=>e[e.length-1],i=(e,t)=>JSON.stringify(e)===JSON.stringify(t);function*s(e,t){for(let n=0;n{o(e,s),o(e,a),e.setAttribute(s,"true"),e.setAttribute(a,"-1");const t=r.ZP.getTabbableElements(e);let n=t.length-1;while(n>=0)o(t[n],a),t[n].setAttribute(a,"-1"),n-=1},A=e=>{l(e,s),l(e,a);const t=e.querySelectorAll(`[${i+a}]`);let n=t.length-1;while(n>=0)l(t[n],a),n-=1};t["Z"]={hide(e){c(e,u)},show(e){c(e,A)}}},8841:function(e,t,n){"use strict";n.d(t,{d9:function(){return h},k_:function(){return p},Ek:function(){return A},LR:function(){return g},Us:function(){return d}});var r=n(5947),i=n(2449),s=n(1944);class a extends Error{constructor({location:e,response:t}){super("Request redirected"),this.location=e,this.response=t}}class o extends Error{constructor(e){super("Unable to fetch data"),this.route=e}}async function l(e,t={},n={}){function r(e){return("ide"!=={NODE_ENV:"production",VUE_APP_TITLE:"Documentation",BASE_URL:"{{BASE_PATH}}/"}.VUE_APP_TARGET||0!==e.status)&&!e.ok}const o=(0,i.WN)(e),l=(0,i.Ex)(t);l&&(o.search=l);const c=await fetch(o.href,n);if(r(c))throw c;if(c.redirected)throw new a({location:c.url,response:c});const u=await c.json();return(0,s.ZP)(u.schemaVersion),u}function c(e){const t=e.replace(/\/$/,"");return`${(0,r.AH)(["/data",t])}.json`}function u(e){const{pathname:t,search:n}=new URL(e),r=/\/data(\/.*).json$/,i=r.exec(t);return i?i[1]+n:t+n}async function A(e,t,n){const r=c(e.path);let i;try{i=await l(r,e.query)}catch(s){if("ide"==={NODE_ENV:"production",VUE_APP_TITLE:"Documentation",BASE_URL:"{{BASE_PATH}}/"}.VUE_APP_TARGET)throw console.error(s),!1;if(s instanceof a)throw u(s.location);s.status&&404===s.status?n({name:"not-found",params:[e.path]}):n(new o(e))}return i}function d(e,t){return!(0,i.Lp)(e,t)}async function p(e,t={}){const n=c(e);return l(n,{},t)}function h(e){return JSON.parse(JSON.stringify(e))}async function g({slug:e}){const t=(0,i.WN)(["/index/",e,"index.json"]);return l(t)}},1944:function(e,t,n){"use strict";n.d(t,{W1:function(){return i},ZP:function(){return A},n4:function(){return a}});const r={major:0,minor:3,patch:0};function i({major:e,minor:t,patch:n}){return[e,t,n].join(".")}function s(e){const[t=0,n=0,r=0]=e.split(".");return[Number(t),Number(n),Number(r)]}function a(e,t){const n=s(e),r=s(t);for(let i=0;ir[i])return 1;if(n[i]`[Swift-DocC-Render] The render node version for this page (${e}) has a different major version component than Swift-DocC-Render supports (${o}). Compatibility is not guaranteed.`;function u(e){const{major:t,minor:n}=e,{major:s,minor:a}=r;return t!==s?c(i(e)):n>a?l(i(e)):""}function A(e){if(!e)return;const t=u(e);t&&console.warn(t)}},9652:function(e,t,n){"use strict";n.d(t,{n:function(){return a}});let r=!1,i=-1,s=0;const a="data-scroll-lock-disable",o=()=>window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1);function l(e){e.touches.length>1||e.preventDefault()}const c=e=>!!e&&e.scrollHeight-e.scrollTop<=e.clientHeight;function u(){s=document.body.getBoundingClientRect().top,document.body.style.overflow="hidden scroll",document.body.style.top=`${s}px`,document.body.style.position="fixed",document.body.style.width="100%"}function A(e){e&&(e.ontouchstart=null,e.ontouchmove=null),document.removeEventListener("touchmove",l)}function d(e,t){const n=e.targetTouches[0].clientY-i,r=e.target.closest(`[${a}]`)||t;return 0===r.scrollTop&&n>0||c(r)&&n<0?l(e):(e.stopPropagation(),!0)}function p(e){document.addEventListener("touchmove",l,{passive:!1}),e&&(e.ontouchstart=e=>{1===e.targetTouches.length&&(i=e.targetTouches[0].clientY)},e.ontouchmove=t=>{1===t.targetTouches.length&&d(t,e)})}t["Z"]={lockScroll(e){r||(o()?p(e):u(),r=!0)},unlockScroll(e){r&&(o()?A(e):(document.body.style.removeProperty("overflow"),document.body.style.removeProperty("top"),document.body.style.removeProperty("position"),document.body.style.removeProperty("width"),window.scrollTo(0,Math.abs(s))),r=!1)}}},3685:function(e,t,n){var r={"./markdown":[2003,642],"./markdown.js":[2003,642],"./swift":[7467,217],"./swift.js":[7467,217]};function i(e){if(!n.o(r,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=r[e],i=t[0];return n.e(t[1]).then((function(){return n(i)}))}i.keys=function(){return Object.keys(r)},i.id=3685,e.exports=i},3390:function(e){var t={exports:{}};function n(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach((function(t){var r=e[t];"object"!=typeof r||Object.isFrozen(r)||n(r)})),e}t.exports=n,t.exports.default=n;var r=t.exports;class i{constructor(e){void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function s(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function a(e,...t){const n=Object.create(null);for(const r in e)n[r]=e[r];return t.forEach((function(e){for(const t in e)n[t]=e[t]})),n}const o="",l=e=>!!e.kind,c=(e,{prefix:t})=>{if(e.includes(".")){const n=e.split(".");return[`${t}${n.shift()}`,...n.map(((e,t)=>`${e}${"_".repeat(t+1)}`))].join(" ")}return`${t}${e}`};class u{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=s(e)}openNode(e){if(!l(e))return;let t=e.kind;t=e.sublanguage?`language-${t}`:c(t,{prefix:this.classPrefix}),this.span(t)}closeNode(e){l(e)&&(this.buffer+=o)}value(){return this.buffer}span(e){this.buffer+=``}}class A{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const t={kind:e,children:[]};this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){while(this.closeNode());}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return"string"===typeof t?e.addText(t):t.children&&(e.openNode(t),t.children.forEach((t=>this._walk(e,t))),e.closeNode(t)),e}static _collapse(e){"string"!==typeof e&&e.children&&(e.children.every((e=>"string"===typeof e))?e.children=[e.children.join("")]:e.children.forEach((e=>{A._collapse(e)})))}}class d extends A{constructor(e){super(),this.options=e}addKeyword(e,t){""!==e&&(this.openNode(t),this.addText(e),this.closeNode())}addText(e){""!==e&&this.add(e)}addSublanguage(e,t){const n=e.root;n.kind=t,n.sublanguage=!0,this.add(n)}toHTML(){const e=new u(this,this.options);return e.value()}finalize(){return!0}}function p(e){return e?"string"===typeof e?e:e.source:null}function h(e){return m("(?=",e,")")}function g(e){return m("(?:",e,")*")}function f(e){return m("(?:",e,")?")}function m(...e){const t=e.map((e=>p(e))).join("");return t}function v(e){const t=e[e.length-1];return"object"===typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function b(...e){const t=v(e),n="("+(t.capture?"":"?:")+e.map((e=>p(e))).join("|")+")";return n}function y(e){return new RegExp(e.toString()+"|").exec("").length-1}function C(e,t){const n=e&&e.exec(t);return n&&0===n.index}const I=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function w(e,{joinWith:t}){let n=0;return e.map((e=>{n+=1;const t=n;let r=p(e),i="";while(r.length>0){const e=I.exec(r);if(!e){i+=r;break}i+=r.substring(0,e.index),r=r.substring(e.index+e[0].length),"\\"===e[0][0]&&e[1]?i+="\\"+String(Number(e[1])+t):(i+=e[0],"("===e[0]&&n++)}return i})).map((e=>`(${e})`)).join(t)}const E=/\b\B/,B="[a-zA-Z]\\w*",x="[a-zA-Z_]\\w*",k="\\b\\d+(\\.\\d+)?",_="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",S="\\b(0b[01]+)",T="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",L=(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=m(t,/.*\b/,e.binary,/\b.*/)),a({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{0!==e.index&&t.ignoreMatch()}},e)},Q={begin:"\\\\[\\s\\S]",relevance:0},M={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Q]},P={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Q]},Z={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},D=function(e,t,n={}){const r=a({scope:"comment",begin:e,end:t,contains:[]},n);r.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const i=b("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return r.contains.push({begin:m(/[ ]+/,"(",i,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),r},N=D("//","$"),O=D("/\\*","\\*/"),R=D("#","$"),j={scope:"number",begin:k,relevance:0},G={scope:"number",begin:_,relevance:0},V={scope:"number",begin:S,relevance:0},z={begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[Q,{begin:/\[/,end:/\]/,relevance:0,contains:[Q]}]}]},H={scope:"title",begin:B,relevance:0},$={scope:"title",begin:x,relevance:0},q={begin:"\\.\\s*"+x,relevance:0},W=function(e){return Object.assign(e,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})};var F=Object.freeze({__proto__:null,MATCH_NOTHING_RE:E,IDENT_RE:B,UNDERSCORE_IDENT_RE:x,NUMBER_RE:k,C_NUMBER_RE:_,BINARY_NUMBER_RE:S,RE_STARTERS_RE:T,SHEBANG:L,BACKSLASH_ESCAPE:Q,APOS_STRING_MODE:M,QUOTE_STRING_MODE:P,PHRASAL_WORDS_MODE:Z,COMMENT:D,C_LINE_COMMENT_MODE:N,C_BLOCK_COMMENT_MODE:O,HASH_COMMENT_MODE:R,NUMBER_MODE:j,C_NUMBER_MODE:G,BINARY_NUMBER_MODE:V,REGEXP_MODE:z,TITLE_MODE:H,UNDERSCORE_TITLE_MODE:$,METHOD_GUARD:q,END_SAME_AS_BEGIN:W});function Y(e,t){const n=e.input[e.index-1];"."===n&&t.ignoreMatch()}function U(e,t){void 0!==e.className&&(e.scope=e.className,delete e.className)}function X(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=Y,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))}function K(e,t){Array.isArray(e.illegal)&&(e.illegal=b(...e.illegal))}function J(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function ee(e,t){void 0===e.relevance&&(e.relevance=1)}const te=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const n=Object.assign({},e);Object.keys(e).forEach((t=>{delete e[t]})),e.keywords=n.keywords,e.begin=m(n.beforeMatch,h(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},ne=["of","and","for","in","not","or","if","then","parent","list","value"],re="keyword";function ie(e,t,n=re){const r=Object.create(null);return"string"===typeof e?i(n,e.split(" ")):Array.isArray(e)?i(n,e):Object.keys(e).forEach((function(n){Object.assign(r,ie(e[n],t,n))})),r;function i(e,n){t&&(n=n.map((e=>e.toLowerCase()))),n.forEach((function(t){const n=t.split("|");r[n[0]]=[e,se(n[0],n[1])]}))}}function se(e,t){return t?Number(t):ae(e)?0:1}function ae(e){return ne.includes(e.toLowerCase())}const oe={},le=e=>{console.error(e)},ce=(e,...t)=>{console.log(`WARN: ${e}`,...t)},ue=(e,t)=>{oe[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),oe[`${e}/${t}`]=!0)},Ae=new Error;function de(e,t,{key:n}){let r=0;const i=e[n],s={},a={};for(let o=1;o<=t.length;o++)a[o+r]=i[o],s[o+r]=!0,r+=y(t[o-1]);e[n]=a,e[n]._emit=s,e[n]._multi=!0}function pe(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw le("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),Ae;if("object"!==typeof e.beginScope||null===e.beginScope)throw le("beginScope must be object"),Ae;de(e,e.begin,{key:"beginScope"}),e.begin=w(e.begin,{joinWith:""})}}function he(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw le("skip, excludeEnd, returnEnd not compatible with endScope: {}"),Ae;if("object"!==typeof e.endScope||null===e.endScope)throw le("endScope must be object"),Ae;de(e,e.end,{key:"endScope"}),e.end=w(e.end,{joinWith:""})}}function ge(e){e.scope&&"object"===typeof e.scope&&null!==e.scope&&(e.beginScope=e.scope,delete e.scope)}function fe(e){ge(e),"string"===typeof e.beginScope&&(e.beginScope={_wrap:e.beginScope}),"string"===typeof e.endScope&&(e.endScope={_wrap:e.endScope}),pe(e),he(e)}function me(e){function t(t,n){return new RegExp(p(t),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(n?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=y(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const e=this.regexes.map((e=>e[1]));this.matcherRe=t(w(e,{joinWith:"|"}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;const t=this.matcherRe.exec(e);if(!t)return null;const n=t.findIndex(((e,t)=>t>0&&void 0!==e)),r=this.matchIndexes[n];return t.splice(0,n),Object.assign(t,r)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];const t=new n;return this.rules.slice(e).forEach((([e,n])=>t.addRule(e,n))),t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),"begin"===t.type&&this.count++}exec(e){const t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let n=t.exec(e);if(this.resumingScanAtSamePosition())if(n&&n.index===this.lastIndex);else{const t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,n=t.exec(e)}return n&&(this.regexIndex+=n.position+1,this.regexIndex===this.count&&this.considerAll()),n}}function i(e){const t=new r;return e.contains.forEach((e=>t.addRule(e.begin,{rule:e,type:"begin"}))),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:"end"}),e.illegal&&t.addRule(e.illegal,{type:"illegal"}),t}function s(n,r){const a=n;if(n.isCompiled)return a;[U,J,fe,te].forEach((e=>e(n,r))),e.compilerExtensions.forEach((e=>e(n,r))),n.__beforeBegin=null,[X,K,ee].forEach((e=>e(n,r))),n.isCompiled=!0;let o=null;return"object"===typeof n.keywords&&n.keywords.$pattern&&(n.keywords=Object.assign({},n.keywords),o=n.keywords.$pattern,delete n.keywords.$pattern),o=o||/\w+/,n.keywords&&(n.keywords=ie(n.keywords,e.case_insensitive)),a.keywordPatternRe=t(o,!0),r&&(n.begin||(n.begin=/\B|\b/),a.beginRe=t(a.begin),n.end||n.endsWithParent||(n.end=/\B|\b/),n.end&&(a.endRe=t(a.end)),a.terminatorEnd=p(a.end)||"",n.endsWithParent&&r.terminatorEnd&&(a.terminatorEnd+=(n.end?"|":"")+r.terminatorEnd)),n.illegal&&(a.illegalRe=t(n.illegal)),n.contains||(n.contains=[]),n.contains=[].concat(...n.contains.map((function(e){return be("self"===e?n:e)}))),n.contains.forEach((function(e){s(e,a)})),n.starts&&s(n.starts,r),a.matcher=i(a),a}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=a(e.classNameAliases||{}),s(e)}function ve(e){return!!e&&(e.endsWithParent||ve(e.starts))}function be(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map((function(t){return a(e,{variants:null},t)}))),e.cachedVariants?e.cachedVariants:ve(e)?a(e,{starts:e.starts?a(e.starts):null}):Object.isFrozen(e)?a(e):e}var ye="11.3.1";class Ce extends Error{constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}}const Ie=s,we=a,Ee=Symbol("nomatch"),Be=7,xe=function(e){const t=Object.create(null),n=Object.create(null),s=[];let a=!0;const o="Could not find the language '{}', did you forget to load/include a language module?",l={disableAutodetect:!0,name:"Plain text",contains:[]};let c={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:d};function u(e){return c.noHighlightRe.test(e)}function A(e){let t=e.className+" ";t+=e.parentNode?e.parentNode.className:"";const n=c.languageDetectRe.exec(t);if(n){const t=P(n[1]);return t||(ce(o.replace("{}",n[1])),ce("Falling back to no-highlight mode for this block.",e)),t?n[1]:"no-highlight"}return t.split(/\s+/).find((e=>u(e)||P(e)))}function p(e,t,n){let r="",i="";"object"===typeof t?(r=e,n=t.ignoreIllegals,i=t.language):(ue("10.7.0","highlight(lang, code, ...args) has been deprecated."),ue("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),i=e,r=t),void 0===n&&(n=!0);const s={code:r,language:i};R("before:highlight",s);const a=s.result?s.result:v(s.language,s.code,n);return a.code=s.code,R("after:highlight",a),a}function v(e,n,r,s){const l=Object.create(null);function u(e,t){return e.keywords[t]}function A(){if(!S.keywords)return void L.addText(Q);let e=0;S.keywordPatternRe.lastIndex=0;let t=S.keywordPatternRe.exec(Q),n="";while(t){n+=Q.substring(e,t.index);const r=x.case_insensitive?t[0].toLowerCase():t[0],i=u(S,r);if(i){const[e,s]=i;if(L.addText(n),n="",l[r]=(l[r]||0)+1,l[r]<=Be&&(M+=s),e.startsWith("_"))n+=t[0];else{const n=x.classNameAliases[e]||e;L.addKeyword(t[0],n)}}else n+=t[0];e=S.keywordPatternRe.lastIndex,t=S.keywordPatternRe.exec(Q)}n+=Q.substr(e),L.addText(n)}function d(){if(""===Q)return;let e=null;if("string"===typeof S.subLanguage){if(!t[S.subLanguage])return void L.addText(Q);e=v(S.subLanguage,Q,!0,T[S.subLanguage]),T[S.subLanguage]=e._top}else e=I(Q,S.subLanguage.length?S.subLanguage:null);S.relevance>0&&(M+=e.relevance),L.addSublanguage(e._emitter,e.language)}function p(){null!=S.subLanguage?d():A(),Q=""}function h(e,t){let n=1;while(void 0!==t[n]){if(!e._emit[n]){n++;continue}const r=x.classNameAliases[e[n]]||e[n],i=t[n];r?L.addKeyword(i,r):(Q=i,A(),Q=""),n++}}function g(e,t){return e.scope&&"string"===typeof e.scope&&L.openNode(x.classNameAliases[e.scope]||e.scope),e.beginScope&&(e.beginScope._wrap?(L.addKeyword(Q,x.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap),Q=""):e.beginScope._multi&&(h(e.beginScope,t),Q="")),S=Object.create(e,{parent:{value:S}}),S}function f(e,t,n){let r=C(e.endRe,n);if(r){if(e["on:end"]){const n=new i(e);e["on:end"](t,n),n.isMatchIgnored&&(r=!1)}if(r){while(e.endsParent&&e.parent)e=e.parent;return e}}if(e.endsWithParent)return f(e.parent,t,n)}function m(e){return 0===S.matcher.regexIndex?(Q+=e[0],1):(N=!0,0)}function b(e){const t=e[0],n=e.rule,r=new i(n),s=[n.__beforeBegin,n["on:begin"]];for(const i of s)if(i&&(i(e,r),r.isMatchIgnored))return m(t);return n.skip?Q+=t:(n.excludeBegin&&(Q+=t),p(),n.returnBegin||n.excludeBegin||(Q=t)),g(n,e),n.returnBegin?0:t.length}function y(e){const t=e[0],r=n.substr(e.index),i=f(S,e,r);if(!i)return Ee;const s=S;S.endScope&&S.endScope._wrap?(p(),L.addKeyword(t,S.endScope._wrap)):S.endScope&&S.endScope._multi?(p(),h(S.endScope,e)):s.skip?Q+=t:(s.returnEnd||s.excludeEnd||(Q+=t),p(),s.excludeEnd&&(Q=t));do{S.scope&&L.closeNode(),S.skip||S.subLanguage||(M+=S.relevance),S=S.parent}while(S!==i.parent);return i.starts&&g(i.starts,e),s.returnEnd?0:t.length}function w(){const e=[];for(let t=S;t!==x;t=t.parent)t.scope&&e.unshift(t.scope);e.forEach((e=>L.openNode(e)))}let E={};function B(t,i){const s=i&&i[0];if(Q+=t,null==s)return p(),0;if("begin"===E.type&&"end"===i.type&&E.index===i.index&&""===s){if(Q+=n.slice(i.index,i.index+1),!a){const t=new Error(`0 width match regex (${e})`);throw t.languageName=e,t.badRule=E.rule,t}return 1}if(E=i,"begin"===i.type)return b(i);if("illegal"===i.type&&!r){const e=new Error('Illegal lexeme "'+s+'" for mode "'+(S.scope||"")+'"');throw e.mode=S,e}if("end"===i.type){const e=y(i);if(e!==Ee)return e}if("illegal"===i.type&&""===s)return 1;if(D>1e5&&D>3*i.index){const e=new Error("potential infinite loop, way more iterations than matches");throw e}return Q+=s,s.length}const x=P(e);if(!x)throw le(o.replace("{}",e)),new Error('Unknown language: "'+e+'"');const k=me(x);let _="",S=s||k;const T={},L=new c.__emitter(c);w();let Q="",M=0,Z=0,D=0,N=!1;try{for(S.matcher.considerAll();;){D++,N?N=!1:S.matcher.considerAll(),S.matcher.lastIndex=Z;const e=S.matcher.exec(n);if(!e)break;const t=n.substring(Z,e.index),r=B(t,e);Z=e.index+r}return B(n.substr(Z)),L.closeAllNodes(),L.finalize(),_=L.toHTML(),{language:e,value:_,relevance:M,illegal:!1,_emitter:L,_top:S}}catch(O){if(O.message&&O.message.includes("Illegal"))return{language:e,value:Ie(n),illegal:!0,relevance:0,_illegalBy:{message:O.message,index:Z,context:n.slice(Z-100,Z+100),mode:O.mode,resultSoFar:_},_emitter:L};if(a)return{language:e,value:Ie(n),illegal:!1,relevance:0,errorRaised:O,_emitter:L,_top:S};throw O}}function y(e){const t={value:Ie(e),illegal:!1,relevance:0,_top:l,_emitter:new c.__emitter(c)};return t._emitter.addText(e),t}function I(e,n){n=n||c.languages||Object.keys(t);const r=y(e),i=n.filter(P).filter(D).map((t=>v(t,e,!1)));i.unshift(r);const s=i.sort(((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(P(e.language).supersetOf===t.language)return 1;if(P(t.language).supersetOf===e.language)return-1}return 0})),[a,o]=s,l=a;return l.secondBest=o,l}function w(e,t,r){const i=t&&n[t]||r;e.classList.add("hljs"),e.classList.add(`language-${i}`)}function E(e){let t=null;const n=A(e);if(u(n))return;if(R("before:highlightElement",{el:e,language:n}),e.children.length>0&&(c.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/issues/2886"),console.warn(e)),c.throwUnescapedHTML)){const t=new Ce("One of your code blocks includes unescaped HTML.",e.innerHTML);throw t}t=e;const r=t.textContent,i=n?p(r,{language:n,ignoreIllegals:!0}):I(r);e.innerHTML=i.value,w(e,n,i.language),e.result={language:i.language,re:i.relevance,relevance:i.relevance},i.secondBest&&(e.secondBest={language:i.secondBest.language,relevance:i.secondBest.relevance}),R("after:highlightElement",{el:e,result:i,text:r})}function B(e){c=we(c,e)}const x=()=>{S(),ue("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function k(){S(),ue("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let _=!1;function S(){if("loading"===document.readyState)return void(_=!0);const e=document.querySelectorAll(c.cssSelector);e.forEach(E)}function T(){_&&S()}function L(n,r){let i=null;try{i=r(e)}catch(s){if(le("Language definition for '{}' could not be registered.".replace("{}",n)),!a)throw s;le(s),i=l}i.name||(i.name=n),t[n]=i,i.rawDefinition=r.bind(null,e),i.aliases&&Z(i.aliases,{languageName:n})}function Q(e){delete t[e];for(const t of Object.keys(n))n[t]===e&&delete n[t]}function M(){return Object.keys(t)}function P(e){return e=(e||"").toLowerCase(),t[e]||t[n[e]]}function Z(e,{languageName:t}){"string"===typeof e&&(e=[e]),e.forEach((e=>{n[e.toLowerCase()]=t}))}function D(e){const t=P(e);return t&&!t.disableAutodetect}function N(e){e["before:highlightBlock"]&&!e["before:highlightElement"]&&(e["before:highlightElement"]=t=>{e["before:highlightBlock"](Object.assign({block:t.el},t))}),e["after:highlightBlock"]&&!e["after:highlightElement"]&&(e["after:highlightElement"]=t=>{e["after:highlightBlock"](Object.assign({block:t.el},t))})}function O(e){N(e),s.push(e)}function R(e,t){const n=e;s.forEach((function(e){e[n]&&e[n](t)}))}function j(e){return ue("10.7.0","highlightBlock will be removed entirely in v12.0"),ue("10.7.0","Please use highlightElement now."),E(e)}"undefined"!==typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",T,!1),Object.assign(e,{highlight:p,highlightAuto:I,highlightAll:S,highlightElement:E,highlightBlock:j,configure:B,initHighlighting:x,initHighlightingOnLoad:k,registerLanguage:L,unregisterLanguage:Q,listLanguages:M,getLanguage:P,registerAliases:Z,autoDetection:D,inherit:we,addPlugin:O}),e.debugMode=function(){a=!1},e.safeMode=function(){a=!0},e.versionString=ye,e.regex={concat:m,lookahead:h,either:b,optional:f,anyNumberOfTimes:g};for(const i in F)"object"===typeof F[i]&&r(F[i]);return Object.assign(e,F),e};var ke=xe({});e.exports=ke,ke.HighlightJS=ke,ke.default=ke}}]); \ No newline at end of file diff --git a/docs/js/337.274a8ccc.js b/docs/js/337.274a8ccc.js new file mode 100644 index 00000000..460601cd --- /dev/null +++ b/docs/js/337.274a8ccc.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(self["webpackChunkswift_docc_render"]=self["webpackChunkswift_docc_render"]||[]).push([[337],{6337:function(){(function(){"use strict";if("object"===typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var t=function(t){var e=t,n=i(e);while(n)e=n.ownerDocument,n=i(e);return e}(window.document),e=[],n=null,o=null;s.prototype.THROTTLE_TIMEOUT=100,s.prototype.POLL_INTERVAL=null,s.prototype.USE_MUTATION_OBSERVER=!0,s._setupCrossOriginUpdater=function(){return n||(n=function(t,n){o=t&&n?g(t,n):p(),e.forEach((function(t){t._checkForIntersections()}))}),n},s._resetCrossOriginUpdater=function(){n=null,o=null},s.prototype.observe=function(t){var e=this._observationTargets.some((function(e){return e.element==t}));if(!e){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(t.ownerDocument),this._checkForIntersections()}},s.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter((function(e){return e.element!=t})),this._unmonitorIntersections(t.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},s.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},s.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},s.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter((function(t,e,n){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==n[e-1]}))},s.prototype._parseRootMargin=function(t){var e=t||"0px",n=e.split(/\s+/).map((function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}}));return n[1]=n[1]||n[0],n[2]=n[2]||n[0],n[3]=n[3]||n[1],n},s.prototype._monitorIntersections=function(e){var n=e.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(e)){var o=this._checkForIntersections,r=null,s=null;this.POLL_INTERVAL?r=n.setInterval(o,this.POLL_INTERVAL):(c(n,"resize",o,!0),c(e,"scroll",o,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(s=new n.MutationObserver(o),s.observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))),this._monitoringDocuments.push(e),this._monitoringUnsubscribes.push((function(){var t=e.defaultView;t&&(r&&t.clearInterval(r),a(t,"resize",o,!0)),a(e,"scroll",o,!0),s&&s.disconnect()}));var h=this.root&&(this.root.ownerDocument||this.root)||t;if(e!=h){var u=i(e);u&&this._monitorIntersections(u.ownerDocument)}}},s.prototype._unmonitorIntersections=function(e){var n=this._monitoringDocuments.indexOf(e);if(-1!=n){var o=this.root&&(this.root.ownerDocument||this.root)||t,r=this._observationTargets.some((function(t){var n=t.element.ownerDocument;if(n==e)return!0;while(n&&n!=o){var r=i(n);if(n=r&&r.ownerDocument,n==e)return!0}return!1}));if(!r){var s=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),s(),e!=o){var h=i(e);h&&this._unmonitorIntersections(h.ownerDocument)}}}},s.prototype._unmonitorAllIntersections=function(){var t=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var e=0;e=0&&h>=0&&{top:n,bottom:o,left:i,right:r,width:s,height:h}||null}function f(t){var e;try{e=t.getBoundingClientRect()}catch(n){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):p()}function p(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function d(t){return!t||"x"in t?t:{top:t.top,y:t.top,bottom:t.bottom,left:t.left,x:t.left,right:t.right,width:t.width,height:t.height}}function g(t,e){var n=e.top-t.top,o=e.left-t.left;return{top:n,left:o,height:e.height,width:e.width,bottom:n+e.height,right:o+e.width}}function m(t,e){var n=e;while(n){if(n==t)return!0;n=_(n)}return!1}function _(e){var n=e.parentNode;return 9==e.nodeType&&e!=t?i(e):(n&&n.assignedSlot&&(n=n.assignedSlot.parentNode),n&&11==n.nodeType&&n.host?n.host:n)}function v(t){return t&&9===t.nodeType}})()}}]); \ No newline at end of file diff --git a/docs/js/842.9b3ff1dd.js b/docs/js/842.9b3ff1dd.js new file mode 100644 index 00000000..87975b1a --- /dev/null +++ b/docs/js/842.9b3ff1dd.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +"use strict";(self["webpackChunkswift_docc_render"]=self["webpackChunkswift_docc_render"]||[]).push([[842],{5590:function(t,e,n){n.d(e,{Z:function(){return m}});var s=function(){var t=this,e=t._self._c;return e("PortalSource",{attrs:{to:"modal-destination",disabled:!t.isVisible}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"generic-modal",class:[t.stateClasses,t.themeClass],style:t.modalColors,attrs:{role:"dialog"}},[e("div",{staticClass:"backdrop",on:{click:t.onClickOutside}}),e("div",{ref:"container",staticClass:"container",style:{width:t.width}},[t.showClose?e("button",{ref:"close",staticClass:"close",attrs:{"aria-label":t.$t("verbs.close")},on:{click:function(e){return e.preventDefault(),t.closeModal.apply(null,arguments)}}},[e("CloseIcon")],1):t._e(),e("div",{ref:"content",staticClass:"modal-content"},[t._t("default")],2)])])])},r=[],o=n(9652),i=n(114),a=n(1147),l=n(2433),c=n(1970);const u={light:"light",dark:"dark",dynamic:"dynamic",code:"code"};var h={name:"GenericModal",model:{prop:"visible",event:"update:visible"},components:{CloseIcon:c.Z,PortalSource:l.h_},props:{visible:{type:Boolean,default:!1},isFullscreen:{type:Boolean,default:!1},theme:{type:String,validator:t=>Object.keys(u).includes(t),default:u.light},codeBackgroundColorOverride:{type:String,default:""},backdropBackgroundColorOverride:{type:String,default:""},width:{type:String,default:null},showClose:{type:Boolean,default:!0}},data(){return{lastFocusItem:null,prefersDarkStyle:!1,focusTrapInstance:null}},computed:{isVisible:{get:({visible:t})=>t,set(t){this.$emit("update:visible",t)}},modalColors(){return{"--code-background":this.codeBackgroundColorOverride,"--backdrop-background":this.backdropBackgroundColorOverride}},themeClass({theme:t,prefersDarkStyle:e,isThemeDynamic:n}){let s={};return n&&(s={"theme-light":!e,"theme-dark":e}),[`theme-${t}`,s]},stateClasses:({isFullscreen:t,isVisible:e,showClose:n})=>({"modal-fullscreen":t,"modal-standard":!t,"modal-open":e,"modal-with-close":n}),isThemeDynamic:({theme:t})=>t===u.dynamic||t===u.code},watch:{isVisible(t){t?this.onShow():this.onHide()}},mounted(){if(this.focusTrapInstance=new i.Z,document.addEventListener("keydown",this.onKeydown),this.isThemeDynamic){const t=window.matchMedia("(prefers-color-scheme: dark)");t.addListener(this.onColorSchemePreferenceChange),this.$once("hook:beforeDestroy",(()=>{t.removeListener(this.onColorSchemePreferenceChange)})),this.onColorSchemePreferenceChange(t)}},beforeDestroy(){this.isVisible&&o.Z.unlockScroll(this.$refs.container),document.removeEventListener("keydown",this.onKeydown),this.focusTrapInstance.destroy()},methods:{async onShow(){await this.$nextTick(),o.Z.lockScroll(this.$refs.container),await this.focusCloseButton(),this.focusTrapInstance.updateFocusContainer(this.$refs.container),this.focusTrapInstance.start(),a.Z.hide(this.$refs.container)},onHide(){o.Z.unlockScroll(this.$refs.container),this.focusTrapInstance.stop(),this.lastFocusItem&&(this.lastFocusItem.focus({preventScroll:!0}),this.lastFocusItem=null),this.$emit("close"),a.Z.show(this.$refs.container)},closeModal(){this.isVisible=!1},selectContent(){window.getSelection().selectAllChildren(this.$refs.content)},onClickOutside(){this.closeModal()},onKeydown(t){const{metaKey:e=!1,ctrlKey:n=!1,key:s}=t;this.isVisible&&("a"===s&&(e||n)&&(t.preventDefault(),this.selectContent()),"Escape"===s&&(t.preventDefault(),this.closeModal()))},onColorSchemePreferenceChange({matches:t}){this.prefersDarkStyle=t},async focusCloseButton(){this.lastFocusItem=document.activeElement,await this.$nextTick(),this.$refs.close&&this.$refs.close.focus(),this.$emit("open")}}},d=h,f=n(1001),p=(0,f.Z)(d,s,r,!1,null,"795f7b59",null),m=p.exports},5151:function(t,e,n){n.d(e,{Z:function(){return u}});var s=function(){var t=this,e=t._self._c;return e("SVGIcon",{staticClass:"inline-chevron-down-icon",attrs:{viewBox:"0 0 14 14",themeId:"inline-chevron-down"}},[e("path",{attrs:{d:"M12.634 2.964l0.76 0.649-6.343 7.426-6.445-7.423 0.755-0.655 5.683 6.545 5.59-6.542z"}})])},r=[],o=n(9742),i={name:"InlineChevronDownIcon",components:{SVGIcon:o.Z}},a=i,l=n(1001),c=(0,l.Z)(a,s,r,!1,null,null,null),u=c.exports},6772:function(t,e,n){n.d(e,{Z:function(){return u}});var s=function(){var t=this,e=t._self._c;return e("SVGIcon",{staticClass:"inline-plus-circle-icon",attrs:{viewBox:"0 0 14 14",themeId:"inline-plus-circle"}},[e("path",{attrs:{d:"M7 0.5c3.59 0 6.5 2.91 6.5 6.5s-2.91 6.5-6.5 6.5c-3.59 0-6.5-2.91-6.5-6.5v0c0-3.59 2.91-6.5 6.5-6.5v0zM7 1.5c-3.038 0-5.5 2.462-5.5 5.5s2.462 5.5 5.5 5.5c3.038 0 5.5-2.462 5.5-5.5v0c0-3.038-2.462-5.5-5.5-5.5v0z"}}),e("path",{attrs:{d:"M4 6.52h6v1h-6v-1z"}}),e("path",{attrs:{d:"M6.5 4.010h1v6h-1v-6z"}})])},r=[],o=n(9742),i={name:"InlinePlusCircleIcon",components:{SVGIcon:o.Z}},a=i,l=n(1001),c=(0,l.Z)(a,s,r,!1,null,null,null),u=c.exports},8093:function(t,e,n){n.d(e,{Z:function(){return y}});var s=function(){var t=this,e=t._self._c;return e("div",{style:t.codeStyle},[t._t("default")],2)},r=[],o=n(8571);const i=0,a=255;function l(t){const e=t.match(/rgba\((\d+),\s*(\d+),\s*(\d+),\s*(\d+\.?\d*|\.\d+)\s*\)/);if(!e)throw new Error("invalid rgba() input");const n=10;return{r:parseInt(e[1],n),g:parseInt(e[2],n),b:parseInt(e[3],n),a:parseFloat(e[4])}}function c(t){const{r:e,g:n,b:s}=l(t);return.2126*e+.7152*n+.0722*s}function u(t,e){const n=Math.round(a*e),s=l(t),{a:r}=s,[o,c,u]=[s.r,s.g,s.b].map((t=>Math.max(i,Math.min(a,t+n))));return`rgba(${o}, ${c}, ${u}, ${r})`}function h(t,e){return u(t,e)}function d(t,e){return u(t,-1*e)}var f={name:"CodeTheme",data(){return{codeThemeState:o.Z.state}},computed:{codeStyle(){const{codeColors:t}=this.codeThemeState;return t?{"--text":t.text,"--background":t.background,"--line-highlight":t.lineHighlight,"--url":t.commentURL,"--syntax-comment":t.comment,"--syntax-quote":t.comment,"--syntax-keyword":t.keyword,"--syntax-literal":t.keyword,"--syntax-selector-tag":t.keyword,"--syntax-string":t.stringLiteral,"--syntax-bullet":t.stringLiteral,"--syntax-meta":t.keyword,"--syntax-number":t.stringLiteral,"--syntax-symbol":t.stringLiteral,"--syntax-tag":t.stringLiteral,"--syntax-attr":t.typeAnnotation,"--syntax-built_in":t.typeAnnotation,"--syntax-builtin-name":t.typeAnnotation,"--syntax-class":t.typeAnnotation,"--syntax-params":t.typeAnnotation,"--syntax-section":t.typeAnnotation,"--syntax-title":t.typeAnnotation,"--syntax-type":t.typeAnnotation,"--syntax-attribute":t.keyword,"--syntax-identifier":t.text,"--syntax-subst":t.text,"--color-syntax-param-internal-name":this.internalParamNameColor}:null},internalParamNameColor(){const{background:t,text:e}=this.codeThemeState.codeColors;try{const n=c(t),s=n1&&void 0!==arguments[1]?arguments[1]:{};return t.reduce((function(t,n){var s=n.passengers[0],r="function"===typeof s?s(e):n.passengers;return t.concat(r)}),[])}function f(t,e){return t.map((function(t,e){return[e,t]})).sort((function(t,n){return e(t[1],n[1])||t[0]-n[0]})).map((function(t){return t[1]}))}function p(t,e){return e.reduce((function(e,n){return t.hasOwnProperty(n)&&(e[n]=t[n]),e}),{})}var m={},g={},y={},b=r.extend({data:function(){return{transports:m,targets:g,sources:y,trackInstances:u}},methods:{open:function(t){if(u){var e=t.to,n=t.from,s=t.passengers,o=t.order,i=void 0===o?1/0:o;if(e&&n&&s){var a={to:e,from:n,passengers:h(s),order:i},l=Object.keys(this.transports);-1===l.indexOf(e)&&r.set(this.transports,e,[]);var c=this.$_getTransportIndex(a),d=this.transports[e].slice(0);-1===c?d.push(a):d[c]=a,this.transports[e]=f(d,(function(t,e){return t.order-e.order}))}}},close:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.to,s=t.from;if(n&&(s||!1!==e)&&this.transports[n])if(e)this.transports[n]=[];else{var r=this.$_getTransportIndex(t);if(r>=0){var o=this.transports[n].slice(0);o.splice(r,1),this.transports[n]=o}}},registerTarget:function(t,e,n){u&&(this.trackInstances&&!n&&this.targets[t]&&console.warn("[portal-vue]: Target ".concat(t," already exists")),this.$set(this.targets,t,Object.freeze([e])))},unregisterTarget:function(t){this.$delete(this.targets,t)},registerSource:function(t,e,n){u&&(this.trackInstances&&!n&&this.sources[t]&&console.warn("[portal-vue]: source ".concat(t," already exists")),this.$set(this.sources,t,Object.freeze([e])))},unregisterSource:function(t){this.$delete(this.sources,t)},hasTarget:function(t){return!(!this.targets[t]||!this.targets[t][0])},hasSource:function(t){return!(!this.sources[t]||!this.sources[t][0])},hasContentFor:function(t){return!!this.transports[t]&&!!this.transports[t].length},$_getTransportIndex:function(t){var e=t.to,n=t.from;for(var s in this.transports[e])if(this.transports[e][s].from===n)return+s;return-1}}}),v=new b(m),T=1,S=r.extend({name:"portal",props:{disabled:{type:Boolean},name:{type:String,default:function(){return String(T++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}}},created:function(){var t=this;this.$nextTick((function(){v.registerSource(t.name,t)}))},mounted:function(){this.disabled||this.sendUpdate()},updated:function(){this.disabled?this.clear():this.sendUpdate()},beforeDestroy:function(){v.unregisterSource(this.name),this.clear()},watch:{to:function(t,e){e&&e!==t&&this.clear(e),this.sendUpdate()}},methods:{clear:function(t){var e={from:this.name,to:t||this.to};v.close(e)},normalizeSlots:function(){return this.$scopedSlots.default?[this.$scopedSlots.default]:this.$slots.default},normalizeOwnChildren:function(t){return"function"===typeof t?t(this.slotProps):t},sendUpdate:function(){var t=this.normalizeSlots();if(t){var e={from:this.name,to:this.to,passengers:i(t),order:this.order};v.open(e)}else this.clear()}},render:function(t){var e=this.$slots.default||this.$scopedSlots.default||[],n=this.tag;return e&&this.disabled?e.length<=1&&this.slim?this.normalizeOwnChildren(e)[0]:t(n,[this.normalizeOwnChildren(e)]):this.slim?t():t(n,{class:{"v-portal":!0},style:{display:"none"},key:"v-portal-placeholder"})}}),w=r.extend({name:"portalTarget",props:{multiple:{type:Boolean,default:!1},name:{type:String,required:!0},slim:{type:Boolean,default:!1},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},data:function(){return{transports:v.transports,firstRender:!0}},created:function(){var t=this;this.$nextTick((function(){v.registerTarget(t.name,t)}))},watch:{ownTransports:function(){this.$emit("change",this.children().length>0)},name:function(t,e){v.unregisterTarget(e),v.registerTarget(t,this)}},mounted:function(){var t=this;this.transition&&this.$nextTick((function(){t.firstRender=!1}))},beforeDestroy:function(){v.unregisterTarget(this.name)},computed:{ownTransports:function(){var t=this.transports[this.name]||[];return this.multiple?t:0===t.length?[]:[t[t.length-1]]},passengers:function(){return d(this.ownTransports,this.slotProps)}},methods:{children:function(){return 0!==this.passengers.length?this.passengers:this.$scopedSlots.default?this.$scopedSlots.default(this.slotProps):this.$slots.default||[]},noWrapper:function(){var t=this.slim&&!this.transition;return t&&this.children().length>1&&console.warn("[portal-vue]: PortalTarget with `slim` option received more than one child element."),t}},render:function(t){var e=this.noWrapper(),n=this.children(),s=this.transition||this.tag;return e?n[0]:this.slim&&!s?t():t(s,{props:{tag:this.transition&&this.tag?this.tag:void 0},class:{"vue-portal-target":!0}},n)}}),C=0,$=["disabled","name","order","slim","slotProps","tag","to"],k=["multiple","transition"],x=r.extend({name:"MountingPortal",inheritAttrs:!1,props:{append:{type:[Boolean,String]},bail:{type:Boolean},mountTo:{type:String,required:!0},disabled:{type:Boolean},name:{type:String,default:function(){return"mounted_"+String(C++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}},multiple:{type:Boolean,default:!1},targetSlim:{type:Boolean},targetSlotProps:{type:Object,default:function(){return{}}},targetTag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},created:function(){if("undefined"!==typeof document){var t=document.querySelector(this.mountTo);if(t){var e=this.$props;if(v.targets[e.name])e.bail?console.warn("[portal-vue]: Target ".concat(e.name," is already mounted.\n Aborting because 'bail: true' is set")):this.portalTarget=v.targets[e.name];else{var n=e.append;if(n){var s="string"===typeof n?n:"DIV",r=document.createElement(s);t.appendChild(r),t=r}var o=p(this.$props,k);o.slim=this.targetSlim,o.tag=this.targetTag,o.slotProps=this.targetSlotProps,o.name=this.to,this.portalTarget=new w({el:t,parent:this.$parent||this,propsData:o})}}else console.error("[portal-vue]: Mount Point '".concat(this.mountTo,"' not found in document"))}},beforeDestroy:function(){var t=this.portalTarget;if(this.append){var e=t.$el;e.parentNode.removeChild(e)}t.$destroy()},render:function(t){if(!this.portalTarget)return console.warn("[portal-vue] Target wasn't mounted"),t();if(!this.$scopedSlots.manual){var e=p(this.$props,$);return t(S,{props:e,attrs:this.$attrs,on:this.$listeners,scopedSlots:this.$scopedSlots},this.$slots.default)}var n=this.$scopedSlots.manual({to:this.to});return Array.isArray(n)&&(n=n[0]),n||t()}});function I(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.component(e.portalName||"Portal",S),t.component(e.portalTargetName||"PortalTarget",w),t.component(e.MountingPortalName||"MountingPortal",x)}var P={install:I};e.h_=S,e.YC=w},8571:function(t,e){e["Z"]={state:{codeColors:null},reset(){this.state.codeColors=null},updateCodeColors(t){const e=t=>t?`rgba(${t.red}, ${t.green}, ${t.blue}, ${t.alpha})`:null;this.state.codeColors=Object.entries(t).reduce(((t,[n,s])=>({...t,[n]:e(s)})),{})}}},114:function(t,e,n){function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,{Z:function(){return o}});var r=n(7486);class o{constructor(t){s(this,"focusContainer",null),s(this,"tabTargets",[]),s(this,"firstTabTarget",null),s(this,"lastTabTarget",null),s(this,"lastFocusedElement",null),this.focusContainer=t,this.onFocus=this.onFocus.bind(this)}updateFocusContainer(t){this.focusContainer=t}start(){this.collectTabTargets(),this.firstTabTarget?this.focusContainer.contains(document.activeElement)&&r.ZP.isTabbableElement(document.activeElement)||this.firstTabTarget.focus():console.warn("There are no focusable elements. FocusTrap needs at least one."),this.lastFocusedElement=document.activeElement,document.addEventListener("focus",this.onFocus,!0)}stop(){document.removeEventListener("focus",this.onFocus,!0)}collectTabTargets(){this.tabTargets=r.ZP.getTabbableElements(this.focusContainer),this.firstTabTarget=this.tabTargets[0],this.lastTabTarget=this.tabTargets[this.tabTargets.length-1]}onFocus(t){if(this.focusContainer.contains(t.target))this.lastFocusedElement=t.target;else{if(t.preventDefault(),this.collectTabTargets(),this.lastFocusedElement===this.lastTabTarget||!this.lastFocusedElement||!document.contains(this.lastFocusedElement))return this.firstTabTarget.focus(),void(this.lastFocusedElement=this.firstTabTarget);this.lastFocusedElement===this.firstTabTarget&&(this.lastTabTarget.focus(),this.lastFocusedElement=this.lastTabTarget)}}destroy(){this.stop(),this.focusContainer=null,this.tabTargets=[],this.firstTabTarget=null,this.lastTabTarget=null,this.lastFocusedElement=null}}}}]); \ No newline at end of file diff --git a/docs/js/976.d7eb6b79.js b/docs/js/976.d7eb6b79.js new file mode 100644 index 00000000..9daabb3f --- /dev/null +++ b/docs/js/976.d7eb6b79.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +"use strict";(self["webpackChunkswift_docc_render"]=self["webpackChunkswift_docc_render"]||[]).push([[976],{6137:function(e,t,n){n.d(t,{Z:function(){return d}});var r=function(){var e=this,t=e._self._c;return t("span",{staticClass:"badge",class:{[`badge-${e.variant}`]:e.variant},attrs:{role:"presentation"}},[e._t("default",(function(){return[e._v(e._s(e.text?e.$t(e.text):""))]}))],2)},a=[];const i={beta:"aside-kind.beta",deprecated:"aside-kind.deprecated"};var s={name:"Badge",props:{variant:{type:String,default:()=>""}},computed:{text:({variant:e})=>i[e]}},o=s,l=n(1001),c=(0,l.Z)(o,r,a,!1,null,"04624022",null),d=c.exports},8846:function(e,t,n){n.d(t,{Z:function(){return d}});var r=function(){var e=this,t=e._self._c;return t("BaseContentNode",e._b({},"BaseContentNode",e.$props,!1))},a=[],i=n(2549),s={name:"ContentNode",components:{BaseContentNode:i["default"]},props:i["default"].props,methods:i["default"].methods,BlockType:i["default"].BlockType,InlineType:i["default"].InlineType},o=s,l=n(1001),c=(0,l.Z)(o,r,a,!1,null,"3a32ffd0",null),d=c.exports},7120:function(e,t,n){n.d(t,{Z:function(){return c}});var r=function(e,t){return e("p",{staticClass:"requirement-metadata",class:t.data.staticClass},[e("strong",[t._v(t._s(t.parent.$t("required")))]),t.props.defaultImplementationsCount?[t._v(" "+t._s(t.parent.$tc("metadata.default-implementation",t.props.defaultImplementationsCount))+" ")]:t._e()],2)},a=[],i={name:"RequirementMetadata",props:{defaultImplementationsCount:{type:Number,default:0}}},s=i,o=n(1001),l=(0,o.Z)(s,r,a,!0,null,null,null),c=l.exports},6213:function(e,t,n){n.d(t,{default:function(){return z}});var r,a,i,s,o,l,c,d,p=n(352),u={name:"ChangedToken",render(e){const{kind:t,tokens:n}=this;return e("span",{class:[`token-${t}`,"token-changed"]},n.map((t=>e(z,{props:t}))))},props:{kind:{type:String,required:!0},tokens:{type:Array,required:!0}}},f=u,m=n(1001),h=(0,m.Z)(f,r,a,!1,null,null,null),g=h.exports,y=n(9882),k=n(5953),v={name:"LinkableToken",mixins:[k.Z],render(e){const t=this.references[this.identifier];return t&&t.url?e(y.Z,{props:{url:t.url,kind:t.kind,role:t.role}},this.$slots.default):e("span",{},this.$slots.default)},props:{identifier:{type:String,required:!0,default:()=>""}}},b=v,_=(0,m.Z)(b,i,s,!1,null,null,null),C=_.exports,x={name:"RawText",render(e){const{_v:t=(t=>e("span",t)),text:n}=this;return t(n)},props:{text:{type:String,required:!0}}},Z=x,B=(0,m.Z)(Z,o,l,!1,null,null,null),T=B.exports,S={name:"SyntaxToken",render(e){return e("span",{class:`token-${this.kind}`},this.text)},props:{kind:{type:String,required:!0},text:{type:String,required:!0}}},I=S,$=(0,m.Z)(I,c,d,!1,null,null,null),q=$.exports;const w={attribute:"attribute",externalParam:"externalParam",genericParameter:"genericParameter",identifier:"identifier",internalParam:"internalParam",keyword:"keyword",label:"label",number:"number",string:"string",text:"text",typeIdentifier:"typeIdentifier",added:"added",removed:"removed"};var L,A,P={name:"DeclarationToken",render(e){const{kind:t,text:n,tokens:r}=this;switch(t){case w.text:{const t={text:n};return e(T,{props:t})}case w.typeIdentifier:{const t={identifier:this.identifier};return e(C,{class:"type-identifier-link",props:t},[e(p.Z,n)])}case w.attribute:{const{identifier:r}=this;return r?e(C,{class:"attribute-link",props:{identifier:r}},[e(p.Z,n)]):e(q,{props:{kind:t,text:n}})}case w.added:case w.removed:return e(g,{props:{tokens:r,kind:t}});default:{const r={kind:t,text:n};return e(q,{props:r})}}},constants:{TokenKind:w},props:{kind:{type:String,required:!0},identifier:{type:String,required:!1},text:{type:String,required:!1},tokens:{type:Array,required:!1,default:()=>[]}}},F=P,O=(0,m.Z)(F,L,A,!1,null,"3fd63d6c",null),z=O.exports},2970:function(e,t,n){n.d(t,{Z:function(){return $}});var r=function(){var e=this,t=e._self._c;return e.icon?t("div",{staticClass:"topic-icon-wrapper"},[t(e.icon,{tag:"component",staticClass:"topic-icon"})],1):e._e()},a=[],i=n(5692),s=n(7775),o=function(){var e=this,t=e._self._c;return t("SVGIcon",{staticClass:"api-reference-icon",attrs:{viewBox:"0 0 14 14",themeId:"api-reference"}},[t("title",[e._v(e._s(e.$t("api-reference")))]),t("path",{attrs:{d:"m1 1v12h12v-12zm11 11h-10v-10h10z"}}),t("path",{attrs:{d:"m3 4h8v1h-8zm0 2.5h8v1h-8zm0 2.5h8v1h-8z"}}),t("path",{attrs:{d:"m3 4h8v1h-8z"}}),t("path",{attrs:{d:"m3 6.5h8v1h-8z"}}),t("path",{attrs:{d:"m3 9h8v1h-8z"}})])},l=[],c=n(9742),d={name:"APIReferenceIcon",components:{SVGIcon:c.Z}},p=d,u=n(1001),f=(0,u.Z)(p,o,l,!1,null,null,null),m=f.exports,h=function(){var e=this,t=e._self._c;return t("SVGIcon",{attrs:{viewBox:"0 0 14 14",themeId:"endpoint"}},[t("title",[e._v(e._s(e.$t("icons.web-service-endpoint")))]),t("path",{attrs:{d:"M4.052 8.737h-1.242l-1.878 5.263h1.15l0.364-1.081h1.939l0.339 1.081h1.193zM2.746 12.012l0.678-2.071 0.653 2.071z"}}),t("path",{attrs:{d:"M11.969 8.737h1.093v5.263h-1.093v-5.263z"}}),t("path",{attrs:{d:"M9.198 8.737h-2.295v5.263h1.095v-1.892h1.12c0.040 0.003 0.087 0.004 0.134 0.004 0.455 0 0.875-0.146 1.217-0.394l-0.006 0.004c0.296-0.293 0.48-0.699 0.48-1.148 0-0.060-0.003-0.118-0.010-0.176l0.001 0.007c0.003-0.039 0.005-0.085 0.005-0.131 0-0.442-0.183-0.842-0.476-1.128l-0-0c-0.317-0.256-0.724-0.41-1.168-0.41-0.034 0-0.069 0.001-0.102 0.003l0.005-0zM9.628 11.014c-0.15 0.118-0.341 0.188-0.548 0.188-0.020 0-0.040-0.001-0.060-0.002l0.003 0h-1.026v-1.549h1.026c0.017-0.001 0.037-0.002 0.058-0.002 0.206 0 0.396 0.066 0.551 0.178l-0.003-0.002c0.135 0.13 0.219 0.313 0.219 0.515 0 0.025-0.001 0.050-0.004 0.074l0-0.003c0.002 0.020 0.003 0.044 0.003 0.068 0 0.208-0.083 0.396-0.219 0.534l0-0z"}}),t("path",{attrs:{d:"M13.529 4.981c0-1.375-1.114-2.489-2.489-2.49h-0l-0.134 0.005c-0.526-1.466-1.903-2.496-3.522-2.496-0.892 0-1.711 0.313-2.353 0.835l0.007-0.005c-0.312-0.243-0.709-0.389-1.14-0.389-1.030 0-1.865 0.834-1.866 1.864v0c0 0.001 0 0.003 0 0.004 0 0.123 0.012 0.242 0.036 0.358l-0.002-0.012c-0.94 0.37-1.593 1.27-1.593 2.323 0 1.372 1.11 2.485 2.482 2.49h8.243c1.306-0.084 2.333-1.164 2.333-2.484 0-0.001 0-0.002 0-0.003v0zM11.139 6.535h-8.319c-0.799-0.072-1.421-0.739-1.421-1.551 0-0.659 0.41-1.223 0.988-1.45l0.011-0.004 0.734-0.28-0.148-0.776-0.012-0.082v-0.088c0-0 0-0.001 0-0.001 0-0.515 0.418-0.933 0.933-0.933 0.216 0 0.416 0.074 0.574 0.197l-0.002-0.002 0.584 0.453 0.575-0.467 0.169-0.127c0.442-0.306 0.991-0.489 1.581-0.489 1.211 0 2.243 0.769 2.633 1.846l0.006 0.019 0.226 0.642 0.814-0.023 0.131 0.006c0.805 0.067 1.432 0.736 1.432 1.552 0 0.836-0.659 1.518-1.486 1.556l-0.003 0z"}})])},g=[],y={name:"EndpointIcon",components:{SVGIcon:c.Z}},k=y,v=(0,u.Z)(k,h,g,!1,null,null,null),b=v.exports,_=n(8633),C=n(9001),x=n(8638),Z=n(7192);const B={[Z.L.article]:i.Z,[Z.L.collection]:C.Z,[Z.L.collectionGroup]:m,[Z.L.learn]:_.Z,[Z.L.overview]:_.Z,[Z.L.project]:x.Z,[Z.L.tutorial]:x.Z,[Z.L.resources]:_.Z,[Z.L.sampleCode]:s.Z,[Z.L.restRequestSymbol]:b};var T={components:{SVGIcon:c.Z},props:{role:{type:String,required:!0}},computed:{icon:({role:e})=>B[e]}},S=T,I=(0,u.Z)(S,r,a,!1,null,"55f9d05d",null),$=I.exports},3976:function(e,t,n){n.r(t),n.d(t,{default:function(){return q}});var r=function(){var e=this,t=e._self._c;return t("div",{staticClass:"link-block",class:e.linkBlockClasses},[t(e.linkComponent,e._b({ref:"apiChangesDiff",tag:"component",staticClass:"link",class:e.linkClasses},"component",e.linkProps,!1),[e.topic.role&&!e.change?t("TopicLinkBlockIcon",{attrs:{role:e.topic.role}}):e._e(),e.topic.fragments?t("DecoratedTopicTitle",{attrs:{tokens:e.topic.fragments}}):t("WordBreak",{attrs:{tag:e.titleTag}},[e._v(e._s(e.topic.title))]),e.change?t("span",{staticClass:"visuallyhidden"},[e._v("- "+e._s(e.$t(e.changeName)))]):e._e()],1),e.hasAbstractElements?t("div",{staticClass:"abstract"},[e.topic.abstract?t("ContentNode",{attrs:{content:e.topic.abstract}}):e._e(),e.topic.ideTitle?t("div",{staticClass:"topic-keyinfo"},[e.topic.titleStyle===e.titleStyles.title?[t("strong",[e._v("Key:")]),e._v(" "+e._s(e.topic.name)+" ")]:e.topic.titleStyle===e.titleStyles.symbol?[t("strong",[e._v("Name:")]),e._v(" "+e._s(e.topic.ideTitle)+" ")]:e._e()],2):e._e(),e.topic.required||e.topic.defaultImplementations?t("RequirementMetadata",{staticClass:"topic-required",attrs:{defaultImplementationsCount:e.topic.defaultImplementations}}):e._e()],1):e._e(),e.showDeprecatedBadge?t("Badge",{attrs:{variant:"deprecated"}}):e.showBetaBadge?t("Badge",{attrs:{variant:"beta"}}):e._e(),e._l(e.tags,(function(n){return t("Badge",{key:`${n.type}-${n.text}`,attrs:{variant:n.type}},[e._v(" "+e._s(n.text)+" ")])}))],2)},a=[],i=n(7192),s=n(2449),o=n(6137),l=n(352),c=n(8846),d=n(2970),p=function(){var e=this,t=e._self._c;return t("code",{staticClass:"decorated-title"},[e._l(e.tokens,(function(n,r){return[t(e.componentFor(n),{key:r,tag:"component",class:[e.classFor(n),e.emptyTokenClass(n)]},[e._v(e._s(n.text))]),t("wbr",{key:`wbr-${r}`})]}))],2)},u=[],f=n(6213);const{TokenKind:m}=f["default"].constants,h={decorator:"decorator",identifier:"identifier",label:"label"};var g={name:"DecoratedTopicTitle",components:{WordBreak:l.Z},props:{tokens:{type:Array,required:!0,default:()=>[]}},constants:{TokenKind:m},methods:{emptyTokenClass:({text:e})=>({"empty-token":" "===e}),classFor({kind:e}){switch(e){case m.externalParam:case m.identifier:return h.identifier;case m.label:return h.label;default:return h.decorator}},componentFor(e){return/^\s+$/.test(e.text)?"span":l.Z}}},y=g,k=n(1001),v=(0,k.Z)(y,p,u,!1,null,"28f15ef8",null),b=v.exports,_=n(7120),C=n(1842),x=n(5953);const Z={article:"article",symbol:"symbol"},B={title:"title",symbol:"symbol"},T={link:"link"};var S={name:"TopicsLinkBlock",components:{Badge:o.Z,WordBreak:l.Z,ContentNode:c.Z,TopicLinkBlockIcon:d.Z,DecoratedTopicTitle:b,RequirementMetadata:_.Z},mixins:[C.JY,C.PH,x.Z],constants:{ReferenceType:T,TopicKind:Z,TitleStyles:B},props:{isSymbolBeta:Boolean,isSymbolDeprecated:Boolean,topic:{type:Object,required:!0,validator:e=>(!("abstract"in e)||Array.isArray(e.abstract))&&"string"===typeof e.identifier&&(e.type===T.link&&!e.kind||"string"===typeof e.kind)&&(e.type===T.link&&!e.role||"string"===typeof e.role)&&"string"===typeof e.title&&"string"===typeof e.url&&(!("defaultImplementations"in e)||"number"===typeof e.defaultImplementations)&&(!("required"in e)||"boolean"===typeof e.required)}},data(){return{state:this.store.state}},computed:{linkComponent:({topic:e})=>e.type===T.link?"a":"router-link",linkProps({topic:e}){const t=(0,s.Q2)(e.url,this.$route.query);return e.type===T.link?{href:t}:{to:t}},linkBlockClasses:({changesClasses:e,hasAbstractElements:t,displaysMultipleLinesAfterAPIChanges:n,multipleLinesClass:r})=>({"has-inline-element":!t,[r]:n,...!t&&e}),linkClasses:({changesClasses:e,deprecated:t,hasAbstractElements:n})=>({deprecated:t,"has-adjacent-elements":n,...n&&e}),changesClasses:({getChangesClasses:e,change:t})=>e(t),titleTag({topic:e}){if(e.titleStyle===B.title)return e.ideTitle?"span":"code";if(e.role&&(e.role===i.L.collection||e.role===i.L.dictionarySymbol))return"span";switch(e.kind){case Z.symbol:return"code";default:return"span"}},titleStyles:()=>B,deprecated:({showDeprecatedBadge:e,topic:t})=>e||t.deprecated,showBetaBadge:({topic:e,isSymbolBeta:t})=>Boolean(!t&&e.beta),showDeprecatedBadge:({topic:e,isSymbolDeprecated:t})=>Boolean(!t&&e.deprecated),change({topic:{identifier:e},state:{apiChanges:t}}){return this.changeFor(e,t)},changeName:({change:e,getChangeName:t})=>t(e),hasAbstractElements:({topic:{abstract:e,required:t,defaultImplementations:n}}={})=>e&&e.length>0||t||n,tags:({topic:e})=>(e.tags||[]).slice(0,1),iconOverride:({topic:{images:e=[]}})=>{const t=e.find((({type:e})=>"icon"===e));return t?t.identifier:null}}},I=S,$=(0,k.Z)(I,r,a,!1,null,"0d9c6bcc",null),q=$.exports},9426:function(e,t,n){n.d(t,{Ag:function(){return i},UG:function(){return a},yf:function(){return r}});const r={added:"added",modified:"modified",deprecated:"deprecated"},a=[r.modified,r.added,r.deprecated],i={[r.modified]:"change-type.modified",[r.added]:"change-type.added",[r.deprecated]:"change-type.deprecated"}},4733:function(e,t,n){n.d(t,{_:function(){return r}});const r="displays-multiple-lines"},1842:function(e,t,n){n.d(t,{JY:function(){return c},PH:function(){return l}});var r=n(9426),a=n(4733),i=n(3112);const s="latest_",o={xcode:{value:"xcode",label:"Xcode"},other:{value:"other",label:"Other"}},l={constants:{multipleLinesClass:a._},data(){return{multipleLinesClass:a._}},computed:{displaysMultipleLinesAfterAPIChanges:({change:e,changeType:t,$refs:n})=>!(!e&&!t)&&(0,i.s)(n.apiChangesDiff)}},c={methods:{toVersionRange({platform:e,versions:t}){return`${e} ${t[0]} – ${e} ${t[1]}`},toOptionValue:e=>`${s}${e}`,toScope:e=>e.slice(s.length,e.length),getOptionsForDiffAvailability(e={}){return this.getOptionsForDiffAvailabilities([e])},getOptionsForDiffAvailabilities(e=[]){const t=e.reduce(((e,t={})=>Object.keys(t).reduce(((e,n)=>({...e,[n]:(e[n]||[]).concat(t[n])})),e)),{}),n=Object.keys(t),r=n.reduce(((e,n)=>{const r=t[n];return{...e,[n]:r.find((e=>e.platform===o.xcode.label))||r[0]}}),{}),a=e=>({label:this.toVersionRange(r[e]),value:this.toOptionValue(e),platform:r[e].platform}),{sdk:i,beta:s,minor:l,major:c,...d}=r,p=[].concat(i?a("sdk"):[]).concat(s?a("beta"):[]).concat(l?a("minor"):[]).concat(c?a("major"):[]).concat(Object.keys(d).map(a));return this.splitOptionsPerPlatform(p)},changesClassesFor(e,t){const n=this.changeFor(e,t);return this.getChangesClasses(n)},getChangesClasses:e=>({[`changed changed-${e}`]:!!e}),changeFor(e,t){const{change:n}=(t||{})[e]||{};return n},splitOptionsPerPlatform(e){return e.reduce(((e,t)=>{const n=t.platform===o.xcode.label?o.xcode.value:o.other.value;return e[n].push(t),e}),{[o.xcode.value]:[],[o.other.value]:[]})},getChangeName(e){return r.Ag[e]}},computed:{availableOptions({diffAvailability:e={},toOptionValue:t}){return new Set(Object.keys(e).map(t))}}}},3112:function(e,t,n){function r(e){if(!e)return!1;const t=window.getComputedStyle(e.$el||e),n=(e.$el||e).offsetHeight,r=t.lineHeight?parseFloat(t.lineHeight):1,a=t.paddingTop?parseFloat(t.paddingTop):0,i=t.paddingBottom?parseFloat(t.paddingBottom):0,s=t.borderTopWidth?parseFloat(t.borderTopWidth):0,o=t.borderBottomWidth?parseFloat(t.borderBottomWidth):0,l=n-(a+i+s+o),c=l/r;return c>=2}n.d(t,{s:function(){return r}})}}]); \ No newline at end of file diff --git a/docs/js/chunk-vendors.bdb7cbba.js b/docs/js/chunk-vendors.bdb7cbba.js new file mode 100644 index 00000000..2b84f94c --- /dev/null +++ b/docs/js/chunk-vendors.bdb7cbba.js @@ -0,0 +1,26 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(self["webpackChunkswift_docc_render"]=self["webpackChunkswift_docc_render"]||[]).push([[998],{1001:function(t,e,n){"use strict";function r(t,e,n,r,o,i,a,s){var c,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=c):o&&(c=s?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:t,options:u}}n.d(e,{Z:function(){return r}})},8269:function(t,e,n){(function(e,n){t.exports=n(e)})("undefined"!=typeof n.g?n.g:this,(function(t){if(t.CSS&&t.CSS.escape)return t.CSS.escape;var e=function(t){if(0==arguments.length)throw new TypeError("`CSS.escape` requires an argument.");var e,n=String(t),r=n.length,o=-1,i="",a=n.charCodeAt(0);while(++o=1&&e<=31||127==e||0==o&&e>=48&&e<=57||1==o&&e>=48&&e<=57&&45==a?"\\"+e.toString(16)+" ":(0!=o||1!=r||45!=e)&&(e>=128||45==e||95==e||e>=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122)?n.charAt(o):"\\"+n.charAt(o):"�";return i};return t.CSS||(t.CSS={}),t.CSS.escape=e,e}))},7152:function(t,e){"use strict"; +/*! + * vue-i18n v8.28.2 + * (c) 2022 kazuya kawaguchi + * Released under the MIT License. + */var n=["compactDisplay","currency","currencyDisplay","currencySign","localeMatcher","notation","numberingSystem","signDisplay","style","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"],r=["dateStyle","timeStyle","calendar","localeMatcher","hour12","hourCycle","timeZone","formatMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function o(t,e){"undefined"!==typeof console&&(console.warn("[vue-i18n] "+t),e&&console.warn(e.stack))}function i(t,e){"undefined"!==typeof console&&(console.error("[vue-i18n] "+t),e&&console.error(e.stack))}var a=Array.isArray;function s(t){return null!==t&&"object"===typeof t}function c(t){return"boolean"===typeof t}function u(t){return"string"===typeof t}var l=Object.prototype.toString,f="[object Object]";function p(t){return l.call(t)===f}function h(t){return null===t||void 0===t}function d(t){return"function"===typeof t}function v(){var t=[],e=arguments.length;while(e--)t[e]=arguments[e];var n=null,r=null;return 1===t.length?s(t[0])||a(t[0])?r=t[0]:"string"===typeof t[0]&&(n=t[0]):2===t.length&&("string"===typeof t[0]&&(n=t[0]),(s(t[1])||a(t[1]))&&(r=t[1])),{locale:n,params:r}}function m(t){return JSON.parse(JSON.stringify(t))}function y(t,e){if(t.delete(e))return t}function g(t){var e=[];return t.forEach((function(t){return e.push(t)})),e}function _(t,e){return!!~t.indexOf(e)}var b=Object.prototype.hasOwnProperty;function w(t,e){return b.call(t,e)}function C(t){for(var e=arguments,n=Object(t),r=1;r/g,">").replace(/"/g,""").replace(/'/g,"'")}function x(t){return null!=t&&Object.keys(t).forEach((function(e){"string"==typeof t[e]&&(t[e]=$(t[e]))})),t}function O(t){t.prototype.hasOwnProperty("$i18n")||Object.defineProperty(t.prototype,"$i18n",{get:function(){return this._i18n}}),t.prototype.$t=function(t){var e=[],n=arguments.length-1;while(n-- >0)e[n]=arguments[n+1];var r=this.$i18n;return r._t.apply(r,[t,r.locale,r._getMessages(),this].concat(e))},t.prototype.$tc=function(t,e){var n=[],r=arguments.length-2;while(r-- >0)n[r]=arguments[r+2];var o=this.$i18n;return o._tc.apply(o,[t,o.locale,o._getMessages(),this,e].concat(n))},t.prototype.$te=function(t,e){var n=this.$i18n;return n._te(t,n.locale,n._getMessages(),e)},t.prototype.$d=function(t){var e,n=[],r=arguments.length-1;while(r-- >0)n[r]=arguments[r+1];return(e=this.$i18n).d.apply(e,[t].concat(n))},t.prototype.$n=function(t){var e,n=[],r=arguments.length-1;while(r-- >0)n[r]=arguments[r+1];return(e=this.$i18n).n.apply(e,[t].concat(n))}}function S(t){function e(){this!==this.$root&&this.$options.__INTLIFY_META__&&this.$el&&this.$el.setAttribute("data-intlify",this.$options.__INTLIFY_META__)}return void 0===t&&(t=!1),t?{mounted:e}:{beforeCreate:function(){var t=this.$options;if(t.i18n=t.i18n||(t.__i18nBridge||t.__i18n?{}:null),t.i18n)if(t.i18n instanceof xt){if(t.__i18nBridge||t.__i18n)try{var e=t.i18n&&t.i18n.messages?t.i18n.messages:{},n=t.__i18nBridge||t.__i18n;n.forEach((function(t){e=C(e,JSON.parse(t))})),Object.keys(e).forEach((function(n){t.i18n.mergeLocaleMessage(n,e[n])}))}catch(c){0}this._i18n=t.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(p(t.i18n)){var r=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof xt?this.$root.$i18n:null;if(r&&(t.i18n.root=this.$root,t.i18n.formatter=r.formatter,t.i18n.fallbackLocale=r.fallbackLocale,t.i18n.formatFallbackMessages=r.formatFallbackMessages,t.i18n.silentTranslationWarn=r.silentTranslationWarn,t.i18n.silentFallbackWarn=r.silentFallbackWarn,t.i18n.pluralizationRules=r.pluralizationRules,t.i18n.preserveDirectiveContent=r.preserveDirectiveContent),t.__i18nBridge||t.__i18n)try{var o=t.i18n&&t.i18n.messages?t.i18n.messages:{},i=t.__i18nBridge||t.__i18n;i.forEach((function(t){o=C(o,JSON.parse(t))})),t.i18n.messages=o}catch(c){0}var a=t.i18n,s=a.sharedMessages;s&&p(s)&&(t.i18n.messages=C(t.i18n.messages,s)),this._i18n=new xt(t.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===t.i18n.sync||t.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),r&&r.onComponentInstanceCreated(this._i18n)}else 0;else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof xt?this._i18n=this.$root.$i18n:t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof xt&&(this._i18n=t.parent.$i18n)},beforeMount:function(){var t=this.$options;t.i18n=t.i18n||(t.__i18nBridge||t.__i18n?{}:null),t.i18n?(t.i18n instanceof xt||p(t.i18n))&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof xt||t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof xt)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},mounted:e,beforeDestroy:function(){if(this._i18n){var t=this;this.$nextTick((function(){t._subscribing&&(t._i18n.unsubscribeDataChanging(t),delete t._subscribing),t._i18nWatcher&&(t._i18nWatcher(),t._i18n.destroyVM(),delete t._i18nWatcher),t._localeWatcher&&(t._localeWatcher(),delete t._localeWatcher)}))}}}}var T={name:"i18n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(t,e){var n=e.data,r=e.parent,o=e.props,i=e.slots,a=r.$i18n;if(a){var s=o.path,c=o.locale,u=o.places,l=i(),f=a.i(s,c,E(l)||u?j(l.default,u):l),p=o.tag&&!0!==o.tag||!1===o.tag?o.tag:"span";return p?t(p,n,f):f}}};function E(t){var e;for(e in t)if("default"!==e)return!1;return Boolean(e)}function j(t,e){var n=e?A(e):{};if(!t)return n;t=t.filter((function(t){return t.tag||""!==t.text.trim()}));var r=t.every(R);return t.reduce(r?F:I,n)}function A(t){return Array.isArray(t)?t.reduce(I,{}):Object.assign({},t)}function F(t,e){return e.data&&e.data.attrs&&e.data.attrs.place&&(t[e.data.attrs.place]=e),t}function I(t,e,n){return t[n]=e,t}function R(t){return Boolean(t.data&&t.data.attrs&&t.data.attrs.place)}var M,L={name:"i18n-n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(t,e){var r=e.props,o=e.parent,i=e.data,a=o.$i18n;if(!a)return null;var c=null,l=null;u(r.format)?c=r.format:s(r.format)&&(r.format.key&&(c=r.format.key),l=Object.keys(r.format).reduce((function(t,e){var o;return _(n,e)?Object.assign({},t,(o={},o[e]=r.format[e],o)):t}),null));var f=r.locale||a.locale,p=a._ntp(r.value,f,c,l),h=p.map((function(t,e){var n,r=i.scopedSlots&&i.scopedSlots[t.type];return r?r((n={},n[t.type]=t.value,n.index=e,n.parts=p,n)):t.value})),d=r.tag&&!0!==r.tag||!1===r.tag?r.tag:"span";return d?t(d,{attrs:i.attrs,class:i["class"],staticClass:i.staticClass},h):h}};function P(t,e,n){V(t,n)&&B(t,e,n)}function D(t,e,n,r){if(V(t,n)){var o=n.context.$i18n;U(t,n)&&k(e.value,e.oldValue)&&k(t._localeMessage,o.getLocaleMessage(o.locale))||B(t,e,n)}}function N(t,e,n,r){var i=n.context;if(i){var a=n.context.$i18n||{};e.modifiers.preserve||a.preserveDirectiveContent||(t.textContent=""),t._vt=void 0,delete t["_vt"],t._locale=void 0,delete t["_locale"],t._localeMessage=void 0,delete t["_localeMessage"]}else o("Vue instance does not exists in VNode context")}function V(t,e){var n=e.context;return n?!!n.$i18n||(o("VueI18n instance does not exists in Vue instance"),!1):(o("Vue instance does not exists in VNode context"),!1)}function U(t,e){var n=e.context;return t._locale===n.$i18n.locale}function B(t,e,n){var r,i,a=e.value,s=W(a),c=s.path,u=s.locale,l=s.args,f=s.choice;if(c||u||l)if(c){var p=n.context;t._vt=t.textContent=null!=f?(r=p.$i18n).tc.apply(r,[c,f].concat(H(u,l))):(i=p.$i18n).t.apply(i,[c].concat(H(u,l))),t._locale=p.$i18n.locale,t._localeMessage=p.$i18n.getLocaleMessage(p.$i18n.locale)}else o("`path` is required in v-t directive");else o("value type not supported")}function W(t){var e,n,r,o;return u(t)?e=t:p(t)&&(e=t.path,n=t.locale,r=t.args,o=t.choice),{path:e,locale:n,args:r,choice:o}}function H(t,e){var n=[];return t&&n.push(t),e&&(Array.isArray(e)||p(e))&&n.push(e),n}function z(t,e){void 0===e&&(e={bridge:!1}),z.installed=!0,M=t;M.version&&Number(M.version.split(".")[0]);O(M),M.mixin(S(e.bridge)),M.directive("t",{bind:P,update:D,unbind:N}),M.component(T.name,T),M.component(L.name,L);var n=M.config.optionMergeStrategies;n.i18n=function(t,e){return void 0===e?t:e}}var q=function(){this._caches=Object.create(null)};q.prototype.interpolate=function(t,e){if(!e)return[t];var n=this._caches[t];return n||(n=G(t),this._caches[t]=n),J(n,e)};var K=/^(?:\d)+/,Z=/^(?:\w)+/;function G(t){var e=[],n=0,r="";while(n0)f--,l=it,p[X]();else{if(f=0,void 0===n)return!1;if(n=vt(n),!1===n)return!1;p[Y]()}};while(null!==l)if(u++,e=t[u],"\\"!==e||!h()){if(o=dt(e),s=lt[l],i=s[o]||s["else"]||ut,i===ut)return;if(l=i[0],a=p[i[1]],a&&(r=i[2],r=void 0===r?e:r,!1===a()))return;if(l===ct)return c}}var yt=function(){this._cache=Object.create(null)};yt.prototype.parsePath=function(t){var e=this._cache[t];return e||(e=mt(t),e&&(this._cache[t]=e)),e||[]},yt.prototype.getPathValue=function(t,e){if(!s(t))return null;var n=this.parsePath(e);if(0===n.length)return null;var r=n.length,o=t,i=0;while(i/,bt=/(?:@(?:\.[a-zA-Z]+)?:(?:[\w\-_|./]+|\([\w\-_:|./]+\)))/g,wt=/^@(?:\.([a-zA-Z]+))?:/,Ct=/[()]/g,kt={upper:function(t){return t.toLocaleUpperCase()},lower:function(t){return t.toLocaleLowerCase()},capitalize:function(t){return""+t.charAt(0).toLocaleUpperCase()+t.substr(1)}},$t=new q,xt=function(t){var e=this;void 0===t&&(t={}),!M&&"undefined"!==typeof window&&window.Vue&&z(window.Vue);var n=t.locale||"en-US",r=!1!==t.fallbackLocale&&(t.fallbackLocale||"en-US"),o=t.messages||{},i=t.dateTimeFormats||t.datetimeFormats||{},a=t.numberFormats||{};this._vm=null,this._formatter=t.formatter||$t,this._modifiers=t.modifiers||{},this._missing=t.missing||null,this._root=t.root||null,this._sync=void 0===t.sync||!!t.sync,this._fallbackRoot=void 0===t.fallbackRoot||!!t.fallbackRoot,this._fallbackRootWithEmptyString=void 0===t.fallbackRootWithEmptyString||!!t.fallbackRootWithEmptyString,this._formatFallbackMessages=void 0!==t.formatFallbackMessages&&!!t.formatFallbackMessages,this._silentTranslationWarn=void 0!==t.silentTranslationWarn&&t.silentTranslationWarn,this._silentFallbackWarn=void 0!==t.silentFallbackWarn&&!!t.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new yt,this._dataListeners=new Set,this._componentInstanceCreatedListener=t.componentInstanceCreatedListener||null,this._preserveDirectiveContent=void 0!==t.preserveDirectiveContent&&!!t.preserveDirectiveContent,this.pluralizationRules=t.pluralizationRules||{},this._warnHtmlInMessage=t.warnHtmlInMessage||"off",this._postTranslation=t.postTranslation||null,this._escapeParameterHtml=t.escapeParameterHtml||!1,"__VUE_I18N_BRIDGE__"in t&&(this.__VUE_I18N_BRIDGE__=t.__VUE_I18N_BRIDGE__),this.getChoiceIndex=function(t,n){var r=Object.getPrototypeOf(e);if(r&&r.getChoiceIndex){var o=r.getChoiceIndex;return o.call(e,t,n)}var i=function(t,e){return t=Math.abs(t),2===e?t?t>1?1:0:1:t?Math.min(t,2):0};return e.locale in e.pluralizationRules?e.pluralizationRules[e.locale].apply(e,[t,n]):i(t,n)},this._exist=function(t,n){return!(!t||!n)&&(!h(e._path.getPathValue(t,n))||!!t[n])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(o).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,o[t])})),this._initVM({locale:n,fallbackLocale:r,messages:o,dateTimeFormats:i,numberFormats:a})},Ot={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0},sync:{configurable:!0}};xt.prototype._checkLocaleMessage=function(t,e,n){var r=[],s=function(t,e,n,r){if(p(n))Object.keys(n).forEach((function(o){var i=n[o];p(i)?(r.push(o),r.push("."),s(t,e,i,r),r.pop(),r.pop()):(r.push(o),s(t,e,i,r),r.pop())}));else if(a(n))n.forEach((function(n,o){p(n)?(r.push("["+o+"]"),r.push("."),s(t,e,n,r),r.pop(),r.pop()):(r.push("["+o+"]"),s(t,e,n,r),r.pop())}));else if(u(n)){var c=_t.test(n);if(c){var l="Detected HTML in message '"+n+"' of keypath '"+r.join("")+"' at '"+e+"'. Consider component interpolation with '' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===t?o(l):"error"===t&&i(l)}}};s(e,t,n,r)},xt.prototype._initVM=function(t){var e=M.config.silent;M.config.silent=!0,this._vm=new M({data:t,__VUE18N__INSTANCE__:!0}),M.config.silent=e},xt.prototype.destroyVM=function(){this._vm.$destroy()},xt.prototype.subscribeDataChanging=function(t){this._dataListeners.add(t)},xt.prototype.unsubscribeDataChanging=function(t){y(this._dataListeners,t)},xt.prototype.watchI18nData=function(){var t=this;return this._vm.$watch("$data",(function(){var e=g(t._dataListeners),n=e.length;while(n--)M.nextTick((function(){e[n]&&e[n].$forceUpdate()}))}),{deep:!0})},xt.prototype.watchLocale=function(t){if(t){if(!this.__VUE_I18N_BRIDGE__)return null;var e=this,n=this._vm;return this.vm.$watch("locale",(function(r){n.$set(n,"locale",r),e.__VUE_I18N_BRIDGE__&&t&&(t.locale.value=r),n.$forceUpdate()}),{immediate:!0})}if(!this._sync||!this._root)return null;var r=this._vm;return this._root.$i18n.vm.$watch("locale",(function(t){r.$set(r,"locale",t),r.$forceUpdate()}),{immediate:!0})},xt.prototype.onComponentInstanceCreated=function(t){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(t,this)},Ot.vm.get=function(){return this._vm},Ot.messages.get=function(){return m(this._getMessages())},Ot.dateTimeFormats.get=function(){return m(this._getDateTimeFormats())},Ot.numberFormats.get=function(){return m(this._getNumberFormats())},Ot.availableLocales.get=function(){return Object.keys(this.messages).sort()},Ot.locale.get=function(){return this._vm.locale},Ot.locale.set=function(t){this._vm.$set(this._vm,"locale",t)},Ot.fallbackLocale.get=function(){return this._vm.fallbackLocale},Ot.fallbackLocale.set=function(t){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",t)},Ot.formatFallbackMessages.get=function(){return this._formatFallbackMessages},Ot.formatFallbackMessages.set=function(t){this._formatFallbackMessages=t},Ot.missing.get=function(){return this._missing},Ot.missing.set=function(t){this._missing=t},Ot.formatter.get=function(){return this._formatter},Ot.formatter.set=function(t){this._formatter=t},Ot.silentTranslationWarn.get=function(){return this._silentTranslationWarn},Ot.silentTranslationWarn.set=function(t){this._silentTranslationWarn=t},Ot.silentFallbackWarn.get=function(){return this._silentFallbackWarn},Ot.silentFallbackWarn.set=function(t){this._silentFallbackWarn=t},Ot.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},Ot.preserveDirectiveContent.set=function(t){this._preserveDirectiveContent=t},Ot.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},Ot.warnHtmlInMessage.set=function(t){var e=this,n=this._warnHtmlInMessage;if(this._warnHtmlInMessage=t,n!==t&&("warn"===t||"error"===t)){var r=this._getMessages();Object.keys(r).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,r[t])}))}},Ot.postTranslation.get=function(){return this._postTranslation},Ot.postTranslation.set=function(t){this._postTranslation=t},Ot.sync.get=function(){return this._sync},Ot.sync.set=function(t){this._sync=t},xt.prototype._getMessages=function(){return this._vm.messages},xt.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},xt.prototype._getNumberFormats=function(){return this._vm.numberFormats},xt.prototype._warnDefault=function(t,e,n,r,o,i){if(!h(n))return n;if(this._missing){var a=this._missing.apply(null,[t,e,r,o]);if(u(a))return a}else 0;if(this._formatFallbackMessages){var s=v.apply(void 0,o);return this._render(e,i,s.params,e)}return e},xt.prototype._isFallbackRoot=function(t){return(this._fallbackRootWithEmptyString?!t:h(t))&&!h(this._root)&&this._fallbackRoot},xt.prototype._isSilentFallbackWarn=function(t){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(t):this._silentFallbackWarn},xt.prototype._isSilentFallback=function(t,e){return this._isSilentFallbackWarn(e)&&(this._isFallbackRoot()||t!==this.fallbackLocale)},xt.prototype._isSilentTranslationWarn=function(t){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(t):this._silentTranslationWarn},xt.prototype._interpolate=function(t,e,n,r,o,i,s){if(!e)return null;var c,l=this._path.getPathValue(e,n);if(a(l)||p(l))return l;if(h(l)){if(!p(e))return null;if(c=e[n],!u(c)&&!d(c))return null}else{if(!u(l)&&!d(l))return null;c=l}return u(c)&&(c.indexOf("@:")>=0||c.indexOf("@.")>=0)&&(c=this._link(t,e,c,r,"raw",i,s)),this._render(c,o,i,n)},xt.prototype._link=function(t,e,n,r,o,i,s){var c=n,u=c.match(bt);for(var l in u)if(u.hasOwnProperty(l)){var f=u[l],p=f.match(wt),h=p[0],d=p[1],v=f.replace(h,"").replace(Ct,"");if(_(s,v))return c;s.push(v);var m=this._interpolate(t,e,v,r,"raw"===o?"string":o,"raw"===o?void 0:i,s);if(this._isFallbackRoot(m)){if(!this._root)throw Error("unexpected error");var y=this._root.$i18n;m=y._translate(y._getMessages(),y.locale,y.fallbackLocale,v,r,o,i)}m=this._warnDefault(t,v,m,r,a(i)?i:[i],o),this._modifiers.hasOwnProperty(d)?m=this._modifiers[d](m):kt.hasOwnProperty(d)&&(m=kt[d](m)),s.pop(),c=m?c.replace(f,m):c}return c},xt.prototype._createMessageContext=function(t,e,n,r){var o=this,i=a(t)?t:[],c=s(t)?t:{},u=function(t){return i[t]},l=function(t){return c[t]},f=this._getMessages(),p=this.locale;return{list:u,named:l,values:t,formatter:e,path:n,messages:f,locale:p,linked:function(t){return o._interpolate(p,f[p]||{},t,null,r,void 0,[t])}}},xt.prototype._render=function(t,e,n,r){if(d(t))return t(this._createMessageContext(n,this._formatter||$t,r,e));var o=this._formatter.interpolate(t,n,r);return o||(o=$t.interpolate(t,n,r)),"string"!==e||u(o)?o:o.join("")},xt.prototype._appendItemToChain=function(t,e,n){var r=!1;return _(t,e)||(r=!0,e&&(r="!"!==e[e.length-1],e=e.replace(/!/g,""),t.push(e),n&&n[e]&&(r=n[e]))),r},xt.prototype._appendLocaleToChain=function(t,e,n){var r,o=e.split("-");do{var i=o.join("-");r=this._appendItemToChain(t,i,n),o.splice(-1,1)}while(o.length&&!0===r);return r},xt.prototype._appendBlockToChain=function(t,e,n){for(var r=!0,o=0;o0)i[a]=arguments[a+4];if(!t)return"";var s=v.apply(void 0,i);this._escapeParameterHtml&&(s.params=x(s.params));var c=s.locale||e,u=this._translate(n,c,this.fallbackLocale,t,r,"string",s.params);if(this._isFallbackRoot(u)){if(!this._root)throw Error("unexpected error");return(o=this._root).$t.apply(o,[t].concat(i))}return u=this._warnDefault(c,t,u,r,i,"string"),this._postTranslation&&null!==u&&void 0!==u&&(u=this._postTranslation(u,t)),u},xt.prototype.t=function(t){var e,n=[],r=arguments.length-1;while(r-- >0)n[r]=arguments[r+1];return(e=this)._t.apply(e,[t,this.locale,this._getMessages(),null].concat(n))},xt.prototype._i=function(t,e,n,r,o){var i=this._translate(n,e,this.fallbackLocale,t,r,"raw",o);if(this._isFallbackRoot(i)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(t,e,o)}return this._warnDefault(e,t,i,r,[o],"raw")},xt.prototype.i=function(t,e,n){return t?(u(e)||(e=this.locale),this._i(t,e,this._getMessages(),null,n)):""},xt.prototype._tc=function(t,e,n,r,o){var i,a=[],s=arguments.length-5;while(s-- >0)a[s]=arguments[s+5];if(!t)return"";void 0===o&&(o=1);var c={count:o,n:o},u=v.apply(void 0,a);return u.params=Object.assign(c,u.params),a=null===u.locale?[u.params]:[u.locale,u.params],this.fetchChoice((i=this)._t.apply(i,[t,e,n,r].concat(a)),o)},xt.prototype.fetchChoice=function(t,e){if(!t||!u(t))return null;var n=t.split("|");return e=this.getChoiceIndex(e,n.length),n[e]?n[e].trim():t},xt.prototype.tc=function(t,e){var n,r=[],o=arguments.length-2;while(o-- >0)r[o]=arguments[o+2];return(n=this)._tc.apply(n,[t,this.locale,this._getMessages(),null,e].concat(r))},xt.prototype._te=function(t,e,n){var r=[],o=arguments.length-3;while(o-- >0)r[o]=arguments[o+3];var i=v.apply(void 0,r).locale||e;return this._exist(n[i],t)},xt.prototype.te=function(t,e){return this._te(t,this.locale,this._getMessages(),e)},xt.prototype.getLocaleMessage=function(t){return m(this._vm.messages[t]||{})},xt.prototype.setLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,e)},xt.prototype.mergeLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,C("undefined"!==typeof this._vm.messages[t]&&Object.keys(this._vm.messages[t]).length?Object.assign({},this._vm.messages[t]):{},e))},xt.prototype.getDateTimeFormat=function(t){return m(this._vm.dateTimeFormats[t]||{})},xt.prototype.setDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,e),this._clearDateTimeFormat(t,e)},xt.prototype.mergeDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,C(this._vm.dateTimeFormats[t]||{},e)),this._clearDateTimeFormat(t,e)},xt.prototype._clearDateTimeFormat=function(t,e){for(var n in e){var r=t+"__"+n;this._dateTimeFormatters.hasOwnProperty(r)&&delete this._dateTimeFormatters[r]}},xt.prototype._localizeDateTime=function(t,e,n,r,o,i){for(var a=e,s=r[a],c=this._getLocaleChain(e,n),u=0;u0)e[n]=arguments[n+1];var o=this.locale,i=null,a=null;return 1===e.length?(u(e[0])?i=e[0]:s(e[0])&&(e[0].locale&&(o=e[0].locale),e[0].key&&(i=e[0].key)),a=Object.keys(e[0]).reduce((function(t,n){var o;return _(r,n)?Object.assign({},t,(o={},o[n]=e[0][n],o)):t}),null)):2===e.length&&(u(e[0])&&(i=e[0]),u(e[1])&&(o=e[1])),this._d(t,o,i,a)},xt.prototype.getNumberFormat=function(t){return m(this._vm.numberFormats[t]||{})},xt.prototype.setNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,e),this._clearNumberFormat(t,e)},xt.prototype.mergeNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,C(this._vm.numberFormats[t]||{},e)),this._clearNumberFormat(t,e)},xt.prototype._clearNumberFormat=function(t,e){for(var n in e){var r=t+"__"+n;this._numberFormatters.hasOwnProperty(r)&&delete this._numberFormatters[r]}},xt.prototype._getNumberFormatter=function(t,e,n,r,o,i){for(var a=e,s=r[a],c=this._getLocaleChain(e,n),u=0;u0)e[r]=arguments[r+1];var o=this.locale,i=null,a=null;return 1===e.length?u(e[0])?i=e[0]:s(e[0])&&(e[0].locale&&(o=e[0].locale),e[0].key&&(i=e[0].key),a=Object.keys(e[0]).reduce((function(t,r){var o;return _(n,r)?Object.assign({},t,(o={},o[r]=e[0][r],o)):t}),null)):2===e.length&&(u(e[0])&&(i=e[0]),u(e[1])&&(o=e[1])),this._n(t,o,i,a)},xt.prototype._ntp=function(t,e,n,r){if(!xt.availabilities.numberFormat)return[];if(!n){var o=r?new Intl.NumberFormat(e,r):new Intl.NumberFormat(e);return o.formatToParts(t)}var i=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),n,r),a=i&&i.formatToParts(t);if(this._isFallbackRoot(a)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(t,e,n,r)}return a||[]},Object.defineProperties(xt.prototype,Ot),Object.defineProperty(xt,"availabilities",{get:function(){if(!gt){var t="undefined"!==typeof Intl;gt={dateTimeFormat:t&&"undefined"!==typeof Intl.DateTimeFormat,numberFormat:t&&"undefined"!==typeof Intl.NumberFormat}}return gt}}),xt.install=z,xt.version="8.28.2",e["Z"]=xt},8345:function(t,e){"use strict"; +/*! + * vue-router v3.5.2 + * (c) 2021 Evan You + * @license MIT + */function n(t,e){0}function r(t,e){for(var n in e)t[n]=e[n];return t}var o=/[!'()*]/g,i=function(t){return"%"+t.charCodeAt(0).toString(16)},a=/%2C/g,s=function(t){return encodeURIComponent(t).replace(o,i).replace(a,",")};function c(t){try{return decodeURIComponent(t)}catch(e){0}return t}function u(t,e,n){void 0===e&&(e={});var r,o=n||f;try{r=o(t||"")}catch(s){r={}}for(var i in e){var a=e[i];r[i]=Array.isArray(a)?a.map(l):l(a)}return r}var l=function(t){return null==t||"object"===typeof t?t:String(t)};function f(t){var e={};return t=t.trim().replace(/^(\?|#|&)/,""),t?(t.split("&").forEach((function(t){var n=t.replace(/\+/g," ").split("="),r=c(n.shift()),o=n.length>0?c(n.join("=")):null;void 0===e[r]?e[r]=o:Array.isArray(e[r])?e[r].push(o):e[r]=[e[r],o]})),e):e}function p(t){var e=t?Object.keys(t).map((function(e){var n=t[e];if(void 0===n)return"";if(null===n)return s(e);if(Array.isArray(n)){var r=[];return n.forEach((function(t){void 0!==t&&(null===t?r.push(s(e)):r.push(s(e)+"="+s(t)))})),r.join("&")}return s(e)+"="+s(n)})).filter((function(t){return t.length>0})).join("&"):null;return e?"?"+e:""}var h=/\/?$/;function d(t,e,n,r){var o=r&&r.options.stringifyQuery,i=e.query||{};try{i=v(i)}catch(s){}var a={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:i,params:e.params||{},fullPath:g(e,o),matched:t?y(t):[]};return n&&(a.redirectedFrom=g(n,o)),Object.freeze(a)}function v(t){if(Array.isArray(t))return t.map(v);if(t&&"object"===typeof t){var e={};for(var n in t)e[n]=v(t[n]);return e}return t}var m=d(null,{path:"/"});function y(t){var e=[];while(t)e.unshift(t),t=t.parent;return e}function g(t,e){var n=t.path,r=t.query;void 0===r&&(r={});var o=t.hash;void 0===o&&(o="");var i=e||p;return(n||"/")+i(r)+o}function _(t,e,n){return e===m?t===e:!!e&&(t.path&&e.path?t.path.replace(h,"")===e.path.replace(h,"")&&(n||t.hash===e.hash&&b(t.query,e.query)):!(!t.name||!e.name)&&(t.name===e.name&&(n||t.hash===e.hash&&b(t.query,e.query)&&b(t.params,e.params))))}function b(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t).sort(),r=Object.keys(e).sort();return n.length===r.length&&n.every((function(n,o){var i=t[n],a=r[o];if(a!==n)return!1;var s=e[n];return null==i||null==s?i===s:"object"===typeof i&&"object"===typeof s?b(i,s):String(i)===String(s)}))}function w(t,e){return 0===t.path.replace(h,"/").indexOf(e.path.replace(h,"/"))&&(!e.hash||t.hash===e.hash)&&C(t.query,e.query)}function C(t,e){for(var n in e)if(!(n in t))return!1;return!0}function k(t){for(var e=0;e=0&&(e=t.slice(r),t=t.slice(0,r));var o=t.indexOf("?");return o>=0&&(n=t.slice(o+1),t=t.slice(0,o)),{path:t,query:n,hash:e}}function E(t){return t.replace(/\/\//g,"/")}var j=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},A=J,F=P,I=D,R=U,M=G,L=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function P(t,e){var n,r=[],o=0,i=0,a="",s=e&&e.delimiter||"/";while(null!=(n=L.exec(t))){var c=n[0],u=n[1],l=n.index;if(a+=t.slice(i,l),i=l+c.length,u)a+=u[1];else{var f=t[i],p=n[2],h=n[3],d=n[4],v=n[5],m=n[6],y=n[7];a&&(r.push(a),a="");var g=null!=p&&null!=f&&f!==p,_="+"===m||"*"===m,b="?"===m||"*"===m,w=n[2]||s,C=d||v;r.push({name:h||o++,prefix:p||"",delimiter:w,optional:b,repeat:_,partial:g,asterisk:!!y,pattern:C?W(C):y?".*":"[^"+B(w)+"]+?"})}}return i1||!$.length)return 0===$.length?t():t("span",{},$)}if("a"===this.tag)k.on=C,k.attrs={href:c,"aria-current":g};else{var x=at(this.$slots.default);if(x){x.isStatic=!1;var O=x.data=r({},x.data);for(var S in O.on=O.on||{},O.on){var T=O.on[S];S in C&&(O.on[S]=Array.isArray(T)?T:[T])}for(var E in C)E in O.on?O.on[E].push(C[E]):O.on[E]=b;var j=x.data.attrs=r({},x.data.attrs);j.href=c,j["aria-current"]=g}else k.on=C}return t(this.tag,k,this.$slots.default)}};function it(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&(void 0===t.button||0===t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function at(t){if(t)for(var e,n=0;n-1&&(s.params[f]=n.params[f]);return s.path=Y(u.path,s.params,'named route "'+c+'"'),p(u,s,a)}if(s.path){s.params={};for(var h=0;h=t.length?n():t[o]?e(t[o],(function(){r(o+1)})):r(o+1)};r(0)}var Dt={redirected:2,aborted:4,cancelled:8,duplicated:16};function Nt(t,e){return Wt(t,e,Dt.redirected,'Redirected when going from "'+t.fullPath+'" to "'+zt(e)+'" via a navigation guard.')}function Vt(t,e){var n=Wt(t,e,Dt.duplicated,'Avoided redundant navigation to current location: "'+t.fullPath+'".');return n.name="NavigationDuplicated",n}function Ut(t,e){return Wt(t,e,Dt.cancelled,'Navigation cancelled from "'+t.fullPath+'" to "'+e.fullPath+'" with a new navigation.')}function Bt(t,e){return Wt(t,e,Dt.aborted,'Navigation aborted from "'+t.fullPath+'" to "'+e.fullPath+'" via a navigation guard.')}function Wt(t,e,n,r){var o=new Error(r);return o._isRouter=!0,o.from=t,o.to=e,o.type=n,o}var Ht=["params","query","hash"];function zt(t){if("string"===typeof t)return t;if("path"in t)return t.path;var e={};return Ht.forEach((function(n){n in t&&(e[n]=t[n])})),JSON.stringify(e,null,2)}function qt(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function Kt(t,e){return qt(t)&&t._isRouter&&(null==e||t.type===e)}function Zt(t){return function(e,n,r){var o=!1,i=0,a=null;Gt(t,(function(t,e,n,s){if("function"===typeof t&&void 0===t.cid){o=!0,i++;var c,u=Qt((function(e){Yt(e)&&(e=e.default),t.resolved="function"===typeof e?e:tt.extend(e),n.components[s]=e,i--,i<=0&&r()})),l=Qt((function(t){var e="Failed to resolve async component "+s+": "+t;a||(a=qt(t)?t:new Error(e),r(a))}));try{c=t(u,l)}catch(p){l(p)}if(c)if("function"===typeof c.then)c.then(u,l);else{var f=c.component;f&&"function"===typeof f.then&&f.then(u,l)}}})),o||r()}}function Gt(t,e){return Jt(t.map((function(t){return Object.keys(t.components).map((function(n){return e(t.components[n],t.instances[n],t,n)}))})))}function Jt(t){return Array.prototype.concat.apply([],t)}var Xt="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag;function Yt(t){return t.__esModule||Xt&&"Module"===t[Symbol.toStringTag]}function Qt(t){var e=!1;return function(){var n=[],r=arguments.length;while(r--)n[r]=arguments[r];if(!e)return e=!0,t.apply(this,n)}}var te=function(t,e){this.router=t,this.base=ee(e),this.current=m,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function ee(t){if(!t)if(ct){var e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^https?:\/\/[^\/]+/,"")}else t="/";return"/"!==t.charAt(0)&&(t="/"+t),t.replace(/\/$/,"")}function ne(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n0)){var e=this.router,n=e.options.scrollBehavior,r=Rt&&n;r&&this.listeners.push(Ct());var o=function(){var n=t.current,o=fe(t.base);t.current===m&&o===t._startLocation||t.transitionTo(o,(function(t){r&&kt(e,t,n,!0)}))};window.addEventListener("popstate",o),this.listeners.push((function(){window.removeEventListener("popstate",o)}))}},e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var r=this,o=this,i=o.current;this.transitionTo(t,(function(t){Mt(E(r.base+t.fullPath)),kt(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,o=this,i=o.current;this.transitionTo(t,(function(t){Lt(E(r.base+t.fullPath)),kt(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.ensureURL=function(t){if(fe(this.base)!==this.current.fullPath){var e=E(this.base+this.current.fullPath);t?Mt(e):Lt(e)}},e.prototype.getCurrentLocation=function(){return fe(this.base)},e}(te);function fe(t){var e=window.location.pathname,n=e.toLowerCase(),r=t.toLowerCase();return!t||n!==r&&0!==n.indexOf(E(r+"/"))||(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var pe=function(t){function e(e,n,r){t.call(this,e,n),r&&he(this.base)||de()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router,n=e.options.scrollBehavior,r=Rt&&n;r&&this.listeners.push(Ct());var o=function(){var e=t.current;de()&&t.transitionTo(ve(),(function(n){r&&kt(t.router,n,e,!0),Rt||ge(n.fullPath)}))},i=Rt?"popstate":"hashchange";window.addEventListener(i,o),this.listeners.push((function(){window.removeEventListener(i,o)}))}},e.prototype.push=function(t,e,n){var r=this,o=this,i=o.current;this.transitionTo(t,(function(t){ye(t.fullPath),kt(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,o=this,i=o.current;this.transitionTo(t,(function(t){ge(t.fullPath),kt(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;ve()!==e&&(t?ye(e):ge(e))},e.prototype.getCurrentLocation=function(){return ve()},e}(te);function he(t){var e=fe(t);if(!/^\/#/.test(e))return window.location.replace(E(t+"/#"+e)),!0}function de(){var t=ve();return"/"===t.charAt(0)||(ge("/"+t),!1)}function ve(){var t=window.location.href,e=t.indexOf("#");return e<0?"":(t=t.slice(e+1),t)}function me(t){var e=window.location.href,n=e.indexOf("#"),r=n>=0?e.slice(0,n):e;return r+"#"+t}function ye(t){Rt?Mt(me(t)):window.location.hash=t}function ge(t){Rt?Lt(me(t)):window.location.replace(me(t))}var _e=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index).concat(t),e&&e(t)}),n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,(function(){var t=e.current;e.index=n,e.updateRoute(r),e.router.afterHooks.forEach((function(e){e&&e(r,t)}))}),(function(t){Kt(t,Dt.duplicated)&&(e.index=n)}))}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(te),be=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=ht(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!Rt&&!1!==t.fallback,this.fallback&&(e="hash"),ct||(e="abstract"),this.mode=e,e){case"history":this.history=new le(this,t.base);break;case"hash":this.history=new pe(this,t.base,this.fallback);break;case"abstract":this.history=new _e(this,t.base);break;default:0}},we={currentRoute:{configurable:!0}};function Ce(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function ke(t,e,n){var r="hash"===n?"#"+e:e;return t?E(t+"/"+r):r}be.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},we.currentRoute.get=function(){return this.history&&this.history.current},be.prototype.init=function(t){var e=this;if(this.apps.push(t),t.$once("hook:destroyed",(function(){var n=e.apps.indexOf(t);n>-1&&e.apps.splice(n,1),e.app===t&&(e.app=e.apps[0]||null),e.app||e.history.teardown()})),!this.app){this.app=t;var n=this.history;if(n instanceof le||n instanceof pe){var r=function(t){var r=n.current,o=e.options.scrollBehavior,i=Rt&&o;i&&"fullPath"in t&&kt(e,t,r,!1)},o=function(t){n.setupListeners(),r(t)};n.transitionTo(n.getCurrentLocation(),o,o)}n.listen((function(t){e.apps.forEach((function(e){e._route=t}))}))}},be.prototype.beforeEach=function(t){return Ce(this.beforeHooks,t)},be.prototype.beforeResolve=function(t){return Ce(this.resolveHooks,t)},be.prototype.afterEach=function(t){return Ce(this.afterHooks,t)},be.prototype.onReady=function(t,e){this.history.onReady(t,e)},be.prototype.onError=function(t){this.history.onError(t)},be.prototype.push=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!==typeof Promise)return new Promise((function(e,n){r.history.push(t,e,n)}));this.history.push(t,e,n)},be.prototype.replace=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!==typeof Promise)return new Promise((function(e,n){r.history.replace(t,e,n)}));this.history.replace(t,e,n)},be.prototype.go=function(t){this.history.go(t)},be.prototype.back=function(){this.go(-1)},be.prototype.forward=function(){this.go(1)},be.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map((function(t){return Object.keys(t.components).map((function(e){return t.components[e]}))}))):[]},be.prototype.resolve=function(t,e,n){e=e||this.history.current;var r=Q(t,e,n,this),o=this.match(r,e),i=o.redirectedFrom||o.fullPath,a=this.history.base,s=ke(a,i,this.mode);return{location:r,route:o,href:s,normalizedTo:r,resolved:o}},be.prototype.getRoutes=function(){return this.matcher.getRoutes()},be.prototype.addRoute=function(t,e){this.matcher.addRoute(t,e),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},be.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(be.prototype,we),be.install=st,be.version="3.5.2",be.isNavigationFailure=Kt,be.NavigationFailureType=Dt,be.START_LOCATION=m,ct&&window.Vue&&window.Vue.use(be),e["Z"]=be},144:function(t,e,n){"use strict";n.r(e),n.d(e,{EffectScope:function(){return Oe},computed:function(){return de},customRef:function(){return ie},default:function(){return ni},defineAsyncComponent:function(){return Qn},defineComponent:function(){return mr},del:function(){return Nt},effectScope:function(){return Se},getCurrentInstance:function(){return mt},getCurrentScope:function(){return Ee},h:function(){return Ln},inject:function(){return Ie},isProxy:function(){return Kt},isReactive:function(){return Ht},isReadonly:function(){return qt},isRef:function(){return Xt},isShallow:function(){return zt},markRaw:function(){return Gt},mergeDefaults:function(){return Cn},nextTick:function(){return Jn},onActivated:function(){return cr},onBeforeMount:function(){return nr},onBeforeUnmount:function(){return ar},onBeforeUpdate:function(){return or},onDeactivated:function(){return ur},onErrorCaptured:function(){return dr},onMounted:function(){return rr},onRenderTracked:function(){return fr},onRenderTriggered:function(){return pr},onScopeDispose:function(){return je},onServerPrefetch:function(){return lr},onUnmounted:function(){return sr},onUpdated:function(){return ir},provide:function(){return Ae},proxyRefs:function(){return re},reactive:function(){return Ut},readonly:function(){return le},ref:function(){return Yt},set:function(){return Dt},shallowReactive:function(){return Bt},shallowReadonly:function(){return he},shallowRef:function(){return Qt},toRaw:function(){return Zt},toRef:function(){return se},toRefs:function(){return ae},triggerRef:function(){return ee},unref:function(){return ne},useAttrs:function(){return _n},useCssModule:function(){return Xn},useCssVars:function(){return Yn},useListeners:function(){return bn},useSlots:function(){return gn},version:function(){return vr},watch:function(){return $e},watchEffect:function(){return _e},watchPostEffect:function(){return be},watchSyncEffect:function(){return we}}); +/*! + * Vue.js v2.7.10 + * (c) 2014-2022 Evan You + * Released under the MIT License. + */ +var r=Object.freeze({}),o=Array.isArray;function i(t){return void 0===t||null===t}function a(t){return void 0!==t&&null!==t}function s(t){return!0===t}function c(t){return!1===t}function u(t){return"string"===typeof t||"number"===typeof t||"symbol"===typeof t||"boolean"===typeof t}function l(t){return"function"===typeof t}function f(t){return null!==t&&"object"===typeof t}var p=Object.prototype.toString;function h(t){return"[object Object]"===p.call(t)}function d(t){return"[object RegExp]"===p.call(t)}function v(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function m(t){return a(t)&&"function"===typeof t.then&&"function"===typeof t.catch}function y(t){return null==t?"":Array.isArray(t)||h(t)&&t.toString===p?JSON.stringify(t,null,2):String(t)}function g(t){var e=parseFloat(t);return isNaN(e)?t:e}function _(t,e){for(var n=Object.create(null),r=t.split(","),o=0;o-1)return t.splice(n,1)}}var C=Object.prototype.hasOwnProperty;function k(t,e){return C.call(t,e)}function $(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}var x=/-(\w)/g,O=$((function(t){return t.replace(x,(function(t,e){return e?e.toUpperCase():""}))})),S=$((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),T=/\B([A-Z])/g,E=$((function(t){return t.replace(T,"-$1").toLowerCase()}));function j(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function A(t,e){return t.bind(e)}var F=Function.prototype.bind?A:j;function I(t,e){e=e||0;var n=t.length-e,r=new Array(n);while(n--)r[n]=t[n+e];return r}function R(t,e){for(var n in e)t[n]=e[n];return t}function M(t){for(var e={},n=0;n0,rt=tt&&tt.indexOf("edge/")>0;tt&&tt.indexOf("android");var ot=tt&&/iphone|ipad|ipod|ios/.test(tt);tt&&/chrome\/\d+/.test(tt),tt&&/phantomjs/.test(tt);var it,at=tt&&tt.match(/firefox\/(\d+)/),st={}.watch,ct=!1;if(Q)try{var ut={};Object.defineProperty(ut,"passive",{get:function(){ct=!0}}),window.addEventListener("test-passive",null,ut)}catch(nc){}var lt=function(){return void 0===it&&(it=!Q&&"undefined"!==typeof n.g&&(n.g["process"]&&"server"===n.g["process"].env.VUE_ENV)),it},ft=Q&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function pt(t){return"function"===typeof t&&/native code/.test(t.toString())}var ht,dt="undefined"!==typeof Symbol&&pt(Symbol)&&"undefined"!==typeof Reflect&&pt(Reflect.ownKeys);ht="undefined"!==typeof Set&&pt(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var vt=null;function mt(){return vt&&{proxy:vt}}function yt(t){void 0===t&&(t=null),t||vt&&vt._scope.off(),vt=t,t&&t._scope.on()}var gt=function(){function t(t,e,n,r,o,i,a,s){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=o,this.ns=void 0,this.context=i,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),t}(),_t=function(t){void 0===t&&(t="");var e=new gt;return e.text=t,e.isComment=!0,e};function bt(t){return new gt(void 0,void 0,void 0,String(t))}function wt(t){var e=new gt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var Ct=0,kt=function(){function t(){this.id=Ct++,this.subs=[]}return t.prototype.addSub=function(t){this.subs.push(t)},t.prototype.removeSub=function(t){w(this.subs,t)},t.prototype.depend=function(e){t.target&&t.target.addDep(this)},t.prototype.notify=function(t){var e=this.subs.slice();for(var n=0,r=e.length;n1)return n&&l(e)?e.call(r):e}else 0}var Re=$((function(t){var e="&"===t.charAt(0);t=e?t.slice(1):t;var n="~"===t.charAt(0);t=n?t.slice(1):t;var r="!"===t.charAt(0);return t=r?t.slice(1):t,{name:t,once:n,capture:r,passive:e}}));function Me(t,e){function n(){var t=n.fns;if(!o(t))return Dn(t,null,arguments,e,"v-on handler");for(var r=t.slice(),i=0;i0&&(r=We(r,"".concat(e||"","_").concat(n)),Be(r[0])&&Be(l)&&(f[c]=bt(l.text+r[0].text),r.shift()),f.push.apply(f,r)):u(r)?Be(l)?f[c]=bt(l.text+r):""!==r&&f.push(bt(r)):Be(r)&&Be(l)?f[c]=bt(l.text+r.text):(s(t._isVList)&&a(r.tag)&&i(r.key)&&a(e)&&(r.key="__vlist".concat(e,"_").concat(n,"__")),f.push(r)));return f}function He(t,e){var n,r,i,s,c=null;if(o(t)||"string"===typeof t)for(c=new Array(t.length),n=0,r=t.length;n0,s=e?!!e.$stable:!a,c=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(s&&o&&o!==r&&c===o.$key&&!a&&!o.$hasNormal)return o;for(var u in i={},e)e[u]&&"$"!==u[0]&&(i[u]=ln(t,n,u,e[u]))}else i={};for(var l in n)l in i||(i[l]=fn(n,l));return e&&Object.isExtensible(e)&&(e._normalized=i),G(i,"$stable",s),G(i,"$key",c),G(i,"$hasNormal",a),i}function ln(t,e,n,r){var i=function(){var e=vt;yt(t);var n=arguments.length?r.apply(null,arguments):r({});n=n&&"object"===typeof n&&!o(n)?[n]:Ue(n);var i=n&&n[0];return yt(e),n&&(!i||1===n.length&&i.isComment&&!cn(i))?void 0:n};return r.proxy&&Object.defineProperty(e,n,{get:i,enumerable:!0,configurable:!0}),i}function fn(t,e){return function(){return t[e]}}function pn(t){var e=t.$options,n=e.setup;if(n){var r=t._setupContext=hn(t);yt(t),xt();var o=Dn(n,null,[t._props||Bt({}),r],t,"setup");if(Ot(),yt(),l(o))e.render=o;else if(f(o))if(t._setupState=o,o.__sfc){var i=t._setupProxy={};for(var a in o)"__sfc"!==a&&oe(i,o,a)}else for(var a in o)Z(a)||oe(t,o,a);else 0}}function hn(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};G(e,"_v_attr_proxy",!0),dn(e,t.$attrs,r,t,"$attrs")}return t._attrsProxy},get listeners(){if(!t._listenersProxy){var e=t._listenersProxy={};dn(e,t.$listeners,r,t,"$listeners")}return t._listenersProxy},get slots(){return mn(t)},emit:F(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach((function(n){return oe(t,e,n)}))}}}function dn(t,e,n,r,o){var i=!1;for(var a in e)a in t?e[a]!==n[a]&&(i=!0):(i=!0,vn(t,a,r,o));for(var a in t)a in e||(i=!0,delete t[a]);return i}function vn(t,e,n,r){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return n[r][e]}})}function mn(t){return t._slotsProxy||yn(t._slotsProxy={},t.$scopedSlots),t._slotsProxy}function yn(t,e){for(var n in e)t[n]=e[n];for(var n in t)n in e||delete t[n]}function gn(){return wn().slots}function _n(){return wn().attrs}function bn(){return wn().listeners}function wn(){var t=vt;return t._setupContext||(t._setupContext=hn(t))}function Cn(t,e){var n=o(t)?t.reduce((function(t,e){return t[e]={},t}),{}):t;for(var r in e){var i=n[r];i?o(i)||l(i)?n[r]={type:i,default:e[r]}:i.default=e[r]:null===i&&(n[r]={default:e[r]})}return n}function kn(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,o=n&&n.context;t.$slots=an(e._renderChildren,o),t.$scopedSlots=n?un(t.$parent,n.data.scopedSlots,t.$slots):r,t._c=function(e,n,r,o){return Fn(t,e,n,r,o,!1)},t.$createElement=function(e,n,r,o){return Fn(t,e,n,r,o,!0)};var i=n&&n.data;Pt(t,"$attrs",i&&i.attrs||r,null,!0),Pt(t,"$listeners",e._parentListeners||r,null,!0)}var $n=null;function xn(t){on(t.prototype),t.prototype.$nextTick=function(t){return Jn(t,this)},t.prototype._render=function(){var t,e=this,n=e.$options,r=n.render,i=n._parentVnode;i&&e._isMounted&&(e.$scopedSlots=un(e.$parent,i.data.scopedSlots,e.$slots,e.$scopedSlots),e._slotsProxy&&yn(e._slotsProxy,e.$scopedSlots)),e.$vnode=i;try{yt(e),$n=e,t=r.call(e._renderProxy,e.$createElement)}catch(nc){Pn(nc,e,"render"),t=e._vnode}finally{$n=null,yt()}return o(t)&&1===t.length&&(t=t[0]),t instanceof gt||(t=_t()),t.parent=i,t}}function On(t,e){return(t.__esModule||dt&&"Module"===t[Symbol.toStringTag])&&(t=t.default),f(t)?e.extend(t):t}function Sn(t,e,n,r,o){var i=_t();return i.asyncFactory=t,i.asyncMeta={data:e,context:n,children:r,tag:o},i}function Tn(t,e){if(s(t.error)&&a(t.errorComp))return t.errorComp;if(a(t.resolved))return t.resolved;var n=$n;if(n&&a(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n),s(t.loading)&&a(t.loadingComp))return t.loadingComp;if(n&&!a(t.owners)){var r=t.owners=[n],o=!0,c=null,u=null;n.$on("hook:destroyed",(function(){return w(r,n)}));var l=function(t){for(var e=0,n=r.length;e1?I(n):n;for(var r=I(arguments,1),o='event handler for "'.concat(t,'"'),i=0,a=n.length;idocument.createEvent("Event").timeStamp&&(Kr=function(){return Zr.now()})}var Gr=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function Jr(){var t,e;for(qr=Kr(),Wr=!0,Nr.sort(Gr),Hr=0;HrHr&&Nr[n].id>t.id)n--;Nr.splice(n+1,0,t)}else Nr.push(t);Br||(Br=!0,Jn(Jr))}}function eo(t){var e=t.$options.provide;if(e){var n=l(e)?e.call(t):e;if(!f(n))return;for(var r=Fe(t),o=dt?Reflect.ownKeys(n):Object.keys(n),i=0;i-1)if(i&&!k(o,"default"))a=!1;else if(""===a||a===E(t)){var c=Mo(String,o.type);(c<0||s-1)return this;var n=I(arguments,1);return n.unshift(this),l(t.install)?t.install.apply(t,n):l(t)&&t.apply(null,n),e.push(t),this}}function oi(t){t.mixin=function(t){return this.options=To(this.options,t),this}}function ii(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,o=t._Ctor||(t._Ctor={});if(o[r])return o[r];var i=co(t)||co(n.options);var a=function(t){this._init(t)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=e++,a.options=To(n.options,t),a["super"]=n,a.options.props&&ai(a),a.options.computed&&si(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,H.forEach((function(t){a[t]=n[t]})),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=R({},a.options),o[r]=a,a}}function ai(t){var e=t.options.props;for(var n in e)Po(t.prototype,"_props",n)}function si(t){var e=t.options.computed;for(var n in e)Ho(t.prototype,n,e[n])}function ci(t){H.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&h(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&l(n)&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}function ui(t){return t&&(co(t.Ctor.options)||t.tag)}function li(t,e){return o(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!d(t)&&t.test(e)}function fi(t,e){var n=t.cache,r=t.keys,o=t._vnode;for(var i in n){var a=n[i];if(a){var s=a.name;s&&!e(s)&&pi(n,i,r,o)}}}function pi(t,e,n,r){var o=t[e];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),t[e]=null,w(n,e)}Yo(ni),Jo(ni),Tr(ni),Fr(ni),xn(ni);var hi=[String,RegExp,Array],di={name:"keep-alive",abstract:!0,props:{include:hi,exclude:hi,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,n=t.keys,r=t.vnodeToCache,o=t.keyToCache;if(r){var i=r.tag,a=r.componentInstance,s=r.componentOptions;e[o]={name:ui(s),tag:i,componentInstance:a},n.push(o),this.max&&n.length>parseInt(this.max)&&pi(e,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)pi(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){fi(t,(function(t){return li(e,t)}))})),this.$watch("exclude",(function(e){fi(t,(function(t){return!li(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=En(t),n=e&&e.componentOptions;if(n){var r=ui(n),o=this,i=o.include,a=o.exclude;if(i&&(!r||!li(i,r))||a&&r&&li(a,r))return e;var s=this,c=s.cache,u=s.keys,l=null==e.key?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):e.key;c[l]?(e.componentInstance=c[l].componentInstance,w(u,l),u.push(l)):(this.vnodeToCache=e,this.keyToCache=l),e.data.keepAlive=!0}return e||t&&t[0]}},vi={KeepAlive:di};function mi(t){var e={get:function(){return q}};Object.defineProperty(t,"config",e),t.util={warn:yo,extend:R,mergeOptions:To,defineReactive:Pt},t.set=Dt,t.delete=Nt,t.nextTick=Jn,t.observable=function(t){return Lt(t),t},t.options=Object.create(null),H.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,R(t.options.components,vi),ri(t),oi(t),ii(t),ci(t)}mi(ni),Object.defineProperty(ni.prototype,"$isServer",{get:lt}),Object.defineProperty(ni.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(ni,"FunctionalRenderContext",{value:oo}),ni.version=vr;var yi=_("style,class"),gi=_("input,textarea,option,select,progress"),_i=function(t,e,n){return"value"===n&&gi(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},bi=_("contenteditable,draggable,spellcheck"),wi=_("events,caret,typing,plaintext-only"),Ci=function(t,e){return Si(e)||"false"===e?"false":"contenteditable"===t&&wi(e)?e:"true"},ki=_("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),$i="http://www.w3.org/1999/xlink",xi=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Oi=function(t){return xi(t)?t.slice(6,t.length):""},Si=function(t){return null==t||!1===t};function Ti(t){var e=t.data,n=t,r=t;while(a(r.componentInstance))r=r.componentInstance._vnode,r&&r.data&&(e=Ei(r.data,e));while(a(n=n.parent))n&&n.data&&(e=Ei(e,n.data));return ji(e.staticClass,e.class)}function Ei(t,e){return{staticClass:Ai(t.staticClass,e.staticClass),class:a(t.class)?[t.class,e.class]:e.class}}function ji(t,e){return a(t)||a(e)?Ai(t,Fi(e)):""}function Ai(t,e){return t?e?t+" "+e:t:e||""}function Fi(t){return Array.isArray(t)?Ii(t):f(t)?Ri(t):"string"===typeof t?t:""}function Ii(t){for(var e,n="",r=0,o=t.length;r-1?Vi[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Vi[t]=/HTMLUnknownElement/.test(e.toString())}var Bi=_("text,number,password,search,email,tel,url");function Wi(t){if("string"===typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function Hi(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function zi(t,e){return document.createElementNS(Mi[t],e)}function qi(t){return document.createTextNode(t)}function Ki(t){return document.createComment(t)}function Zi(t,e,n){t.insertBefore(e,n)}function Gi(t,e){t.removeChild(e)}function Ji(t,e){t.appendChild(e)}function Xi(t){return t.parentNode}function Yi(t){return t.nextSibling}function Qi(t){return t.tagName}function ta(t,e){t.textContent=e}function ea(t,e){t.setAttribute(e,"")}var na=Object.freeze({__proto__:null,createElement:Hi,createElementNS:zi,createTextNode:qi,createComment:Ki,insertBefore:Zi,removeChild:Gi,appendChild:Ji,parentNode:Xi,nextSibling:Yi,tagName:Qi,setTextContent:ta,setStyleScope:ea}),ra={create:function(t,e){oa(e)},update:function(t,e){t.data.ref!==e.data.ref&&(oa(t,!0),oa(e))},destroy:function(t){oa(t,!0)}};function oa(t,e){var n=t.data.ref;if(a(n)){var r=t.context,i=t.componentInstance||t.elm,s=e?null:i,c=e?void 0:i;if(l(n))Dn(n,r,[s],r,"template ref function");else{var u=t.data.refInFor,f="string"===typeof n||"number"===typeof n,p=Xt(n),h=r.$refs;if(f||p)if(u){var d=f?h[n]:n.value;e?o(d)&&w(d,i):o(d)?d.includes(i)||d.push(i):f?(h[n]=[i],ia(r,n,h[n])):n.value=[i]}else if(f){if(e&&h[n]!==i)return;h[n]=c,ia(r,n,s)}else if(p){if(e&&n.value!==i)return;n.value=s}else 0}}}function ia(t,e,n){var r=t._setupState;r&&k(r,e)&&(Xt(r[e])?r[e].value=n:r[e]=n)}var aa=new gt("",{},[]),sa=["create","activate","update","remove","destroy"];function ca(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&a(t.data)===a(e.data)&&ua(t,e)||s(t.isAsyncPlaceholder)&&i(e.asyncFactory.error))}function ua(t,e){if("input"!==t.tag)return!0;var n,r=a(n=t.data)&&a(n=n.attrs)&&n.type,o=a(n=e.data)&&a(n=n.attrs)&&n.type;return r===o||Bi(r)&&Bi(o)}function la(t,e,n){var r,o,i={};for(r=e;r<=n;++r)o=t[r].key,a(o)&&(i[o]=r);return i}function fa(t){var e,n,r={},c=t.modules,l=t.nodeOps;for(e=0;ev?(f=i(n[g+1])?null:n[g+1].elm,$(t,f,n,h,g,r)):h>g&&O(e,p,v)}function E(t,e,n,r){for(var o=n;o-1?Ca(t,e,n):ki(e)?Si(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):bi(e)?t.setAttribute(e,Ci(e,n)):xi(e)?Si(n)?t.removeAttributeNS($i,Oi(e)):t.setAttributeNS($i,e,n):Ca(t,e,n)}function Ca(t,e,n){if(Si(n))t.removeAttribute(e);else{if(et&&!nt&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var ka={create:ba,update:ba};function $a(t,e){var n=e.elm,r=e.data,o=t.data;if(!(i(r.staticClass)&&i(r.class)&&(i(o)||i(o.staticClass)&&i(o.class)))){var s=Ti(e),c=n._transitionClasses;a(c)&&(s=Ai(s,Fi(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var xa,Oa={create:$a,update:$a},Sa="__r",Ta="__c";function Ea(t){if(a(t[Sa])){var e=et?"change":"input";t[e]=[].concat(t[Sa],t[e]||[]),delete t[Sa]}a(t[Ta])&&(t.change=[].concat(t[Ta],t.change||[]),delete t[Ta])}function ja(t,e,n){var r=xa;return function o(){var i=e.apply(null,arguments);null!==i&&Ia(t,o,n,r)}}var Aa=Bn&&!(at&&Number(at[1])<=53);function Fa(t,e,n,r){if(Aa){var o=qr,i=e;e=i._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=o||t.timeStamp<=0||t.target.ownerDocument!==document)return i.apply(this,arguments)}}xa.addEventListener(t,e,ct?{capture:n,passive:r}:n)}function Ia(t,e,n,r){(r||xa).removeEventListener(t,e._wrapper||e,n)}function Ra(t,e){if(!i(t.data.on)||!i(e.data.on)){var n=e.data.on||{},r=t.data.on||{};xa=e.elm||t.elm,Ea(n),Le(n,r,Fa,Ia,ja,e.context),xa=void 0}}var Ma,La={create:Ra,update:Ra,destroy:function(t){return Ra(t,aa)}};function Pa(t,e){if(!i(t.data.domProps)||!i(e.data.domProps)){var n,r,o=e.elm,c=t.data.domProps||{},u=e.data.domProps||{};for(n in(a(u.__ob__)||s(u._v_attr_proxy))&&(u=e.data.domProps=R({},u)),c)n in u||(o[n]="");for(n in u){if(r=u[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),r===c[n])continue;1===o.childNodes.length&&o.removeChild(o.childNodes[0])}if("value"===n&&"PROGRESS"!==o.tagName){o._value=r;var l=i(r)?"":String(r);Da(o,l)&&(o.value=l)}else if("innerHTML"===n&&Pi(o.tagName)&&i(o.innerHTML)){Ma=Ma||document.createElement("div"),Ma.innerHTML="".concat(r,"");var f=Ma.firstChild;while(o.firstChild)o.removeChild(o.firstChild);while(f.firstChild)o.appendChild(f.firstChild)}else if(r!==c[n])try{o[n]=r}catch(nc){}}}}function Da(t,e){return!t.composing&&("OPTION"===t.tagName||Na(t,e)||Va(t,e))}function Na(t,e){var n=!0;try{n=document.activeElement!==t}catch(nc){}return n&&t.value!==e}function Va(t,e){var n=t.value,r=t._vModifiers;if(a(r)){if(r.number)return g(n)!==g(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}var Ua={create:Pa,update:Pa},Ba=$((function(t){var e={},n=/;(?![^(]*\))/g,r=/:(.+)/;return t.split(n).forEach((function(t){if(t){var n=t.split(r);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}));function Wa(t){var e=Ha(t.style);return t.staticStyle?R(t.staticStyle,e):e}function Ha(t){return Array.isArray(t)?M(t):"string"===typeof t?Ba(t):t}function za(t,e){var n,r={};if(e){var o=t;while(o.componentInstance)o=o.componentInstance._vnode,o&&o.data&&(n=Wa(o.data))&&R(r,n)}(n=Wa(t.data))&&R(r,n);var i=t;while(i=i.parent)i.data&&(n=Wa(i.data))&&R(r,n);return r}var qa,Ka=/^--/,Za=/\s*!important$/,Ga=function(t,e,n){if(Ka.test(e))t.style.setProperty(e,n);else if(Za.test(n))t.style.setProperty(E(e),n.replace(Za,""),"important");else{var r=Xa(e);if(Array.isArray(n))for(var o=0,i=n.length;o-1?e.split(ts).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" ".concat(t.getAttribute("class")||""," ");n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function ns(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(ts).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{var n=" ".concat(t.getAttribute("class")||""," "),r=" "+e+" ";while(n.indexOf(r)>=0)n=n.replace(r," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function rs(t){if(t){if("object"===typeof t){var e={};return!1!==t.css&&R(e,os(t.name||"v")),R(e,t),e}return"string"===typeof t?os(t):void 0}}var os=$((function(t){return{enterClass:"".concat(t,"-enter"),enterToClass:"".concat(t,"-enter-to"),enterActiveClass:"".concat(t,"-enter-active"),leaveClass:"".concat(t,"-leave"),leaveToClass:"".concat(t,"-leave-to"),leaveActiveClass:"".concat(t,"-leave-active")}})),is=Q&&!nt,as="transition",ss="animation",cs="transition",us="transitionend",ls="animation",fs="animationend";is&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(cs="WebkitTransition",us="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(ls="WebkitAnimation",fs="webkitAnimationEnd"));var ps=Q?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function hs(t){ps((function(){ps(t)}))}function ds(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),es(t,e))}function vs(t,e){t._transitionClasses&&w(t._transitionClasses,e),ns(t,e)}function ms(t,e,n){var r=gs(t,e),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s=o===as?us:fs,c=0,u=function(){t.removeEventListener(s,l),n()},l=function(e){e.target===t&&++c>=a&&u()};setTimeout((function(){c0&&(n=as,l=a,f=i.length):e===ss?u>0&&(n=ss,l=u,f=c.length):(l=Math.max(a,u),n=l>0?a>u?as:ss:null,f=n?n===as?i.length:c.length:0);var p=n===as&&ys.test(r[cs+"Property"]);return{type:n,timeout:l,propCount:f,hasTransform:p}}function _s(t,e){while(t.length1}function xs(t,e){!0!==e.data.show&&ws(e)}var Os=Q?{create:xs,activate:xs,remove:function(t,e){!0!==t.data.show?Cs(t,e):e()}}:{},Ss=[ka,Oa,La,Ua,Qa,Os],Ts=Ss.concat(_a),Es=fa({nodeOps:na,modules:Ts});nt&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&Ps(t,"input")}));var js={inserted:function(t,e,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?Pe(n,"postpatch",(function(){js.componentUpdated(t,e,n)})):As(t,e,n.context),t._vOptions=[].map.call(t.options,Rs)):("textarea"===n.tag||Bi(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",Ms),t.addEventListener("compositionend",Ls),t.addEventListener("change",Ls),nt&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){As(t,e,n.context);var r=t._vOptions,o=t._vOptions=[].map.call(t.options,Rs);if(o.some((function(t,e){return!N(t,r[e])}))){var i=t.multiple?e.value.some((function(t){return Is(t,o)})):e.value!==e.oldValue&&Is(e.value,o);i&&Ps(t,"change")}}}};function As(t,e,n){Fs(t,e,n),(et||rt)&&setTimeout((function(){Fs(t,e,n)}),0)}function Fs(t,e,n){var r=e.value,o=t.multiple;if(!o||Array.isArray(r)){for(var i,a,s=0,c=t.options.length;s-1,a.selected!==i&&(a.selected=i);else if(N(Rs(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));o||(t.selectedIndex=-1)}}function Is(t,e){return e.every((function(e){return!N(e,t)}))}function Rs(t){return"_value"in t?t._value:t.value}function Ms(t){t.target.composing=!0}function Ls(t){t.target.composing&&(t.target.composing=!1,Ps(t.target,"input"))}function Ps(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Ds(t){return!t.componentInstance||t.data&&t.data.transition?t:Ds(t.componentInstance._vnode)}var Ns={bind:function(t,e,n){var r=e.value;n=Ds(n);var o=n.data&&n.data.transition,i=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&o?(n.data.show=!0,ws(n,(function(){t.style.display=i}))):t.style.display=r?i:"none"},update:function(t,e,n){var r=e.value,o=e.oldValue;if(!r!==!o){n=Ds(n);var i=n.data&&n.data.transition;i?(n.data.show=!0,r?ws(n,(function(){t.style.display=t.__vOriginalDisplay})):Cs(n,(function(){t.style.display="none"}))):t.style.display=r?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,r,o){o||(t.style.display=t.__vOriginalDisplay)}},Vs={model:js,show:Ns},Us={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Bs(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Bs(En(e.children)):t}function Ws(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var o=n._parentListeners;for(var r in o)e[O(r)]=o[r];return e}function Hs(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function zs(t){while(t=t.parent)if(t.data.transition)return!0}function qs(t,e){return e.key===t.key&&e.tag===t.tag}var Ks=function(t){return t.tag||cn(t)},Zs=function(t){return"show"===t.name},Gs={name:"transition",props:Us,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(Ks),n.length)){0;var r=this.mode;0;var o=n[0];if(zs(this.$vnode))return o;var i=Bs(o);if(!i)return o;if(this._leaving)return Hs(t,o);var a="__transition-".concat(this._uid,"-");i.key=null==i.key?i.isComment?a+"comment":a+i.tag:u(i.key)?0===String(i.key).indexOf(a)?i.key:a+i.key:i.key;var s=(i.data||(i.data={})).transition=Ws(this),c=this._vnode,l=Bs(c);if(i.data.directives&&i.data.directives.some(Zs)&&(i.data.show=!0),l&&l.data&&!qs(i,l)&&!cn(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var f=l.data.transition=R({},s);if("out-in"===r)return this._leaving=!0,Pe(f,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),Hs(t,o);if("in-out"===r){if(cn(i))return c;var p,h=function(){p()};Pe(s,"afterEnter",h),Pe(s,"enterCancelled",h),Pe(f,"delayLeave",(function(t){p=t}))}}return o}}},Js=R({tag:String,moveClass:String},Us);delete Js.mode;var Xs={props:Js,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var o=jr(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,o(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots.default||[],i=this.children=[],a=Ws(this),s=0;s{e.style.height=n}))},leave(e){const{height:t}=getComputedStyle(e);e.style.height=t,getComputedStyle(e).height,requestAnimationFrame((()=>{e.style.height=0}))}}};return e("transition",n,t.children)}},r=a,o=n(1001),l=(0,o.Z)(r,i,s,!1,null,null,null),c=l.exports},1350:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return uh}});var i=function(){var e=this,t=e._self._c;return t("CodeTheme",{staticClass:"doc-topic-view"},[e.topicData?[e.isTargetIDE?e._e():t("Nav",{attrs:{diffAvailability:e.topicProps.diffAvailability,interfaceLanguage:e.topicProps.interfaceLanguage,objcPath:e.objcPath,swiftPath:e.swiftPath,displaySidenav:e.enableNavigator},on:{"toggle-sidenav":e.handleToggleSidenav},scopedSlots:e._u([{key:"title",fn:function(){return[t(e.rootLink?"router-link":"span",{tag:"component",staticClass:"nav-title-link",attrs:{to:e.rootLink}},[e._v(" "+e._s(e.$t("documentation.title"))+" ")])]},proxy:!0}],null,!1,2216319616)}),t(e.enableNavigator?"AdjustableSidebarWidth":"StaticContentWidth",e._g(e._b({tag:"component",staticClass:"full-width-container topic-wrapper",scopedSlots:e._u([{key:"aside",fn:function({scrollLockID:n,breakpoint:i}){return[t("NavigatorDataProvider",{ref:"NavigatorDataProvider",attrs:{"interface-language":e.topicProps.interfaceLanguage,technologyUrl:e.technology.url,"api-changes-version":e.store.state.selectedAPIChangesVersion},scopedSlots:e._u([{key:"default",fn:function(s){return[t("div",{staticClass:"doc-topic-aside"},[e.enableQuickNavigation?t("QuickNavigationModal",{attrs:{children:s.flatChildren,showQuickNavigationModal:e.showQuickNavigationModal,technology:e.technology.title},on:{"update:showQuickNavigationModal":function(t){e.showQuickNavigationModal=t},"update:show-quick-navigation-modal":function(t){e.showQuickNavigationModal=t}}}):e._e(),t("transition",{attrs:{name:"delay-hiding"}},[t("Navigator",{directives:[{name:"show",rawName:"v-show",value:e.sidenavVisibleOnMobile||i===e.BreakpointName.large,expression:"sidenavVisibleOnMobile || breakpoint === BreakpointName.large"}],attrs:{flatChildren:s.flatChildren,"parent-topic-identifiers":e.parentTopicIdentifiers,technology:s.technology||e.technology,"is-fetching":s.isFetching,"error-fetching":s.errorFetching,"api-changes":s.apiChanges,references:e.topicProps.references,symbolKind:e.topicProps.symbolKind,"navigator-references":s.references,scrollLockID:n,"render-filter-on-top":i!==e.BreakpointName.large},on:{close:function(t){return e.handleToggleSidenav(i)}},scopedSlots:e._u([e.enableQuickNavigation?{key:"filter",fn:function(){return[t("QuickNavigationButton",{nativeOn:{click:function(t){return e.openQuickNavigationModal.apply(null,arguments)}}})]},proxy:!0}:null,{key:"navigator-head",fn:function(){return[t(e.rootLink?"router-link":"span",{tag:"component",attrs:{to:e.rootLink}},[e._v(" "+e._s(e.$t("documentation.title"))+" ")])]},proxy:!0}],null,!0)})],1)],1)]}}],null,!0)})]}}],null,!1,3357644401)},"component",e.sidebarProps,!1),e.sidebarListeners),[t("PortalTarget",{attrs:{name:"modal-destination",multiple:""}}),t("Topic",e._b({key:e.topicKey,attrs:{objcPath:e.objcPath,swiftPath:e.swiftPath,isSymbolDeprecated:e.isSymbolDeprecated,isSymbolBeta:e.isSymbolBeta,languagePaths:e.languagePaths,enableOnThisPageNav:e.enableOnThisPageNav,enableMinimized:e.enableMinimized,hierarchyItems:e.hierarchyItems}},"Topic",e.topicProps,!1))],1)]:e._e()],2)},s=[];const a="/";function r(e){return e.replace(/~[0,1]/g,(e=>({"~0":"~","~1":"/"}[e]||e)))}function*o(e){const t=1;if(e.lengtht)throw new Error(`invalid array index ${e}`);return n}function*p(e,t,n={strict:!1}){let i=e;for(const s of o(t)){if(n.strict&&!Object.prototype.hasOwnProperty.call(i,s))throw new u(t);i=i[s],yield{node:i,token:s}}}function g(e,t){let n=e;for(const{node:i}of p(e,t,{strict:!0}))n=i;return n}function f(e,t,n){let i=null,s=e,a=null;for(const{node:o,token:l}of p(e,t))i=s,s=o,a=l;if(!i)throw new u(t);if(Array.isArray(i))try{const e=h(a,i);i.splice(e,0,n)}catch(r){throw new u(t)}else Object.assign(i,{[a]:n});return e}function m(e,t){let n=null,i=e,s=null;for(const{node:r,token:o}of p(e,t))n=i,i=r,s=o;if(!n)throw new u(t);if(Array.isArray(n))try{const e=h(s,n);n.splice(e,1)}catch(a){throw new u(t)}else{if(!i)throw new u(t);delete n[s]}return e}function y(e,t,n){return m(e,t),f(e,t,n),e}function v(e,t,n){const i=g(e,t);return m(e,t),f(e,n,i),e}function b(e,t,n){return f(e,n,g(e,t)),e}function T(e,t,n){function i(e,t){const n=typeof e,s=typeof t;if(n!==s)return!1;switch(n){case d:{const n=Object.keys(e),s=Object.keys(t);return n.length===s.length&&n.every(((n,a)=>n===s[a]&&i(e[n],t[n])))}default:return e===t}}const s=g(e,t);if(!i(n,s))throw new Error("test failed");return e}const _={add:(e,{path:t,value:n})=>f(e,t,n),copy:(e,{from:t,path:n})=>b(e,t,n),move:(e,{from:t,path:n})=>v(e,t,n),remove:(e,{path:t})=>m(e,t),replace:(e,{path:t,value:n})=>y(e,t,n),test:(e,{path:t,value:n})=>T(e,t,n)};function S(e,{op:t,...n}){const i=_[t];if(!i)throw new Error("unknown operation");return i(e,n)}function k(e,t){return t.reduce(S,e)}var C=n(7192),w=n(8841),x=n(2433),I=function(){var e=this,t=e._self._c;return t("div",{staticClass:"doc-topic",class:{"with-on-this-page":e.enableOnThisPageNav&&e.isOnThisPageNavVisible}},[t(e.isTargetIDE?"div":"main",{tag:"component",staticClass:"main",attrs:{id:"main"}},[t("DocumentationHero",{attrs:{role:e.role,enhanceBackground:e.enhanceBackground,enableMinimized:e.enableMinimized,shortHero:e.shortHero,shouldShowLanguageSwitcher:e.shouldShowLanguageSwitcher,iconOverride:e.references[e.pageIcon],standardColorIdentifier:e.standardColorIdentifier},scopedSlots:e._u([{key:"above-content",fn:function(){return[e._t("above-hero-content")]},proxy:!0}],null,!0)},[e._t("above-title"),e.hierarchyItems.length&&!e.enableMinimized?t("Hierarchy",{attrs:{currentTopicTitle:e.title,isSymbolDeprecated:e.isSymbolDeprecated,isSymbolBeta:e.isSymbolBeta,parentTopicIdentifiers:e.hierarchyItems,currentTopicTags:e.tags}}):e._e(),e.shouldShowLanguageSwitcher?t("LanguageSwitcher",{attrs:{interfaceLanguage:e.interfaceLanguage,objcPath:e.objcPath,swiftPath:e.swiftPath}}):e._e(),t("Title",{class:{"minimized-title":e.enableMinimized},attrs:{eyebrow:e.enableMinimized?null:e.roleHeading},scopedSlots:e._u([e.isSymbolDeprecated||e.isSymbolBeta?{key:"after",fn:function(){return[t("small",{class:e.tagName,attrs:{"data-tag-name":e.tagName}})]},proxy:!0}:null],null,!0)},[t(e.titleBreakComponent,{tag:"component"},[e._v(e._s(e.title))])],1),e.abstract?t("Abstract",{class:{"minimized-abstract":e.enableMinimized},attrs:{content:e.abstract}}):e._e(),e.sampleCodeDownload?t("div",[t("DownloadButton",{staticClass:"sample-download",attrs:{action:e.sampleCodeDownload.action}})],1):e._e(),e.shouldShowAvailability?t("Availability",{attrs:{platforms:e.platforms,technologies:e.technologies}}):e._e(),e.declarations.length?t("div",{staticClass:"declarations-container",class:{"minimized-container":e.enableMinimized}},e._l(e.declarations,(function(n,i){return t("Declaration",{key:i,attrs:{conformance:e.conformance,declarations:n.declarations,source:e.remoteSource,declListExpanded:e.declListExpanded},on:{"update:declListExpanded":function(t){e.declListExpanded=t},"update:decl-list-expanded":function(t){e.declListExpanded=t}}})})),1):e._e()],2),t("div",{staticClass:"doc-content-wrapper"},[t("div",{staticClass:"doc-content",class:{"no-primary-content":!e.hasPrimaryContent&&e.enhanceBackground}},[e.hasPrimaryContent||e.hasOtherDeclarations?t("div",{class:["container",{"minimized-container":e.enableMinimized}]},[e.declListExpanded?e._e():t("div",{staticClass:"description",class:{"after-enhanced-hero":e.enhanceBackground}},[e.isRequirement?t("RequirementMetadata",{attrs:{defaultImplementationsCount:e.defaultImplementationsCount}}):e._e(),e.deprecationSummary&&e.deprecationSummary.length?t("Aside",{attrs:{kind:"deprecated"}},[t("ContentNode",{attrs:{content:e.deprecationSummary}})],1):e._e(),e.downloadNotAvailableSummary&&e.downloadNotAvailableSummary.length?t("Aside",{attrs:{kind:"note"}},[t("ContentNode",{attrs:{content:e.downloadNotAvailableSummary}})],1):e._e()],1),e.hasOtherDeclarations?t("div",{staticClass:"declaration-list-menu"},[t("button",{staticClass:"declaration-list-toggle",on:{click:e.toggleDeclList}},[e._v(" "+e._s(e.declListToggleText)+" "),t("div",{staticClass:"icon"},[t("InlinePlusCircleIcon",{class:{expand:e.declListExpanded}})],1)])]):e._e(),e.primaryContentSectionsSanitized&&e.primaryContentSectionsSanitized.length?t("PrimaryContent",{class:{"with-border":!e.enhanceBackground},attrs:{conformance:e.conformance,source:e.remoteSource,sections:e.primaryContentSectionsSanitized}}):e._e(),e.shouldShowViewMoreLink?t("ViewMore",{attrs:{url:e.viewMoreLink}}):e._e()],1):e._e(),e.shouldRenderTopicSection?t("Topics",{attrs:{sections:e.topicSections,isSymbolDeprecated:e.isSymbolDeprecated,isSymbolBeta:e.isSymbolBeta,topicStyle:e.topicSectionsStyle}}):e._e(),e.defaultImplementationsSections&&!e.enableMinimized?t("DefaultImplementations",{attrs:{sections:e.defaultImplementationsSections,isSymbolDeprecated:e.isSymbolDeprecated,isSymbolBeta:e.isSymbolBeta}}):e._e(),e.relationshipsSections&&!e.enableMinimized?t("Relationships",{attrs:{sections:e.relationshipsSections}}):e._e(),e.seeAlsoSections&&!e.enableMinimized?t("SeeAlso",{attrs:{sections:e.seeAlsoSections}}):e._e()],1),e.enableOnThisPageNav?[t("OnThisPageStickyContainer",{directives:[{name:"show",rawName:"v-show",value:e.isOnThisPageNavVisible,expression:"isOnThisPageNavVisible"}]},[e.topicState.onThisPageSections.length>2?t("OnThisPageNav"):e._e()],1)]:e._e()],2),!e.isTargetIDE&&e.hasBetaContent?t("BetaLegalText"):e._e()],1),t("div",{staticClass:"visuallyhidden",attrs:{"aria-live":"polite"}},[e._v(" "+e._s(e.$t("documentation.current-page",{title:e.pageTitle}))+" ")])],1)},$=[],D=n(3078),P=n(2974),L=n(2449),O=n(5947),A=n(4030),N=n(7587),R=function(){var e=this,t=e._self._c;return t("div",{staticClass:"betainfo"},[t("div",{staticClass:"betainfo-container"},[t("GridRow",[t("GridColumn",{attrs:{span:{large:12}}},[t("p",{staticClass:"betainfo-label"},[e._v(e._s(e.$t("metadata.beta.software")))]),t("div",{staticClass:"betainfo-content"},[e._t("content",(function(){return[t("p",[e._v(e._s(e.$t("metadata.beta.legal")))])]}))],2),e._t("after")],2)],1)],1)])},B=[],E=n(9649),M=n(1576),z={name:"BetaLegalText",components:{GridColumn:M.Z,GridRow:E.Z}},K=z,Z=n(1001),q=(0,Z.Z)(K,R,B,!1,null,"ba3b3cc0",null),j=q.exports,F=function(){var e=this,t=e._self._c;return t("Section",{staticClass:"language",attrs:{role:"complementary","aria-label":e.$t("language")}},[t("Title",[e._v(e._s(e.$t("formats.colon",{content:e.$t("language")})))]),t("div",{staticClass:"language-list"},[t("LanguageSwitcherLink",{staticClass:"language-option swift",class:{active:e.swift.active},attrs:{url:e.swift.active?null:e.swift.url},on:{click:function(t){return e.chooseLanguage(e.swift)}}},[e._v(" "+e._s(e.swift.name)+" ")]),t("LanguageSwitcherLink",{staticClass:"language-option objc",class:{active:e.objc.active},attrs:{url:e.objc.active?null:e.objc.url},on:{click:function(t){return e.chooseLanguage(e.objc)}}},[e._v(" "+e._s(e.objc.name)+" ")])],1)],1)},H=[],V=function(){var e=this,t=e._self._c;return e.url?t("a",{attrs:{href:e.url},on:{click:function(t){return t.preventDefault(),e.$emit("click")}}},[e._t("default")],2):t("span",[e._t("default")],2)},W=[],U={name:"LanguageSwitcherLink",props:{url:[String,Object]}},G=U,Q=(0,Z.Z)(G,V,W,!1,null,"2ca5e993",null),X=Q.exports,Y=function(){var e=this,t=e._self._c;return t("div",{staticClass:"summary-section"},[e._t("default")],2)},J=[],ee={name:"Section"},te=ee,ne=(0,Z.Z)(te,Y,J,!1,null,"3aa6f694",null),ie=ne.exports,se=function(){var e=this,t=e._self._c;return t("p",{staticClass:"title"},[e._t("default")],2)},ae=[],re={name:"Title"},oe=re,le=(0,Z.Z)(oe,se,ae,!1,null,"246c819c",null),ce=le.exports,de={name:"LanguageSwitcher",components:{LanguageSwitcherLink:X,Section:ie,Title:ce},inject:{isTargetIDE:{default:()=>!1},store:{default(){return{setPreferredLanguage(){}}}}},props:{interfaceLanguage:{type:String,required:!0},objcPath:{type:String,required:!0},swiftPath:{type:String,required:!0}},computed:{objc:({interfaceLanguage:e,objcPath:t,$route:{query:n}})=>({...D.Z.objectiveC,active:D.Z.objectiveC.key.api===e,url:(0,L.Q2)((0,O.Jf)(t),{...n,language:D.Z.objectiveC.key.url})}),swift:({interfaceLanguage:e,swiftPath:t,$route:{query:n}})=>({...D.Z.swift,active:D.Z.swift.key.api===e,url:(0,L.Q2)((0,O.Jf)(t),{...n,language:void 0})})},methods:{chooseLanguage(e){this.isTargetIDE||this.store.setPreferredLanguage(e.key.url),this.$router.push(e.url)}}},ue=de,he=(0,Z.Z)(ue,F,H,!1,null,"0e39c0ba",null),pe=he.exports,ge=function(){var e=this,t=e._self._c;return t("div",{staticClass:"view-more-link"},[t("router-link",{staticClass:"base-link",attrs:{to:e.url}},[e._t("default",(function(){return[e._v(e._s(e.$t("documentation.view-more")))]}))],2)],1)},fe=[],me={name:"ViewMore",props:{url:{type:String,required:!0}}},ye=me,ve=(0,Z.Z)(ye,ge,fe,!1,null,"3f54e653",null),be=ve.exports,Te=function(){var e=this,t=e._self._c;return t("div",{class:["documentation-hero",{"documentation-hero--disabled":!e.enhanceBackground}],style:e.styles},[t("div",{staticClass:"icon"},[e.enhanceBackground?t("TopicTypeIcon",{key:"first",staticClass:"background-icon first-icon",attrs:{type:e.type,"image-override":e.iconOverride,"with-colors":""}}):e._e()],1),t("div",{staticClass:"documentation-hero__above-content"},[e._t("above-content")],2),t("div",{staticClass:"documentation-hero__content",class:{"short-hero":e.shortHero,"extra-bottom-padding":e.shouldShowLanguageSwitcher,"minimized-hero":e.enableMinimized}},[e._t("default")],2)])},_e=[],Se=n(636),ke=n(5629),Ce=n(1869);const we={red:"red",orange:"orange",yellow:"yellow",blue:"blue",green:"green",purple:"purple",gray:"gray"};var xe={name:"DocumentationHero",components:{TopicTypeIcon:Se.Z},props:{role:{type:String,required:!0},enhanceBackground:{type:Boolean,required:!0},enableMinimized:{type:Boolean,default:!1},shortHero:{type:Boolean,required:!0},shouldShowLanguageSwitcher:{type:Boolean,required:!0},iconOverride:{type:Object,required:!1},standardColorIdentifier:{type:String,required:!1,validator:e=>Object.prototype.hasOwnProperty.call(we,e)}},computed:{color:({type:e})=>Ce.g[ke.$[e]||e]||Ce.c.teal,styles:({color:e,standardColorIdentifier:t})=>({"--accent-color":`var(--color-documentation-intro-accent, var(--color-type-icon-${e}))`,"--standard-accent-color":t&&`var(--color-standard-${t}-documentation-intro-fill, var(--color-standard-${t}))`}),type:({role:e})=>{switch(e){case C.L.collection:return ke.t.module;case C.L.collectionGroup:return ke.t.collection;default:return e}}}},Ie=xe,$e=(0,Z.Z)(Ie,Te,_e,!1,null,"283b44ff",null),De=$e.exports,Pe=n(352),Le=n(3946),Oe=function(){var e=this,t=e._self._c;return t("div",{staticClass:"OnThisPageNav"},[t("ul",{staticClass:"items"},e._l(e.onThisPageSections,(function(n){return t("li",{key:n.anchor,class:e.getItemClasses(n)},[t("router-link",{staticClass:"base-link",attrs:{to:n.url},nativeOn:{click:function(t){return e.handleFocusAndScroll(n.anchor)}}},[t(e.getWrapperComponent(n),{tag:"component"},[e._v(" "+e._s(e.getTextContent(n))+" ")])],1)],1)})),0)])},Ae=[];function Ne(e,t){let n,i;return function(...s){const a=this;if(!i)return e.apply(a,s),void(i=Date.now());clearTimeout(n),n=setTimeout((()=>{Date.now()-i>=t&&(e.apply(a,s),i=Date.now())}),t-(Date.now()-i))}}var Re=n(5657),Be=n(3704),Ee={name:"OnThisPageNav",components:{WordBreak:Pe.Z},mixins:[Be.Z],inject:{store:{default(){return{state:{onThisPageSections:[],currentPageAnchor:null}}}}},computed:{onThisPageSections:({store:e,$route:t})=>e.state.onThisPageSections.map((e=>({...e,url:(0,L.Q2)(`#${e.anchor}`,t.query)}))),currentPageAnchor:({store:e})=>e.state.currentPageAnchor},async mounted(){window.addEventListener("scroll",this.onScroll,!1),this.$once("hook:beforeDestroy",(()=>{window.removeEventListener("scroll",this.onScroll)}))},watch:{onThisPageSections:{immediate:!0,async handler(){await(0,Re.J)(8),this.onScroll()}}},methods:{onScroll:Ne((function(){const e=this.onThisPageSections.length;if(!e)return;const{scrollY:t,innerHeight:n}=window,{scrollHeight:i}=document.body,s=t+n>=i,a=t<=0,r=.3*n+t;if(a||s){const t=a?0:e-1;return void this.store.setCurrentPageSection(this.onThisPageSections[t].anchor)}let o,l,c=null;for(o=0;ot.concat(n).concat(e),space:()=>({type:Ve.Z.InlineType.text,text:" "})}},Ue=We,Ge=(0,Z.Z)(Ue,Fe,He,!1,null,"4c6f3ed1",null),Qe=Ge.exports,Xe=function(){var e=this,t=e._self._c;return t("div",{ref:"apiChangesDiff",staticClass:"declaration-group",class:e.classes},[e.shouldCaption?t("p",{staticClass:"platforms"},[t("strong",[e._v(e._s(e.caption))])]):e._e(),e._l(e.declarationTokens,(function(n){return t("transition-expand",{key:n.identifier},[!e.hasOtherDeclarations||n.identifier===e.selectedIdentifier||e.isExpanded?t("div",{staticClass:"declaration-pill",class:{"declaration-pill--expanded":e.hasOtherDeclarations&&e.isExpanded}},[t(e.getWrapperComponent(n),{tag:"component",staticClass:"declaration-source-wrapper",on:{click:function(t){return e.selectDeclaration(n.identifier)}}},[t("Source",{class:{"selected-declaration":e.isSelectedDeclaration(n.identifier)},attrs:{tokens:n.tokens,language:e.interfaceLanguage}})],1)],1):e._e()])}))],2)},Ye=[],Je=function(){var e=this,t=e._self._c;return t("pre",{ref:"declarationGroup",staticClass:"source",class:{[e.multipleLinesClass]:e.displaysMultipleLines,"has-multiple-lines":e.hasMultipleLines}},[t("CodeBlock",{ref:"code"},e._l(e.formattedTokens,(function(n,i){return t("Token",e._b({key:i},"Token",e.propsFor(n),!1))})),1)],1)},et=[];function tt(e){const t=e.getElementsByClassName("token-identifier");if(t.length<2)return;const n=e.textContent.indexOf(":")+1;for(let i=1;i(0,at.$8)(["theme","code","indentationWidth"],ct),formattedTokens:({language:e,formattedSwiftTokens:t,tokens:n})=>e===D.Z.swift.key.api?t:n,formattedSwiftTokens:({indentationWidth:e,tokens:t})=>{const n=" ".repeat(e);let i=!1;const s=[];let a=0,r=null,o=null,l=null,c=null,d=0,u=null;while(ae===lt.attribute||e===lt.externalParam;e.text&&e.text.endsWith(", ")&&g&&f(g)&&(h.text=`${e.text.trimEnd()}\n${n}`,i=!0),s.push(h),a+=1}if(i&&null!==r){const e=s[r].text;s[r].text=`${e}\n${n}`}if(i&&null!==l){const e=s[l].text,t=e.slice(0,c),n=e.slice(c),i=`${t}\n${n}`;s[l].text=i}return s},hasMultipleLines({formattedTokens:e}){return e.reduce(((t,n,i)=>{let s=/\n/g;return i===e.length-1&&(s=/\n(?!$)/g),n.text?t+(n.text.match(s)||[]).length:t}),1)>=2}},methods:{propsFor(e){return{kind:e.kind,identifier:e.identifier,text:e.text,tokens:e.tokens}},handleWindowResize(){this.displaysMultipleLines=(0,it.s)(this.$refs.declarationGroup)}},async mounted(){window.addEventListener("resize",this.handleWindowResize),this.language===D.Z.objectiveC.key.api&&(await this.$nextTick(),nt(this.$refs.code.$el,this.language)),this.handleWindowResize()},beforeDestroy(){window.removeEventListener("resize",this.handleWindowResize)}},ut=dt,ht=(0,Z.Z)(ut,Je,et,!1,null,"d22a3f50",null),pt=ht.exports,gt=n(9732),ft=n(1842),mt={name:"DeclarationGroup",components:{Source:pt,TransitionExpand:gt.Z},data(){return{selectedIdentifier:this.identifier}},mixins:[ft.PH],inject:{languages:{default:()=>new Set},interfaceLanguage:{default:()=>D.Z.swift.key.api},symbolKind:{default:()=>{}},store:{default:()=>({state:{references:{}}})},identifier:{default:()=>{}}},props:{declaration:{type:Object,required:!0},shouldCaption:{type:Boolean,default:!1},changeType:{type:String,required:!1},declListExpanded:{type:Boolean,default:!1}},computed:{hasOtherDeclarations:({declaration:e})=>e.otherDeclarations||null,declarationTokens:({declaration:e,hasOtherDeclarations:t,identifier:n})=>{if(!t)return[e];const{otherDeclarations:{declarations:i,displayIndex:s},tokens:a}=e;return[...i.slice(0,s),{tokens:a,identifier:n},...i.slice(s)]},classes:({changeType:e,multipleLinesClass:t,displaysMultipleLinesAfterAPIChanges:n})=>({[`declaration-group--changed declaration-group--${e}`]:e,[t]:n}),caption(){return this.declaration.platforms.join(", ")},isSwift:({interfaceLanguage:e})=>e===D.Z.swift.key.api,references:({store:e})=>e.state.references,isExpanded:{get:({declListExpanded:e})=>e,set(e){this.$emit("update:declListExpanded",e)}}},methods:{async selectDeclaration(e){e!==this.identifier&&(this.selectedIdentifier=e,await this.$nextTick(),this.isExpanded=!1,await(0,Re.X)(500),this.$router.push(this.references[e].url))},getWrapperComponent(e){return this.isExpanded&&e.identifier!==this.identifier?"button":"div"},isSelectedDeclaration(e){return e===this.selectedIdentifier}}},yt=mt,vt=(0,Z.Z)(yt,Xe,Ye,!1,null,"6df20093",null),bt=vt.exports,Tt=function(){var e=this,t=e._self._c;return t("div",{staticClass:"declaration-diff"},[t("div",{staticClass:"declaration-diff-current"},[t("div",{staticClass:"declaration-diff-version"},[e._v("Current")]),e._l(e.currentDeclarations,(function(n,i){return t("DeclarationGroup",{key:i,attrs:{declaration:n,"should-caption":e.currentDeclarations.length>1,changeType:e.changeType}})}))],2),t("div",{staticClass:"declaration-diff-previous"},[t("div",{staticClass:"declaration-diff-version"},[e._v("Previous")]),e._l(e.previousDeclarations,(function(n,i){return t("DeclarationGroup",{key:i,attrs:{declaration:n,"should-caption":e.previousDeclarations.length>1,changeType:e.changeType}})}))],2)])},_t=[],St={name:"DeclarationDiff",components:{DeclarationGroup:bt},props:{changes:{type:Object,required:!0},changeType:{type:String,required:!0}},computed:{previousDeclarations:({changes:e})=>e.declaration.previous||[],currentDeclarations:({changes:e})=>e.declaration.new||[]}},kt=St,Ct=(0,Z.Z)(kt,Tt,_t,!1,null,"b3e21c4a",null),wt=Ct.exports,xt=function(){var e=this,t=e._self._c;return t("a",{staticClass:"declaration-source-link",attrs:{href:e.url,title:`Open source file for ${e.fileName}`,target:"_blank"}},[e.isSwiftFile?t("SwiftFileIcon",{staticClass:"declaration-icon"}):e._e(),t("WordBreak",[e._v(e._s(e.fileName))])],1)},It=[],$t=n(7834),Dt={name:"DeclarationSourceLink",components:{WordBreak:Pe.Z,SwiftFileIcon:$t.Z},props:{url:{type:String,required:!0},fileName:{type:String,required:!0}},computed:{isSwiftFile:({fileName:e})=>e.endsWith(".swift")}},Pt=Dt,Lt=(0,Z.Z)(Pt,xt,It,!1,null,"5863919c",null),Ot=Lt.exports,At=n(9426),Nt={name:"Declaration",components:{DeclarationDiff:wt,DeclarationGroup:bt,DeclarationSourceLink:Ot,ConditionalConstraints:Qe},constants:{ChangeTypes:At.yf,multipleLinesClass:st._},inject:["identifier","store"],data:({store:{state:e}})=>({state:e,multipleLinesClass:st._}),props:{conformance:{type:Object,required:!1},source:{type:Object,required:!1},declarations:{type:Array,required:!0},declListExpanded:{type:Boolean,default:!1}},computed:{hasPlatformVariants(){return this.declarations.length>1},hasModifiedChanges({declarationChanges:e}){if(!e||!e.declaration)return!1;const t=e.declaration;return!(!(t.new||[]).length||!(t.previous||[]).length)},declarationChanges:({state:{apiChanges:e},identifier:t})=>e&&e[t],changeType:({declarationChanges:e,hasModifiedChanges:t})=>{if(!e)return;const n=e.declaration;return n?t?At.yf.modified:e.change:e.change===At.yf.added?At.yf.added:void 0},changeClasses:({changeType:e})=>({[`changed changed-${e}`]:e}),isExpanded:{get:({declListExpanded:e})=>e,set(e){this.$emit("update:declListExpanded",e)}}}},Rt=Nt,Bt=(0,Z.Z)(Rt,qe,je,!1,null,"036b7e1e",null),Et=Bt.exports,Mt=n(6772),zt=function(){var e=this,t=e._self._c;return t("ContentNode",e._b({staticClass:"abstract"},"ContentNode",e.$props,!1))},Kt=[],Zt={name:"Abstract",components:{ContentNode:Ve.Z},props:Ve.Z.props},qt=Zt,jt=(0,Z.Z)(qt,zt,Kt,!1,null,"f3f57cbe",null),Ft=jt.exports,Ht=n(7605),Vt=function(){var e=this,t=e._self._c;return t("TopicsTable",{attrs:{anchor:e.contentSectionData.anchor,title:e.$t(e.contentSectionData.title),isSymbolDeprecated:e.isSymbolDeprecated,isSymbolBeta:e.isSymbolBeta,sections:e.sections,wrapTitle:!0}})},Wt=[];const Ut={topics:{title:"sections.topics",anchor:"topics",level:2},defaultImplementations:{title:"sections.default-implementations",anchor:"default-implementations",level:2},relationships:{title:"sections.relationships",anchor:"relationships",level:2},seeAlso:{title:"sections.see-also",anchor:"see-also",level:2}},Gt={[Ze.details]:{title:"sections.details",anchor:"details",level:2},[Ze.parameters]:{title:"sections.parameters",anchor:"parameters",level:2},[Ze.possibleValues]:{title:"sections.possible-values",anchor:"possibleValues",level:2}};var Qt=function(){var e=this,t=e._self._c;return t("ContentTable",{attrs:{anchor:e.anchor,title:e.title}},e._l(e.sectionsWithTopics,(function(n,i){return t("ContentTableSection",{key:`${n.title}_${i}`,class:{"no-title":!n.title},attrs:{title:n.title,anchor:n.anchor},scopedSlots:e._u([n.title&&e.wrapTitle?{key:"title",fn:function({className:i}){return[t("LinkableHeading",{class:i,attrs:{level:3,anchor:n.anchor}},[t("WordBreak",[e._v(e._s(n.title))])],1)]}}:null,n.abstract?{key:"abstract",fn:function(){return[t("ContentNode",{attrs:{content:n.abstract}})]},proxy:!0}:null,n.discussion?{key:"discussion",fn:function(){return[t("ContentNode",{attrs:{content:n.discussion.content}})]},proxy:!0}:null],null,!0)},[e.shouldRenderList?e._l(n.topics,(function(n){return t("TopicsLinkBlock",{key:n.identifier,staticClass:"topic",attrs:{topic:n,isSymbolDeprecated:e.isSymbolDeprecated,isSymbolBeta:e.isSymbolBeta}})})):t("TopicsLinkCardGrid",{staticClass:"topic",attrs:{items:n.topics,topicStyle:e.topicStyle}})],2)})),1)},Xt=[],Yt=n(3035),Jt=n(8039),en=n(5953),tn=function(){var e=this,t=e._self._c;return t("section",{staticClass:"contenttable alt-light"},[t("div",{staticClass:"container"},[t("LinkableHeading",{staticClass:"title",attrs:{anchor:e.anchor}},[e._v(e._s(e.title))]),e._t("default")],2)])},nn=[],sn={name:"ContentTable",components:{LinkableHeading:Jt.Z},props:{anchor:{type:String,required:!0},title:{type:String,required:!0}}},an=sn,rn=(0,Z.Z)(an,tn,nn,!1,null,"6e075935",null),on=rn.exports,ln=function(){var e=this,t=e._self._c;return t("div",{staticClass:"contenttable-section"},[t("div",{staticClass:"section-title"},[e._t("title",(function(){return[e.title?t("LinkableHeading",{class:e.className,attrs:{level:3,anchor:e.anchorComputed}},[e._v(e._s(e.title))]):e._e()]}),{className:e.className})],2),t("div",{staticClass:"section-content"},[e._t("abstract"),e._t("discussion"),e._t("default")],2)])},cn=[],dn=n(3208);const un="contenttable-title";var hn={name:"ContentTableSection",components:{LinkableHeading:Jt.Z},props:{title:{type:String,required:!1},anchor:{type:String,default:null}},computed:{anchorComputed:({title:e,anchor:t})=>t||(0,dn.HA)(e||""),className:()=>un}},pn=hn,gn=(0,Z.Z)(pn,ln,cn,!1,null,"1b0546d9",null),fn=gn.exports,mn=n(3976),yn={name:"TopicsTable",mixins:[en.Z],components:{TopicsLinkCardGrid:Yt.Z,WordBreak:Pe.Z,ContentTable:on,TopicsLinkBlock:mn["default"],ContentNode:Ve.Z,ContentTableSection:fn,LinkableHeading:Jt.Z},props:{isSymbolDeprecated:Boolean,isSymbolBeta:Boolean,sections:{type:Array,required:!0},title:{type:String,required:!1,default(){return"Topics"}},anchor:{type:String,required:!1,default(){return"topics"}},wrapTitle:{type:Boolean,default:!1},topicStyle:{type:String,default:Le.o.list}},computed:{shouldRenderList:({topicStyle:e})=>e===Le.o.list,sectionsWithTopics(){return this.sections.map((e=>({...e,topics:e.identifiers.reduce(((e,t)=>this.references[t]?e.concat(this.references[t]):e),[])})))}}},vn=yn,bn=(0,Z.Z)(vn,Qt,Xt,!1,null,"1c2724f5",null),Tn=bn.exports,_n={name:"DefaultImplementations",components:{TopicsTable:Tn},computed:{contentSectionData:()=>Ut.defaultImplementations},props:{isSymbolDeprecated:Boolean,isSymbolBeta:Boolean,sections:Tn.props.sections}},Sn=_n,kn=(0,Z.Z)(Sn,Vt,Wt,!1,null,null,null),Cn=kn.exports,wn=function(){var e=this,t=e._self._c;return t("div",{staticClass:"primary-content"},e._l(e.sections,(function(n,i){return t(e.componentFor(n),e._b({key:i,tag:"component"},"component",e.propsFor(n),!1))})),1)},xn=[],In=function(){var e=this,t=e._self._c;return t("section",[t("LinkableHeading",{attrs:{anchor:e.contentSectionData.anchor}},[e._v(" "+e._s(e.$t(e.contentSectionData.title))+" ")]),t("dl",{staticClass:"datalist"},[e._l(e.values,(function(n){return[t("dt",{key:`${n.name}:name`,staticClass:"param-name"},[t("WordBreak",{attrs:{tag:"code"}},[e._v(e._s(n.name))])],1),n.content?t("dd",{key:`${n.name}:content`,staticClass:"value-content"},[t("ContentNode",{attrs:{content:n.content}})],1):e._e()]}))],2)],1)},$n=[],Dn=n(2549),Pn={name:"PossibleValues",components:{ContentNode:Dn["default"],LinkableHeading:Jt.Z,WordBreak:Pe.Z},props:{values:{type:Array,required:!0}},computed:{contentSectionData:()=>Gt[Ze.possibleValues]}},Ln=Pn,On=(0,Z.Z)(Ln,In,$n,!1,null,null,null),An=On.exports,Nn=function(){var e=this,t=e._self._c;return t("section",[t("LinkableHeading",{attrs:{anchor:e.anchor}},[e._v(e._s(e.title))]),t("DeclarationSource",{attrs:{tokens:e.tokens}})],1)},Rn=[],Bn={name:"RestEndpoint",components:{DeclarationSource:pt,LinkableHeading:Jt.Z},props:{title:{type:String,required:!0},tokens:{type:Array,required:!0}},computed:{anchor:({title:e})=>(0,dn.HA)(e)}},En=Bn,Mn=(0,Z.Z)(En,Nn,Rn,!1,null,null,null),zn=Mn.exports,Kn=function(){var e=this,t=e._self._c;return t("section",{staticClass:"details"},[t("LinkableHeading",{attrs:{anchor:e.contentSectionData.anchor}},[e._v(" "+e._s(e.$t(e.contentSectionData.title))+" ")]),t("dl",[e.isSymbol?[t("dt",{key:`${e.details.name}:name`,staticClass:"detail-type"},[e._v(" "+e._s(e.$t("metadata.details.name"))+" ")]),t("dd",{key:`${e.details.ideTitle}:content`,staticClass:"detail-content"},[e._v(" "+e._s(e.details.ideTitle)+" ")])]:e._e(),e.isTitle?[t("dt",{key:`${e.details.name}:key`,staticClass:"detail-type"},[e._v(" "+e._s(e.$t("metadata.details.key"))+" ")]),t("dd",{key:`${e.details.ideTitle}:content`,staticClass:"detail-content"},[e._v(" "+e._s(e.details.name)+" ")])]:e._e(),t("dt",{key:`${e.details.name}:type`,staticClass:"detail-type"},[e._v(" "+e._s(e.$t("metadata.details.type"))+" ")]),t("dd",{staticClass:"detail-content"},[t("PropertyListKeyType",{attrs:{types:e.details.value}})],1)],2)],1)},Zn=[],qn=function(){var e=this,t=e._self._c;return t("div",{staticClass:"type"},[e._v(e._s(e.typeOutput))])},jn=[],Fn={name:"PropertyListKeyType",props:{types:{type:Array,required:!0}},computed:{englishTypes(){return this.types.map((({arrayMode:e,baseType:t="*"})=>e?`array of ${this.pluralizeKeyType(t)}`:t))},typeOutput(){return this.englishTypes.length>2?[this.englishTypes.slice(0,this.englishTypes.length-1).join(", "),this.englishTypes[this.englishTypes.length-1]].join(", or "):this.englishTypes.join(" or ")}},methods:{pluralizeKeyType(e){switch(e){case"dictionary":return"dictionaries";case"array":case"number":case"string":return`${e}s`;default:return e}}}},Hn=Fn,Vn=(0,Z.Z)(Hn,qn,jn,!1,null,"791bac44",null),Wn=Vn.exports,Un={name:"PropertyListKeyDetails",components:{PropertyListKeyType:Wn,LinkableHeading:Jt.Z},props:{details:{type:Object,required:!0}},computed:{contentSectionData:()=>Gt[Ze.details],isTitle(){return"title"===this.details.titleStyle&&this.details.ideTitle},isSymbol(){return"symbol"===this.details.titleStyle&&this.details.ideTitle}}},Gn=Un,Qn=(0,Z.Z)(Gn,Kn,Zn,!1,null,"d66cd00c",null),Xn=Qn.exports,Yn=function(){var e=this,t=e._self._c;return t("section",{staticClass:"parameters"},[t("LinkableHeading",{attrs:{anchor:e.contentSectionData.anchor}},[e._v(" "+e._s(e.$t(e.contentSectionData.title))+" ")]),t("dl",[e._l(e.parameters,(function(n){return[t("dt",{key:`${n.name}:name`,staticClass:"param-name"},[t("code",[e._v(e._s(n.name))])]),t("dd",{key:`${n.name}:content`,staticClass:"param-content"},[t("ContentNode",{attrs:{content:n.content}})],1)]}))],2)],1)},Jn=[],ei={name:"Parameters",components:{ContentNode:Ve.Z,LinkableHeading:Jt.Z},props:{parameters:{type:Array,required:!0}},computed:{contentSectionData:()=>Gt[Ze.parameters]}},ti=ei,ni=(0,Z.Z)(ti,Yn,Jn,!1,null,"5ef1227e",null),ii=ni.exports,si=function(){var e=this,t=e._self._c;return t("section",[t("LinkableHeading",{attrs:{anchor:e.anchor}},[e._v(e._s(e.title))]),t("ParametersTable",{staticClass:"property-table",attrs:{parameters:e.properties,changes:e.propertyChanges},scopedSlots:e._u([{key:"symbol",fn:function({name:n,type:i,content:s,changes:a,deprecated:r}){return[t("div",{staticClass:"property-name",class:{deprecated:r}},[t("WordBreak",{attrs:{tag:"code"}},[e._v(e._s(n))])],1),e.shouldShiftType({name:n,content:s})?e._e():t("PossiblyChangedType",{attrs:{type:i,changes:a.type}})]}},{key:"description",fn:function({name:n,type:i,attributes:s,content:a,required:r,changes:o,deprecated:l,readOnly:c}){return[e.shouldShiftType({name:n,content:a})?t("PossiblyChangedType",{attrs:{type:i,changes:o.type}}):e._e(),l?[t("Badge",{staticClass:"property-deprecated",attrs:{variant:"deprecated"}}),e._v("  ")]:e._e(),t("PossiblyChangedTextAttribute",{attrs:{changes:o.required,value:r}},[e._v(" "+e._s(e.$t("formats.parenthesis",{content:e.$t("required")}))+" ")]),t("PossiblyChangedTextAttribute",{attrs:{changes:o.readOnly,value:c}},[e._v(" "+e._s(e.$t("formats.parenthesis",{content:e.$t("read-only")}))+" ")]),a?t("ContentNode",{attrs:{content:a}}):e._e(),t("ParameterAttributes",{attrs:{attributes:s,changes:o.attributes}})]}}])})],1)},ai=[],ri={inject:["identifier","store"],data:({store:{state:e}})=>({state:e}),computed:{apiChanges:({state:{apiChanges:e},identifier:t})=>e&&e[t]}},oi=n(6137),li=function(){var e=this,t=e._self._c;return t("div",{staticClass:"parameters-table"},e._l(e.parameters,(function(n){return t("Row",{key:n[e.keyBy],staticClass:"param",class:e.changedClasses(n[e.keyBy])},[t("Column",{staticClass:"param-symbol",attrs:{span:{large:3,small:12}}},[e._t("symbol",null,null,e.getProps(n,e.changes[n[e.keyBy]]))],2),t("Column",{staticClass:"param-content",attrs:{span:{large:9,small:12}}},[e._t("description",null,null,e.getProps(n,e.changes[n[e.keyBy]]))],2)],1)})),1)},ci=[],di={name:"ParametersTable",components:{Row:E.Z,Column:M.Z},props:{parameters:{type:Array,required:!0},changes:{type:Object,default:()=>({})},keyBy:{type:String,default:"name"}},methods:{getProps(e,t={}){return{...e,changes:t}},changedClasses(e){const{changes:t}=this,{change:n}=t[e]||{};return{[`changed changed-${n}`]:n}}}},ui=di,hi=(0,Z.Z)(ui,li,ci,!1,null,"eee7e94e",null),pi=hi.exports,gi=function(){var e=this,t=e._self._c;return t("div",{staticClass:"parameter-attributes"},[e.shouldRender(e.AttributeKind.default)?t("ParameterMetaAttribute",e._b({scopedSlots:e._u([{key:"default",fn:function({attribute:n}){return[e._v(" "+e._s(e.$t("formats.colon",{content:n.title||e.$t("parameters.default")}))),t("code",[e._v(e._s(n.value))])]}}],null,!1,2998238055)},"ParameterMetaAttribute",{kind:e.AttributeKind.default,attributes:e.attributesObject,changes:e.changes},!1)):e._e(),e.shouldRender(e.AttributeKind.minimum)?t("ParameterMetaAttribute",e._b({scopedSlots:e._u([{key:"default",fn:function({attribute:n}){return[e._v(" "+e._s(e.$t("formats.colon",{content:n.title||e.$t("parameters.minimum")}))),t("code",[e._v(e._s(n.value))])]}}],null,!1,859757818)},"ParameterMetaAttribute",{kind:e.AttributeKind.minimum,attributes:e.attributesObject,changes:e.changes},!1)):e._e(),e.shouldRender(e.AttributeKind.minimumExclusive)?t("ParameterMetaAttribute",e._b({scopedSlots:e._u([{key:"default",fn:function({attribute:n}){return[e._v(" "+e._s(e.$t("formats.colon",{content:n.title||e.$t("parameters.minimum")}))),t("code",[e._v("> "+e._s(n.value))])]}}],null,!1,770347247)},"ParameterMetaAttribute",{kind:e.AttributeKind.minimumExclusive,attributes:e.attributesObject,changes:e.changes},!1)):e._e(),e.shouldRender(e.AttributeKind.maximum)?t("ParameterMetaAttribute",e._b({scopedSlots:e._u([{key:"default",fn:function({attribute:n}){return[e._v(" "+e._s(e.$t("formats.colon",{content:n.title||e.$t("parameters.maximum")}))),t("code",[e._v(e._s(n.value))])]}}],null,!1,1190666532)},"ParameterMetaAttribute",{kind:e.AttributeKind.maximum,attributes:e.attributesObject,changes:e.changes},!1)):e._e(),e.shouldRender(e.AttributeKind.maximumExclusive)?t("ParameterMetaAttribute",e._b({scopedSlots:e._u([{key:"default",fn:function({attribute:n}){return[e._v(" "+e._s(e.$t("formats.colon",{content:n.title||e.$t("parameters.maximum")}))),t("code",[e._v("< "+e._s(n.value))])]}}],null,!1,1156490099)},"ParameterMetaAttribute",{kind:e.AttributeKind.maximumExclusive,attributes:e.attributesObject,changes:e.changes},!1)):e._e(),e.shouldRender(e.AttributeKind.allowedTypes)?t("ParameterMetaAttribute",e._b({scopedSlots:e._u([{key:"default",fn:function({attribute:n}){return[e._v(" "+e._s(e.$t("formats.colon",{content:e.$tc("parameters.possible-types",e.fallbackToValues(n).length)}))),t("code",[e._l(e.fallbackToValues(n),(function(i,s){return[e._l(i,(function(i,a){return[t("DeclarationToken",e._b({key:`${s}-${a}`},"DeclarationToken",i,!1)),s+1({new:null,previous:null})},value:{type:[Object,Array,String,Boolean],default:null},wrapChanges:{type:Boolean,default:!0},renderSingleChange:{type:Boolean,default:!1}},render(e){const{value:t,changes:n={},wrapChanges:i,renderSingleChange:s}=this,{new:a,previous:r}=n,o=(t,n)=>{const s=this.$scopedSlots.default({value:t});return n&&i?e("div",{class:n},[s]):s?s[0]:null};if(a||r){const t=o(a,vi.added),n=o(r,vi.removed);return s?a&&!r?t:n:e("div",{class:"property-changegroup"},[a?t:"",r?n:""])}return o(t)}},Si=_i,ki=(0,Z.Z)(Si,bi,Ti,!1,null,null,null),Ci=ki.exports,wi={name:"ParameterMetaAttribute",components:{RenderChanged:Ci},props:{kind:{type:String,required:!0},attributes:{type:Object,required:!0},changes:{type:Object,default:()=>({})}}},xi=wi,Ii=(0,Z.Z)(xi,mi,yi,!1,null,"f911f232",null),$i=Ii.exports;const Di={allowedTypes:"allowedTypes",allowedValues:"allowedValues",default:"default",maximum:"maximum",maximumExclusive:"maximumExclusive",minimum:"minimum",minimumExclusive:"minimumExclusive"};var Pi={name:"ParameterAttributes",components:{ParameterMetaAttribute:$i,DeclarationToken:ot["default"]},constants:{AttributeKind:Di},props:{attributes:{type:Array,default:()=>[]},changes:{type:Object,default:()=>({})}},computed:{AttributeKind:()=>Di,attributesObject:({attributes:e})=>e.reduce(((e,t)=>({...e,[t.kind]:t})),{})},methods:{shouldRender(e){return Object.prototype.hasOwnProperty.call(this.attributesObject,e)},fallbackToValues:e=>{const t=e||[];return Array.isArray(t)?t:t.values}}},Li=Pi,Oi=(0,Z.Z)(Li,gi,fi,!1,null,null,null),Ai=Oi.exports,Ni=function(){var e=this,t=e._self._c;return t("RenderChanged",{attrs:{renderSingleChange:"",value:e.value,changes:e.changes},scopedSlots:e._u([{key:"default",fn:function({value:n}){return[n?t("span",{staticClass:"property-text"},[e._t("default")],2):e._e()]}}],null,!0)})},Ri=[],Bi={name:"PossiblyChangedTextAttribute",components:{RenderChanged:Ci},props:{changes:{type:Object,required:!1},value:{type:Boolean,default:!1}}},Ei=Bi,Mi=(0,Z.Z)(Ei,Ni,Ri,!1,null,null,null),zi=Mi.exports,Ki=function(){var e=this,t=e._self._c;return t("RenderChanged",{attrs:{value:e.type,wrapChanges:!1,changes:e.changes},scopedSlots:e._u([{key:"default",fn:function({value:n}){return[t("DeclarationTokenGroup",{staticClass:"property-metadata property-type",attrs:{type:e.getValues(n)}})]}}])})},Zi=[],qi=function(){var e=this,t=e._self._c;return e.type&&e.type.length?t("div",[t("code",e._l(e.type,(function(n,i){return t("DeclarationToken",e._b({key:i},"DeclarationToken",n,!1))})),1)]):e._e()},ji=[],Fi={name:"DeclarationTokenGroup",components:{DeclarationToken:ot["default"]},props:{type:{type:Array,default:()=>[],required:!1}}},Hi=Fi,Vi=(0,Z.Z)(Hi,qi,ji,!1,null,null,null),Wi=Vi.exports,Ui={name:"PossiblyChangedType",components:{DeclarationTokenGroup:Wi,RenderChanged:Ci},props:{type:{type:Array,required:!0},changes:{type:Object,required:!1}},methods:{getValues(e){return Array.isArray(e)?e:e.values}}},Gi=Ui,Qi=(0,Z.Z)(Gi,Ki,Zi,!1,null,"549ed0a8",null),Xi=Qi.exports,Yi={name:"PropertyTable",mixins:[ri],components:{Badge:oi.Z,WordBreak:Pe.Z,PossiblyChangedTextAttribute:zi,PossiblyChangedType:Xi,ParameterAttributes:Ai,ContentNode:Ve.Z,ParametersTable:pi,LinkableHeading:Jt.Z},props:{title:{type:String,required:!0},properties:{type:Array,required:!0}},computed:{anchor:({title:e})=>(0,dn.HA)(e),propertyChanges:({apiChanges:e})=>(e||{}).properties},methods:{shouldShiftType:({content:e=[],name:t})=>!e.length&&t}},Ji=Yi,es=(0,Z.Z)(Ji,si,ai,!1,null,"39899ccf",null),ts=es.exports,ns=function(){var e=this,t=e._self._c;return t("section",[t("LinkableHeading",{attrs:{anchor:e.anchor}},[e._v(e._s(e.title))]),t("ParametersTable",{attrs:{parameters:[e.bodyParam],changes:e.bodyChanges,keyBy:"key"},scopedSlots:e._u([{key:"symbol",fn:function({type:n,content:i,changes:s,name:a}){return[e.shouldShiftType({name:a,content:i})?e._e():t("PossiblyChangedType",{attrs:{type:n,changes:s.type}})]}},{key:"description",fn:function({name:n,content:i,mimeType:s,type:a,changes:r}){return[e.shouldShiftType({name:n,content:i})?t("PossiblyChangedType",{attrs:{type:a,changes:r.type}}):e._e(),i?t("ContentNode",{attrs:{content:i}}):e._e(),s?t("PossiblyChangedMimetype",{attrs:{mimetype:s,changes:r.mimetype,change:r.change}}):e._e()]}}])}),e.parts.length?[t("h3",[e._v(e._s(e.$t("sections.parts")))]),t("ParametersTable",{staticClass:"parts",attrs:{parameters:e.parts,changes:e.partsChanges},scopedSlots:e._u([{key:"symbol",fn:function({name:n,type:i,content:s,changes:a}){return[t("div",{staticClass:"part-name"},[t("WordBreak",{attrs:{tag:"code"}},[e._v(e._s(n))])],1),s?t("PossiblyChangedType",{attrs:{type:i,changes:a.type}}):e._e()]}},{key:"description",fn:function({content:n,mimeType:i,required:s,type:a,attributes:r,changes:o,readOnly:l}){return[t("div",[n?e._e():t("PossiblyChangedType",{attrs:{type:a,changes:o.type}}),t("PossiblyChangedTextAttribute",{attrs:{changes:o.required,value:s}},[e._v("(Required) ")]),t("PossiblyChangedTextAttribute",{attrs:{changes:o.readOnly,value:l}},[e._v("(Read only) ")]),n?t("ContentNode",{attrs:{content:n}}):e._e(),i?t("PossiblyChangedMimetype",{attrs:{mimetype:i,changes:o.mimetype,change:o.change}}):e._e(),t("ParameterAttributes",{attrs:{attributes:r,changes:o.attributes}})],1)]}}],null,!1,1779956822)})]:e._e()],2)},is=[],ss=function(){var e=this,t=e._self._c;return t("RenderChanged",{attrs:{changes:e.changeValues,value:e.mimetype},scopedSlots:e._u([{key:"default",fn:function({value:n}){return[t("div",{staticClass:"response-mimetype"},[e._v(" "+e._s(e.$t("content-type",{value:n}))+" ")])]}}])})},as=[],rs={name:"PossiblyChangedMimetype",components:{RenderChanged:Ci},props:{mimetype:{type:String,required:!0},changes:{type:[Object,String],required:!1},change:{type:String,required:!1}},computed:{changeValues({change:e,changes:t}){return e===At.yf.modified&&"string"!==typeof t?t:void 0}}},os=rs,ls=(0,Z.Z)(os,ss,as,!1,null,"18890a0f",null),cs=ls.exports;const ds="restRequestBody";var us={name:"RestBody",mixins:[ri],components:{PossiblyChangedMimetype:cs,PossiblyChangedTextAttribute:zi,PossiblyChangedType:Xi,WordBreak:Pe.Z,ParameterAttributes:Ai,ContentNode:Ve.Z,ParametersTable:pi,LinkableHeading:Jt.Z},constants:{ChangesKey:ds},props:{bodyContentType:{type:Array,required:!0},content:{type:Array},mimeType:{type:String,required:!0},parts:{type:Array,default:()=>[]},title:{type:String,required:!0}},computed:{anchor:({title:e})=>(0,dn.HA)(e),bodyParam:({bodyContentType:e,content:t,mimeType:n})=>({key:ds,content:t,mimeType:n,type:e}),bodyChanges:({apiChanges:e})=>e||{},partsChanges:({bodyChanges:e})=>(e[ds]||{}).parts},methods:{shouldShiftType:({content:e=[],name:t})=>!e.length&&t}},hs=us,ps=(0,Z.Z)(hs,ns,is,!1,null,"68facc94",null),gs=ps.exports,fs=function(){var e=this,t=e._self._c;return t("section",[t("LinkableHeading",{attrs:{anchor:e.anchor}},[e._v(e._s(e.title))]),t("ParametersTable",{attrs:{parameters:e.parameters,changes:e.parameterChanges},scopedSlots:e._u([{key:"symbol",fn:function({name:n,type:i,content:s,changes:a,deprecated:r}){return[t("div",{staticClass:"param-name",class:{deprecated:r}},[t("WordBreak",{attrs:{tag:"code"}},[e._v(e._s(n))])],1),e.shouldShiftType({content:s,name:n})?e._e():t("PossiblyChangedType",{attrs:{type:i,changes:a.type}})]}},{key:"description",fn:function({name:n,type:i,content:s,required:a,attributes:r,changes:o,deprecated:l,readOnly:c}){return[t("div",[e.shouldShiftType({content:s,name:n})?t("PossiblyChangedType",{attrs:{type:i,changes:o.type}}):e._e(),l?[t("Badge",{staticClass:"param-deprecated",attrs:{variant:"deprecated"}}),e._v("  ")]:e._e(),t("PossiblyChangedTextAttribute",{attrs:{changes:o.required,value:a}},[e._v(" "+e._s(e.$t("formats.parenthesis",{content:e.$t("required")}))+" ")]),t("PossiblyChangedTextAttribute",{attrs:{changes:o.readOnly,value:c}},[e._v(" "+e._s(e.$t("formats.parenthesis",{content:e.$t("read-only")}))+" ")]),s?t("ContentNode",{attrs:{content:s}}):e._e(),t("ParameterAttributes",{attrs:{attributes:r,changes:o}})],2)]}}])})],1)},ms=[],ys={name:"RestParameters",mixins:[ri],components:{Badge:oi.Z,PossiblyChangedType:Xi,PossiblyChangedTextAttribute:zi,ParameterAttributes:Ai,WordBreak:Pe.Z,ContentNode:Ve.Z,ParametersTable:pi,LinkableHeading:Jt.Z},props:{title:{type:String,required:!0},parameters:{type:Array,required:!0}},computed:{anchor:({title:e})=>(0,dn.HA)(e),parameterChanges:({apiChanges:e})=>(e||{}).restParameters},methods:{shouldShiftType:({content:e=[],name:t})=>!e.length&&t}},vs=ys,bs=(0,Z.Z)(vs,fs,ms,!1,null,"0d9b752e",null),Ts=bs.exports,_s=function(){var e=this,t=e._self._c;return t("section",[t("LinkableHeading",{attrs:{anchor:e.anchor}},[e._v(e._s(e.title))]),t("ParametersTable",{attrs:{parameters:e.responses,changes:e.propertyChanges,"key-by":"status"},scopedSlots:e._u([{key:"symbol",fn:function({status:n,type:i,reason:s,content:a,changes:r}){return[t("div",{staticClass:"response-name"},[t("code",[e._v(" "+e._s(n)+" "),t("span",{staticClass:"reason"},[e._v(e._s(s))])])]),e.shouldShiftType({content:a,reason:s,status:n})?e._e():t("PossiblyChangedType",{attrs:{type:i,changes:r.type}})]}},{key:"description",fn:function({content:n,mimetype:i,reason:s,type:a,status:r,changes:o}){return[e.shouldShiftType({content:n,reason:s,status:r})?t("PossiblyChangedType",{attrs:{type:a,changes:o.type}}):e._e(),t("div",{staticClass:"response-reason"},[t("code",[e._v(e._s(s))])]),n?t("ContentNode",{attrs:{content:n}}):e._e(),i?t("PossiblyChangedMimetype",{attrs:{mimetype:i,changes:o.mimetype,change:o.change}}):e._e()]}}])})],1)},Ss=[],ks={name:"RestResponses",mixins:[ri],components:{PossiblyChangedMimetype:cs,PossiblyChangedType:Xi,ContentNode:Ve.Z,ParametersTable:pi,LinkableHeading:Jt.Z},props:{title:{type:String,required:!0},responses:{type:Array,required:!0}},computed:{anchor:({title:e})=>(0,dn.HA)(e),propertyChanges:({apiChanges:e})=>(e||{}).restResponses},methods:{shouldShiftType:({content:e=[],reason:t,status:n})=>!(e.length||t)&&n}},Cs=ks,ws=(0,Z.Z)(Cs,_s,Ss,!1,null,"ee5b05cc",null),xs=ws.exports,Is=function(){var e=this,t=e._self._c;return e.topics.length?t("section",{staticClass:"mentions"},[t("LinkableHeading",{attrs:{anchor:"mentions"}},[e._v(" "+e._s(e.$t("mentioned-in"))+" ")]),e._l(e.topics,(function(e){return t("Mention",{key:e.identifier,attrs:{url:e.url,title:e.title,role:e.role,kind:e.kind}})}))],2):e._e()},$s=[],Ds=function(){var e=this,t=e._self._c;return t("div",{staticClass:"link-block"},[t("Reference",{staticClass:"link",attrs:{url:e.url,role:e.role,kind:e.kind}},[t("TopicLinkBlockIcon",{staticClass:"mention-icon",attrs:{role:e.role}}),e._v(" "+e._s(e.title)+" ")],1)],1)},Ps=[],Ls=n(9882),Os=n(2970),As={components:{Reference:Ls.Z,TopicLinkBlockIcon:Os.Z},mixins:[en.Z],props:{url:{type:String,required:!0},title:{type:String,required:!0},role:{type:String,required:!1,default:"article"},kind:{type:String,required:!1,default:"article"}}},Ns=As,Rs=(0,Z.Z)(Ns,Ds,Ps,!1,null,"241f4141",null),Bs=Rs.exports,Es={name:"MentionedIn",components:{LinkableHeading:Jt.Z,Mention:Bs},mixins:[en.Z],props:{mentions:{type:Array,required:!0}},computed:{topics(){return this.mentions&&this.mentions.length?this.mentions.slice(0,5).flatMap((e=>this.references[e])):[]}}},Ms=Es,zs=(0,Z.Z)(Ms,Is,$s,!1,null,null,null),Ks=zs.exports,Zs={name:"PrimaryContent",components:{ContentNode:Ve.Z,Parameters:ii,PropertyListKeyDetails:Xn,PropertyTable:ts,RestBody:gs,RestEndpoint:zn,RestParameters:Ts,RestResponses:xs,PossibleValues:An,Mentions:Ks},constants:{SectionKind:Ze},props:{sections:{type:Array,required:!0,validator:e=>e.every((({kind:e})=>Object.prototype.hasOwnProperty.call(Ze,e)))}},computed:{span(){return{large:9,medium:9,small:12}}},methods:{componentFor(e){return{[Ze.content]:Ve.Z,[Ze.details]:Xn,[Ze.parameters]:ii,[Ze.properties]:ts,[Ze.restBody]:gs,[Ze.restParameters]:Ts,[Ze.restHeaders]:Ts,[Ze.restCookies]:Ts,[Ze.restEndpoint]:zn,[Ze.restResponses]:xs,[Ze.possibleValues]:An,[Ze.mentions]:Ks}[e.kind]},propsFor(e){const{bodyContentType:t,content:n,details:i,items:s,kind:a,mimeType:r,parameters:o,title:l,tokens:c,values:d,mentions:u}=e;return{[Ze.content]:{content:n},[Ze.details]:{details:i},[Ze.parameters]:{parameters:o},[Ze.possibleValues]:{values:d},[Ze.properties]:{properties:s,title:l},[Ze.restBody]:{bodyContentType:t,content:n,mimeType:r,parts:o,title:l},[Ze.restCookies]:{parameters:s,title:l},[Ze.restEndpoint]:{tokens:c,title:l},[Ze.restHeaders]:{parameters:s,title:l},[Ze.restParameters]:{parameters:s,title:l},[Ze.restResponses]:{responses:s,title:l},[Ze.mentions]:{mentions:u}}[a]}}},qs=Zs,js=(0,Z.Z)(qs,wn,xn,!1,null,"0a293b30",null),Fs=js.exports,Hs=function(){var e=this,t=e._self._c;return t("ContentTable",{attrs:{anchor:e.contentSectionData.anchor,title:e.$t(e.contentSectionData.title)}},e._l(e.sectionsWithSymbols,(function(e){return t("Section",{key:e.type,attrs:{title:e.title,anchor:e.anchor}},[t("List",{attrs:{symbols:e.symbols,type:e.type}})],1)})),1)},Vs=[],Ws=function(){var e=this,t=e._self._c;return t("ul",{ref:"apiChangesDiff",staticClass:"relationships-list",class:e.classes},e._l(e.symbols,(function(n){return t("li",{key:n.identifier,staticClass:"relationships-item"},[n.url?t("Reference",{staticClass:"link",attrs:{role:n.role,kind:n.kind,url:n.url}},[e._v(e._s(n.title))]):t("WordBreak",{attrs:{tag:"code"}},[e._v(e._s(n.title))]),n.conformance?t("ConditionalConstraints",{attrs:{constraints:n.conformance.constraints,prefix:n.conformance.conformancePrefix}}):e._e()],1)})),0)},Us=[];const Gs=3,Qs={conformsTo:"conformance",inheritsFrom:"inheritance",inheritedBy:"inheritedBy"};var Xs={name:"RelationshipsList",components:{ConditionalConstraints:Qe,Reference:Ls.Z,WordBreak:Pe.Z},inject:["store","identifier"],mixins:[ft.JY,ft.PH],props:{symbols:{type:Array,required:!0},type:{type:String,required:!0}},data(){return{state:this.store.state}},computed:{classes({changeType:e,multipleLinesClass:t,displaysMultipleLinesAfterAPIChanges:n}){return[{inline:this.shouldDisplayInline,column:!this.shouldDisplayInline,[`changed changed-${e}`]:!!e,[t]:n}]},hasAvailabilityConstraints(){return this.symbols.some((e=>!!(e.conformance||{}).constraints))},changes({identifier:e,state:{apiChanges:t}}){return(t||{})[e]||{}},changeType({changes:e,type:t}){const n=Qs[t];if(e.change!==At.yf.modified)return e.change;const i=e[n];if(!i)return;const s=(e,t)=>e.map(((e,n)=>[e,t[n]])),a=s(i.previous,i.new).some((([e,t])=>e.content?0===e.content.length&&t.content.length>0:!!t.content));return a?At.yf.added:At.yf.modified},shouldDisplayInline(){const{hasAvailabilityConstraints:e,symbols:t}=this;return t.length<=Gs&&!e}}},Ys=Xs,Js=(0,Z.Z)(Ys,Ws,Us,!1,null,"ba5cad92",null),ea=Js.exports,ta={name:"Relationships",mixins:[en.Z],components:{ContentTable:on,List:ea,Section:fn},props:{sections:{type:Array,required:!0}},computed:{contentSectionData:()=>Ut.relationships,sectionsWithSymbols(){return this.sections.map((e=>({...e,symbols:e.identifiers.reduce(((e,t)=>this.references[t]?e.concat(this.references[t]):e),[])})))}}},na=ta,ia=(0,Z.Z)(na,Hs,Vs,!1,null,null,null),sa=ia.exports,aa=n(7120),ra=function(){var e=this,t=e._self._c;return t("Section",{staticClass:"availability",attrs:{role:"complementary","aria-label":e.$t("sections.availability")}},[e._l(e.technologies,(function(n){return t("span",{key:n,staticClass:"technology"},[t("TechnologyIcon",{staticClass:"tech-icon"}),t("span",[e._v(e._s(n))])],1)})),e._l(e.platforms,(function(n){return t("span",{key:n.name,staticClass:"platform",class:e.changesClassesFor(n.name)},[t("AvailabilityRange",{attrs:{deprecatedAt:n.deprecatedAt,introducedAt:n.introducedAt,platformName:n.name}}),n.deprecatedAt?t("Badge",{attrs:{variant:"deprecated"}}):n.beta?t("Badge",{attrs:{variant:"beta"}}):e._e()],1)}))],2)},oa=[],la=n(9001),ca=function(){var e=this,t=e._self._c;return t("span",{attrs:{role:"text","aria-label":e.ariaLabel,title:e.description}},[e._v(e._s(e.text))])},da=[],ua={name:"AvailabilityRange",props:{deprecatedAt:{type:String,required:!1},introducedAt:{type:String,required:!0},platformName:{type:String,required:!0}},computed:{ariaLabel(){const{deprecatedAt:e,description:t,text:n}=this;return[n].concat(e?this.$t("change-type.deprecated"):[]).concat(t).join(", ")},description(){const{deprecatedAt:e,introducedAt:t,platformName:n}=this;return e?this.$t("availability.introduced-and-deprecated",{name:n,introducedAt:t,deprecatedAt:e}):this.$t("availability.available-on",{name:n,introducedAt:t})},text(){const{deprecatedAt:e,introducedAt:t,platformName:n}=this;return e?`${n} ${t}–${e}`:`${n} ${t}+`}}},ha=ua,pa=(0,Z.Z)(ha,ca,da,!1,null,null,null),ga=pa.exports,fa={name:"Availability",mixins:[ft.JY],inject:["identifier","store"],components:{Badge:oi.Z,AvailabilityRange:ga,Section:ie,TechnologyIcon:la.Z},props:{platforms:{type:Array,required:!0},technologies:{type:Array,required:!1}},data(){return{state:this.store.state}},methods:{changeFor(e){const{identifier:t,state:{apiChanges:n}}=this,{availability:i={}}=(n||{})[t]||{},s=i[e];if(s)return s.deprecated?At.yf.deprecated:s.introduced&&!s.introduced.previous?At.yf.added:At.yf.modified}}},ma=fa,ya=(0,Z.Z)(ma,ra,oa,!1,null,"3da26baa",null),va=ya.exports,ba=function(){var e=this,t=e._self._c;return t("TopicsTable",{attrs:{anchor:e.contentSectionData.anchor,title:e.$t(e.contentSectionData.title),isSymbolDeprecated:e.isSymbolDeprecated,isSymbolBeta:e.isSymbolBeta,sections:e.sections}})},Ta=[],_a={name:"SeeAlso",components:{TopicsTable:Tn},props:{isSymbolDeprecated:Boolean,isSymbolBeta:Boolean,sections:Tn.props.sections},computed:{contentSectionData:()=>Ut.seeAlso}},Sa=_a,ka=(0,Z.Z)(Sa,ba,Ta,!1,null,null,null),Ca=ka.exports,wa=function(){var e=this,t=e._self._c;return t("div",{staticClass:"topictitle"},[e.eyebrow?t("span",{staticClass:"eyebrow"},[e._v(e._s(e.eyebrow))]):e._e(),t("h1",{staticClass:"title"},[e._t("default"),e._t("after")],2)])},xa=[],Ia={name:"Title",props:{eyebrow:{type:String,required:!1}}},$a=Ia,Da=(0,Z.Z)($a,wa,xa,!1,null,"11a42e85",null),Pa=Da.exports,La=function(){var e=this,t=e._self._c;return t("TopicsTable",{attrs:{anchor:e.contentSectionData.anchor,title:e.$t(e.contentSectionData.title),isSymbolDeprecated:e.isSymbolDeprecated,isSymbolBeta:e.isSymbolBeta,sections:e.sections,topicStyle:e.topicStyle}})},Oa=[],Aa={name:"Topics",components:{TopicsTable:Tn},computed:{contentSectionData:()=>Ut.topics},props:{isSymbolDeprecated:Boolean,isSymbolBeta:Boolean,sections:Tn.props.sections,topicStyle:{type:String,required:!0,validator:e=>Object.hasOwnProperty.call(Le.o,e)}}},Na=Aa,Ra=(0,Z.Z)(Na,La,Oa,!1,null,null,null),Ba=Ra.exports,Ea=function(){var e=this,t=e._self._c;return t("div",{staticClass:"OnThisPageStickyContainer"},[e._t("default")],2)},Ma=[],za={name:"OnThisPageStickyContainer"},Ka=za,Za=(0,Z.Z)(Ka,Ea,Ma,!1,null,"39ac6ed0",null),qa=Za.exports,ja=function(){var e=this,t=e._self._c;return t("NavMenuItems",{staticClass:"hierarchy",class:{"has-badge":e.hasBadge},attrs:{"aria-label":e.$t("documentation.nav.breadcrumbs")}},[e.root?t("HierarchyItem",{key:e.root.title,staticClass:"root-hierarchy",attrs:{url:e.addQueryParamsToUrl(e.root.url)}},[e._v(" "+e._s(e.root.title)+" ")]):e._e(),e._l(e.collapsibleItems,(function(n){return t("HierarchyItem",{key:n.title,attrs:{isCollapsed:"",url:e.addQueryParamsToUrl(n.url)}},[e._v(" "+e._s(n.title)+" ")])})),e.collapsibleItems.length?t("HierarchyCollapsedItems",{attrs:{topics:e.collapsibleItems}}):e._e(),e._l(e.nonCollapsibleItems,(function(n){return t("HierarchyItem",{key:n.title,attrs:{url:e.addQueryParamsToUrl(n.url)}},[e._v(" "+e._s(n.title)+" ")])})),e.smallViewport?e._e():t("HierarchyItem",{scopedSlots:e._u([{key:"tags",fn:function(){return[e.isSymbolDeprecated?t("Badge",{attrs:{variant:"deprecated"}}):e.isSymbolBeta?t("Badge",{attrs:{variant:"beta"}}):e._e(),e._l(e.currentTopicTags,(function(n){return t("Badge",{key:`${n.type}-${n.text}`,attrs:{variant:n.type}},[e._v(" "+e._s(n.text)+" ")])}))]},proxy:!0}],null,!1,1132636639)},[e._v(" "+e._s(e.currentTopicTitle)+" ")])],2)},Fa=[],Ha=n(2853),Va=n(5381),Wa=function(){var e=this,t=e._self._c;return t("li",{staticClass:"hierarchy-collapsed-items"},[t("button",{ref:"btn",staticClass:"toggle",class:{focused:!e.collapsed},on:{click:e.toggleCollapsed}},[t("span",{staticClass:"indicator"},[t("EllipsisIcon",{staticClass:"icon-inline toggle-icon"})],1)]),t("ul",{ref:"dropdown",staticClass:"dropdown",class:{collapsed:e.collapsed}},e._l(e.formattedTopics,(function(n){return t("li",{key:n.title,staticClass:"dropdown-item"},[t("NavMenuLink",{attrs:{url:n.url}},[e._v(" "+e._s(n.title)+" ")])],1)})),0)])},Ua=[],Ga=function(){var e=this,t=e._self._c;return t("SVGIcon",{staticClass:"ellipsis-icon",attrs:{viewBox:"0 0 14 14",themeId:"ellipsis"}},[t("path",{attrs:{d:"m12.439 7.777v-1.554h-1.554v1.554zm-4.662 0v-1.554h-1.554v1.554zm-4.662 0v-1.554h-1.554v1.554z"}})])},Qa=[],Xa=n(9742),Ya={name:"EllipsisIcon",components:{SVGIcon:Xa.Z}},Ja=Ya,er=(0,Z.Z)(Ja,Ga,Qa,!1,null,null,null),tr=er.exports,nr=function(){var e=this,t=e._self._c;return e.isCurrent?t("span",{staticClass:"nav-menu-link current",attrs:{"aria-current":"page","aria-disabled":"true",role:"link"}},[e._t("default")],2):t("Reference",{staticClass:"nav-menu-link",attrs:{url:e.url,tabindex:"0"}},[e._t("default")],2)},ir=[],sr={name:"NavMenuLink",components:{Reference:Ls.Z},computed:{isCurrent:({$route:e,url:t})=>"string"===typeof t?t===(0,L.Q2)(e.path,e.query).replace(/\/$/,""):t.name===e.name},props:{url:{type:[Object,String],required:!0}}},ar=sr,rr=(0,Z.Z)(ar,nr,ir,!1,null,"2ad31daf",null),or=rr.exports,lr={name:"HierarchyCollapsedItems",components:{EllipsisIcon:tr,NavMenuLink:or},data:()=>({collapsed:!0}),props:{topics:{type:Array,required:!0}},watch:{collapsed(e,t){t&&!e?document.addEventListener("click",this.handleDocumentClick,!1):!t&&e&&document.removeEventListener("click",this.handleDocumentClick,!1)}},beforeDestroy(){document.removeEventListener("click",this.handleDocumentClick,!1)},computed:{formattedTopics:({$route:e,topics:t})=>t.map((t=>({...t,url:(0,L.Q2)(t.url,e.query)})))},methods:{handleDocumentClick(e){const{target:t}=e,{collapsed:n,$refs:{btn:i,dropdown:s}}=this,a=!i.contains(t)&&!s.contains(t);!n&&a&&(this.collapsed=!0)},toggleCollapsed(){this.collapsed=!this.collapsed}}},cr=lr,dr=(0,Z.Z)(cr,Wa,Ua,!1,null,"7b701104",null),ur=dr.exports,hr=function(e,t){return e(t.$options.components.NavMenuItemBase,{tag:"component",staticClass:"hierarchy-item",class:[{collapsed:t.props.isCollapsed},t.data.staticClass]},[t.props.url?e("router-link",{staticClass:"parent item nav-menu-link",attrs:{to:t.props.url}},[t._t("default")],2):[e("span",{staticClass:"current item"},[t._t("default")],2),t._t("tags")]],2)},pr=[],gr=n(535),fr=n(8785),mr={name:"HierarchyItem",components:{NavMenuItemBase:gr.Z,InlineChevronRightIcon:fr.Z},props:{isCollapsed:Boolean,url:{type:String,required:!1}}},yr=mr,vr=(0,Z.Z)(yr,hr,pr,!0,null,"13293168",null),br=vr.exports;const Tr=3,_r=1;var Sr={name:"Hierarchy",components:{Badge:oi.Z,NavMenuItems:Ha.Z,HierarchyCollapsedItems:ur,HierarchyItem:br},constants:{MaxVisibleLinks:Tr},inject:["store"],mixins:[en.Z],props:{isSymbolDeprecated:Boolean,isSymbolBeta:Boolean,currentTopicTitle:{type:String,required:!0},parentTopicIdentifiers:{type:Array,default:()=>[]},currentTopicTags:{type:Array,default:()=>[]}},computed:{windowWidth:({store:e})=>e.state.contentWidth,parentTopics(){return this.parentTopicIdentifiers.reduce(((e,t)=>{const n=this.references[t];if(n){const{title:t,url:i}=n;return e.concat({title:t,url:i})}return console.error(`Reference for "${t}" is missing`),e}),[])},root:({parentTopics:e})=>e[0],smallViewport:({windowWidth:e})=>e{const i=n?1:0;return e>1200?Tr-i:e>1e3?Tr-1-i:t?0:Tr-2-i},collapsibleItems:({smallViewport:e,parentTopics:t,linksAfterCollapse:n,currentTopicTitle:i,$route:s})=>{const a=n?t.slice(_r,-n):t.slice(_r);return e&&a.push({title:i,url:s.path}),a},nonCollapsibleItems:({parentTopics:e,linksAfterCollapse:t})=>t?e.slice(_r).slice(-t):[],hasBadge:({isSymbolDeprecated:e,isSymbolBeta:t,currentTopicTags:n})=>e||t||n.length},methods:{addQueryParamsToUrl(e){return(0,L.Q2)(e,this.$route.query)}}},kr=Sr,Cr=(0,Z.Z)(kr,ja,Fa,!1,null,"1389acd4",null),wr=Cr.exports;const xr=1050;var Ir={name:"DocumentationTopic",mixins:[P.Z],constants:{ON_THIS_PAGE_CONTAINER_BREAKPOINT:xr},inject:{isTargetIDE:{default(){return!1}},store:{default(){return{reset(){},state:{}}}}},components:{Declaration:Et,OnThisPageStickyContainer:qa,OnThisPageNav:Ke,DocumentationHero:De,Abstract:Ft,Aside:N.Z,BetaLegalText:j,ContentNode:Ve.Z,DefaultImplementations:Cn,DownloadButton:Ht.Z,LanguageSwitcher:pe,PrimaryContent:Fs,Relationships:sa,RequirementMetadata:aa.Z,Availability:va,SeeAlso:Ca,Title:Pa,Topics:Ba,ViewMore:be,WordBreak:Pe.Z,Hierarchy:wr,InlinePlusCircleIcon:Mt.Z},props:{abstract:{type:Array,required:!1},conformance:{type:Object,required:!1},defaultImplementationsSections:{type:Array,required:!1},downloadNotAvailableSummary:{type:Array,required:!1},deprecationSummary:{type:Array,required:!1},diffAvailability:{type:Object,required:!1},modules:{type:Array,required:!1},hasNoExpandedDocumentation:{type:Boolean,required:!1},hierarchy:{type:Object,default:()=>({})},interfaceLanguage:{type:String,required:!0},identifier:{type:String,required:!0},isRequirement:{type:Boolean,default:()=>!1},platforms:{type:Array,required:!1},primaryContentSections:{type:Array,required:!1},references:{type:Object,required:!0},relationshipsSections:{type:Array,required:!1},roleHeading:{type:String,required:!1},title:{type:String,required:!0},topicSections:{type:Array,required:!1},topicSectionsStyle:{type:String,default:Le.o.list},sampleCodeDownload:{type:Object,required:!1},seeAlsoSections:{type:Array,required:!1},languagePaths:{type:Object,default:()=>({})},tags:{type:Array,required:!0},objcPath:{type:String,required:!1},swiftPath:{type:String,required:!1},isSymbolDeprecated:{type:Boolean,required:!1},isSymbolBeta:{type:Boolean,required:!1},symbolKind:{type:String,default:""},role:{type:String,default:""},remoteSource:{type:Object,required:!1},pageImages:{type:Array,required:!1},enableMinimized:{type:Boolean,default:!1},enableOnThisPageNav:{type:Boolean,default:!1},disableHeroBackground:{type:Boolean,default:!1},standardColorIdentifier:{type:String,required:!1,validator:e=>Object.prototype.hasOwnProperty.call(we,e)},availableLocales:{type:Array,required:!1},hierarchyItems:{type:Array,default:()=>[]}},provide(){return{identifier:this.identifier,languages:new Set(Object.keys(this.languagePaths)),interfaceLanguage:this.interfaceLanguage,symbolKind:this.symbolKind,enableMinimized:this.enableMinimized}},data(){return{topicState:this.store.state,declListExpanded:!1}},computed:{normalizedSwiftPath:({swiftPath:e})=>(0,O.Jf)(e),normalizedObjcPath:({objcPath:e,swiftPath:t})=>(0,O.Jf)(e&&t?(0,L.Q2)(e,{language:D.Z.objectiveC.key.url}):e),defaultImplementationsCount(){return(this.defaultImplementationsSections||[]).reduce(((e,t)=>e+t.identifiers.length),0)},shouldShowAvailability:({platforms:e,technologies:t,enableMinimized:n})=>((e||[]).length||(t||[]).length)&&!n,hasBetaContent:({platforms:e})=>e&&e.length&&e.some((e=>e.beta)),pageTitle:({title:e})=>e,pageDescription:({abstract:e,extractFirstParagraphText:t})=>e?t(e):null,shouldShowLanguageSwitcher:({objcPath:e,swiftPath:t,isTargetIDE:n,enableMinimized:i})=>!!(e&&t&&n)&&!i,enhanceBackground:({symbolKind:e,disableHeroBackground:t,enableMinimized:n})=>!t&&!n&&(!e||"module"===e),shortHero:({roleHeading:e,abstract:t,sampleCodeDownload:n,hasAvailability:i,shouldShowLanguageSwitcher:s,declarations:a})=>!!e+!!t+!!n+!!a.length+!!i+s<=1,technologies({modules:e=[]}){const t=e.reduce(((e,t)=>(e.push(t.name),e.concat(t.relatedModules||[]))),[]);return t.length>1?t:[]},titleBreakComponent:({enhanceBackground:e})=>e?"span":Pe.Z,hasPrimaryContent:({isRequirement:e,deprecationSummary:t,downloadNotAvailableSummary:n,primaryContentSectionsSanitized:i,shouldShowViewMoreLink:s})=>e||t&&t.length||n&&n.length||i.length||s,viewMoreLink:({interfaceLanguage:e,normalizedObjcPath:t,normalizedSwiftPath:n})=>e===D.Z.objectiveC.key.api?t:n,shouldShowViewMoreLink:({enableMinimized:e,hasNoExpandedDocumentation:t,viewMoreLink:n})=>e&&!t&&n,tagName(){return this.isSymbolDeprecated?this.$t("aside-kind.deprecated"):this.$t("aside-kind.beta")},pageIcon:({pageImages:e=[]})=>{const t=e.find((({type:e})=>"icon"===e));return t?t.identifier:null},shouldRenderTopicSection:({topicSectionsStyle:e,topicSections:t,enableMinimized:n})=>t&&e!==Le.o.hidden&&!n,isOnThisPageNavVisible:({topicState:e})=>e.contentWidth>xr,disableMetadata:({enableMinimized:e})=>e,primaryContentSectionsSanitized({primaryContentSections:e=[]}){return e.filter((({kind:e})=>e!==Ze.declarations))},declarations({primaryContentSections:e=[]}){return e.filter((({kind:e})=>e===Ze.declarations))},hasOtherDeclarations({declarations:e=[],enableMinimized:t}){return!t&&e.length&&e[0].declarations.some((e=>Object.prototype.hasOwnProperty.call(e,"otherDeclarations")))},declListToggleText({declListExpanded:e}){return e?this.$t("declarations.hide-other-declarations"):this.$t("declarations.show-all-declarations")}},methods:{extractProps(e){const{abstract:t,defaultImplementationsSections:n,deprecationSummary:i,downloadNotAvailableSummary:s,diffAvailability:a,hierarchy:r,identifier:{interfaceLanguage:o,url:l},metadata:{conformance:c,hasNoExpandedDocumentation:d,modules:u,availableLocales:h,platforms:p,required:g=!1,roleHeading:f,title:m="",tags:y=[],role:v,symbolKind:b="",remoteSource:T,images:_=[],color:{standardColorIdentifier:S}={}}={},primaryContentSections:k,relationshipsSections:C,references:w={},sampleCodeDownload:x,topicSectionsStyle:I,topicSections:$,seeAlsoSections:P,variantOverrides:L,variants:O=[]}=e,A=O.reduce(((e,t)=>t.traits.reduce(((e,n)=>n.interfaceLanguage?{...e,[n.interfaceLanguage]:(e[n.interfaceLanguage]||[]).concat(t.paths)}:e),e)),{}),{[D.Z.objectiveC.key.api]:[N]=[],[D.Z.swift.key.api]:[R]=[]}=A;return{abstract:t,conformance:c,defaultImplementationsSections:n,deprecationSummary:i,downloadNotAvailableSummary:s,diffAvailability:a,hasNoExpandedDocumentation:d,availableLocales:h,hierarchy:r,role:v,identifier:l,interfaceLanguage:o,isRequirement:g,modules:u,platforms:p,primaryContentSections:k,relationshipsSections:C,references:w,roleHeading:f,sampleCodeDownload:x,title:m,topicSections:$,topicSectionsStyle:I,seeAlsoSections:P,variantOverrides:L,symbolKind:b,tags:y.slice(0,1),remoteSource:T,pageImages:_,objcPath:N,swiftPath:R,standardColorIdentifier:S}},toggleDeclList(){this.declListExpanded=!this.declListExpanded}},created(){if(this.topicState.preferredLanguage===D.Z.objectiveC.key.url&&this.interfaceLanguage!==D.Z.objectiveC.key.api&&this.objcPath&&this.$route.query.language!==D.Z.objectiveC.key.url){const{query:e}=this.$route;this.$nextTick().then((()=>{this.$router.replace({path:(0,O.Jf)(this.objcPath),query:{...e,language:D.Z.objectiveC.key.url}})}))}A["default"].setAvailableLocales(this.availableLocales||[]),this.store.reset(),this.store.setReferences(this.references)},watch:{references(e){this.store.setReferences(e)},availableLocales(e){A["default"].setAvailableLocales(e)}}},$r=Ir,Dr=(0,Z.Z)($r,I,$,!1,null,"526f5d69",null),Pr=Dr.exports,Lr=n(144);const Or=()=>({[At.yf.modified]:0,[At.yf.added]:0,[At.yf.deprecated]:0});var Ar={state:{apiChanges:null,apiChangesCounts:Or(),selectedAPIChangesVersion:null},setAPIChanges(e){this.state.apiChanges=e},setSelectedAPIChangesVersion(e){this.state.selectedAPIChangesVersion=e},resetApiChanges(){this.state.apiChanges=null,this.state.apiChangesCounts=Or()},async updateApiChangesCounts(){await Lr["default"].nextTick(),Object.keys(this.state.apiChangesCounts).forEach((e=>{this.state.apiChangesCounts[e]=this.countChangeType(e)}))},countChangeType(e){if(document&&document.querySelectorAll){const t=`.changed-${e}:not(.changed-total)`;return document.querySelectorAll(t).length}return 0}},Nr={state:{onThisPageSections:[],currentPageAnchor:null},resetPageSections(){this.state.onThisPageSections=[],this.state.currentPageAnchor=null},addOnThisPageSection(e,{i18n:t=!0}={}){this.state.onThisPageSections.push({...e,i18n:t})},setCurrentPageSection(e){const t=this.state.onThisPageSections.findIndex((({anchor:t})=>t===e));-1!==t&&(this.state.currentPageAnchor=e)}},Rr=n(5394);const{state:Br,...Er}=Ar,{state:Mr,...zr}=Nr;var Kr={state:{preferredLanguage:Rr.Z.preferredLanguage,contentWidth:0,...Br,...Mr,references:{}},reset(){this.state.preferredLanguage=Rr.Z.preferredLanguage,this.state.references={},this.resetApiChanges()},setPreferredLanguage(e){this.state.preferredLanguage=e,Rr.Z.preferredLanguage=this.state.preferredLanguage},setContentWidth(e){this.state.contentWidth=e},setReferences(e){this.state.references=e},...Er,...zr},Zr=n(8093),qr=n(8571),jr=n(1789),Fr=n(5184);const Hr="",Vr=32,Wr="navigator-hide-button";function Ur(e){return e.split("").reduce(((e,t)=>(e<<5)-e+t.charCodeAt(0)|0),0)}function Gr(e){const t={},n=e.length;for(let i=0;ie.parent===Hr));const i=t[e];return i?(i.childUIDs||[]).map((e=>t[e])):[]}function Jr(e,t){const n=[],i=[e];let s=null;while(i.length){s=i.pop();const e=t[s];if(!e)return[];n.unshift(e),e.parent&&e.parent!==Hr&&i.push(e.parent)}return n}function eo(e,t,n){const i=t[e];return i?Yr(i.parent,t,n):[]}var to,no,io={name:"NavigatorDataProvider",props:{interfaceLanguage:{type:String,default:D.Z.swift.key.url},technologyUrl:{type:String,required:!0},apiChangesVersion:{type:String,default:""}},data(){return{isFetching:!1,errorFetching:!1,isFetchingAPIChanges:!1,navigationIndex:{[D.Z.swift.key.url]:[]},navigationReferences:{},diffs:null}},computed:{flatChildren:({technologyWithChildren:e={}})=>Qr(e.children||[],null,0,e.beta),technologyPath:({technologyUrl:e})=>{const t=/(\/documentation\/(?:[^/]+))\/?/.exec(e);return t?t[1]:""},technologyWithChildren({navigationIndex:e,interfaceLanguage:t,technologyPath:n}){let i=e[t]||[];return i.length||(i=e[D.Z.swift.key.url]||[]),i.find((e=>n.toLowerCase()===e.path.toLowerCase()))}},methods:{async fetchIndexData(){try{this.isFetching=!0;const{interfaceLanguages:e,references:t}=await(0,w.LR)({slug:this.$route.params.locale||""});this.navigationIndex=Object.freeze(e),this.navigationReferences=Object.freeze(t)}catch(e){this.errorFetching=!0}finally{this.isFetching=!1}}},watch:{"$route.params.locale":{handler:"fetchIndexData",immediate:!0}},render(){return this.$scopedSlots.default({technology:this.technologyWithChildren,isFetching:this.isFetching,errorFetching:this.errorFetching,isFetchingAPIChanges:this.isFetchingAPIChanges,apiChanges:this.diffs,flatChildren:this.flatChildren,references:this.navigationReferences})}},so=io,ao=(0,Z.Z)(so,to,no,!1,null,null,null),ro=ao.exports,oo=function(){var e=this,t=e._self._c;return t("button",{staticClass:"quick-navigation-open",attrs:{"aria-label":e.$t("quicknav.button.label"),title:e.$t("quicknav.button.title")}},[e._v(" / ")])},lo=[],co={name:"QuickNavigationButton"},uo=co,ho=(0,Z.Z)(uo,oo,lo,!1,null,"53faf852",null),po=ho.exports,go=function(){var e=this,t=e._self._c;return t("GenericModal",{attrs:{isFullscreen:"",showClose:!1,visible:e.isVisible,backdropBackgroundColorOverride:"rgba(0, 0, 0, 0.7)"},on:{"update:visible":function(t){e.isVisible=t}}},[t("div",{staticClass:"quick-navigation"},[t("div",{staticClass:"quick-navigation__container",class:{focus:e.focusedInput}},[t("FilterInput",{staticClass:"quick-navigation__filter",attrs:{placeholder:e.$t("filter.search-symbols",{technology:e.technology}),focusInputWhenCreated:"",focusInputWhenEmpty:"",preventBorderStyle:"",selectInputOnFocus:""},on:{focus:function(t){e.focusedInput=!0},blur:function(t){e.focusedInput=!1}},nativeOn:{keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:(t.preventDefault(),e.handleDownKeyInput.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:e.handleKeyEnter.apply(null,arguments)}]},scopedSlots:e._u([{key:"icon",fn:function(){return[t("div",{staticClass:"quick-navigation__magnifier-icon-container",class:{blue:e.userInput.length}},[t("MagnifierIcon")],1)]},proxy:!0}]),model:{value:e.userInput,callback:function(t){e.userInput=t},expression:"userInput"}}),t("div",{staticClass:"quick-navigation__match-list",class:{active:e.processedUserInput.length}},[e.noResultsWereFound?t("div",{staticClass:"no-results"},[t("p",[e._v(" "+e._s(e.$t("navigator.no-results"))+" ")])]):[t("div",e._b({staticClass:"quick-navigation__refs",on:{keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:(t.preventDefault(),e.focusNext.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:(t.preventDefault(),e.focusPrev.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:e.handleKeyEnter.apply(null,arguments)}]}},"div",{[e.SCROLL_LOCK_DISABLE_ATTR]:!0},!1),e._l(e.filteredSymbols,(function(n,i){return t("Reference",{key:n.uid,ref:"match",refInFor:!0,staticClass:"quick-navigation__reference",attrs:{url:n.path,tabindex:e.focusedIndex===i?"0":"-1","data-index":i},nativeOn:{click:function(t){return e.closeQuickNavigationModal.apply(null,arguments)}}},[t("div",{staticClass:"quick-navigation__symbol-match",attrs:{role:"list"}},[t("div",{staticClass:"symbol-info"},[t("div",{staticClass:"symbol-name"},[t("TopicTypeIcon",{staticClass:"navigator-icon",attrs:{type:n.type}}),t("div",{staticClass:"symbol-title"},[t("span",{domProps:{textContent:e._s(e.formatSymbolTitle(n.title,0,n.start))}}),t("QuickNavigationHighlighter",{attrs:{text:n.substring,matcherText:e.processedUserInput}}),t("span",{domProps:{textContent:e._s(e.formatSymbolTitle(n.title,n.start+n.matchLength))}})],1)],1),t("div",{staticClass:"symbol-path"},e._l(n.parents,(function(i,s){return t("div",{key:i.title},[t("span",{staticClass:"parent-path",domProps:{textContent:e._s(i.title)}}),s!==n.parents.length-1?t("span",{staticClass:"parent-path",domProps:{textContent:e._s("/")}}):e._e()])})),0)])])])})),1),e.previewState?t("Preview",e._b({staticClass:"quick-navigation__preview",attrs:{json:e.previewJSON,state:e.previewState}},"Preview",{[e.SCROLL_LOCK_DISABLE_ATTR]:!0},!1)):e._e()]],2)],1)])])},fo=[],mo=function(){var e=this,t=e._self._c;return t("div",{staticClass:"filter",class:{focus:e.showSuggestedTags&&!e.preventBorderStyle},attrs:{role:"search",tabindex:"0","aria-labelledby":e.searchAriaLabelledBy},on:{"!blur":function(t){return e.handleBlur.apply(null,arguments)},"!focus":function(t){return e.handleFocus.apply(null,arguments)}}},[t("div",{class:["filter__wrapper",{"filter__wrapper--reversed":e.positionReversed,"filter__wrapper--no-border-style":e.preventBorderStyle}]},[t("div",{staticClass:"filter__top-wrapper"},[t("button",{staticClass:"filter__filter-button",class:{blue:e.inputIsNotEmpty},attrs:{"aria-hidden":"true",tabindex:"-1"},on:{click:e.focusInput,mousedown:function(e){e.preventDefault()}}},[e._t("icon",(function(){return[t("FilterIcon")]}))],2),t("div",{class:["filter__input-box-wrapper",{scrolling:e.isScrolling}],on:{scroll:e.handleScroll}},[e.hasSelectedTags?t("TagList",e._g(e._b({ref:"selectedTags",staticClass:"filter__selected-tags",attrs:{id:e.SelectedTagsId,input:e.input,tags:e.selectedTags,ariaLabel:e.$tc("filter.selected-tags",e.suggestedTags.length),activeTags:e.activeTags,translatableTags:e.translatableTags,areTagsRemovable:""},on:{"focus-prev":e.handleFocusPrevOnSelectedTags,"focus-next":e.focusInputFromTags,"reset-filters":e.resetFilters,"prevent-blur":function(t){return e.$emit("update:preventedBlur",!0)}}},"TagList",e.virtualKeyboardBind,!1),e.selectedTagsMultipleSelectionListeners)):e._e(),t("label",{staticClass:"filter__input-label",attrs:{id:"filter-label",for:e.FilterInputId,"data-value":e.modelValue,"aria-label":e.placeholder}},[t("input",e._g(e._b({directives:[{name:"model",rawName:"v-model",value:e.modelValue,expression:"modelValue"}],ref:"input",staticClass:"filter__input",attrs:{id:e.FilterInputId,placeholder:e.hasSelectedTags?"":e.placeholder,"aria-expanded":e.displaySuggestedTags?"true":"false",disabled:e.disabled,type:"text"},domProps:{value:e.modelValue},on:{focus:function(t){e.selectInputOnFocus&&e.selectInputAndTags()},keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(t.preventDefault(),e.downHandler.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(t.preventDefault(),e.upHandler.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])||"button"in t&&0!==t.button?null:e.leftKeyInputHandler.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"right",39,t.key,["Right","ArrowRight"])||"button"in t&&2!==t.button?null:e.rightKeyInputHandler.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"delete",[8,46],t.key,["Backspace","Delete","Del"])?null:e.deleteHandler.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"a",void 0,t.key,void 0)?null:t.metaKey?(t.preventDefault(),t.stopPropagation(),e.selectInputAndTags.apply(null,arguments)):null},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"a",void 0,t.key,void 0)?null:t.ctrlKey?(t.preventDefault(),e.selectInputAndTags.apply(null,arguments)):null},function(t){return t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:e.inputKeydownHandler.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:e.enterHandler.apply(null,arguments)},function(t){return t.shiftKey?t.ctrlKey||t.altKey||t.metaKey?null:e.inputKeydownHandler.apply(null,arguments):null},function(t){return t.shiftKey&&t.metaKey?t.ctrlKey||t.altKey?null:e.inputKeydownHandler.apply(null,arguments):null},function(t){return t.metaKey?t.ctrlKey||t.shiftKey||t.altKey?null:e.assignEventValues.apply(null,arguments):null},function(t){return t.ctrlKey?t.shiftKey||t.altKey||t.metaKey?null:e.assignEventValues.apply(null,arguments):null}],input:function(t){t.target.composing||(e.modelValue=t.target.value)}}},"input",e.AXinputProperties,!1),e.inputMultipleSelectionListeners))])],1),t("div",{staticClass:"filter__delete-button-wrapper"},[e.input.length||e.displaySuggestedTags||e.hasSelectedTags?t("button",{staticClass:"filter__delete-button",attrs:{"aria-label":e.$t("filter.reset-filter")},on:{click:function(t){return e.resetFilters(!0)},keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:(t.stopPropagation(),e.resetFilters(!0))},mousedown:function(e){e.preventDefault()}}},[t("ClearRoundedIcon")],1):e._e()])]),e.displaySuggestedTags?t("TagList",e._b({ref:"suggestedTags",staticClass:"filter__suggested-tags",attrs:{id:e.SuggestedTagsId,ariaLabel:e.$tc("filter.suggested-tags",e.suggestedTags.length),input:e.input,tags:e.suggestedTags,translatableTags:e.translatableTags},on:{"click-tags":function(t){return e.selectTag(t.tagName)},"prevent-blur":function(t){return e.$emit("update:preventedBlur",!0)},"focus-next":function(t){e.positionReversed?e.focusInput():e.$emit("focus-next")},"focus-prev":function(t){e.positionReversed?e.$emit("focus-prev"):e.focusInput()}}},"TagList",e.virtualKeyboardBind,!1)):e._e()],1)])},yo=[],vo=function(){var e=this,t=e._self._c;return t("SVGIcon",{staticClass:"clear-rounded-icon",attrs:{viewBox:"0 0 16 16",themeId:"clear-rounded"}},[t("title",[e._v(e._s(e.$t("icons.clear")))]),t("path",{attrs:{d:"M14.55,0l1.45,1.45-6.56,6.55,6.54,6.54-1.45,1.45-6.53-6.53L1.47,15.99,.01,14.53l6.52-6.53L0,1.47,1.45,.02l6.55,6.54L14.55,0Z","fill-rule":"evenodd"}})])},bo=[],To={name:"ClearRoundedIcon",components:{SVGIcon:Xa.Z}},_o=To,So=(0,Z.Z)(_o,vo,bo,!1,null,null,null),ko=So.exports;function Co(){if(window.getSelection)try{const{activeElement:e}=document;return e&&e.value?e.value.substring(e.selectionStart,e.selectionEnd):window.getSelection().toString()}catch(e){return""}else if(document.selection&&"Control"!==document.selection.type)return document.selection.createRange().text;return""}function wo(e){if("number"===typeof e.selectionStart)e.selectionStart=e.selectionEnd=e.value.length;else if("undefined"!==typeof e.createTextRange){e.focus();const t=e.createTextRange();t.collapse(!1),t.select()}}function xo(e){e.selectionStart=e.selectionEnd=0}function Io(e){return/^[\w\W\s]$/.test(e)}function $o(e){const t=e.match(/(.*)<\/data>/);try{return t?JSON.parse(t[1]):null}catch(n){return null}}function Do(e){return"string"!==typeof e&&(e=JSON.stringify(e)),`${e}`}function Po(e,t,n,i){let s,a;return function(...r){function o(){clearTimeout(s),s=null}function l(){o(),e.apply(a,r)}if(a=this,!s||!n&&!i){if(!n)return o(),void(s=setTimeout(l,t));s=setTimeout(o,t),e.apply(a,r)}}}const Lo=280,Oo=100;var Ao={data(){return{keyboardIsVirtual:!1,activeTags:[],initTagIndex:null,focusedTagIndex:null,metaKey:!1,shiftKey:!1,tabbing:!1,debouncedHandleDeleteTag:null}},constants:{DebounceDelay:Lo,VirtualKeyboardThreshold:Oo},computed:{virtualKeyboardBind:({keyboardIsVirtual:e})=>({keyboardIsVirtual:e}),allSelectedTagsAreActive:({selectedTags:e,activeTags:t})=>e.every((e=>t.includes(e)))},methods:{selectRangeActiveTags(e=this.focusedTagIndex,t=this.selectedTags.length){this.activeTags=this.selectedTags.slice(e,t)},selectTag(e){this.updateSelectedTags([e]),this.clearFilterOnTagSelect&&this.setFilterInput("")},unselectActiveTags(){this.activeTags.length&&(this.deleteTags(this.activeTags),this.resetActiveTags())},async deleteHandler(e){this.activeTags.length>0&&this.setSelectedTags(this.selectedTags.filter((e=>!this.activeTags.includes(e)))),this.inputIsSelected()&&this.allSelectedTagsAreActive?(e.preventDefault(),await this.resetFilters()):0===this.$refs.input.selectionEnd&&this.hasSelectedTags&&(e.preventDefault(),this.keyboardIsVirtual?this.setSelectedTags(this.selectedTags.slice(0,-1)):this.$refs.selectedTags.focusLast()),this.unselectActiveTags()},leftKeyInputHandler(e){if(this.assignEventValues(e),this.hasSelectedTags){if(this.activeTags.length&&!this.shiftKey)return e.preventDefault(),void this.$refs.selectedTags.focusTag(this.activeTags[0]);if(this.shiftKey&&0===this.$refs.input.selectionStart&&"forward"!==this.$refs.input.selectionDirection)return null===this.focusedTagIndex&&(this.focusedTagIndex=this.selectedTags.length),this.focusedTagIndex>0&&(this.focusedTagIndex-=1),this.initTagIndex=this.selectedTags.length,void this.selectTagsPressingShift();(0===this.$refs.input.selectionEnd||this.inputIsSelected())&&this.$refs.selectedTags.focusLast()}},rightKeyInputHandler(e){if(this.assignEventValues(e),this.activeTags.length&&this.shiftKey&&this.focusedTagIndex=Oo&&(this.keyboardIsVirtual=!0)}),Lo),setFilterInput(e){this.$emit("update:input",e)},setSelectedTags(e){this.$emit("update:selectedTags",e)},updateSelectedTags(e){this.setSelectedTags([...new Set([...this.selectedTags,...e])])},handleCopy(e){e.preventDefault();const t=[],n={tags:[],input:Co()};if(this.activeTags.length){const e=this.activeTags;n.tags=e,t.push(e.join(" "))}return t.push(n.input),n.tags.length||n.input.length?(e.clipboardData.setData("text/html",Do(n)),e.clipboardData.setData("text/plain",t.join(" ")),n):n},handleCut(e){e.preventDefault();const{input:t,tags:n}=this.handleCopy(e);if(!t&&!n.length)return;const i=this.selectedTags.filter((e=>!n.includes(e))),s=this.input.replace(t,"");this.setSelectedTags(i),this.setFilterInput(s)},handlePaste(e){e.preventDefault();const{types:t}=e.clipboardData;let n=[],i=e.clipboardData.getData("text/plain");if(t.includes("text/html")){const t=e.clipboardData.getData("text/html"),s=$o(t);s&&({tags:n=[],input:i=""}=s)}const s=Co();i=s.length?this.input.replace(s,i):(0,dn.ZQ)(this.input,i,document.activeElement.selectionStart),this.setFilterInput(i.trim()),this.allSelectedTagsAreActive?this.setSelectedTags(n):this.updateSelectedTags(n),this.resetActiveTags()},async handleDeleteTag({tagName:e,event:t={}}){const{key:n}=t;this.activeTags.length||this.deleteTags([e]),this.unselectActiveTags(),await this.$nextTick(),wo(this.$refs.input),this.hasSelectedTags&&(await this.focusInput(),"Backspace"===n&&xo(this.$refs.input))}},mounted(){window.visualViewport&&(window.visualViewport.addEventListener("resize",this.updateKeyboardType),this.$once("hook:beforeDestroy",(()=>{window.visualViewport.removeEventListener("resize",this.updateKeyboardType)})))}};const No=1e3;var Ro={constants:{ScrollingDebounceDelay:No},data(){return{isScrolling:!1,scrollRemovedAt:0}},created(){this.deleteScroll=Po(this.deleteScroll,No)},methods:{deleteScroll(){this.isScrolling=!1,this.scrollRemovedAt=Date.now()},handleScroll(e){const{target:t}=e;if(0!==t.scrollTop)return t.scrollTop=0,void e.preventDefault();const n=150,i=t.offsetWidth,s=i+n;if(t.scrollWidth0?this.focusIndex(this.focusedIndex-1):this.startingPointHook())},focusNext({metaKey:e,ctrlKey:t,shiftKey:n}){(e||t)&&n||(this.externalFocusChange=!1,this.focusedIndex0}},Ho=function(){var e=this,t=e._self._c;return t("li",{staticClass:"tag",attrs:{role:"presentation"}},[t("button",{ref:"button",class:{focus:e.isActiveTag},attrs:{role:"option","aria-selected":e.ariaSelected,"aria-roledescription":"tag"},on:{focus:function(t){return e.$emit("focus",{event:t,tagName:e.name})},click:function(t){return t.preventDefault(),e.$emit("click",{event:t,tagName:e.name})},dblclick:function(t){t.preventDefault(),!e.keyboardIsVirtual&&e.deleteTag()},keydown:[function(t){return t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:e.$emit("keydown",{event:t,tagName:e.name})},function(t){return t.shiftKey?t.ctrlKey||t.altKey||t.metaKey?null:e.$emit("keydown",{event:t,tagName:e.name}):null},function(t){return t.shiftKey&&t.metaKey?t.ctrlKey||t.altKey?null:e.$emit("keydown",{event:t,tagName:e.name}):null},function(t){return t.metaKey?t.ctrlKey||t.shiftKey||t.altKey?null:e.$emit("keydown",{event:t,tagName:e.name}):null},function(t){return t.ctrlKey?t.shiftKey||t.altKey||t.metaKey?null:e.$emit("keydown",{event:t,tagName:e.name}):null},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"delete",[8,46],t.key,["Backspace","Delete","Del"])?null:(t.preventDefault(),e.deleteTag.apply(null,arguments))}],mousedown:function(t){return t.preventDefault(),e.focusButton.apply(null,arguments)},copy:e.handleCopy}},[e.isRemovableTag?e._e():t("span",{staticClass:"visuallyhidden"},[e._v(" "+e._s(e.$t("filter.add-tag"))+" - ")]),e.isTranslatableTag?[e._v(" "+e._s(e.$t(e.name))+" ")]:[e._v(" "+e._s(e.name)+" ")],e.isRemovableTag?t("span",{staticClass:"visuallyhidden"},[e._v(" – "+e._s(e.$t("filter.tag-select-remove"))+" ")]):e._e()],2)])},Vo=[],Wo={name:"Tag",props:{name:{type:String,required:!0},isFocused:{type:Boolean,default:()=>!1},isRemovableTag:{type:Boolean,default:!1},isTranslatableTag:{type:Boolean,default:!1},isActiveTag:{type:Boolean,default:!1},activeTags:{type:Array,required:!1},keyboardIsVirtual:{type:Boolean,default:!1}},watch:{isFocused(e){e&&this.focusButton()}},mounted(){document.addEventListener("copy",this.handleCopy),document.addEventListener("cut",this.handleCut),document.addEventListener("paste",this.handlePaste),this.$once("hook:beforeDestroy",(()=>{document.removeEventListener("copy",this.handleCopy),document.removeEventListener("cut",this.handleCut),document.removeEventListener("paste",this.handlePaste)}))},methods:{isCurrentlyActiveElement(){return document.activeElement===this.$refs.button},handleCopy(e){if(!this.isCurrentlyActiveElement())return;e.preventDefault();let t=[];t=this.activeTags.length>0?this.activeTags:[this.name],e.clipboardData.setData("text/html",Do({tags:t})),e.clipboardData.setData("text/plain",t.join(" "))},handleCut(e){this.isCurrentlyActiveElement()&&this.isRemovableTag&&(this.handleCopy(e),this.deleteTag(e))},handlePaste(e){this.isCurrentlyActiveElement()&&this.isRemovableTag&&(e.preventDefault(),this.deleteTag(e),this.$emit("paste-content",e))},deleteTag(e){this.$emit("delete-tag",{tagName:this.name,event:e}),this.$emit("prevent-blur")},focusButton(e={}){this.keyboardIsVirtual||this.$refs.button.focus(),0===e.buttons&&this.isFocused&&this.deleteTag(e)}},computed:{ariaSelected:({isActiveTag:e,isRemovableTag:t})=>t?e?"true":"false":null}},Uo=Wo,Go=(0,Z.Z)(Uo,Ho,Vo,!1,null,"7e76f326",null),Qo=Go.exports,Xo={name:"Tags",mixins:[Ro,Fo],props:{tags:{type:Array,default:()=>[]},activeTags:{type:Array,default:()=>[]},translatableTags:{type:Array,default:()=>[]},ariaLabel:{type:String,required:!1},id:{type:String,required:!1},input:{type:String,default:null},areTagsRemovable:{type:Boolean,default:!1},keyboardIsVirtual:{type:Boolean,default:!1}},components:{Tag:Qo},methods:{focusTag(e){this.focusIndex(this.tags.indexOf(e))},startingPointHook(){this.$emit("focus-prev")},handleFocus(e,t){this.focusIndex(t),this.isScrolling=!1,this.$emit("focus",e)},endingPointHook(){this.$emit("focus-next")},resetScroll(){this.$refs["scroll-wrapper"].scrollLeft=0},handleKeydown(e){const{key:t}=e,n=this.tags[this.focusedIndex];Io(t)&&n&&this.$emit("delete-tag",{tagName:n.label||n,event:e})}},computed:{totalItemsToNavigate:({tags:e})=>e.length}},Yo=Xo,Jo=(0,Z.Z)(Yo,qo,jo,!1,null,"1f2bd813",null),el=Jo.exports;const tl=5,nl="filter-input",il="selected-tags",sl="suggested-tags",al={autocorrect:"off",autocapitalize:"off",spellcheck:"false",role:"combobox","aria-haspopup":"true","aria-autocomplete":"none","aria-owns":"suggestedTags","aria-controls":"suggestedTags"};var rl,ol,ll={name:"FilterInput",mixins:[Ro,Ao],constants:{FilterInputId:nl,SelectedTagsId:il,SuggestedTagsId:sl,AXinputProperties:al,TagLimit:tl},components:{TagList:el,ClearRoundedIcon:ko,FilterIcon:Zo},props:{positionReversed:{type:Boolean,default:()=>!1},tags:{type:Array,default:()=>[]},selectedTags:{type:Array,default:()=>[]},preventedBlur:{type:Boolean,default:()=>!1},placeholder:{type:String,default:()=>""},disabled:{type:Boolean,default:()=>!1},value:{type:String,default:()=>""},shouldTruncateTags:{type:Boolean,default:!1},focusInputWhenCreated:{type:Boolean,default:!1},focusInputWhenEmpty:{type:Boolean,default:!1},selectInputOnFocus:{type:Boolean,default:!1},clearFilterOnTagSelect:{type:Boolean,default:!0},preventBorderStyle:{type:Boolean,default:!1},translatableTags:{type:Array,default:()=>[]}},data(){return{resetedTagsViaDeleteButton:!1,FilterInputId:nl,SelectedTagsId:il,SuggestedTagsId:sl,AXinputProperties:al,showSuggestedTags:!1}},computed:{hasSuggestedTags:({suggestedTags:e})=>e.length,hasSelectedTags:({selectedTags:e})=>e.length,inputIsNotEmpty:({input:e,hasSelectedTags:t})=>e.length||t,searchAriaLabelledBy:({hasSelectedTags:e})=>e?nl.concat(" ",il):nl,modelValue:{get:({value:e})=>e,set(e){this.$emit("input",e)}},input:({value:e})=>e,suggestedTags:({tags:e,selectedTags:t,shouldTruncateTags:n})=>{const i=e.filter((e=>!t.includes(e)));return n?i.slice(0,tl):i},displaySuggestedTags:({showSuggestedTags:e,suggestedTags:t})=>e&&t.length>0,inputMultipleSelectionListeners:({resetActiveTags:e,handleCopy:t,handleCut:n,handlePaste:i})=>({click:e,copy:t,cut:n,paste:i}),selectedTagsMultipleSelectionListeners:({handleSingleTagClick:e,selectInputAndTags:t,handleDeleteTag:n,selectedTagsKeydownHandler:i,focusTagHandler:s,handlePaste:a})=>({"click-tags":e,"select-all":t,"delete-tag":n,keydown:i,focus:s,"paste-tags":a})},watch:{async selectedTags(){this.resetedTagsViaDeleteButton?this.resetedTagsViaDeleteButton=!1:this.$el.contains(document.activeElement)&&await this.focusInput(),this.displaySuggestedTags&&this.hasSuggestedTags&&this.$refs.suggestedTags.resetScroll()},suggestedTags:{immediate:!0,handler(e){this.$emit("suggested-tags",e)}},showSuggestedTags(e){this.$emit("show-suggested-tags",e)}},methods:{async focusInput(){await this.$nextTick(),this.$refs.input.focus(),!this.input&&this.resetActiveTags&&this.resetActiveTags()},async resetFilters(e=!1){if(this.setFilterInput(""),this.setSelectedTags([]),!e)return this.$emit("update:preventedBlur",!0),this.resetActiveTags&&this.resetActiveTags(),void await this.focusInput();this.resetedTagsViaDeleteButton=!0,this.showSuggestedTags=!1,this.$refs.input.blur()},focusFirstTag(e=(()=>{})){this.showSuggestedTags||(this.showSuggestedTags=!0),this.hasSuggestedTags&&this.$refs.suggestedTags?this.$refs.suggestedTags.focusFirst():e()},setFilterInput(e){this.$emit("input",e)},setSelectedTags(e){this.$emit("update:selectedTags",e)},deleteTags(e){this.setSelectedTags(this.selectedTags.filter((t=>!e.includes(t))))},async handleBlur(e){const t=e.relatedTarget;t&&t.matches&&t.matches("button, input, ul")&&this.$el.contains(t)||(await this.$nextTick(),this.resetActiveTags(),this.preventedBlur?this.$emit("update:preventedBlur",!1):(this.showSuggestedTags=!1,this.$emit("blur")))},downHandler(e){const t=()=>this.$emit("focus-next",e);this.positionReversed?t():this.focusFirstTag(t)},upHandler(e){const t=()=>this.$emit("focus-prev",e);this.positionReversed?this.focusFirstTag(t):t()},handleFocusPrevOnSelectedTags(){this.positionReversed?this.focusFirstTag((()=>this.$emit("focus-prev"))):this.$emit("focus-prev")},handleFocus(){this.showSuggestedTags=!0,this.$emit("focus")}},created(){this.focusInputWhenCreated&&document.activeElement!==this.$refs.input&&(this.inputIsNotEmpty||this.focusInputWhenEmpty)&&this.focusInput()}},cl=ll,dl=(0,Z.Z)(cl,mo,yo,!1,null,"7a79f6ea",null),ul=dl.exports,hl=n(5590),pl={name:"QuickNavigationHighlighter",props:{text:{type:String,required:!0},matcherText:{type:String,default:""}},render(e){const{matcherText:t,text:n}=this,i=[];let s=0;return t?([...t].forEach((t=>{const a=n.toLowerCase().indexOf(t.toLowerCase(),s);s&&i.push(e("span",n.slice(s,a)));const r=a+1;i.push(e("span",{class:"match"},n.slice(a,r))),s=r})),e("p",{class:"highlight"},i)):e("span",{class:"highlight"},n)}},gl=pl,fl=(0,Z.Z)(gl,rl,ol,!1,null,"4a2ce75d",null),ml=fl.exports,yl=function(){var e=this,t=e._self._c;return t("SVGIcon",{staticClass:"magnifier-icon",attrs:{viewBox:"0 0 14 14",themeId:"magnifier"}},[t("path",{attrs:{d:"M15.0013 14.0319L10.9437 9.97424C11.8165 8.88933 12.2925 7.53885 12.2929 6.14645C12.2929 2.75841 9.53449 0 6.14645 0C2.75841 0 0 2.75841 0 6.14645C0 9.53449 2.75841 12.2929 6.14645 12.2929C7.57562 12.2929 8.89486 11.7932 9.94425 10.9637L14.0019 15.0213L15.0013 14.0319ZM6.13645 11.0736C4.83315 11.071 3.58399 10.5521 2.66241 9.63048C1.74084 8.70891 1.22194 7.45974 1.2193 6.15644C1.2193 3.44801 3.41802 1.23928 6.13645 1.23928C8.85488 1.23928 11.0536 3.44801 11.0536 6.15644C11.0636 8.86488 8.85488 11.0736 6.13645 11.0736Z"}})])},vl=[],bl={name:"MagnifierIcon",components:{SVGIcon:Xa.Z}},Tl=bl,_l=(0,Z.Z)(Tl,yl,vl,!1,null,null,null),Sl=_l.exports,kl=function(){var e=this,t=e._self._c;return t("div",{staticClass:"preview"},[e.state===e.STATE.success?t("DocumentationTopic",e._b({attrs:{enableMinimized:""}},"DocumentationTopic",e.topicProps,!1)):e.state===e.STATE.loadingSlowly?t("div",{staticClass:"loading"},e._l(e.LOADER_ROW_STYLES,(function(e){return t("div",{key:e["--index"],staticClass:"loading-row",style:e})})),0):e.state===e.STATE.error?t("div",{staticClass:"unavailable"},[t("p",[e._v(e._s(e.$t("quicknav.preview-unavailable")))])]):e._e()],1)},Cl=[];const{extractProps:wl}=Pr.methods,xl="hero",Il={error:"error",loading:"loading",loadingSlowly:"loadingSlowly",success:"success"},$l={...Kr,state:(0,w.d9)(Kr.state)};var Dl={name:"QuickNavigationPreview",components:{DocumentationTopic:Pr},constants:{PreviewState:Il,PreviewStore:$l},data(){return{store:$l}},provide(){return{store:this.store}},props:{json:{type:Object,required:!1},state:{type:String,required:!0,validator:e=>Object.hasOwnProperty.call(Il,e)}},computed:{LOADER_ROW_STYLES:()=>[{"--index":0,width:"30%"},{"--index":1,width:"80%"},{"--index":2,width:"50%"}],STATE:()=>Il,topicProps:({json:e})=>{const t=wl(e),{sections:n=[]}=e;let{abstract:i}=t;const s=n.find((({kind:e})=>e===xl));return!i&&s&&(i=s.content),{...t,abstract:i}}}},Pl=Dl,Ll=(0,Z.Z)(Pl,kl,Cl,!1,null,"779b8b01",null),Ol=Ll.exports;class Al{constructor(e){this.map=new Map,this.maxSize=e}get size(){return this.map.size}get(e){if(!this.map.has(e))return;const t=this.map.get(e);return this.map.delete(e),this.map.set(e,t),t}has(e){return this.map.has(e)}set(e,t){if(this.map.has(e)&&this.map.delete(e),this.map.set(e,t),this.map.size>this.maxSize){const e=this.map.keys().next().value;this.map.delete(e)}}*[Symbol.iterator](){yield*this.map}}var Nl=n(9652);const{PreviewState:Rl}=Ol.constants,Bl="AbortError",El=20,Ml=1e3;var zl={name:"QuickNavigationModal",components:{FilterInput:ul,GenericModal:hl.Z,MagnifierIcon:Sl,TopicTypeIcon:Se.Z,QuickNavigationHighlighter:ml,Reference:Ls.Z,Preview:Ol},mixins:[Fo],created(){this.abortController=null,this.$cachedSymbolResults=new Al(El),this.loadingTimeout=null},data(){return{debouncedInput:"",userInput:"",focusedInput:!1,cachedSymbolResults:{},previewIsLoadingSlowly:!1,SCROLL_LOCK_DISABLE_ATTR:Nl.n}},props:{children:{type:Array,required:!0},showQuickNavigationModal:{type:Boolean,required:!0},technology:{type:String,required:!0}},computed:{childrenMap({children:e}){return Gr(e)},filteredSymbols:({constructFuzzyRegex:e,children:t,fuzzyMatch:n,processedUserInput:i,childrenMap:s,orderSymbolsByPriority:a})=>{const r=t.filter((e=>"groupMarker"!==e.type&&null!=e.title));if(!i)return[];const o=n({inputLength:i.length,symbols:r,processedInputRegex:new RegExp(e(i),"i"),childrenMap:s}),l=[...new Map(o.map((e=>[e.path,e]))).values()];return a(l).slice(0,El)},isVisible:{get:({showQuickNavigationModal:e})=>e,set(e){this.$emit("update:showQuickNavigationModal",e)}},noResultsWereFound:({processedUserInput:e,totalItemsToNavigate:t})=>e.length&&!t,processedUserInput:({debouncedInput:e})=>e.replace(/\s/g,""),totalItemsToNavigate:({filteredSymbols:e})=>e.length,selectedSymbol:({filteredSymbols:e,focusedIndex:t})=>null!==t?e[t]:null,nextSymbol:({filteredSymbols:e,focusedIndex:t})=>{if(null===t)return null;let n=t+1;return n>=e.length&&(n=0),e[n]},focusedMatchElement:({$refs:e,focusedIndex:t})=>e.match.find((({$el:e})=>parseInt(e.dataset.index,10)===t)).$el,previewJSON:({cachedSymbolResults:e,selectedSymbol:t})=>t?(e[t.uid]||{}).json:null,previewState:({cachedSymbolResults:e,previewIsLoadingSlowly:t,selectedSymbol:n})=>n&&Object.hasOwnProperty.call(e,n.uid)?e[n.uid].success?Rl.success:Rl.error:t?Rl.loadingSlowly:Rl.loading},watch:{userInput:"debounceInput",focusedIndex(){this.focusedInput||(this.scrollIntoView(),this.focusReference())},selectedSymbol:"fetchSelectedSymbolData",$route:"closeQuickNavigationModal"},methods:{closeQuickNavigationModal(){this.$emit("update:showQuickNavigationModal",!1)},constructFuzzyRegex(e){return[...e].reduce(((t,n,i)=>t.concat(`[${n}]`).concat(i{const s=n.exec(t.title);if(!s)return!1;const a=s[0].length;return!(a>3*e)&&{uid:t.uid,title:t.title,path:t.path,parents:Jr(t.parent,i),type:t.type,inputLengthDifference:t.title.length-e,matchLength:a,matchLengthDifference:a-e,start:s.index,substring:s[0]}})).filter(Boolean)},handleKeyEnter(){!this.noResultsWereFound&&this.userInput.length&&(this.$router.push(this.filteredSymbols[this.focusedIndex].path),this.closeQuickNavigationModal())},orderSymbolsByPriority(e){return e.sort(((e,t)=>e.matchLengthDifference>t.matchLengthDifference?1:e.matchLengthDifferencet.start?1:e.startt.inputLengthDifference?1:e.inputLengthDifference{this.previewState===Rl.loading&&(this.previewIsLoadingSlowly=!0)}),Ml),!this.selectedSymbol||this.$cachedSymbolResults.has(this.selectedSymbol.uid))return clearTimeout(this.loadingTimeout),void(this.previewIsLoadingSlowly=!1);const e=async e=>{if(e&&!this.$cachedSymbolResults.has(e.uid))try{const t=await(0,w.k_)(e.path,{signal:this.abortController.signal});this.$cachedSymbolResults.set(e.uid,{success:!0,json:t})}catch(t){t.name!==Bl&&this.$cachedSymbolResults.set(e.uid,{success:!1})}finally{this.cachedSymbolResults=Object.freeze(Object.fromEntries(this.$cachedSymbolResults))}};this.abortController&&this.abortController.abort(),this.abortController=new AbortController,await Promise.all([e(this.selectedSymbol).finally((()=>{clearTimeout(this.loadingTimeout),this.previewIsLoadingSlowly=!1})),e(this.nextSymbol)])}}},Kl=zl,Zl=(0,Z.Z)(Kl,go,fo,!1,null,"5c0b211c",null),ql=Zl.exports,jl=function(){var e=this,t=e._self._c;return t("div",{staticClass:"adjustable-sidebar-width",class:{dragging:e.isDragging,"sidebar-hidden":e.hiddenOnLarge}},[t("div",{ref:"sidebar",staticClass:"sidebar"},[t("div",{ref:"aside",staticClass:"aside",class:e.asideClasses,style:e.asideStyles,attrs:{"aria-hidden":e.hiddenOnLarge?"true":null},on:{transitionstart:function(t){return t.target!==t.currentTarget?null:e.trackTransitionStart.apply(null,arguments)},transitionend:function(t){return t.target!==t.currentTarget?null:e.trackTransitionEnd.apply(null,arguments)}}},[e._t("aside",null,{animationClass:"aside-animated-child",scrollLockID:e.scrollLockID,breakpoint:e.breakpoint})],2),e.fixedWidth?e._e():t("div",{staticClass:"resize-handle",on:{mousedown:function(t){return t.preventDefault(),e.startDrag.apply(null,arguments)},touchstart:function(t){return t.preventDefault(),e.startDrag.apply(null,arguments)}}})]),t("div",{ref:"content",staticClass:"content"},[e._t("default")],2),t("BreakpointEmitter",{attrs:{scope:e.BreakpointScopes.nav},on:{change:function(t){e.breakpoint=t}}})],1)},Fl=[],Hl=n(7247),Vl=n(7188),Wl=n(114),Ul=n(1147),Gl=n(1716);const Ql="sidebar",Xl=1921,Yl=543,Jl=400,ec={touch:{move:"touchmove",end:"touchend"},mouse:{move:"mousemove",end:"mouseup"}},tc=(e,t=window.innerWidth)=>{const n=Math.min(t,Xl);return Math.floor(Math.min(n*(e/100),n))},nc={medium:30,large:20},ic={medium:50,large:50},sc="sidebar-scroll-lock";var ac={name:"AdjustableSidebarWidth",constants:{SCROLL_LOCK_ID:sc},components:{BreakpointEmitter:Vl["default"]},inject:["store"],props:{shownOnMobile:{type:Boolean,default:!1},hiddenOnLarge:{type:Boolean,default:!1},fixedWidth:{type:Number,default:null}},data(){const e=window.innerWidth,t=window.innerHeight,n=Va.L3.large,i=tc(nc[n]),s=tc(ic[n]),a=e>=Xl?Yl:Jl,r=Hl.tO.get(Ql,a);return{isDragging:!1,width:this.fixedWidth||Math.min(Math.max(r,i),s),isTouch:!1,windowWidth:e,windowHeight:t,breakpoint:n,noTransition:!1,isTransitioning:!1,isOpeningOnLarge:!1,focusTrapInstance:null,mobileTopOffset:0,topOffset:0}},computed:{minWidthPercent:({breakpoint:e})=>nc[e]||0,maxWidthPercent:({breakpoint:e})=>ic[e]||100,maxWidth:({maxWidthPercent:e,windowWidth:t,fixedWidth:n})=>Math.max(n,tc(e,t)),minWidth:({minWidthPercent:e,windowWidth:t,fixedWidth:n})=>Math.min(n||t,tc(e,t)),widthInPx:({width:e})=>`${e}px`,hiddenOnLargeThreshold:({minWidth:e})=>e/2,events:({isTouch:e})=>e?ec.touch:ec.mouse,asideStyles:({widthInPx:e,mobileTopOffset:t,topOffset:n,windowHeight:i})=>({width:e,"--top-offset":n?`${n}px`:null,"--top-offset-mobile":`${t}px`,"--app-height":`${i}px`}),asideClasses:({isDragging:e,shownOnMobile:t,noTransition:n,isTransitioning:i,hiddenOnLarge:s,mobileTopOffset:a,isOpeningOnLarge:r})=>({dragging:e,"show-on-mobile":t,"hide-on-large":s,"is-opening-on-large":r,"no-transition":n,"sidebar-transitioning":i,"has-mobile-top-offset":a}),scrollLockID:()=>sc,BreakpointScopes:()=>Va.lU},async mounted(){window.addEventListener("keydown",this.onEscapeKeydown),window.addEventListener("resize",this.storeWindowSize,{passive:!0}),window.addEventListener("orientationchange",this.storeWindowSize,{passive:!0}),this.storeTopOffset(),0===this.topOffset&&0===window.scrollY||window.addEventListener("scroll",this.storeTopOffset,{passive:!0}),this.$once("hook:beforeDestroy",(()=>{window.removeEventListener("keydown",this.onEscapeKeydown),window.removeEventListener("resize",this.storeWindowSize),window.removeEventListener("orientationchange",this.storeWindowSize),window.removeEventListener("scroll",this.storeTopOffset),this.shownOnMobile&&this.toggleScrollLock(!1),this.focusTrapInstance&&this.focusTrapInstance.destroy()})),await this.$nextTick(),this.focusTrapInstance=new Wl.Z(this.$refs.aside)},watch:{$route:"closeMobileSidebar",width:{immediate:!0,handler:Ne((function(e){this.emitEventChange(e)}),150)},windowWidth:"getWidthInCheck",async breakpoint(e){this.getWidthInCheck(),e===Va.L3.large&&this.closeMobileSidebar(),this.noTransition=!0,await(0,Re.J)(5),this.noTransition=!1},shownOnMobile:"handleExternalOpen",async isTransitioning(e){e?(await(0,Re.X)(1e3),this.isTransitioning=!1):this.updateContentWidthInStore()},hiddenOnLarge(){this.isTransitioning=!0}},methods:{getWidthInCheck:Po((function(){this.width>this.maxWidth?this.width=this.maxWidth:this.widththis.maxWidth&&(i=this.maxWidth),this.hiddenOnLarge&&i>=this.hiddenOnLargeThreshold&&(this.$emit("update:hiddenOnLarge",!1),this.isOpeningOnLarge=!0),this.width=Math.max(i,this.minWidth),i<=this.hiddenOnLargeThreshold&&this.$emit("update:hiddenOnLarge",!0)},stopDrag(e){e.preventDefault(),this.isDragging&&(this.isDragging=!1,Hl.tO.set(Ql,this.width),document.removeEventListener(this.events.move,this.handleDrag),document.removeEventListener(this.events.end,this.stopDrag),this.emitEventChange(this.width))},emitEventChange(e){this.$emit("width-change",e),this.updateContentWidthInStore()},getTopOffset(){const e=document.getElementById(Gl.EA);if(!e)return 0;const{y:t}=e.getBoundingClientRect();return Math.max(t,0)},handleExternalOpen(e){e&&(this.mobileTopOffset=this.getTopOffset()),this.toggleScrollLock(e)},async updateContentWidthInStore(){await this.$nextTick(),this.store.setContentWidth(this.$refs.content.offsetWidth)},async toggleScrollLock(e){const t=document.getElementById(this.scrollLockID);e?(await this.$nextTick(),Nl.Z.lockScroll(t),this.focusTrapInstance.start(),Ul.Z.hide(this.$refs.aside)):(Nl.Z.unlockScroll(t),this.focusTrapInstance.stop(),Ul.Z.show(this.$refs.aside))},storeTopOffset:Ne((function(){this.topOffset=this.getTopOffset()}),60),async trackTransitionStart({propertyName:e}){"width"!==e&&"transform"!==e||(this.isTransitioning=!0)},trackTransitionEnd({propertyName:e}){"width"!==e&&"transform"!==e||(this.isTransitioning=!1,this.isOpeningOnLarge=!1)}}},rc=ac,oc=(0,Z.Z)(rc,jl,Fl,!1,null,"5cd50784",null),lc=oc.exports,cc=function(){var e=this,t=e._self._c;return t("nav",{staticClass:"navigator",attrs:{"aria-labelledby":e.INDEX_ROOT_KEY}},[e.isFetching?t("LoadingNavigatorCard",{on:{close:function(t){return e.$emit("close")}}}):t("NavigatorCard",e._b({attrs:{type:e.type,children:e.flatChildren,"active-path":e.activePath,scrollLockID:e.scrollLockID,"error-fetching":e.errorFetching,"render-filter-on-top":e.renderFilterOnTop,"api-changes":e.apiChanges,"navigator-references":e.navigatorReferences,isSpecificOverload:e.isSpecificOverload},on:{close:function(t){return e.$emit("close")}},scopedSlots:e._u([{key:"filter",fn:function(){return[e._t("filter")]},proxy:!0},{key:"navigator-head",fn:function(){return[e._t("navigator-head")]},proxy:!0}],null,!0)},"NavigatorCard",e.technologyProps,!1)),t("div",{staticClass:"visuallyhidden",attrs:{"aria-live":"polite"}},[e._v(" "+e._s(e.$t("navigator.navigator-is",{state:e.isFetching?e.$t("navigator.state.loading"):e.$t("navigator.state.ready")}))+" ")])],1)},dc=[],uc=function(){var e=this,t=e._self._c;return t("BaseNavigatorCard",e._b({class:{"filter-on-top":e.renderFilterOnTop},on:{close:function(t){return e.$emit("close")}},scopedSlots:e._u([{key:"above-navigator-head",fn:function(){return[e._t("above-navigator-head")]},proxy:!0},{key:"navigator-head",fn:function(){return[e._t("navigator-head")]},proxy:!0},{key:"body",fn:function({className:n}){return[e._t("post-head"),t("div",{class:n,on:{"!keydown":[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:t.altKey?(t.preventDefault(),e.focusFirst.apply(null,arguments)):null},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:t.altKey?(t.preventDefault(),e.focusLast.apply(null,arguments)):null},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:(t.preventDefault(),e.focusPrev.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:(t.preventDefault(),e.focusNext.apply(null,arguments))}]}},[e.technology?t("Reference",{staticClass:"technology-title",attrs:{id:e.INDEX_ROOT_KEY,url:e.technologyPath},nativeOn:{click:function(t){return t.altKey?(t.preventDefault(),e.toggleAllNodes.apply(null,arguments)):null}}},[t("h2",{staticClass:"card-link"},[e._v(" "+e._s(e.technology)+" ")]),e.isTechnologyBeta?t("Badge",{attrs:{variant:"beta"}}):e._e()],1):e._e(),t("DynamicScroller",{directives:[{name:"show",rawName:"v-show",value:e.hasNodes,expression:"hasNodes"}],ref:"scroller",staticClass:"scroller",attrs:{id:e.scrollLockID,"aria-label":e.$t("navigator.title"),items:e.nodesToRender,"min-item-size":e.itemSize,"emit-update":"","key-field":"uid"},on:{update:e.handleScrollerUpdate,"!keydown":[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:t.altKey?(t.preventDefault(),e.focusFirst.apply(null,arguments)):null},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:t.altKey?(t.preventDefault(),e.focusLast.apply(null,arguments)):null},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:(t.preventDefault(),e.focusPrev.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:(t.preventDefault(),e.focusNext.apply(null,arguments))}]},nativeOn:{focusin:function(t){return e.handleFocusIn.apply(null,arguments)},focusout:function(t){return e.handleFocusOut.apply(null,arguments)}},scopedSlots:e._u([{key:"default",fn:function({item:n,active:i,index:s}){return[t("DynamicScrollerItem",e._b({ref:`dynamicScroller_${n.uid}`},"DynamicScrollerItem",{active:i,item:n,dataIndex:s},!1),[t("NavigatorCardItem",{attrs:{item:n,isRendered:i,"filter-pattern":e.filterPattern,"is-active":n.uid===e.activeUID,"is-bold":e.activePathMap[n.uid],expanded:e.openNodes[n.uid],"api-change":e.apiChangesObject[n.path],isFocused:e.focusedIndex===s,enableFocus:!e.externalFocusChange,"navigator-references":e.navigatorReferences},on:{toggle:e.toggle,"toggle-full":e.toggleFullTree,"toggle-siblings":e.toggleSiblings,navigate:e.handleNavigationChange,"focus-parent":e.focusNodeParent}})],1)]}}],null,!0)}),t("div",{staticClass:"visuallyhidden",attrs:{"aria-live":"polite"}},[e._v(" "+e._s(e.politeAriaLive)+" ")]),t("div",{staticClass:"no-items-wrapper",attrs:{"aria-live":"assertive"}},[t("p",{staticClass:"no-items"},[e._v(e._s(e.$t(e.assertiveAriaLive)))])])],1),e.errorFetching?e._e():t("div",{staticClass:"filter-wrapper"},[t("div",{staticClass:"navigator-filter"},[t("div",{staticClass:"input-wrapper"},[t("FilterInput",{staticClass:"filter-component",attrs:{tags:e.suggestedTags,translatableTags:e.translatableTags,"selected-tags":e.selectedTags,placeholder:e.$t("filter.title"),"should-keep-open-on-blur":!1,shouldTruncateTags:e.shouldTruncateTags,"position-reversed":!e.renderFilterOnTop,"clear-filter-on-tag-select":!1},on:{"update:selectedTags":function(t){e.selectedTags=t},"update:selected-tags":function(t){e.selectedTags=t},clear:e.clearFilters},model:{value:e.filter,callback:function(t){e.filter=t},expression:"filter"}})],1),e._t("filter")],2)])]}}],null,!0)},"BaseNavigatorCard",{isTechnologyBeta:e.isTechnologyBeta,technologyPath:e.technologyPath},!1))},hc=[];function pc(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var i=e.indexOf("rv:");return parseInt(e.substring(i+3,e.indexOf(".",i)),10)}var s=e.indexOf("Edge/");return s>0?parseInt(e.substring(s+5,e.indexOf(".",s)),10):-1}var gc=void 0;function fc(){fc.init||(fc.init=!0,gc=-1!==pc())}var mc={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"resize-observer",attrs:{tabindex:"-1"}})},staticRenderFns:[],_scopeId:"data-v-b329ee4c",name:"resize-observer",methods:{compareAndNotify:function(){this._w===this.$el.offsetWidth&&this._h===this.$el.offsetHeight||(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.$emit("notify"))},addResizeHandlers:function(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers:function(){this._resizeObject&&this._resizeObject.onload&&(!gc&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),delete this._resizeObject.onload)}},mounted:function(){var e=this;fc(),this.$nextTick((function(){e._w=e.$el.offsetWidth,e._h=e.$el.offsetHeight}));var t=document.createElement("object");this._resizeObject=t,t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex",-1),t.onload=this.addResizeHandlers,t.type="text/html",gc&&this.$el.appendChild(t),t.data="about:blank",gc||this.$el.appendChild(t)},beforeDestroy:function(){this.removeResizeHandlers()}};function yc(e){e.component("resize-observer",mc),e.component("ResizeObserver",mc)}var vc={version:"0.4.5",install:yc},bc=null;"undefined"!==typeof window?bc=window.Vue:"undefined"!==typeof n.g&&(bc=n.g.Vue),bc&&bc.use(vc);function Tc(e){return Tc="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Tc(e)}function _c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sc(e,t){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:{},r=function(r){for(var o=arguments.length,l=new Array(o>1?o-1:0),c=1;c1){var i=e.find((function(e){return e.isIntersecting}));i&&(t=i)}if(n.callback){var s=t.isIntersecting&&t.intersectionRatio>=n.threshold;if(s===n.oldResult)return;n.oldResult=s,n.callback(s,t)}}),this.options.intersection),t.context.$nextTick((function(){n.observer&&n.observer.observe(n.el)}))}}},{key:"destroyObserver",value:function(){this.observer&&(this.observer.disconnect(),this.observer=null),this.callback&&this.callback._clear&&(this.callback._clear(),this.callback=null)}},{key:"threshold",get:function(){return this.options.intersection&&this.options.intersection.threshold||0}}]),e}();function Oc(e,t,n){var i=t.value;if(i)if("undefined"===typeof IntersectionObserver)console.warn("[vue-observe-visibility] IntersectionObserver API is not available in your browser. Please install this polyfill: https://github.com/w3c/IntersectionObserver/tree/master/polyfill");else{var s=new Lc(e,i,n);e._vue_visibilityState=s}}function Ac(e,t,n){var i=t.value,s=t.oldValue;if(!Pc(i,s)){var a=e._vue_visibilityState;i?a?a.createObserver(i,n):Oc(e,{value:i},n):Nc(e)}}function Nc(e){var t=e._vue_visibilityState;t&&(t.destroyObserver(),delete e._vue_visibilityState)}var Rc={bind:Oc,update:Ac,unbind:Nc};function Bc(e){e.directive("observe-visibility",Rc)}var Ec={version:"0.4.6",install:Bc},Mc=null;"undefined"!==typeof window?Mc=window.Vue:"undefined"!==typeof n.g&&(Mc=n.g.Vue),Mc&&Mc.use(Ec);var zc=n(7274),Kc=n.n(zc),Zc={itemsLimit:1e3};const qc={items:{type:Array,required:!0},keyField:{type:String,default:"id"},direction:{type:String,default:"vertical",validator:e=>["vertical","horizontal"].includes(e)},listTag:{type:String,default:"div"},itemTag:{type:String,default:"div"}};function jc(){return this.items.length&&"object"!==typeof this.items[0]}let Fc=!1;if("undefined"!==typeof window){Fc=!1;try{var Hc=Object.defineProperty({},"passive",{get(){Fc=!0}});window.addEventListener("test",null,Hc)}catch(hh){}}let Vc=0;var Wc={name:"RecycleScroller",components:{ResizeObserver:mc},directives:{ObserveVisibility:Rc},props:{...qc,itemSize:{type:Number,default:null},gridItems:{type:Number,default:void 0},itemSecondarySize:{type:Number,default:void 0},minItemSize:{type:[Number,String],default:null},sizeField:{type:String,default:"size"},typeField:{type:String,default:"type"},buffer:{type:Number,default:200},pageMode:{type:Boolean,default:!1},prerender:{type:Number,default:0},emitUpdate:{type:Boolean,default:!1},skipHover:{type:Boolean,default:!1},listTag:{type:String,default:"div"},itemTag:{type:String,default:"div"},listClass:{type:[String,Object,Array],default:""},itemClass:{type:[String,Object,Array],default:""}},data(){return{pool:[],totalSize:0,ready:!1,hoverKey:null}},computed:{sizes(){if(null===this.itemSize){const e={"-1":{accumulator:0}},t=this.items,n=this.sizeField,i=this.minItemSize;let s,a=1e4,r=0;for(let o=0,l=t.length;o{this.$_prerender=!1,this.updateVisibleItems(!0),this.ready=!0}))},activated(){const e=this.$_lastUpdateScrollPosition;"number"===typeof e&&this.$nextTick((()=>{this.scrollToPosition(e)}))},beforeDestroy(){this.removeListeners()},methods:{addView(e,t,n,i,s){const a={item:n,position:0},r={id:Vc++,index:t,used:!0,key:i,type:s};return Object.defineProperty(a,"nr",{configurable:!1,value:r}),e.push(a),a},unuseView(e,t=!1){const n=this.$_unusedViews,i=e.nr.type;let s=n.get(i);s||(s=[],n.set(i,s)),s.push(e),t||(e.nr.used=!1,e.position=-9999,this.$_views.delete(e.nr.key))},handleResize(){this.$emit("resize"),this.ready&&this.updateVisibleItems(!1)},handleScroll(e){this.$_scrollDirty||(this.$_scrollDirty=!0,requestAnimationFrame((()=>{this.$_scrollDirty=!1;const{continuous:e}=this.updateVisibleItems(!1,!0);e||(clearTimeout(this.$_refreshTimout),this.$_refreshTimout=setTimeout(this.handleScroll,100))})))},handleVisibilityChange(e,t){this.ready&&(e||0!==t.boundingClientRect.width||0!==t.boundingClientRect.height?(this.$emit("visible"),requestAnimationFrame((()=>{this.updateVisibleItems(!1)}))):this.$emit("hidden"))},updateVisibleItems(e,t=!1){const n=this.itemSize,i=this.gridItems||1,s=this.itemSecondarySize||n,a=this.$_computedMinItemSize,r=this.typeField,o=this.simpleArray?null:this.keyField,l=this.items,c=l.length,d=this.sizes,u=this.$_views,h=this.$_unusedViews,p=this.pool;let g,f,m,y,v,b;if(c)if(this.$_prerender)g=y=0,f=v=Math.min(this.prerender,l.length),m=null;else{const e=this.getScroll();if(t){let t=e.start-this.$_lastUpdateScrollPosition;if(t<0&&(t=-t),null===n&&te.start&&(s=a),a=~~((i+s)/2)}while(a!==n);for(a<0&&(a=0),g=a,m=d[c-1].accumulator,f=a;fc&&(f=c)),y=g;yc&&(f=c),y<0&&(y=0),v>c&&(v=c),m=Math.ceil(c/i)*n}}else g=f=y=v=m=0;f-g>Zc.itemsLimit&&this.itemsLimitError(),this.totalSize=m;const T=g<=this.$_endIndex&&f>=this.$_startIndex;if(this.$_continuous!==T){if(T){u.clear(),h.clear();for(let e=0,t=p.length;e=f)&&this.unuseView(b));const _=T?null:new Map;let S,k,C,w;for(let x=g;x=C.length)&&(b=this.addView(p,x,S,e,k),this.unuseView(b,!0),C=h.get(k)),b=C[w],b.item=S,b.nr.used=!0,b.nr.index=x,b.nr.key=e,b.nr.type=k,_.set(k,w+1),w++),u.set(e,b)),null===n?(b.position=d[x-1].accumulator,b.offset=0):(b.position=Math.floor(x/i)*n,b.offset=x%i*s)):b&&this.unuseView(b)}return this.$_startIndex=g,this.$_endIndex=f,this.emitUpdate&&this.$emit("update",g,f,y,v),clearTimeout(this.$_sortTimer),this.$_sortTimer=setTimeout(this.sortViews,300),{continuous:T}},getListenerTarget(){let e=Kc()(this.$el);return!window.document||e!==window.document.documentElement&&e!==window.document.body||(e=window),e},getScroll(){const{$el:e,direction:t}=this,n="vertical"===t;let i;if(this.pageMode){const t=e.getBoundingClientRect(),s=n?t.height:t.width;let a=-(n?t.top:t.left),r=n?window.innerHeight:window.innerWidth;a<0&&(r+=a,a=0),a+r>s&&(r=s-a),i={start:a,end:a+r}}else i=n?{start:e.scrollTop,end:e.scrollTop+e.clientHeight}:{start:e.scrollLeft,end:e.scrollLeft+e.clientWidth};return i},applyPageMode(){this.pageMode?this.addListeners():this.removeListeners()},addListeners(){this.listenerTarget=this.getListenerTarget(),this.listenerTarget.addEventListener("scroll",this.handleScroll,!!Fc&&{passive:!0}),this.listenerTarget.addEventListener("resize",this.handleResize)},removeListeners(){this.listenerTarget&&(this.listenerTarget.removeEventListener("scroll",this.handleScroll),this.listenerTarget.removeEventListener("resize",this.handleResize),this.listenerTarget=null)},scrollToItem(e){let t;t=null===this.itemSize?e>0?this.sizes[e-1].accumulator:0:Math.floor(e/this.gridItems)*this.itemSize,this.scrollToPosition(t)},scrollToPosition(e){const t="vertical"===this.direction?{scroll:"scrollTop",start:"top"}:{scroll:"scrollLeft",start:"left"};let n,i,s;if(this.pageMode){const a=Kc()(this.$el),r="HTML"===a.tagName?0:a[t.scroll],o=a.getBoundingClientRect(),l=this.$el.getBoundingClientRect(),c=l[t.start]-o[t.start];n=a,i=t.scroll,s=e+r+c}else n=this.$el,i=t.scroll,s=e;n[i]=s},itemsLimitError(){throw setTimeout((()=>{console.log("It seems the scroller element isn't scrolling, so it tries to render all the items at once.","Scroller:",this.$el),console.log("Make sure the scroller has a fixed height (or width) and 'overflow-y' (or 'overflow-x') set to 'auto' so it can scroll correctly and only render the items visible in the scroll viewport.")})),new Error("Rendered items limit reached")},sortViews(){this.pool.sort(((e,t)=>e.nr.index-t.nr.index))}}};function Uc(e,t,n,i,s,a,r,o,l,c){"boolean"!==typeof r&&(l=o,o=r,r=!1);const d="function"===typeof n?n.options:n;let u;if(e&&e.render&&(d.render=e.render,d.staticRenderFns=e.staticRenderFns,d._compiled=!0,s&&(d.functional=!0)),i&&(d._scopeId=i),a?(u=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,l(e)),e&&e._registeredComponents&&e._registeredComponents.add(a)},d._ssrRegister=u):t&&(u=r?function(e){t.call(this,c(e,this.$root.$options.shadowRoot))}:function(e){t.call(this,o(e))}),u)if(d.functional){const e=d.render;d.render=function(t,n){return u.call(n),e(t,n)}}else{const e=d.beforeCreate;d.beforeCreate=e?[].concat(e,u):[u]}return n}const Gc=Wc;var Qc=function(){var e,t,n=this,i=n.$createElement,s=n._self._c||i;return s("div",{directives:[{name:"observe-visibility",rawName:"v-observe-visibility",value:n.handleVisibilityChange,expression:"handleVisibilityChange"}],staticClass:"vue-recycle-scroller",class:(e={ready:n.ready,"page-mode":n.pageMode},e["direction-"+n.direction]=!0,e),on:{"&scroll":function(e){return n.handleScroll.apply(null,arguments)}}},[n.$slots.before?s("div",{ref:"before",staticClass:"vue-recycle-scroller__slot"},[n._t("before")],2):n._e(),n._v(" "),s(n.listTag,{ref:"wrapper",tag:"component",staticClass:"vue-recycle-scroller__item-wrapper",class:n.listClass,style:(t={},t["vertical"===n.direction?"minHeight":"minWidth"]=n.totalSize+"px",t)},[n._l(n.pool,(function(e){return s(n.itemTag,n._g({key:e.nr.id,tag:"component",staticClass:"vue-recycle-scroller__item-view",class:[n.itemClass,{hover:!n.skipHover&&n.hoverKey===e.nr.key}],style:n.ready?{transform:"translate"+("vertical"===n.direction?"Y":"X")+"("+e.position+"px) translate"+("vertical"===n.direction?"X":"Y")+"("+e.offset+"px)",width:n.gridItems?("vertical"===n.direction&&n.itemSecondarySize||n.itemSize)+"px":void 0,height:n.gridItems?("horizontal"===n.direction&&n.itemSecondarySize||n.itemSize)+"px":void 0}:null},n.skipHover?{}:{mouseenter:function(){n.hoverKey=e.nr.key},mouseleave:function(){n.hoverKey=null}}),[n._t("default",null,{item:e.item,index:e.nr.index,active:e.nr.used})],2)})),n._v(" "),n._t("empty")],2),n._v(" "),n.$slots.after?s("div",{ref:"after",staticClass:"vue-recycle-scroller__slot"},[n._t("after")],2):n._e(),n._v(" "),s("ResizeObserver",{on:{notify:n.handleResize}})],1)},Xc=[];Qc._withStripped=!0;const Yc=void 0,Jc=void 0,ed=void 0,td=!1,nd=Uc({render:Qc,staticRenderFns:Xc},Yc,Gc,Jc,td,ed,!1,void 0,void 0,void 0);var id={name:"DynamicScroller",components:{RecycleScroller:nd},provide(){return"undefined"!==typeof ResizeObserver&&(this.$_resizeObserver=new ResizeObserver((e=>{requestAnimationFrame((()=>{if(Array.isArray(e))for(const t of e)if(t.target){const e=new CustomEvent("resize",{detail:{contentRect:t.contentRect}});t.target.dispatchEvent(e)}}))}))),{vscrollData:this.vscrollData,vscrollParent:this,vscrollResizeObserver:this.$_resizeObserver}},inheritAttrs:!1,props:{...qc,minItemSize:{type:[Number,String],required:!0}},data(){return{vscrollData:{active:!0,sizes:{},validSizes:{},keyField:this.keyField,simpleArray:!1}}},computed:{simpleArray:jc,itemsWithSize(){const e=[],{items:t,keyField:n,simpleArray:i}=this,s=this.vscrollData.sizes,a=t.length;for(let r=0;r=n)break;i+=t[o].size||this.minItemSize,s+=e[o].size||this.minItemSize}const r=s-i;0!==r&&(this.$el.scrollTop+=r)}},beforeCreate(){this.$_updates=[],this.$_undefinedSizes=0,this.$_undefinedMap={}},activated(){this.vscrollData.active=!0},deactivated(){this.vscrollData.active=!1},methods:{onScrollerResize(){const e=this.$refs.scroller;e&&this.forceUpdate(),this.$emit("resize")},onScrollerVisible(){this.$emit("vscroll:update",{force:!1}),this.$emit("visible")},forceUpdate(e=!0){(e||this.simpleArray)&&(this.vscrollData.validSizes={}),this.$emit("vscroll:update",{force:!0})},scrollToItem(e){const t=this.$refs.scroller;t&&t.scrollToItem(e)},getItemSize(e,t=undefined){const n=this.simpleArray?null!=t?t:this.items.indexOf(e):e[this.keyField];return this.vscrollData.sizes[n]||0},scrollToBottom(){if(this.$_scrollingToBottom)return;this.$_scrollingToBottom=!0;const e=this.$el;this.$nextTick((()=>{e.scrollTop=e.scrollHeight+5e3;const t=()=>{e.scrollTop=e.scrollHeight+5e3,requestAnimationFrame((()=>{e.scrollTop=e.scrollHeight+5e3,0===this.$_undefinedSizes?this.$_scrollingToBottom=!1:requestAnimationFrame(t)}))};requestAnimationFrame(t)}))}}};const sd=id;var ad=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("RecycleScroller",e._g(e._b({ref:"scroller",attrs:{items:e.itemsWithSize,"min-item-size":e.minItemSize,direction:e.direction,"key-field":"id","list-tag":e.listTag,"item-tag":e.itemTag},on:{resize:e.onScrollerResize,visible:e.onScrollerVisible},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.item,i=t.index,s=t.active;return[e._t("default",null,null,{item:n.item,index:i,active:s,itemWithSize:n})]}}],null,!0)},"RecycleScroller",e.$attrs,!1),e.listeners),[e._v(" "),n("template",{slot:"before"},[e._t("before")],2),e._v(" "),n("template",{slot:"after"},[e._t("after")],2),e._v(" "),n("template",{slot:"empty"},[e._t("empty")],2)],2)},rd=[];ad._withStripped=!0;const od=void 0,ld=void 0,cd=void 0,dd=!1,ud=Uc({render:ad,staticRenderFns:rd},od,sd,ld,dd,cd,!1,void 0,void 0,void 0);var hd={name:"DynamicScrollerItem",inject:["vscrollData","vscrollParent","vscrollResizeObserver"],props:{item:{required:!0},watchData:{type:Boolean,default:!1},active:{type:Boolean,required:!0},index:{type:Number,default:void 0},sizeDependencies:{type:[Array,Object],default:null},emitResize:{type:Boolean,default:!1},tag:{type:String,default:"div"}},computed:{id(){if(this.vscrollData.simpleArray)return this.index;if(this.item.hasOwnProperty(this.vscrollData.keyField))return this.item[this.vscrollData.keyField];throw new Error(`keyField '${this.vscrollData.keyField}' not found in your item. You should set a valid keyField prop on your Scroller`)},size(){return this.vscrollData.validSizes[this.id]&&this.vscrollData.sizes[this.id]||0},finalActive(){return this.active&&this.vscrollData.active}},watch:{watchData:"updateWatchData",id(){this.size||this.onDataUpdate()},finalActive(e){this.size||(e?this.vscrollParent.$_undefinedMap[this.id]||(this.vscrollParent.$_undefinedSizes++,this.vscrollParent.$_undefinedMap[this.id]=!0):this.vscrollParent.$_undefinedMap[this.id]&&(this.vscrollParent.$_undefinedSizes--,this.vscrollParent.$_undefinedMap[this.id]=!1)),this.vscrollResizeObserver?e?this.observeSize():this.unobserveSize():e&&this.$_pendingVScrollUpdate===this.id&&this.updateSize()}},created(){if(!this.$isServer&&(this.$_forceNextVScrollUpdate=null,this.updateWatchData(),!this.vscrollResizeObserver)){for(const e in this.sizeDependencies)this.$watch((()=>this.sizeDependencies[e]),this.onDataUpdate);this.vscrollParent.$on("vscroll:update",this.onVscrollUpdate),this.vscrollParent.$on("vscroll:update-size",this.onVscrollUpdateSize)}},mounted(){this.vscrollData.active&&(this.updateSize(),this.observeSize())},beforeDestroy(){this.vscrollParent.$off("vscroll:update",this.onVscrollUpdate),this.vscrollParent.$off("vscroll:update-size",this.onVscrollUpdateSize),this.unobserveSize()},methods:{updateSize(){this.finalActive?this.$_pendingSizeUpdate!==this.id&&(this.$_pendingSizeUpdate=this.id,this.$_forceNextVScrollUpdate=null,this.$_pendingVScrollUpdate=null,this.computeSize(this.id)):this.$_forceNextVScrollUpdate=this.id},updateWatchData(){this.watchData&&!this.vscrollResizeObserver?this.$_watchData=this.$watch("item",(()=>{this.onDataUpdate()}),{deep:!0}):this.$_watchData&&(this.$_watchData(),this.$_watchData=null)},onVscrollUpdate({force:e}){!this.finalActive&&e&&(this.$_pendingVScrollUpdate=this.id),this.$_forceNextVScrollUpdate!==this.id&&!e&&this.size||this.updateSize()},onDataUpdate(){this.updateSize()},computeSize(e){this.$nextTick((()=>{if(this.id===e){const e=this.$el.offsetWidth,t=this.$el.offsetHeight;this.applySize(e,t)}this.$_pendingSizeUpdate=null}))},applySize(e,t){const n=~~("vertical"===this.vscrollParent.direction?t:e);n&&this.size!==n&&(this.vscrollParent.$_undefinedMap[this.id]&&(this.vscrollParent.$_undefinedSizes--,this.vscrollParent.$_undefinedMap[this.id]=void 0),this.$set(this.vscrollData.sizes,this.id,n),this.$set(this.vscrollData.validSizes,this.id,!0),this.emitResize&&this.$emit("resize",this.id))},observeSize(){this.vscrollResizeObserver&&this.$el.parentNode&&(this.vscrollResizeObserver.observe(this.$el.parentNode),this.$el.parentNode.addEventListener("resize",this.onResize))},unobserveSize(){this.vscrollResizeObserver&&(this.vscrollResizeObserver.unobserve(this.$el.parentNode),this.$el.parentNode.removeEventListener("resize",this.onResize))},onResize(e){const{width:t,height:n}=e.detail.contentRect;this.applySize(t,n)}},render(e){return e(this.tag,this.$slots.default)}};const pd=hd,gd=void 0,fd=void 0,md=void 0,yd=void 0,vd=Uc({},gd,pd,fd,yd,md,!1,void 0,void 0,void 0);function bd({idProp:e=(e=>e.item.id)}={}){const t={},n=new Lr["default"]({data(){return{store:t}}});return{data(){return{idState:null}},created(){this.$_id=null,this.$_getId="function"===typeof e?()=>e.call(this,this):()=>this[e],this.$watch(this.$_getId,{handler(e){this.$nextTick((()=>{this.$_id=e}))},immediate:!0}),this.$_updateIdState()},beforeUpdate(){this.$_updateIdState()},methods:{$_idStateInit(e){const i=this.$options.idState;if("function"===typeof i){const s=i.call(this,this);return n.$set(t,e,s),this.$_id=e,s}throw new Error("[mixin IdState] Missing `idState` function on component definition.")},$_updateIdState(){const n=this.$_getId();null==n&&console.warn(`No id found for IdState with idProp: '${e}'.`),n!==this.$_id&&(t[n]||this.$_idStateInit(n),this.idState=t[n])}}}}function Td(e,t){e.component(`${t}recycle-scroller`,nd),e.component(`${t}RecycleScroller`,nd),e.component(`${t}dynamic-scroller`,ud),e.component(`${t}DynamicScroller`,ud),e.component(`${t}dynamic-scroller-item`,vd),e.component(`${t}DynamicScrollerItem`,vd)}const _d={version:"1.1.2",install(e,t){const n=Object.assign({},{installComponents:!0,componentsPrefix:""},t);for(const i in n)"undefined"!==typeof n[i]&&(Zc[i]=n[i]);n.installComponents&&Td(e,n.componentsPrefix)}};let Sd=null;function kd(e){const t=(0,dn.RL)((0,dn.hr)(e));return new RegExp(t,"ig")}"undefined"!==typeof window?Sd=window.Vue:"undefined"!==typeof n.g&&(Sd=n.g.Vue),Sd&&Sd.use(_d);var Cd,wd,xd=function(){var e=this,t=e._self._c;return t("BaseNavigatorCardItem",{class:{expanded:e.expanded,active:e.isActive,"is-group":e.isGroupMarker},style:{"--nesting-index":e.item.depth},attrs:{"data-nesting-index":e.item.depth,id:`container-${e.item.uid}`,"aria-hidden":e.isRendered?null:"true",hideNavigatorIcon:e.isGroupMarker},nativeOn:{keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])||"button"in t&&0!==t.button?null:(t.preventDefault(),e.handleLeftKeydown.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"right",39,t.key,["Right","ArrowRight"])||"button"in t&&2!==t.button||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:(t.preventDefault(),e.handleRightKeydown.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.clickReference.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"right",39,t.key,["Right","ArrowRight"])?null:t.altKey?"button"in t&&2!==t.button?null:(t.preventDefault(),e.toggleEntireTree.apply(null,arguments)):null}]},scopedSlots:e._u([{key:"depth-spacer",fn:function(){return[t("span",{attrs:{hidden:"",id:e.usageLabel}},[e._v(" "+e._s(e.$t("filter.navigate"))+" ")]),e.isParent?t("button",{staticClass:"tree-toggle",attrs:{tabindex:"-1","aria-labelledby":e.item.uid,"aria-expanded":e.expanded?"true":"false","aria-describedby":e.ariaDescribedBy},on:{click:[function(t){return t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:(t.preventDefault(),e.toggleTree.apply(null,arguments))},function(t){return t.altKey?(t.preventDefault(),e.toggleEntireTree.apply(null,arguments)):null},function(t){return t.metaKey?(t.preventDefault(),e.toggleSiblings.apply(null,arguments)):null}]}},[t("InlineChevronRightIcon",{staticClass:"icon-inline chevron",class:{rotate:e.expanded,animating:e.idState.isOpening}})],1):e._e()]},proxy:!0},{key:"navigator-icon",fn:function({className:n}){return[e.apiChange?t("span",{class:[{[`changed changed-${e.apiChange}`]:e.apiChange},n]}):t("TopicTypeIcon",{key:e.item.uid,class:n,attrs:{type:e.item.type,"image-override":e.item.icon?e.navigatorReferences[e.item.icon]:null,shouldCalculateOptimalWidth:!1}})]}},{key:"title-container",fn:function(){return[e.isParent?t("span",{attrs:{hidden:"",id:e.parentLabel}},[e._v(e._s(e.$tc("filter.parent-label",e.item.childUIDs.length,{"number-siblings":e.item.index+1,"total-siblings":e.item.siblingsCount,"parent-siblings":e.item.parent,"number-parent":e.item.childUIDs.length})))]):e._e(),e.isParent?e._e():t("span",{attrs:{id:e.siblingsLabel,hidden:""}},[e._v(" "+e._s(e.$t("filter.siblings-label",{"number-siblings":e.item.index+1,"total-siblings":e.item.siblingsCount,"parent-siblings":e.item.parent}))+" ")]),t(e.refComponent,{ref:"reference",tag:"component",staticClass:"leaf-link",class:{bolded:e.isBold},attrs:{id:e.item.uid,url:e.isGroupMarker?null:e.item.path||"",tabindex:e.isFocused?"0":"-1","aria-describedby":`${e.ariaDescribedBy} ${e.usageLabel}`},nativeOn:{click:[function(t){return t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:e.handleClick.apply(null,arguments)},function(t){return t.altKey?(t.preventDefault(),e.toggleEntireTree.apply(null,arguments)):null}]}},[t("HighlightMatches",{attrs:{text:e.item.title,matcher:e.filterPattern}})],1),e.isDeprecated?t("Badge",{attrs:{variant:"deprecated"}}):e.isBeta?t("Badge",{attrs:{variant:"beta"}}):e._e()]},proxy:!0}])})},Id=[],$d=function(){var e=this,t=e._self._c;return t("div",{staticClass:"navigator-card-item"},[t("div",{staticClass:"head-wrapper"},[t("div",{staticClass:"depth-spacer"},[e._t("depth-spacer")],2),e.hideNavigatorIcon?e._e():t("div",{staticClass:"navigator-icon-wrapper"},[e._t("navigator-icon",null,{className:"navigator-icon"})],2),t("div",{staticClass:"title-container"},[e._t("title-container")],2)])])},Dd=[],Pd={name:"BaseNavigatorCardItem",props:{hideNavigatorIcon:{type:Boolean,default:()=>!1}}},Ld=Pd,Od=(0,Z.Z)(Ld,$d,Dd,!1,null,"62ea5d36",null),Ad=Od.exports,Nd={name:"HighlightMatch",props:{text:{type:String,required:!0},matcher:{type:RegExp,default:void 0}},render(e){const{matcher:t,text:n}=this;if(!t)return e("p",{class:"highlight"},n);const i=[];let s=0,a=null;const r=new RegExp(t,"gi");while(null!==(a=r.exec(n))){const t=a[0].length,r=a.index+t,o=n.slice(s,a.index);o&&i.push(e("span",o));const l=n.slice(a.index,r);l&&i.push(e("span",{class:"match"},l)),s=r}const o=n.slice(s,n.length);return o&&i.push(e("span",o)),e("p",{class:"highlight"},i)}},Rd=Nd,Bd=(0,Z.Z)(Rd,Cd,wd,!1,null,"7b81ca08",null),Ed=Bd.exports,Md={name:"NavigatorCardItem",mixins:[bd({idProp:e=>e.item.uid})],components:{BaseNavigatorCardItem:Ad,HighlightMatches:Ed,TopicTypeIcon:Se.Z,InlineChevronRightIcon:fr.Z,Reference:Ls.Z,Badge:oi.Z},props:{isRendered:{type:Boolean,default:!1},item:{type:Object,required:!0},expanded:{type:Boolean,default:!1},filterPattern:{type:RegExp,default:void 0},isActive:{type:Boolean,default:!1},isBold:{type:Boolean,default:!1},apiChange:{type:String,default:null,validator:e=>At.UG.includes(e)},isFocused:{type:Boolean,default:()=>!1},enableFocus:{type:Boolean,default:!0},navigatorReferences:{type:Object,default:()=>({})}},idState(){return{isOpening:!1}},computed:{isGroupMarker:({item:{type:e}})=>e===ke.t.groupMarker,isParent:({item:e,isGroupMarker:t})=>!!e.childUIDs.length&&!t,parentLabel:({item:e})=>`label-parent-${e.uid}`,siblingsLabel:({item:e})=>`label-${e.uid}`,usageLabel:({item:e})=>`usage-${e.uid}`,ariaDescribedBy:({isParent:e,parentLabel:t,siblingsLabel:n})=>e?`${t}`:`${n}`,isBeta:({item:{beta:e}})=>!!e,isDeprecated:({item:{deprecated:e}})=>!!e,refComponent:({isGroupMarker:e})=>e?"h3":Ls.Z},methods:{toggleTree(){this.idState.isOpening=!0,this.$emit("toggle",this.item)},toggleEntireTree(){this.idState.isOpening=!0,this.$emit("toggle-full",this.item)},toggleSiblings(){this.idState.isOpening=!0,this.$emit("toggle-siblings",this.item)},handleLeftKeydown(){this.expanded?this.toggleTree():this.$emit("focus-parent",this.item)},handleRightKeydown(){!this.expanded&&this.isParent&&this.toggleTree()},clickReference(){(this.$refs.reference.$el||this.$refs.reference).click()},focusReference(){(this.$refs.reference.$el||this.$refs.reference).focus()},handleClick(){this.isGroupMarker||this.$emit("navigate",this.item.uid)}},watch:{async isFocused(e){await(0,Re.J)(8),e&&this.isRendered&&this.enableFocus&&this.focusReference()},async expanded(){await(0,Re.J)(9),this.idState.isOpening=!1}}},zd=Md,Kd=(0,Z.Z)(zd,xd,Id,!1,null,"7ae37cc6",null),Zd=Kd.exports,qd=function(){var e=this,t=e._self._c;return t("div",{staticClass:"navigator-card"},[t("div",{staticClass:"navigator-card-full-height"},[t("div",{staticClass:"navigator-card-inner"},[t("div",{staticClass:"head-wrapper"},[e._t("above-navigator-head"),t("div",{staticClass:"head-inner"},[e._t("navigator-head"),t("button",{staticClass:"close-card",attrs:{id:e.SIDEBAR_HIDE_BUTTON_ID,"aria-label":e.$t("navigator.close-navigator")},on:{click:e.handleHideClick}},[t("InlineCloseIcon",{staticClass:"icon-inline close-icon"})],1)],2)],2),e._t("body",null,{className:"card-body"})],2)])])},jd=[],Fd=n(7181),Hd={name:"BaseNavigatorCard",components:{InlineCloseIcon:Fd.Z},data(){return{SIDEBAR_HIDE_BUTTON_ID:Wr}},methods:{async handleHideClick(){this.$emit("close"),await this.$nextTick();const e=document.getElementById(Gl.Yj);e&&e.focus()}}},Vd=Hd,Wd=(0,Z.Z)(Vd,qd,jd,!1,null,"063d9cca",null),Ud=Wd.exports;const Gd={sampleCode:"filter.tags.sample-code",tutorials:"filter.tags.tutorials",articles:"filter.tags.articles",webServiceEndpoints:"filter.tags.web-service-endpoints"},Qd=At.Ag,Xd={...Gd,...Qd,hideDeprecated:"filter.tags.hide-deprecated"},Yd={[ke.t.article]:Xd.articles,[ke.t.learn]:Xd.tutorials,[ke.t.overview]:Xd.tutorials,[ke.t.resources]:Xd.tutorials,[ke.t.sampleCode]:Xd.sampleCode,[ke.t.section]:Xd.tutorials,[ke.t.tutorial]:Xd.tutorials,[ke.t.project]:Xd.tutorials,[ke.t.httpRequest]:Xd.webServiceEndpoints};var Jd={computed:{filteredChildren:({children:e,selectedTags:t,apiChanges:n,filterPattern:i,filterChildren:s})=>s(e,t,n,i)},methods:{filterChildren(e,t,n,i){const s=new Set(t);return e.filter((({title:e,path:t,type:a,deprecated:r,deprecatedChildrenCount:o,childUIDs:l})=>{const c=!i||i.test(e),d=r||o===l.length;let u=!0;if(s.size){if(u=s.has(Yd[a]),n&&!u){const e=n[t];u=s.has(Xd[e])}s.has(Xd.hideDeprecated)&&(u=!d)}const h=!n||!!n[t];return c&&u&&h}))}}},eu={name:"TagsDataProvider",constants:{TOPIC_TYPE_TO_TAG:Yd},props:{shouldTruncateTags:{type:Boolean,default:!1}},computed:{availableTags:({renderableChildNodesMap:e,apiChangesObject:t,extractTags:n})=>n(e,t),suggestedTags({availableTags:e,selectedTags:t,hideAvailableTags:n}){return n||t.length?[]:e},translatableTags:({availableTags:e})=>[Xd.hideDeprecated,...e]},methods:{extractTags(e,t){const n=new Set(Object.values(Gd)),i={type:[],changes:[],other:[]},s=new Set(Object.values(t));s.size?s.forEach((e=>{n.add(Xd[e])})):n.add(Xd.hideDeprecated);for(const a in e){if(!Object.hasOwnProperty.call(e,a))continue;if(!n.size)break;const{type:s,path:r,deprecated:o}=e[a],l=Yd[s];l&&n.has(l)&&(i.type.push(l),n.delete(l));const c=t[r];c&&n.has(Xd[c])&&(i.changes.push(Xd[c]),n.delete(Xd[c])),o&&n.has(Xd.hideDeprecated)&&(i.other.push(Xd.hideDeprecated),n.delete(Xd.hideDeprecated))}return Object.values(i).flat()}}},tu=n(5654);const nu="navigator.state",iu="navigator.no-results",su="navigator.no-children",au="navigator.error-fetching",ru="navigator.items-found";var ou={name:"NavigatorCard",constants:{STORAGE_KEY:nu,ERROR_FETCHING:au,ITEMS_FOUND:ru},components:{FilterInput:ul,NavigatorCardItem:Zd,DynamicScroller:ud,DynamicScrollerItem:vd,BaseNavigatorCard:Ud,Reference:Ls.Z,Badge:oi.Z},props:{technologyPath:{type:String,default:""},children:{type:Array,required:!0},technology:{type:String,required:!1},activePath:{type:Array,required:!0},type:{type:String,required:!0},scrollLockID:{type:String,default:""},errorFetching:{type:Boolean,default:!1},apiChanges:{type:Object,default:null},isTechnologyBeta:{type:Boolean,default:!1},navigatorReferences:{type:Object,default:()=>{}},renderFilterOnTop:{type:Boolean,default:!1},hideAvailableTags:{type:Boolean,default:!1},isSpecificOverload:{type:Boolean,default:!1}},mixins:[Fo,Jd,eu],data(){return{filter:"",debouncedFilter:"",selectedTags:[],openNodes:Object.freeze({}),nodesToRender:Object.freeze([]),activeUID:null,lastFocusTarget:null,allNodesToggled:!1,INDEX_ROOT_KEY:Hr}},computed:{politeAriaLive(){const{hasNodes:e,nodesToRender:t}=this;return e?this.$tc(ru,t.length,{number:t.length}):""},assertiveAriaLive:({hasNodes:e,hasFilter:t,errorFetching:n})=>e?"":t?iu:n?au:su,filterPattern:({debouncedFilter:e})=>e?new RegExp(kd(e),"i"):null,itemSize:()=>Vr,childrenMap({children:e}){return Gr(e)},activePathChildren({activeUID:e,childrenMap:t}){return e&&t[e]?Jr(e,t):[]},activePathMap:({activePathChildren:e})=>Object.fromEntries(e.map((({uid:e})=>[e,!0]))),activeIndex:({activeUID:e,nodesToRender:t})=>t.findIndex((t=>t.uid===e)),renderableChildNodesMap({hasFilter:e,childrenMap:t,deprecatedHidden:n,filteredChildren:i,removeDeprecated:s}){if(!e)return t;const a=i.length-1,r=new Set([]);for(let o=a;o>=0;o-=1){const e=i[o],a=t[e.groupMarkerUID];if(a&&r.add(a),r.has(e))continue;if(r.has(t[e.parent])&&e.type!==ke.t.groupMarker){r.add(e);continue}let l=[];e.childUIDs.length&&(l=s(Xr(e.uid,t),n)),l.concat(Jr(e.uid,t)).forEach((e=>r.add(e)))}return Gr([...r])},nodeChangeDeps:({filteredChildren:e,activePathChildren:t,debouncedFilter:n,selectedTags:i})=>[e,t,n,i],hasFilter({debouncedFilter:e,selectedTags:t,apiChanges:n}){return Boolean(e.length||t.length||n)},deprecatedHidden:({selectedTags:e})=>e[0]===Xd.hideDeprecated,apiChangesObject(){return this.apiChanges||{}},hasNodes:({nodesToRender:e})=>!!e.length,totalItemsToNavigate:({nodesToRender:e})=>e.length,lastActivePathItem:({activePath:e})=>(0,tu.Z$)(e)},created(){this.restorePersistedState()},watch:{filter:"debounceInput",nodeChangeDeps:"trackOpenNodes",activePath:"handleActivePathChange",apiChanges(e){e||(this.selectedTags=this.selectedTags.filter((e=>!Object.values(Qd).includes(e))))},async activeUID(e,t){await this.$nextTick();const n=this.$refs[`dynamicScroller_${t}`];n&&n.updateSize&&n.updateSize()}},methods:{setUnlessEqual(e,t){(0,tu.Xy)(t,this[e])||(this[e]=Object.freeze(t))},toggleAllNodes(){const e=this.children.filter((e=>e.parent===Hr&&e.type!==ke.t.groupMarker&&e.childUIDs.length));this.allNodesToggled=!this.allNodesToggled,this.allNodesToggled&&(this.openNodes={},this.generateNodesToRender()),e.forEach((e=>{this.toggleFullTree(e)}))},clearFilters(){this.filter="",this.debouncedFilter="",this.selectedTags=[]},scrollToFocus(){this.$refs.scroller.scrollToItem(this.focusedIndex)},debounceInput:Po((function(e){this.debouncedFilter=e,this.lastFocusTarget=null}),200),trackOpenNodes([e,t,n,i],[,s=[],a="",r=[]]=[]){if(n!==a&&!a&&this.getFromStorage("filter")||!(0,tu.Xy)(i,r)&&!r.length&&this.getFromStorage("selectedTags",[]).length)return;const o=!(0,tu.Xy)(s,t),{childrenMap:l}=this;let c=t;if(!(this.deprecatedHidden&&!this.debouncedFilter.length||o&&this.hasFilter)&&this.hasFilter){const t=new Set,n=e.length-1;for(let i=n;i>=0;i-=1){const n=e[i];t.has(l[n.parent])||t.has(n)||Jr(n.uid,l).slice(0,-1).forEach((e=>t.add(e)))}c=[...t]}const d=o?{...this.openNodes}:{},u=c.reduce(((e,t)=>(e[t.uid]=!0,e)),d);this.setUnlessEqual("openNodes",u),this.generateNodesToRender(),this.updateFocusIndexExternally()},toggle(e){const t=this.openNodes[e.uid];let n=[],i=[];if(t){const t=(0,w.d9)(this.openNodes),n=Xr(e.uid,this.childrenMap);n.forEach((({uid:e})=>{delete t[e]})),this.setUnlessEqual("openNodes",t),i=n.slice(1)}else this.setUnlessEqual("openNodes",{...this.openNodes,[e.uid]:!0}),n=Yr(e.uid,this.childrenMap,this.children).filter((e=>this.renderableChildNodesMap[e.uid]));this.augmentRenderNodes({uid:e.uid,include:n,exclude:i})},toggleFullTree(e){const t=this.openNodes[e.uid],n=(0,w.d9)(this.openNodes),i=Xr(e.uid,this.childrenMap);let s=[],a=[];i.forEach((({uid:e})=>{t?delete n[e]:n[e]=!0})),t?s=i.slice(1):a=i.slice(1).filter((e=>this.renderableChildNodesMap[e.uid])),this.setUnlessEqual("openNodes",n),this.augmentRenderNodes({uid:e.uid,exclude:s,include:a})},toggleSiblings(e){const t=this.openNodes[e.uid],n=(0,w.d9)(this.openNodes),i=eo(e.uid,this.childrenMap,this.children);i.forEach((({uid:e,childUIDs:i,type:s})=>{if(i.length&&s!==ke.t.groupMarker)if(t){const t=Xr(e,this.childrenMap);t.forEach((e=>{delete n[e.uid]})),delete n[e],this.augmentRenderNodes({uid:e,exclude:t.slice(1),include:[]})}else{n[e]=!0;const t=Yr(e,this.childrenMap,this.children).filter((e=>this.renderableChildNodesMap[e.uid]));this.augmentRenderNodes({uid:e,exclude:[],include:t})}})),this.setUnlessEqual("openNodes",n),this.persistState()},removeDeprecated(e,t){return t?e.filter((({deprecated:e})=>!e)):e},generateNodesToRender(){const{children:e,openNodes:t,renderableChildNodesMap:n}=this;this.setUnlessEqual("nodesToRender",e.filter((e=>n[e.uid]&&(e.parent===Hr||t[e.parent])))),this.persistState(),this.scrollToElement()},augmentRenderNodes({uid:e,include:t=[],exclude:n=[]}){const i=this.nodesToRender.findIndex((t=>t.uid===e));if(t.length){const e=t.filter((e=>!this.nodesToRender.includes(e))),n=this.nodesToRender.slice(0);n.splice(i+1,0,...e),this.setUnlessEqual("nodesToRender",n)}else if(n.length){const e=new Set(n);this.setUnlessEqual("nodesToRender",this.nodesToRender.filter((t=>!e.has(t))))}this.persistState()},getFromStorage(e,t=null){const n=Hl.y7.get(nu,{}),i=n[this.technologyPath];return i?e?i[e]||t:i:t},persistState(){const e={path:this.lastActivePathItem},{path:t}=this.activeUID&&this.childrenMap[this.activeUID]||e,n={technology:this.technology,path:t,hasApiChanges:!!this.apiChanges,openNodes:Object.keys(this.openNodes).map(Number),nodesToRender:this.nodesToRender.map((({uid:e})=>e)),activeUID:this.activeUID,filter:this.filter,selectedTags:this.selectedTags},i={...Hl.y7.get(nu,{}),[this.technologyPath]:n};Hl.y7.set(nu,i)},clearPersistedState(){const e={...Hl.y7.get(nu,{}),[this.technologyPath]:{}};Hl.y7.set(nu,e)},restorePersistedState(){const e=this.getFromStorage();if(!e||e.path!==this.lastActivePathItem)return this.clearPersistedState(),void this.handleActivePathChange(this.activePath);const{technology:t,nodesToRender:n=[],filter:i="",hasAPIChanges:s=!1,activeUID:a=null,selectedTags:r=[],openNodes:o}=e;if(!n.length&&!i&&!r.length)return this.clearPersistedState(),void this.handleActivePathChange(this.activePath);const{childrenMap:l}=this,c=n.every((e=>l[e])),d=a?(this.childrenMap[a]||{}).path===this.lastActivePathItem:1===this.activePath.length;if(t!==this.technology||!c||s!==Boolean(this.apiChanges)||!d||a&&!i&&!r.length&&!n.includes(a))return this.clearPersistedState(),void this.handleActivePathChange(this.activePath);this.setUnlessEqual("openNodes",Object.fromEntries(o.map((e=>[e,!0])))),this.setUnlessEqual("nodesToRender",n.map((e=>l[e]))),this.selectedTags=r,this.filter=i,this.debouncedFilter=this.filter,this.activeUID=a,this.scrollToElement()},async scrollToElement(){if(await(0,Re.J)(1),!this.$refs.scroller)return;const e=document.getElementById(this.activeUID);if(e&&0===this.getChildPositionInScroller(e))return;const t=this.nodesToRender.findIndex((e=>e.uid===this.activeUID));-1!==t?this.$refs.scroller.scrollToItem(t):this.hasFilter&&!this.deprecatedHidden&&this.$refs.scroller.scrollToItem(0)},getChildPositionInScroller(e){if(!e)return 0;const{paddingTop:t,paddingBottom:n}=getComputedStyle(this.$refs.scroller.$el),i={top:parseInt(t,10)||0,bottom:parseInt(n,10)||0},{y:s,height:a}=this.$refs.scroller.$el.getBoundingClientRect(),{y:r}=e.getBoundingClientRect();let o=0;e.offsetParent&&(o=e.offsetParent.offsetHeight);const l=r-s-i.top;return l<0?-1:l+o>=a-i.bottom?1:0},isInsideScroller(e){return!!this.$refs.scroller&&this.$refs.scroller.$el.contains(e)},handleFocusIn({target:e}){this.lastFocusTarget=e;const t=this.getChildPositionInScroller(e);if(0===t)return;const{offsetHeight:n}=e.offsetParent;this.$refs.scroller.$el.scrollBy({top:n*t,left:0})},handleFocusOut(e){e.relatedTarget&&(this.isInsideScroller(e.relatedTarget)||(this.lastFocusTarget=null))},handleScrollerUpdate:Po((async function(){await(0,Re.X)(300),this.lastFocusTarget&&this.isInsideScroller(this.lastFocusTarget)&&document.activeElement!==this.lastFocusTarget&&this.lastFocusTarget.focus({preventScroll:!0})}),50),setActiveUID(e){this.activeUID=e},handleNavigationChange(e){const t=this.childrenMap[e].path;t.startsWith(this.technologyPath)&&(this.setActiveUID(e),this.$emit("navigate",t))},pathsToFlatChildren(e){const t=e.slice(0).reverse(),{childrenMap:n}=this;let i=this.children;const s=[];while(t.length){const e=t.pop(),a=i.find((t=>t.path===e));if(!a)break;s.push(a),t.length&&(i=a.childUIDs.map((e=>n[e])))}return s},handleActivePathChange(e){const t=this.childrenMap[this.activeUID],n=(0,tu.Z$)(e);if(t){if(n===t.path)return;if(this.matchInSurroundingItems(this.activeUID,n))return;if(this.isSpecificOverload){const e=this.getGenericPath(n);if(this.matchInSurroundingItems(this.activeUID,e))return}}const i=this.pathsToFlatChildren(e);if(i.length){const e=(0,tu.Z$)(i).uid;if((0,tu.Z$)(i).path!==n&&this.isSpecificOverload){const t=this.getGenericPath(n);if(this.matchInSurroundingItems(e,t))return}this.setActiveUID(e)}else this.activeUID?this.setActiveUID(null):this.trackOpenNodes(this.nodeChangeDeps)},matchInSurroundingItems(e,t){const n=eo(e,this.childrenMap,this.children),i=Yr(e,this.childrenMap,this.children),s=Jr(e,this.childrenMap),a=[...i,...n,...s].find((e=>e.path===t));return!!a&&(this.setActiveUID(a.uid),!0)},getGenericPath(e){return e.slice(0,e.lastIndexOf("-"))},updateFocusIndexExternally(){this.externalFocusChange=!0,this.activeIndex>0?this.focusIndex(this.activeIndex):this.focusIndex(0)},focusNodeParent(e){const t=this.childrenMap[e.parent];if(!t)return;const n=this.nodesToRender.findIndex((e=>e.uid===t.uid));-1!==n&&this.focusIndex(n)}}},lu=ou,cu=(0,Z.Z)(lu,uc,hc,!1,null,"25394030",null),du=cu.exports,uu=function(){var e=this,t=e._self._c;return t("BaseNavigatorCard",e._b({on:{close:function(t){return e.$emit("close")}},scopedSlots:e._u([{key:"body",fn:function({className:n}){return[t("transition",{attrs:{name:"delay-visibility"}},[t("div",{staticClass:"loading-navigator",class:n,attrs:{"aria-hidden":"true"}},e._l(e.LOADER_ROWS,(function(e,n){return t("LoadingNavigatorItem",{key:n,attrs:{index:n,width:e.width,hideNavigatorIcon:e.hideNavigatorIcon}})})),1)])]}}])},"BaseNavigatorCard",e.$props,!1))},hu=[],pu=function(){var e=this,t=e._self._c;return t("BaseNavigatorCardItem",{staticClass:"loading-navigator-item",style:`--index: ${e.index};`,attrs:{hideNavigatorIcon:e.hideNavigatorIcon},scopedSlots:e._u([{key:"navigator-icon",fn:function({className:e}){return[t("div",{class:e})]}},{key:"title-container",fn:function(){return[t("div",{staticClass:"loader",style:{width:e.width}})]},proxy:!0}])})},gu=[],fu={name:"LoadingNavigatorItem",components:{BaseNavigatorCardItem:Ad},props:{...Ad.props,index:{type:Number,default:0},width:{type:String,default:"50%"}}},mu=fu,yu=(0,Z.Z)(mu,pu,gu,!1,null,"0de29914",null),vu=yu.exports;const bu=[{width:"30%",hideNavigatorIcon:!0},{width:"80%"},{width:"50%"}];var Tu={name:"LoadingNavigatorCard",components:{BaseNavigatorCard:Ud,LoadingNavigatorItem:vu},data(){return{LOADER_ROWS:bu}}},_u=Tu,Su=(0,Z.Z)(_u,uu,hu,!1,null,"3b7cf3a4",null),ku=Su.exports,Cu={name:"Navigator",components:{NavigatorCard:du,LoadingNavigatorCard:ku},data(){return{INDEX_ROOT_KEY:Hr}},props:{flatChildren:{type:Array,required:!0},parentTopicIdentifiers:{type:Array,required:!0},technology:{type:Object,required:!1},isFetching:{type:Boolean,default:!1},references:{type:Object,default:()=>{}},navigatorReferences:{type:Object,default:()=>{}},scrollLockID:{type:String,default:""},errorFetching:{type:Boolean,default:!1},renderFilterOnTop:{type:Boolean,default:!1},apiChanges:{type:Object,default:null},symbolKind:{default:()=>{}}},computed:{parentTopicReferences({references:e,parentTopicIdentifiers:t}){return t.reduce(((t,n)=>{const i=e[n];return i?t.concat(i):(console.error(`Reference for "${n}" is missing`),t)}),[])},activePath({parentTopicReferences:e,$route:{path:t}}){if(t=t.replace(/\/$/,"").toLowerCase(),!e.length)return[t];let n=1;return"technologies"===e[0].kind&&(n=2),e.slice(n).map((e=>e.url)).concat(t)},isSymbol:({symbolKind:e})=>!!e,isSpecificOverload({$route:{path:e},isSymbol:t}){e=e.replace(/\/$/,"");const n=t?(0,tu.Z$)(e.split("-")):"";return/^[a-z0-9]{1,5}$/.test(n)},type:()=>ke.t.module,technologyProps:({technology:e})=>e?{technology:e.title,technologyPath:e.path||e.url,isTechnologyBeta:e.beta}:null}},wu=Cu,xu=(0,Z.Z)(wu,cc,dc,!1,null,"70247986",null),Iu=xu.exports,$u=function(){var e=this,t=e._self._c;return t("NavBase",{staticClass:"documentation-nav",attrs:{breakpoint:e.BreakpointName.medium,hasOverlay:!1,hasNoBorder:e.hasNoBorder,isDark:e.isDark,isWideFormat:"",hasFullWidthBorder:"","aria-label":e.$t("api-reference")},scopedSlots:e._u([e.displaySidenav?{key:"pre-title",fn:function({closeNav:n,isOpen:i,currentBreakpoint:s,className:a}){return[t("div",{class:a},[t("div",{staticClass:"sidenav-toggle-wrapper"},[t("button",{staticClass:"sidenav-toggle",attrs:{"aria-label":e.$t("navigator.open-navigator"),id:e.baseNavOpenSidenavButtonId,tabindex:i?-1:null},on:{click:function(t){return t.preventDefault(),e.handleSidenavToggle(n,s)}}},[t("span",{staticClass:"sidenav-icon-wrapper"},[t("SidenavIcon",{staticClass:"icon-inline sidenav-icon"})],1)])])])]}}:null,{key:"default",fn:function(){return[e._t("title")]},proxy:!0},{key:"tray",fn:function({closeNav:n}){return[t("NavMenuItems",{staticClass:"nav-menu-settings"},[e.interfaceLanguage&&(e.swiftPath||e.objcPath)?t("LanguageToggle",{attrs:{interfaceLanguage:e.interfaceLanguage,objcPath:e.objcPath,swiftPath:e.swiftPath,closeNav:n}}):e._e(),e._t("menu-items")],2),e._t("tray-after")]}},{key:"after-content",fn:function(){return[e._t("after-content")]},proxy:!0}],null,!0)})},Du=[],Pu=n(1253),Lu=function(){var e=this,t=e._self._c;return t("SVGIcon",{staticClass:"sidenav-icon",attrs:{viewBox:"0 0 14 14",height:"14",themeId:"sidenav"}},[t("path",{attrs:{d:"M6.533 1.867h-6.533v10.267h14v-10.267zM0.933 11.2v-8.4h4.667v8.4zM13.067 11.2h-6.533v-8.4h6.533z"}}),t("path",{attrs:{d:"M1.867 5.133h2.8v0.933h-2.8z"}}),t("path",{attrs:{d:"M1.867 7.933h2.8v0.933h-2.8z"}})])},Ou=[],Au={name:"SidenavIcon",components:{SVGIcon:Xa.Z}},Nu=Au,Ru=(0,Z.Z)(Nu,Lu,Ou,!1,null,null,null),Bu=Ru.exports,Eu=function(){var e=this,t=e._self._c;return t("NavMenuItemBase",{staticClass:"nav-menu-setting language-container"},[t("div",{class:{"language-toggle-container":e.hasLanguages}},[t("select",{ref:"language-sizer",staticClass:"language-dropdown language-sizer",attrs:{"aria-hidden":"true",tabindex:"-1"}},[t("option",{key:e.currentLanguage.name,attrs:{selected:""}},[e._v(e._s(e.currentLanguage.name))])]),t("label",{staticClass:"nav-menu-setting-label",attrs:{for:e.hasLanguages?"language-toggle":null}},[e._v(e._s(e.$t("formats.colon",{content:e.$t("language")})))]),e.hasLanguages?t("select",{directives:[{name:"model",rawName:"v-model",value:e.languageModel,expression:"languageModel"}],staticClass:"language-dropdown nav-menu-link",style:`width: ${e.adjustedWidth}px`,attrs:{id:"language-toggle"},on:{change:[function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.languageModel=t.target.multiple?n:n[0]},function(t){return e.pushRoute(e.currentLanguage.route)}]}},e._l(e.languages,(function(n){return t("option",{key:n.api,domProps:{value:n.api}},[e._v(" "+e._s(n.name)+" ")])})),0):t("span",{staticClass:"nav-menu-toggle-none current-language",attrs:{"aria-current":"page"}},[e._v(e._s(e.currentLanguage.name))]),e.hasLanguages?t("InlineChevronDownIcon",{staticClass:"toggle-icon icon-inline"}):e._e()],1),e.hasLanguages?t("div",{staticClass:"language-list-container"},[t("span",{staticClass:"nav-menu-setting-label"},[e._v(e._s(e.$t("formats.colon",{content:e.$t("language")})))]),t("ul",{staticClass:"language-list"},e._l(e.languages,(function(n){return t("li",{key:n.api,staticClass:"language-list-item"},[n.api===e.languageModel?t("span",{staticClass:"current-language",attrs:{"data-language":n.api,"aria-current":"page"}},[e._v(" "+e._s(n.name)+" ")]):t("a",{staticClass:"nav-menu-link",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.pushRoute(n.route)}}},[e._v(" "+e._s(n.name)+" ")])])})),0)]):e._e()])},Mu=[],zu=n(5151),Ku={name:"LanguageToggle",components:{InlineChevronDownIcon:zu.Z,NavMenuItemBase:gr.Z},inject:{store:{default(){return{setPreferredLanguage(){}}}}},props:{interfaceLanguage:{type:String,required:!0},objcPath:{type:String,required:!1},swiftPath:{type:String,required:!1},closeNav:{type:Function,default:()=>{}}},data(){return{languageModel:null,adjustedWidth:0}},mounted(){const e=Ne((async()=>{await(0,Re.J)(3),this.calculateSelectWidth()}),150);window.addEventListener("resize",e),window.addEventListener("orientationchange",e),this.$once("hook:beforeDestroy",(()=>{window.removeEventListener("resize",e),window.removeEventListener("orientationchange",e)}))},watch:{interfaceLanguage:{immediate:!0,handler(e){this.languageModel=e}},currentLanguage:{immediate:!0,handler:"calculateSelectWidth"}},methods:{getRoute(e){const t=e.query===D.Z.swift.key.url?void 0:e.query;return{query:{...this.$route.query,language:t},path:this.isCurrentPath(e.path)?null:(0,O.Jf)(e.path)}},async pushRoute(e){await this.closeNav(),this.store.setPreferredLanguage(e.query),this.$router.push(this.getRoute(e))},isCurrentPath(e){return this.$route.path.replace(/^\//,"")===e},async calculateSelectWidth(){await this.$nextTick(),this.adjustedWidth=this.$refs["language-sizer"].clientWidth+8}},computed:{languages(){return[{name:D.Z.swift.name,api:D.Z.swift.key.api,route:{path:this.swiftPath,query:D.Z.swift.key.url}},{name:D.Z.objectiveC.name,api:D.Z.objectiveC.key.api,route:{path:this.objcPath,query:D.Z.objectiveC.key.url}}]},currentLanguage:({languages:e,languageModel:t})=>e.find((e=>e.api===t)),hasLanguages:({objcPath:e,swiftPath:t})=>t&&e}},Zu=Ku,qu=(0,Z.Z)(Zu,Eu,Mu,!1,null,"128c85da",null),ju=qu.exports,Fu={name:"DocumentationNav",components:{SidenavIcon:Bu,NavBase:Pu.Z,NavMenuItems:Ha.Z,LanguageToggle:ju},props:{isDark:{type:Boolean,default:!1},hasNoBorder:{type:Boolean,default:!1},interfaceLanguage:{type:String,required:!1},objcPath:{type:String,required:!1},swiftPath:{type:String,required:!1},displaySidenav:{type:Boolean,default:!1}},computed:{baseNavOpenSidenavButtonId:()=>Gl.Yj,BreakpointName:()=>Va.L3},methods:{async handleSidenavToggle(e,t){await e(),this.$emit("toggle-sidenav",t),await this.$nextTick();const n=document.getElementById(Wr);n&&n.focus()}}},Hu=Fu,Vu=(0,Z.Z)(Hu,$u,Du,!1,null,"188439df",null),Wu=Vu.exports,Uu=function(){var e=this,t=e._self._c;return t("div",{staticClass:"StaticContentWidth"},[e._t("default")],2)},Gu=[],Qu={name:"StaticContentWidth",inject:["store"],mounted(){const e=Ne((async()=>{await this.$nextTick(),this.store.setContentWidth(this.$el.offsetWidth)}),150);window.addEventListener("resize",e),window.addEventListener("orientationchange",e),this.$once("hook:beforeDestroy",(()=>{window.removeEventListener("resize",e),window.removeEventListener("orientationchange",e)})),e()}},Xu=Qu,Yu=(0,Z.Z)(Xu,Uu,Gu,!1,null,null,null),Ju=Yu.exports,eh=n(1944),th=n(2717);const nh="symbol";var ih={watch:{topicData:{immediate:!0,handler:"extractOnThisPageSections"}},methods:{shouldRegisterContentSection(e){return e.type===Dn.BlockType.heading&&e.level<4},extractOnThisPageSections(e){if(!e)return;this.store.resetPageSections();const{metadata:{title:t},primaryContentSections:n,topicSections:i,defaultImplementationsSections:s,relationshipsSections:a,seeAlsoSections:r,kind:o}=e;this.store.addOnThisPageSection({title:t,anchor:th.$,level:1,isSymbol:o===nh},{i18n:!1}),n&&n.forEach((e=>{switch(e.kind){case Ze.mentions:this.store.addOnThisPageSection({title:this.$t("mentioned-in"),anchor:(0,dn.HA)("mentions"),level:2});break;case Ze.content:Ve.Z.methods.forEach.call(e,(e=>{this.shouldRegisterContentSection(e)&&this.store.addOnThisPageSection({title:e.text,anchor:e.anchor||(0,dn.HA)(e.text),level:e.level},{i18n:!1})}));break;case Ze.properties:case Ze.restBody:case Ze.restCookies:case Ze.restEndpoint:case Ze.restHeaders:case Ze.restParameters:case Ze.restResponses:this.store.addOnThisPageSection({title:e.title,anchor:(0,dn.HA)(e.title),level:2});break;default:Gt[e.kind]&&this.store.addOnThisPageSection(Gt[e.kind])}})),i&&this.store.addOnThisPageSection(Ut.topics),s&&this.store.addOnThisPageSection(Ut.defaultImplementations),a&&this.store.addOnThisPageSection(Ut.relationships),r&&this.store.addOnThisPageSection(Ut.seeAlso)}}},sh=n(9030);const ah="0.3.0",rh="navigator-hidden-large",{extractProps:oh}=Pr.methods;var lh={name:"DocumentationTopicView",constants:{MIN_RENDER_JSON_VERSION_WITH_INDEX:ah,NAVIGATOR_HIDDEN_ON_LARGE_KEY:rh},components:{Navigator:Iu,AdjustableSidebarWidth:lc,StaticContentWidth:Ju,NavigatorDataProvider:ro,Topic:Pr,CodeTheme:Zr.Z,Nav:Wu,QuickNavigationButton:po,QuickNavigationModal:ql,PortalTarget:x.YC},mixins:[jr.Z,Fr.Z,ih],props:{enableMinimized:{type:Boolean,default:!1}},data(){return{topicDataDefault:null,topicDataObjc:null,sidenavVisibleOnMobile:!1,sidenavHiddenOnLarge:Hl.tO.get(rh,!1),showQuickNavigationModal:!1,store:Kr,BreakpointName:Va.L3}},computed:{objcOverrides:({topicData:e})=>{const{variantOverrides:t=[]}=e||{},n=({interfaceLanguage:e})=>e===D.Z.objectiveC.key.api,i=({traits:e})=>e.some(n),s=t.find(i);return s?s.patch:null},enableQuickNavigation:({isTargetIDE:e})=>!e&&(0,at.$8)(["features","docs","quickNavigation","enable"],!0),topicData:{get(){return this.topicDataObjc?this.topicDataObjc:this.topicDataDefault},set(e){this.topicDataDefault=e}},topicKey:({$route:e,topicProps:t})=>[e.path,t.interfaceLanguage].join(),topicProps(){return oh(this.topicData)},parentTopicIdentifiers:({topicProps:{hierarchy:e,references:t},$route:n})=>{if(!e)return[];const{paths:i=[]}=e;return i.length?i.find((e=>{const i=e.find((e=>t[e]&&"technologies"!==t[e].kind)),s=i&&t[i];return s&&n.path.toLowerCase().startsWith(s.url.toLowerCase())}))||i[0]:[]},technology:({$route:e,topicProps:{identifier:t,references:n,role:i,title:s},parentTopicIdentifiers:a})=>{const r={title:s,url:e.path},o=n[t];if(!a.length)return o||r;const l=n[a[0]];return l&&"technologies"!==l.kind?l:(i!==C.L.collection||o)&&(l&&n[a[1]]||o)||r},languagePaths:({topicData:{variants:e=[]}})=>e.reduce(((e,t)=>t.traits.reduce(((e,n)=>n.interfaceLanguage?{...e,[n.interfaceLanguage]:(e[n.interfaceLanguage]||[]).concat(t.paths)}:e),e)),{}),objcPath:({languagePaths:{[D.Z.objectiveC.key.api]:[e]=[]}={}})=>e,swiftPath:({languagePaths:{[D.Z.swift.key.api]:[e]=[]}={}})=>e,isSymbolBeta:({topicProps:{platforms:e}})=>!!(e&&e.length&&e.every((e=>e.beta))),isSymbolDeprecated:({topicProps:{platforms:e,deprecationSummary:t}})=>!!(t&&t.length>0||e&&e.length&&e.every((e=>e.deprecatedAt))),enableNavigator:({isTargetIDE:e,topicDataDefault:t})=>!e&&(0,eh.n4)((0,eh.W1)(t.schemaVersion),ah)>=0,enableOnThisPageNav:({isTargetIDE:e})=>!(0,at.$8)(["features","docs","onThisPageNavigator","disable"],!1)&&!e,sidebarProps:({sidenavVisibleOnMobile:e,enableNavigator:t,sidenavHiddenOnLarge:n})=>t?{shownOnMobile:e,hiddenOnLarge:n}:{},sidebarListeners(){return this.enableNavigator?{"update:shownOnMobile":this.toggleMobileSidenav,"update:hiddenOnLarge":this.toggleLargeSidenav}:{}},rootHierarchyReference:({parentTopicIdentifiers:e,topicProps:{references:t}})=>t[e[0]]||{},isRootTechnologyLink:({rootHierarchyReference:{kind:e}})=>"technologies"===e,hierarchyItems:({parentTopicIdentifiers:e,isRootTechnologyLink:t})=>t?e.slice(1):e,rootLink:({isRootTechnologyLink:e,rootHierarchyReference:t,$route:n})=>e?{path:t.url,query:n.query}:null},methods:{applyObjcOverrides(){this.topicDataObjc=k((0,w.d9)(this.topicData),this.objcOverrides)},handleCodeColorsChange(e){qr.Z.updateCodeColors(e)},handleToggleSidenav(e){e===Va.L3.large?this.toggleLargeSidenav():this.toggleMobileSidenav()},openQuickNavigationModal(){this.sidenavVisibleOnMobile||(this.showQuickNavigationModal=!0)},toggleLargeSidenav(e=!this.sidenavHiddenOnLarge){this.sidenavHiddenOnLarge=e,Hl.tO.set(rh,e)},toggleMobileSidenav(e=!this.sidenavVisibleOnMobile){this.sidenavVisibleOnMobile=e},onQuickNavigationKeydown(e){("/"===e.key||"o"===e.key&&e.shiftKey&&e.metaKey)&&this.enableNavigator&&"input"!==e.target.tagName.toLowerCase()&&(this.openQuickNavigationModal(),e.preventDefault())}},mounted(){this.$bridge.on("contentUpdate",this.handleContentUpdateFromBridge),this.$bridge.on("codeColors",this.handleCodeColorsChange),this.$bridge.send({type:"requestCodeColors"}),this.enableQuickNavigation&&window.addEventListener("keydown",this.onQuickNavigationKeydown)},provide(){return{store:this.store}},inject:{isTargetIDE:{default(){return!1}}},beforeDestroy(){this.$bridge.off("contentUpdate",this.handleContentUpdateFromBridge),this.$bridge.off("codeColors",this.handleCodeColorsChange),this.enableQuickNavigation&&window.removeEventListener("keydown",this.onQuickNavigationKeydown)},beforeRouteEnter(e,t,n){e.meta.skipFetchingData?n((e=>e.newContentMounted())):(0,w.Ek)(e,t,n).then((t=>n((n=>{(0,sh.jk)(e.params.locale,n),n.topicData=t,e.query.language===D.Z.objectiveC.key.url&&n.objcOverrides&&n.applyObjcOverrides()})))).catch(n)},beforeRouteUpdate(e,t,n){e.path===t.path&&e.query.language===D.Z.objectiveC.key.url&&this.objcOverrides?(this.applyObjcOverrides(),n()):(0,w.Us)(e,t)?(0,w.Ek)(e,t,n).then((t=>{this.topicDataObjc=null,this.topicData=t,e.query.language===D.Z.objectiveC.key.url&&this.objcOverrides&&this.applyObjcOverrides(),(0,sh.jk)(e.params.locale,this),n()})).catch(n):n()},created(){this.store.reset()},watch:{topicData(){this.$nextTick((()=>{this.newContentMounted()}))}}},ch=lh,dh=(0,Z.Z)(ch,i,s,!1,null,"2a6ea42f",null),uh=dh.exports},7274:function(e,t){var n,i,s;(function(a,r){i=[],n=r,s="function"===typeof n?n.apply(t,i):n,void 0===s||(e.exports=s)})(0,(function(){var e=/(auto|scroll)/,t=function(e,n){return null===e.parentNode?n:t(e.parentNode,n.concat([e]))},n=function(e,t){return getComputedStyle(e,null).getPropertyValue(t)},i=function(e){return n(e,"overflow")+n(e,"overflow-y")+n(e,"overflow-x")},s=function(t){return e.test(i(t))},a=function(e){if(e instanceof HTMLElement||e instanceof SVGElement){for(var n=t(e.parentNode,[]),i=0;i]+>",i="("+t+"|"+n.optional(a)+"[a-zA-Z_]\\w*"+n.optional(r)+")",l={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},c="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",o={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+c+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},d={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},u={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(o,{className:"string"}),{className:"string",begin:/<.*?>/},s,e.C_BLOCK_COMMENT_MODE]},_={className:"title",begin:n.optional(a)+e.IDENT_RE,relevance:0},g=n.optional(a)+e.IDENT_RE+"\\s*\\(",p=["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],m=["float","double","signed","unsigned","int","short","long","char","void","_Bool","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal128","const","static","complex","bool","imaginary"],f={keyword:p,type:m,literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},b=[u,l,s,e.C_BLOCK_COMMENT_MODE,d,o],w={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:f,contains:b.concat([{begin:/\(/,end:/\)/,keywords:f,contains:b.concat(["self"]),relevance:0}]),relevance:0},y={begin:"("+i+"[\\*&\\s]+)+"+g,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:f,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:t,keywords:f,relevance:0},{begin:g,returnBegin:!0,contains:[e.inherit(_,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:f,relevance:0,contains:[s,e.C_BLOCK_COMMENT_MODE,o,d,l,{begin:/\(/,end:/\)/,keywords:f,relevance:0,contains:["self",s,e.C_BLOCK_COMMENT_MODE,o,d,l]}]},l,s,e.C_BLOCK_COMMENT_MODE,u]};return{name:"C",aliases:["h"],keywords:f,disableAutodetect:!0,illegal:"=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:u,strings:o,keywords:f}}}e.exports=n}}]); \ No newline at end of file diff --git a/docs/js/highlight-js-cpp-js.458a9ae4.js b/docs/js/highlight-js-cpp-js.458a9ae4.js new file mode 100644 index 00000000..29961026 --- /dev/null +++ b/docs/js/highlight-js-cpp-js.458a9ae4.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(self["webpackChunkswift_docc_render"]=self["webpackChunkswift_docc_render"]||[]).push([[621],{6248:function(e){function t(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),a="decltype\\(auto\\)",r="[a-zA-Z_]\\w*::",i="<[^<>]+>",s="(?!struct)("+a+"|"+t.optional(r)+"[a-zA-Z_]\\w*"+t.optional(i)+")",c={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},o="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",l={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+o+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},d={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},u={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(l,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},_={className:"title",begin:t.optional(r)+e.IDENT_RE,relevance:0},p=t.optional(r)+e.IDENT_RE+"\\s*\\(",m=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],f=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],g=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],b=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],h=["NULL","false","nullopt","nullptr","true"],w=["_Pragma"],y={type:f,keyword:m,literal:h,built_in:w,_type_hints:g},v={className:"function.dispatch",relevance:0,keywords:{_hint:b},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},k=[v,u,c,n,e.C_BLOCK_COMMENT_MODE,d,l],x={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:y,contains:k.concat([{begin:/\(/,end:/\)/,keywords:y,contains:k.concat(["self"]),relevance:0}]),relevance:0},E={className:"function",begin:"("+s+"[\\*&\\s]+)+"+p,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:y,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:a,keywords:y,relevance:0},{begin:p,returnBegin:!0,contains:[_],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[l,d]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:y,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,l,d,c,{begin:/\(/,end:/\)/,keywords:y,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,l,d,c]}]},c,n,e.C_BLOCK_COMMENT_MODE,u]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:y,illegal:"",keywords:y,contains:["self",c]},{begin:e.IDENT_RE+"::",keywords:y},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}e.exports=t}}]); \ No newline at end of file diff --git a/docs/js/highlight-js-css-js.bfc4251f.js b/docs/js/highlight-js-css-js.bfc4251f.js new file mode 100644 index 00000000..60ab9a75 --- /dev/null +++ b/docs/js/highlight-js-css-js.bfc4251f.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(self["webpackChunkswift_docc_render"]=self["webpackChunkswift_docc_render"]||[]).push([[864],{5064:function(e){const t=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),o=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],i=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],r=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],a=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],n=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-height","max-width","min-height","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function l(e){const l=e.regex,s=t(e),d={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},c="and or not only",g=/@-?\w[\w]*(-\w+)*/,m="[a-zA-Z-][a-zA-Z0-9_-]*",p=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[s.BLOCK_COMMENT,d,s.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+m,relevance:0},s.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+r.join("|")+")"},{begin:":(:)?("+a.join("|")+")"}]},s.CSS_VARIABLE,{className:"attribute",begin:"\\b("+n.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[s.BLOCK_COMMENT,s.HEXCOLOR,s.IMPORTANT,s.CSS_NUMBER_MODE,...p,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},s.FUNCTION_DISPATCH]},{begin:l.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:g},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:c,attribute:i.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...p,s.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+o.join("|")+")\\b"}]}}e.exports=l}}]); \ No newline at end of file diff --git a/docs/js/highlight-js-custom-markdown.78c9f6ed.js b/docs/js/highlight-js-custom-markdown.78c9f6ed.js new file mode 100644 index 00000000..9a52dcdd --- /dev/null +++ b/docs/js/highlight-js-custom-markdown.78c9f6ed.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +"use strict";(self["webpackChunkswift_docc_render"]=self["webpackChunkswift_docc_render"]||[]).push([[642],{2003:function(e,n,a){function i(e){const n=e.regex,a={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},i={begin:"^[-\\*]{3,}",end:"$"},s={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},c={className:"bullet",begin:"^[ \t]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},t={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},d=/[A-Za-z][A-Za-z0-9+.-]*/,l={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:n.concat(/\[.+?\]\(/,d,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},g={className:"strong",contains:[],variants:[{begin:/_{2}/,end:/_{2}/},{begin:/\*{2}/,end:/\*{2}/}]},r={className:"emphasis",contains:[],variants:[{begin:/\*(?!\*)/,end:/\*/},{begin:/_(?!_)/,end:/_/,relevance:0}]};g.contains.push(r),r.contains.push(g);let o=[a,l];g.contains=g.contains.concat(o),r.contains=r.contains.concat(o),o=o.concat(g,r);const b={className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:o},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:o}]}]},u={className:"quote",begin:"^>\\s+",contains:o,end:"$"};return{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[b,a,c,g,r,u,s,i,l,t]}}a.r(n),a.d(n,{default:function(){return l}});const s={begin:"",returnBegin:!0,contains:[{className:"link",begin:"doc:",end:">",excludeEnd:!0}]},c={className:"link",begin:/`{2}(?!`)/,end:/`{2}(?!`)/,excludeBegin:!0,excludeEnd:!0},t={begin:"^>\\s+[Note:|Tip:|Important:|Experiment:|Warning:]",end:"$",returnBegin:!0,contains:[{className:"quote",begin:"^>",end:"\\s+"},{className:"type",begin:"Note|Tip|Important|Experiment|Warning",end:":"},{className:"quote",begin:".*",end:"$",endsParent:!0}]},d={begin:"@",end:"[{\\)\\s]",returnBegin:!0,contains:[{className:"title",begin:"@",end:"[\\s+(]",excludeEnd:!0},{begin:":",end:"[,\\)\n\t]",excludeBegin:!0,keywords:{literal:"true false null undefined"},contains:[{className:"number",begin:"\\b([\\d_]+(\\.[\\deE_]+)?|0x[a-fA-F0-9_]+(\\.[a-fA-F0-9p_]+)?|0b[01_]+|0o[0-7_]+)\\b",endsWithParent:!0,excludeEnd:!0},{className:"string",variants:[{begin:/"""/,end:/"""/},{begin:/"/,end:/"/}],endsParent:!0},{className:"link",begin:"http|https",endsWithParent:!0,excludeEnd:!0}]}]};function l(e){const n=i(e),a=n.contains.find((({className:e})=>"code"===e));a.variants=a.variants.filter((({begin:e})=>!e.includes("( {4}|\\t)")));const l=[...n.contains.filter((({className:e})=>"code"!==e)),a];return{...n,contains:[c,s,t,d,...l]}}}}]); \ No newline at end of file diff --git a/docs/js/highlight-js-custom-swift.738731d1.js b/docs/js/highlight-js-custom-swift.738731d1.js new file mode 100644 index 00000000..a6f83da7 --- /dev/null +++ b/docs/js/highlight-js-custom-swift.738731d1.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +"use strict";(self["webpackChunkswift_docc_render"]=self["webpackChunkswift_docc_render"]||[]).push([[217],{7467:function(e,n,t){function a(e){return e?"string"===typeof e?e:e.source:null}function s(e){return i("(?=",e,")")}function i(...e){const n=e.map((e=>a(e))).join("");return n}function c(e){const n=e[e.length-1];return"object"===typeof n&&n.constructor===Object?(e.splice(e.length-1,1),n):{}}function u(...e){const n=c(e),t="("+(n.capture?"":"?:")+e.map((e=>a(e))).join("|")+")";return t}t.r(n),t.d(n,{default:function(){return D}});const o=e=>i(/\b/,e,/\w$/.test(e)?/\b/:/\B/),r=["Protocol","Type"].map(o),l=["init","self"].map(o),d=["Any","Self"],m=["actor","associatedtype","async","await",/as\?/,/as!/,"as","break","case","catch","class","continue","convenience","default","defer","deinit","didSet","do","dynamic","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],p=["false","nil","true"],b=["assignment","associativity","higherThan","left","lowerThan","none","right"],F=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warn_unqualified_access","#warning"],f=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],h=u(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),w=u(h,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),y=i(h,w,"*"),g=u(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),E=u(g,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),v=i(g,E,"*"),N=i(/[A-Z]/,E,"*"),k=["autoclosure",i(/convention\(/,u("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",i(/objc\(/,v,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","testable","UIApplicationMain","unknown","usableFromInline"],A=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function C(e){const n={match:/\s+/,relevance:0},t=e.COMMENT("/\\*","\\*/",{contains:["self"]}),a=[e.C_LINE_COMMENT_MODE,t],c={match:[/\./,u(...r,...l)],className:{2:"keyword"}},h={match:i(/\./,u(...m)),relevance:0},g=m.filter((e=>"string"===typeof e)).concat(["_|0"]),C=m.filter((e=>"string"!==typeof e)).concat(d).map(o),D={variants:[{className:"keyword",match:u(...C,...l)}]},B={$pattern:u(/\b\w+/,/#\w+/),keyword:g.concat(F),literal:p},_=[c,h,D],S={match:i(/\./,u(...f)),relevance:0},x={className:"built_in",match:i(/\b/,u(...f),/(?=\()/)},M=[S,x],I={match:/->/,relevance:0},$={className:"operator",relevance:0,variants:[{match:y},{match:`\\.(\\.|${w})+`}]},O=[I,$],L="([0-9]_*)+",T="([0-9a-fA-F]_*)+",K={className:"number",relevance:0,variants:[{match:`\\b(${L})(\\.(${L}))?([eE][+-]?(${L}))?\\b`},{match:`\\b0x(${T})(\\.(${T}))?([pP][+-]?(${L}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},P=(e="")=>({className:"subst",variants:[{match:i(/\\/,e,/[0\\tnr"']/)},{match:i(/\\/,e,/u\{[0-9a-fA-F]{1,8}\}/)}]}),j=(e="")=>({className:"subst",match:i(/\\/,e,/[\t ]*(?:[\r\n]|\r\n)/)}),z=(e="")=>({className:"subst",label:"interpol",begin:i(/\\/,e,/\(/),end:/\)/}),q=(e="")=>({begin:i(e,/"""/),end:i(/"""/,e),contains:[P(e),j(e),z(e)]}),U=(e="")=>({begin:i(e,/"/),end:i(/"/,e),contains:[P(e),z(e)]}),W={className:"string",variants:[q(),q("#"),q("##"),q("###"),U(),U("#"),U("##"),U("###")]},Z={match:i(/`/,v,/`/)},V={className:"variable",match:/\$\d+/},G={className:"variable",match:`\\$${E}+`},R=[Z,V,G],X={match:/(@|#)available/,className:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:A,contains:[...O,K,W]}]}},H={className:"keyword",match:i(/@/,u(...k))},J={className:"meta",match:i(/@/,v)},Q=[X,H,J],Y={match:s(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:i(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,E,"+")},{className:"type",match:N,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:i(/\s+&\s+/,s(N)),relevance:0}]},ee={begin://,keywords:B,contains:[...a,..._,...Q,I,Y]};Y.contains.push(ee);const ne={match:i(v,/\s*:/),keywords:"_|0",relevance:0},te={begin:/\(/,end:/\)/,relevance:0,keywords:B,contains:["self",ne,...a,..._,...M,...O,K,W,...R,...Q,Y]},ae={begin://,contains:[...a,Y]},se={begin:u(s(i(v,/\s*:/)),s(i(v,/\s+/,v,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:v}]},ie={begin:/\(/,end:/\)/,keywords:B,contains:[se,...a,..._,...O,K,W,...Q,Y,te],endsParent:!0,illegal:/["']/},ce={match:[/func/,/\s+/,u(Z.match,v,y)],className:{1:"keyword",3:"title.function"},contains:[ae,ie,n],illegal:[/\[/,/%/]},ue={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[ae,ie,n],illegal:/\[|%/},oe={match:[/operator/,/\s+/,y],className:{1:"keyword",3:"title"}},re={begin:[/precedencegroup/,/\s+/,N],className:{1:"keyword",3:"title"},contains:[Y],keywords:[...b,...p],end:/}/};for(const s of W.variants){const e=s.contains.find((e=>"interpol"===e.label));e.keywords=B;const n=[..._,...M,...O,K,W,...R];e.contains=[...n,{begin:/\(/,end:/\)/,contains:["self",...n]}]}return{name:"Swift",keywords:B,contains:[...a,ce,ue,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:B,contains:[e.inherit(e.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),..._]},oe,re,{beginKeywords:"import",end:/$/,contains:[...a],relevance:0},..._,...M,...O,K,W,...R,...Q,Y,te]}}function D(e){const n=C(e);n.keywords.keyword=[...n.keywords.keyword,"distributed"];const t=({beginKeywords:e=""})=>e.split(" ").includes("class"),a=n.contains.findIndex(t);if(a>=0){const{beginKeywords:e,...t}=n.contains[a];n.contains[a]={...t,begin:/\b(struct|protocol|extension|enum|actor|class\b(?!.*\bfunc))\b/}}const s=e=>{const{className:n,match:t}=e;if("subst"!==n||!t)return!1;const a=t.toString();return a.startsWith("\\")&&a.endsWith("[\\t ]*(?:[\\r\\n]|\\r\\n)")},i=n.contains.findIndex((({className:e})=>"string"===e));return n.contains[i]={...n.contains[i],variants:n.contains[i].variants.map((e=>({...e,contains:e.contains.map((e=>s(e)?{className:"subst",begin:/\\#{0,3}/,end:/[\t ]*(?:[\r\n]|\r\n)/,excludeEnd:!0}:e))})))},n}}}]); \ No newline at end of file diff --git a/docs/js/highlight-js-diff-js.4db9a783.js b/docs/js/highlight-js-diff-js.4db9a783.js new file mode 100644 index 00000000..d0f5a781 --- /dev/null +++ b/docs/js/highlight-js-diff-js.4db9a783.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(self["webpackChunkswift_docc_render"]=self["webpackChunkswift_docc_render"]||[]).push([[213],{7731:function(e){function n(e){const n=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:n.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:n.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}e.exports=n}}]); \ No newline at end of file diff --git a/docs/js/highlight-js-http-js.f78e83c2.js b/docs/js/highlight-js-http-js.f78e83c2.js new file mode 100644 index 00000000..a400cae9 --- /dev/null +++ b/docs/js/highlight-js-http-js.f78e83c2.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(self["webpackChunkswift_docc_render"]=self["webpackChunkswift_docc_render"]||[]).push([[878],{8937:function(e){function n(e){const n=e.regex,a="HTTP/(2|1\\.[01])",s=/[A-Za-z][A-Za-z0-9-]*/,t={className:"attribute",begin:n.concat("^",s,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},i=[t,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+a+" \\d{3})",end:/$/,contains:[{className:"meta",begin:a},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:i}},{begin:"(?=^[A-Z]+ (.*?) "+a+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:a},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:i}},e.inherit(t,{relevance:0})]}}e.exports=n}}]); \ No newline at end of file diff --git a/docs/js/highlight-js-java-js.4fe21e94.js b/docs/js/highlight-js-java-js.4fe21e94.js new file mode 100644 index 00000000..5062f619 --- /dev/null +++ b/docs/js/highlight-js-java-js.4fe21e94.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(self["webpackChunkswift_docc_render"]=self["webpackChunkswift_docc_render"]||[]).push([[788],{8257:function(e){var n="[0-9](_*[0-9])*",a=`\\.(${n})`,s="[0-9a-fA-F](_*[0-9a-fA-F])*",t={className:"number",variants:[{begin:`(\\b(${n})((${a})|\\.)?|(${a}))[eE][+-]?(${n})[fFdD]?\\b`},{begin:`\\b(${n})((${a})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${a})[fFdD]?\\b`},{begin:`\\b(${n})[fFdD]\\b`},{begin:`\\b0[xX]((${s})\\.?|(${s})?\\.(${s}))[pP][+-]?(${n})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${s})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function i(e,n,a){return-1===a?"":e.replace(n,(s=>i(e,n,a-1)))}function r(e){e.regex;const n="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",a=n+i("(?:<"+n+"~~~(?:\\s*,\\s*"+n+"~~~)*>)?",/~~~/g,2),s=["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do"],r=["super","this"],c=["false","true","null"],l=["char","boolean","long","float","int","byte","short","double"],b={keyword:s,literal:c,type:l,built_in:r},o={className:"meta",begin:"@"+n,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},_={className:"params",begin:/\(/,end:/\)/,keywords:b,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:b,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[e.BACKSLASH_ESCAPE]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,n],className:{1:"keyword",3:"title.class"}},{begin:[n,/\s+/,n,/\s+/,/=/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,n],className:{1:"keyword",3:"title.class"},contains:[_,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+a+"\\s+)",e.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:b,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:b,relevance:0,contains:[o,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,t,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},t,o]}}e.exports=r}}]); \ No newline at end of file diff --git a/docs/js/highlight-js-javascript-js.dfc9d16d.js b/docs/js/highlight-js-javascript-js.dfc9d16d.js new file mode 100644 index 00000000..d38ee05d --- /dev/null +++ b/docs/js/highlight-js-javascript-js.dfc9d16d.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(self["webpackChunkswift_docc_render"]=self["webpackChunkswift_docc_render"]||[]).push([[814],{978:function(e){const n="[A-Za-z$_][0-9A-Za-z$_]*",a=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],t=["true","false","null","undefined","NaN","Infinity"],s=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],c=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],r=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],i=["arguments","this","super","console","window","document","localStorage","module","global"],o=[].concat(r,s,c);function l(e){const l=e.regex,b=(e,{after:n})=>{const a="",end:""},u=/<[A-Za-z0-9\\._:-]+\s*\/>/,m={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,n)=>{const a=e[0].length+e.index,t=e.input[a];if("<"===t||","===t)return void n.ignoreMatch();let s;">"===t&&(b(e,{after:a})||n.ignoreMatch());const c=e.input.substr(a);(s=c.match(/^\s+extends\s+/))&&0===s.index&&n.ignoreMatch()}},E={$pattern:n,keyword:a,literal:t,built_in:o,"variable.language":i},A="[0-9](_?[0-9])*",f=`\\.(${A})`,_="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",y={className:"number",variants:[{begin:`(\\b(${_})((${f})|\\.)?|(${f}))[eE][+-]?(${A})\\b`},{begin:`\\b(${_})\\b((${f})\\b|\\.)?|(${f})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},N={className:"subst",begin:"\\$\\{",end:"\\}",keywords:E,contains:[]},h={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,N],subLanguage:"xml"}},p={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,N],subLanguage:"css"}},v={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,N]},w=e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:d+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),S={className:"comment",variants:[w,e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},R=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,h,p,v,y];N.contains=R.concat({begin:/\{/,end:/\}/,keywords:E,contains:["self"].concat(R)});const k=[].concat(S,N.contains),O=k.concat([{begin:/\(/,end:/\)/,keywords:E,contains:["self"].concat(k)}]),I={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:E,contains:O},x={variants:[{match:[/class/,/\s+/,d,/\s+/,/extends/,/\s+/,l.concat(d,"(",l.concat(/\./,d),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,d],scope:{1:"keyword",3:"title.class"}}]},T={relevance:0,match:l.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]+|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+/),className:"title.class",keywords:{_:[...s,...c]}},C={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},M={variants:[{match:[/function/,/\s+/,d,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[I],illegal:/%/},B={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function $(e){return l.concat("(?!",e.join("|"),")")}const D={match:l.concat(/\b/,$([...r,"super"]),d,l.lookahead(/\(/)),className:"title.function",relevance:0},U={begin:l.concat(/\./,l.lookahead(l.concat(d,/(?![0-9A-Za-z$_(])/))),end:d,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Z={match:[/get|set/,/\s+/,d,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},I]},z="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",F={match:[/const|var|let/,/\s+/,d,/\s*/,/=\s*/,l.lookahead(z)],className:{1:"keyword",3:"title.function"},contains:[I]};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:E,exports:{PARAMS_CONTAINS:O,CLASS_REFERENCE:T},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),C,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,h,p,v,S,y,T,{className:"attr",begin:d+l.lookahead(":"),relevance:0},F,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[S,e.REGEXP_MODE,{className:"function",begin:z,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:E,contains:O}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:g.begin,end:g.end},{match:u},{begin:m.begin,"on:begin":m.isTrulyOpeningTag,end:m.end}],subLanguage:"xml",contains:[{begin:m.begin,end:m.end,skip:!0,contains:["self"]}]}]},M,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[I,e.inherit(e.TITLE_MODE,{begin:d,className:"title.function"})]},{match:/\.\.\./,relevance:0},U,{match:"\\$"+d,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[I]},D,B,x,Z,{match:/\$[(.]/}]}}e.exports=l}}]); \ No newline at end of file diff --git a/docs/js/highlight-js-json-js.2a1856ba.js b/docs/js/highlight-js-json-js.2a1856ba.js new file mode 100644 index 00000000..aa882dbd --- /dev/null +++ b/docs/js/highlight-js-json-js.2a1856ba.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(self["webpackChunkswift_docc_render"]=self["webpackChunkswift_docc_render"]||[]).push([[82],{14:function(e){function n(e){const n={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},c={match:/[{}[\],:]/,className:"punctuation",relevance:0},a={beginKeywords:["true","false","null"].join(" ")};return{name:"JSON",contains:[n,c,e.QUOTE_STRING_MODE,a,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}e.exports=n}}]); \ No newline at end of file diff --git a/docs/js/highlight-js-llvm-js.26121771.js b/docs/js/highlight-js-llvm-js.26121771.js new file mode 100644 index 00000000..74730ea0 --- /dev/null +++ b/docs/js/highlight-js-llvm-js.26121771.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(self["webpackChunkswift_docc_render"]=self["webpackChunkswift_docc_render"]||[]).push([[133],{4972:function(e){function n(e){const n=e.regex,a=/([-a-zA-Z$._][\w$.-]*)/,t={className:"type",begin:/\bi\d+(?=\s|\b)/},i={className:"operator",relevance:0,begin:/=/},c={className:"punctuation",relevance:0,begin:/,/},l={className:"number",variants:[{begin:/0[xX][a-fA-F0-9]+/},{begin:/-?\d+(?:[.]\d+)?(?:[eE][-+]?\d+(?:[.]\d+)?)?/}],relevance:0},r={className:"symbol",variants:[{begin:/^\s*[a-z]+:/}],relevance:0},s={className:"variable",variants:[{begin:n.concat(/%/,a)},{begin:/%\d+/},{begin:/#\d+/}]},o={className:"title",variants:[{begin:n.concat(/@/,a)},{begin:/@\d+/},{begin:n.concat(/!/,a)},{begin:n.concat(/!\d+/,a)},{begin:/!\d+/}]};return{name:"LLVM IR",keywords:"begin end true false declare define global constant private linker_private internal available_externally linkonce linkonce_odr weak weak_odr appending dllimport dllexport common default hidden protected extern_weak external thread_local zeroinitializer undef null to tail target triple datalayout volatile nuw nsw nnan ninf nsz arcp fast exact inbounds align addrspace section alias module asm sideeffect gc dbg linker_private_weak attributes blockaddress initialexec localdynamic localexec prefix unnamed_addr ccc fastcc coldcc x86_stdcallcc x86_fastcallcc arm_apcscc arm_aapcscc arm_aapcs_vfpcc ptx_device ptx_kernel intel_ocl_bicc msp430_intrcc spir_func spir_kernel x86_64_sysvcc x86_64_win64cc x86_thiscallcc cc c signext zeroext inreg sret nounwind noreturn noalias nocapture byval nest readnone readonly inlinehint noinline alwaysinline optsize ssp sspreq noredzone noimplicitfloat naked builtin cold nobuiltin noduplicate nonlazybind optnone returns_twice sanitize_address sanitize_memory sanitize_thread sspstrong uwtable returned type opaque eq ne slt sgt sle sge ult ugt ule uge oeq one olt ogt ole oge ord uno ueq une x acq_rel acquire alignstack atomic catch cleanup filter inteldialect max min monotonic nand personality release seq_cst singlethread umax umin unordered xchg add fadd sub fsub mul fmul udiv sdiv fdiv urem srem frem shl lshr ashr and or xor icmp fcmp phi call trunc zext sext fptrunc fpext uitofp sitofp fptoui fptosi inttoptr ptrtoint bitcast addrspacecast select va_arg ret br switch invoke unwind unreachable indirectbr landingpad resume malloc alloca free load store getelementptr extractelement insertelement shufflevector getresult extractvalue insertvalue atomicrmw cmpxchg fence argmemonly double",contains:[t,e.COMMENT(/;\s*$/,null,{relevance:0}),e.COMMENT(/;/,/$/),e.QUOTE_STRING_MODE,{className:"string",variants:[{begin:/"/,end:/[^\\]"/}]},o,c,i,s,r,l]}}e.exports=n}}]); \ No newline at end of file diff --git a/docs/js/highlight-js-markdown-js.a2f456af.js b/docs/js/highlight-js-markdown-js.a2f456af.js new file mode 100644 index 00000000..c9c3762b --- /dev/null +++ b/docs/js/highlight-js-markdown-js.a2f456af.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(self["webpackChunkswift_docc_render"]=self["webpackChunkswift_docc_render"]||[]).push([[113],{1312:function(e){function n(e){const n=e.regex,a={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},i={begin:"^[-\\*]{3,}",end:"$"},c={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},s={className:"bullet",begin:"^[ \t]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},t={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},d=/[A-Za-z][A-Za-z0-9+.-]*/,l={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:n.concat(/\[.+?\]\(/,d,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},g={className:"strong",contains:[],variants:[{begin:/_{2}/,end:/_{2}/},{begin:/\*{2}/,end:/\*{2}/}]},b={className:"emphasis",contains:[],variants:[{begin:/\*(?!\*)/,end:/\*/},{begin:/_(?!_)/,end:/_/,relevance:0}]};g.contains.push(b),b.contains.push(g);let o=[a,l];g.contains=g.contains.concat(o),b.contains=b.contains.concat(o),o=o.concat(g,b);const r={className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:o},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:o}]}]},u={className:"quote",begin:"^>\\s+",contains:o,end:"$"};return{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[r,a,s,g,b,u,c,i,l,t]}}e.exports=n}}]); \ No newline at end of file diff --git a/docs/js/highlight-js-objectivec-js.74dea052.js b/docs/js/highlight-js-objectivec-js.74dea052.js new file mode 100644 index 00000000..d26ddf65 --- /dev/null +++ b/docs/js/highlight-js-objectivec-js.74dea052.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(self["webpackChunkswift_docc_render"]=self["webpackChunkswift_docc_render"]||[]).push([[637],{2446:function(e){function n(e){const n={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},_=/[a-zA-Z@][a-zA-Z0-9_]*/,i=["int","float","while","char","export","sizeof","typedef","const","struct","for","union","unsigned","long","volatile","static","bool","mutable","if","do","return","goto","void","enum","else","break","extern","asm","case","short","default","double","register","explicit","signed","typename","this","switch","continue","wchar_t","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","super","unichar","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],t=["false","true","FALSE","TRUE","nil","YES","NO","NULL"],a=["BOOL","dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],r={$pattern:_,keyword:i,literal:t,built_in:a},s={$pattern:_,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:r,illegal:"/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+s.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:s,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}e.exports=n}}]); \ No newline at end of file diff --git a/docs/js/highlight-js-perl-js.da6eda82.js b/docs/js/highlight-js-perl-js.da6eda82.js new file mode 100644 index 00000000..5a05386c --- /dev/null +++ b/docs/js/highlight-js-perl-js.da6eda82.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(self["webpackChunkswift_docc_render"]=self["webpackChunkswift_docc_render"]||[]).push([[645],{2482:function(e){function n(e){const n=e.regex,t=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],r=/[dualxmsipngr]{0,12}/,s={$pattern:/[\w.]+/,keyword:t.join(" ")},i={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:s},a={begin:/->\{/,end:/\}/},c={variants:[{begin:/\$\d/},{begin:n.concat(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},o=[e.BACKSLASH_ESCAPE,i,c],g=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],l=(e,t,s="\\1")=>{const i="\\1"===s?s:n.concat(s,t);return n.concat(n.concat("(?:",e,")"),t,/(?:\\.|[^\\\/])*?/,i,/(?:\\.|[^\\\/])*?/,s,r)},d=(e,t,s)=>n.concat(n.concat("(?:",e,")"),t,/(?:\\.|[^\\\/])*?/,s,r),p=[c,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),a,{className:"string",contains:o,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:l("s|tr|y",n.either(...g,{capture:!0}))},{begin:l("s|tr|y","\\(","\\)")},{begin:l("s|tr|y","\\[","\\]")},{begin:l("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:d("(?:m|qr)?",/\//,/\//)},{begin:d("m|qr",n.either(...g,{capture:!0}),/\1/)},{begin:d("m|qr",/\(/,/\)/)},{begin:d("m|qr",/\[/,/\]/)},{begin:d("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return i.contains=p,a.contains=p,{name:"Perl",aliases:["pl","pm"],keywords:s,contains:p}}e.exports=n}}]); \ No newline at end of file diff --git a/docs/js/highlight-js-php-js.c458ffa4.js b/docs/js/highlight-js-php-js.c458ffa4.js new file mode 100644 index 00000000..344966a4 --- /dev/null +++ b/docs/js/highlight-js-php-js.c458ffa4.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(self["webpackChunkswift_docc_render"]=self["webpackChunkswift_docc_render"]||[]).push([[596],{2656:function(e){function r(e){const r={className:"variable",begin:"\\$+[a-zA-Z_-ÿ][a-zA-Z0-9_-ÿ]*(?![A-Za-z0-9])(?![$])"},t={className:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?[=]?/},{begin:/\?>/}]},a={className:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},n=e.inherit(e.APOS_STRING_MODE,{illegal:null}),i=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(a)}),o=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*(\w+)\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(a)}),l={className:"string",contains:[e.BACKSLASH_ESCAPE,t],variants:[e.inherit(n,{begin:"b'",end:"'"}),e.inherit(i,{begin:'b"',end:'"'}),i,n,o]},c={className:"number",variants:[{begin:"\\b0b[01]+(?:_[01]+)*\\b"},{begin:"\\b0o[0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0x[\\da-f]+(?:_[\\da-f]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:e[+-]?\\d+)?"}],relevance:0},s={keyword:"__CLASS__ __DIR__ __FILE__ __FUNCTION__ __LINE__ __METHOD__ __NAMESPACE__ __TRAIT__ die echo exit include include_once print require require_once array abstract and as binary bool boolean break callable case catch class clone const continue declare default do double else elseif empty enddeclare endfor endforeach endif endswitch endwhile enum eval extends final finally float for foreach from global goto if implements instanceof insteadof int integer interface isset iterable list match|0 mixed new object or private protected public real return string switch throw trait try unset use var void while xor yield",literal:"false null true",built_in:"Error|0 AppendIterator ArgumentCountError ArithmeticError ArrayIterator ArrayObject AssertionError BadFunctionCallException BadMethodCallException CachingIterator CallbackFilterIterator CompileError Countable DirectoryIterator DivisionByZeroError DomainException EmptyIterator ErrorException Exception FilesystemIterator FilterIterator GlobIterator InfiniteIterator InvalidArgumentException IteratorIterator LengthException LimitIterator LogicException MultipleIterator NoRewindIterator OutOfBoundsException OutOfRangeException OuterIterator OverflowException ParentIterator ParseError RangeException RecursiveArrayIterator RecursiveCachingIterator RecursiveCallbackFilterIterator RecursiveDirectoryIterator RecursiveFilterIterator RecursiveIterator RecursiveIteratorIterator RecursiveRegexIterator RecursiveTreeIterator RegexIterator RuntimeException SeekableIterator SplDoublyLinkedList SplFileInfo SplFileObject SplFixedArray SplHeap SplMaxHeap SplMinHeap SplObjectStorage SplObserver SplObserver SplPriorityQueue SplQueue SplStack SplSubject SplSubject SplTempFileObject TypeError UnderflowException UnexpectedValueException UnhandledMatchError ArrayAccess Closure Generator Iterator IteratorAggregate Serializable Stringable Throwable Traversable WeakReference WeakMap Directory __PHP_Incomplete_Class parent php_user_filter self static stdClass"};return{case_insensitive:!0,keywords:s,contains:[e.HASH_COMMENT_MODE,e.COMMENT("//","$",{contains:[t]}),e.COMMENT("/\\*","\\*/",{contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.COMMENT("__halt_compiler.+?;",!1,{endsWithParent:!0,keywords:"__halt_compiler"}),t,{className:"keyword",begin:/\$this\b/},r,{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{className:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:s,contains:["self",r,e.C_BLOCK_COMMENT_MODE,l,c]}]},{className:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"use",relevance:0,end:";",contains:[e.UNDERSCORE_TITLE_MODE]},l,c]}}e.exports=r}}]); \ No newline at end of file diff --git a/docs/js/highlight-js-python-js.60354774.js b/docs/js/highlight-js-python-js.60354774.js new file mode 100644 index 00000000..651bc258 --- /dev/null +++ b/docs/js/highlight-js-python-js.60354774.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(self["webpackChunkswift_docc_render"]=self["webpackChunkswift_docc_render"]||[]).push([[435],{8245:function(e){function n(e){const n=e.regex,a=/[\p{XID_Start}_]\p{XID_Continue}*/u,i=["and","as","assert","async","await","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],s=["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],t=["__debug__","Ellipsis","False","None","NotImplemented","True"],r=["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"],l={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:i,built_in:s,literal:t,type:r},b={className:"meta",begin:/^(>>>|\.\.\.) /},o={className:"subst",begin:/\{/,end:/\}/,keywords:l,illegal:/#/},c={begin:/\{\{/,relevance:0},d={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,b],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,b],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,b,c,o]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,b,c,o]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,c,o]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,c,o]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},p="[0-9](_?[0-9])*",_=`(\\b(${p}))?\\.(${p})|\\b(${p})\\.`,g={className:"number",relevance:0,variants:[{begin:`(\\b(${p})|(${_}))[eE][+-]?(${p})[jJ]?\\b`},{begin:`(${_})[jJ]?`},{begin:"\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?\\b"},{begin:"\\b0[bB](_?[01])+[lL]?\\b"},{begin:"\\b0[oO](_?[0-7])+[lL]?\\b"},{begin:"\\b0[xX](_?[0-9a-fA-F])+[lL]?\\b"},{begin:`\\b(${p})[jJ]\\b`}]},m={className:"comment",begin:n.lookahead(/# type:/),end:/$/,keywords:l,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},f={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:l,contains:["self",b,g,d,e.HASH_COMMENT_MODE]}]};return o.contains=[d,g,b],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:l,illegal:/(<\/|->|\?)|=>/,contains:[b,g,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},d,m,e.HASH_COMMENT_MODE,{match:[/def/,/\s+/,a],scope:{1:"keyword",3:"title.function"},contains:[f]},{variants:[{match:[/class/,/\s+/,a,/\s*/,/\(\s*/,a,/\s*\)/]},{match:[/class/,/\s+/,a]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[g,f,d]}]}}e.exports=n}}]); \ No newline at end of file diff --git a/docs/js/highlight-js-ruby-js.7272231f.js b/docs/js/highlight-js-ruby-js.7272231f.js new file mode 100644 index 00000000..d63f527b --- /dev/null +++ b/docs/js/highlight-js-ruby-js.7272231f.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(self["webpackChunkswift_docc_render"]=self["webpackChunkswift_docc_render"]||[]).push([[623],{7905:function(e){function n(e){const n=e.regex,a="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",i={keyword:"and then defined module in return redo if BEGIN retry end for self when next until do begin unless END rescue else break undef not super class case require yield alias while ensure elsif or include attr_reader attr_writer attr_accessor __FILE__",built_in:"proc lambda",literal:"true false nil"},s={className:"doctag",begin:"@[A-Za-z]+"},c={begin:"#<",end:">"},b=[e.COMMENT("#","$",{contains:[s]}),e.COMMENT("^=begin","^=end",{contains:[s],relevance:10}),e.COMMENT("^__END__","\\n$")],r={className:"subst",begin:/#\{/,end:/\}/,keywords:i},d={className:"string",contains:[e.BACKSLASH_ESCAPE,r],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:n.concat(/<<[-~]?'?/,n.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,r]})]}]},t="[1-9](_?[0-9])*|0",l="[0-9](_?[0-9])*",o={className:"number",relevance:0,variants:[{begin:`\\b(${t})(\\.(${l}))?([eE][+-]?(${l})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},g={className:"params",begin:"\\(",end:"\\)",endsParent:!0,keywords:i},_=[d,{className:"class",beginKeywords:"class module",end:"$|;",illegal:/=/,contains:[e.inherit(e.TITLE_MODE,{begin:"[A-Za-z_]\\w*(::\\w+)*(\\?|!)?"}),{begin:"<\\s*",contains:[{begin:"("+e.IDENT_RE+"::)?"+e.IDENT_RE,relevance:0}]}].concat(b)},{className:"function",begin:n.concat(/def\s+/,n.lookahead(a+"\\s*(\\(|;|$)")),relevance:0,keywords:"def",end:"$|;",contains:[e.inherit(e.TITLE_MODE,{begin:a}),g].concat(b)},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[d,{begin:a}],relevance:0},o,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,relevance:0,keywords:i},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,r],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(c,b),relevance:0}].concat(c,b);r.contains=_,g.contains=_;const E="[>?]>",w="[\\w#]+\\(\\w+\\):\\d+:\\d+>",u="(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>",N=[{begin:/^\s*=>/,starts:{end:"$",contains:_}},{className:"meta",begin:"^("+E+"|"+w+"|"+u+")(?=[ ])",starts:{end:"$",contains:_}}];return b.unshift(c),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:i,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(N).concat(b).concat(_)}}e.exports=n}}]); \ No newline at end of file diff --git a/docs/js/highlight-js-scss-js.adcd11a2.js b/docs/js/highlight-js-scss-js.adcd11a2.js new file mode 100644 index 00000000..a8b5b9f5 --- /dev/null +++ b/docs/js/highlight-js-scss-js.adcd11a2.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(self["webpackChunkswift_docc_render"]=self["webpackChunkswift_docc_render"]||[]).push([[392],{1062:function(e){const t=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),i=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],r=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],o=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],a=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],n=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-height","max-width","min-height","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function l(e){const l=t(e),s=a,d=o,c="@[a-z-]+",p="and or not only",g="[a-zA-Z-][a-zA-Z0-9_-]*",m={className:"variable",begin:"(\\$"+g+")\\b"};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,l.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},l.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+i.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+d.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+s.join("|")+")"},m,{begin:/\(/,end:/\)/,contains:[l.CSS_NUMBER_MODE]},l.CSS_VARIABLE,{className:"attribute",begin:"\\b("+n.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,contains:[l.BLOCK_COMMENT,m,l.HEXCOLOR,l.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,l.IMPORTANT]},{begin:"@(page|font-face)",keywords:{$pattern:c,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:p,attribute:r.join(" ")},contains:[{begin:c,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},m,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,l.HEXCOLOR,l.CSS_NUMBER_MODE]},l.FUNCTION_DISPATCH]}}e.exports=l}}]); \ No newline at end of file diff --git a/docs/js/highlight-js-shell-js.0ad5b20f.js b/docs/js/highlight-js-shell-js.0ad5b20f.js new file mode 100644 index 00000000..e9e90cfc --- /dev/null +++ b/docs/js/highlight-js-shell-js.0ad5b20f.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(self["webpackChunkswift_docc_render"]=self["webpackChunkswift_docc_render"]||[]).push([[176],{7874:function(s){function e(s){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}s.exports=e}}]); \ No newline at end of file diff --git a/docs/js/highlight-js-swift-js.bdd5bff5.js b/docs/js/highlight-js-swift-js.bdd5bff5.js new file mode 100644 index 00000000..2107fba1 --- /dev/null +++ b/docs/js/highlight-js-swift-js.bdd5bff5.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(self["webpackChunkswift_docc_render"]=self["webpackChunkswift_docc_render"]||[]).push([[527],{7690:function(e){function n(e){return e?"string"===typeof e?e:e.source:null}function t(e){return a("(?=",e,")")}function a(...e){const t=e.map((e=>n(e))).join("");return t}function i(e){const n=e[e.length-1];return"object"===typeof n&&n.constructor===Object?(e.splice(e.length-1,1),n):{}}function s(...e){const t=i(e),a="("+(t.capture?"":"?:")+e.map((e=>n(e))).join("|")+")";return a}const c=e=>a(/\b/,e,/\w$/.test(e)?/\b/:/\B/),u=["Protocol","Type"].map(c),o=["init","self"].map(c),r=["Any","Self"],l=["actor","associatedtype","async","await",/as\?/,/as!/,"as","break","case","catch","class","continue","convenience","default","defer","deinit","didSet","do","dynamic","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],m=["false","nil","true"],p=["assignment","associativity","higherThan","left","lowerThan","none","right"],d=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warn_unqualified_access","#warning"],F=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],b=s(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),f=s(b,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),h=a(b,f,"*"),w=s(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),y=s(w,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),g=a(w,y,"*"),E=a(/[A-Z]/,y,"*"),v=["autoclosure",a(/convention\(/,s("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",a(/objc\(/,g,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","testable","UIApplicationMain","unknown","usableFromInline"],A=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function N(e){const n={match:/\s+/,relevance:0},i=e.COMMENT("/\\*","\\*/",{contains:["self"]}),b=[e.C_LINE_COMMENT_MODE,i],w={match:[/\./,s(...u,...o)],className:{2:"keyword"}},N={match:a(/\./,s(...l)),relevance:0},C=l.filter((e=>"string"===typeof e)).concat(["_|0"]),k=l.filter((e=>"string"!==typeof e)).concat(r).map(c),D={variants:[{className:"keyword",match:s(...k,...o)}]},B={$pattern:s(/\b\w+/,/#\w+/),keyword:C.concat(d),literal:m},_=[w,N,D],S={match:a(/\./,s(...F)),relevance:0},M={className:"built_in",match:a(/\b/,s(...F),/(?=\()/)},x=[S,M],$={match:/->/,relevance:0},I={className:"operator",relevance:0,variants:[{match:h},{match:`\\.(\\.|${f})+`}]},O=[$,I],L="([0-9]_*)+",T="([0-9a-fA-F]_*)+",P={className:"number",relevance:0,variants:[{match:`\\b(${L})(\\.(${L}))?([eE][+-]?(${L}))?\\b`},{match:`\\b0x(${T})(\\.(${T}))?([pP][+-]?(${L}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},j=(e="")=>({className:"subst",variants:[{match:a(/\\/,e,/[0\\tnr"']/)},{match:a(/\\/,e,/u\{[0-9a-fA-F]{1,8}\}/)}]}),K=(e="")=>({className:"subst",match:a(/\\/,e,/[\t ]*(?:[\r\n]|\r\n)/)}),z=(e="")=>({className:"subst",label:"interpol",begin:a(/\\/,e,/\(/),end:/\)/}),q=(e="")=>({begin:a(e,/"""/),end:a(/"""/,e),contains:[j(e),K(e),z(e)]}),U=(e="")=>({begin:a(e,/"/),end:a(/"/,e),contains:[j(e),z(e)]}),Z={className:"string",variants:[q(),q("#"),q("##"),q("###"),U(),U("#"),U("##"),U("###")]},V={match:a(/`/,g,/`/)},W={className:"variable",match:/\$\d+/},G={className:"variable",match:`\\$${y}+`},R=[V,W,G],X={match:/(@|#)available/,className:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:A,contains:[...O,P,Z]}]}},H={className:"keyword",match:a(/@/,s(...v))},J={className:"meta",match:a(/@/,g)},Q=[X,H,J],Y={match:t(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:a(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,y,"+")},{className:"type",match:E,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:a(/\s+&\s+/,t(E)),relevance:0}]},ee={begin://,keywords:B,contains:[...b,..._,...Q,$,Y]};Y.contains.push(ee);const ne={match:a(g,/\s*:/),keywords:"_|0",relevance:0},te={begin:/\(/,end:/\)/,relevance:0,keywords:B,contains:["self",ne,...b,..._,...x,...O,P,Z,...R,...Q,Y]},ae={begin://,contains:[...b,Y]},ie={begin:s(t(a(g,/\s*:/)),t(a(g,/\s+/,g,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:g}]},se={begin:/\(/,end:/\)/,keywords:B,contains:[ie,...b,..._,...O,P,Z,...Q,Y,te],endsParent:!0,illegal:/["']/},ce={match:[/func/,/\s+/,s(V.match,g,h)],className:{1:"keyword",3:"title.function"},contains:[ae,se,n],illegal:[/\[/,/%/]},ue={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[ae,se,n],illegal:/\[|%/},oe={match:[/operator/,/\s+/,h],className:{1:"keyword",3:"title"}},re={begin:[/precedencegroup/,/\s+/,E],className:{1:"keyword",3:"title"},contains:[Y],keywords:[...p,...m],end:/}/};for(const t of Z.variants){const e=t.contains.find((e=>"interpol"===e.label));e.keywords=B;const n=[..._,...x,...O,P,Z,...R];e.contains=[...n,{begin:/\(/,end:/\)/,contains:["self",...n]}]}return{name:"Swift",keywords:B,contains:[...b,ce,ue,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:B,contains:[e.inherit(e.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),..._]},oe,re,{beginKeywords:"import",end:/$/,contains:[...b],relevance:0},..._,...x,...O,P,Z,...R,...Q,Y,te]}}e.exports=N}}]); \ No newline at end of file diff --git a/docs/js/highlight-js-xml-js.0d78f903.js b/docs/js/highlight-js-xml-js.0d78f903.js new file mode 100644 index 00000000..7eb3dddb --- /dev/null +++ b/docs/js/highlight-js-xml-js.0d78f903.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(self["webpackChunkswift_docc_render"]=self["webpackChunkswift_docc_render"]||[]).push([[490],{4610:function(e){function n(e){const n=e.regex,a=n.concat(/[A-Z_]/,n.optional(/[A-Z0-9_.-]*:/),/[A-Z0-9_.-]*/),s=/[A-Za-z0-9._:-]+/,t={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},c={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},i=e.inherit(c,{begin:/\(/,end:/\)/}),l=e.inherit(e.APOS_STRING_MODE,{className:"string"}),r=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),g={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin://,relevance:10,contains:[c,r,l,i,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[c,i,r,l]}]}]},e.COMMENT(//,{relevance:10}),{begin://,relevance:10},t,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[g],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[g],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:n.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:a,relevance:0,starts:g}]},{className:"tag",begin:n.concat(/<\//,n.lookahead(n.concat(a,/>/))),contains:[{className:"name",begin:a,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}e.exports=n}}]); \ No newline at end of file diff --git a/docs/js/index.45768e19.js b/docs/js/index.45768e19.js new file mode 100644 index 00000000..ba6ef5e8 --- /dev/null +++ b/docs/js/index.45768e19.js @@ -0,0 +1,9 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */(function(){var e={1970:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=function(){var e=this,t=e._self._c;return t("SVGIcon",{staticClass:"close-icon",attrs:{viewBox:"0 0 14 14",themeId:"close"}},[t("path",{attrs:{d:"M12.73,0l1.27,1.27-5.74,5.73,5.72,5.72-1.27,1.27-5.72-5.72L1.28,13.99,.01,12.72,5.72,7.01,0,1.28,1.27,.01,6.99,5.73,12.73,0Z"}})])},o=[],i=n(9742),a={name:"CloseIcon",components:{SVGIcon:i.Z}},s=a,l=n(1001),c=(0,l.Z)(s,r,o,!1,null,null,null),u=c.exports},8785:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=function(){var e=this,t=e._self._c;return t("SVGIcon",{staticClass:"inline-chevron-right-icon",attrs:{viewBox:"0 0 14 14",themeId:"inline-chevron-right"}},[t("path",{attrs:{d:"M2.964 1.366l0.649-0.76 7.426 6.343-7.423 6.445-0.655-0.755 6.545-5.683-6.542-5.59z"}})])},o=[],i=n(9742),a={name:"InlineChevronRightIcon",components:{SVGIcon:i.Z}},s=a,l=n(1001),c=(0,l.Z)(s,r,o,!1,null,null,null),u=c.exports},9742:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=function(){var e=this,t=e._self._c;return t("svg",{staticClass:"svg-icon",attrs:{"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[e.themeOverrideURL?t("use",{attrs:{href:`${e.themeOverrideURL}#${e.themeId}`,width:"100%",height:"100%"}}):e._t("default")],2)},o=[],i=n(9089),a={name:"SVGIcon",props:{themeId:{type:String,required:!1},iconUrl:{type:String,default:null}},computed:{themeOverrideURL:({iconUrl:e,themeId:t})=>e||(0,i.$8)(["theme","icons",t],void 0)}},s=a,l=n(1001),c=(0,l.Z)(s,r,o,!1,null,"3434f4d2",null),u=c.exports},3033:function(e,t,n){"use strict";n(647);var r=n(144),o=n(7152),i=n(8345),a=function(){var e=this,t=e._self._c;return t("div",{class:{fromkeyboard:e.fromKeyboard,hascustomheader:e.hasCustomHeader},attrs:{id:"app"}},[t("div",{attrs:{id:e.AppTopID}}),e.isTargetIDE?e._e():t("a",{attrs:{href:"#main",id:"skip-nav"}},[e._v(e._s(e.$t("accessibility.skip-navigation")))]),t("InitialLoadingPlaceholder"),e._t("header",(function(){return[e.enablei18n?t("SuggestLang"):e._e(),e.hasCustomHeader?t("custom-header",{attrs:{"data-color-scheme":e.preferredColorScheme}}):e._e()]}),{isTargetIDE:e.isTargetIDE}),t("div",{attrs:{id:e.baseNavStickyAnchorId}}),e._t("default",(function(){return[t("router-view",{staticClass:"router-content"}),e.hasCustomFooter?t("custom-footer",{attrs:{"data-color-scheme":e.preferredColorScheme}}):e.isTargetIDE?e._e():t("Footer",{scopedSlots:e._u([{key:"default",fn:function({className:n}){return[e.enablei18n?t("div",{class:n},[t("LocaleSelector")],1):e._e()]}}])})]}),{isTargetIDE:e.isTargetIDE}),e._t("footer",null,{isTargetIDE:e.isTargetIDE})],2)},s=[],l=n(4030),c=n(9804),u=function(){var e=this,t=e._self._c;return t("footer",{staticClass:"footer"},[t("div",{staticClass:"row"},[t("ColorSchemeToggle")],1),e._t("default",null,{className:"row"})],2)},d=[],m=function(){var e=this,t=e._self._c;return t("fieldset",{staticClass:"color-scheme-toggle",attrs:{role:"radiogroup"}},[t("legend",{staticClass:"visuallyhidden"},[e._v(e._s(e.$t("color-scheme.select")))]),e._l(e.options,(function(n){return t("label",{key:n},[t("input",{attrs:{type:"radio"},domProps:{checked:n==e.preferredColorScheme,value:n},on:{input:e.setPreferredColorScheme}}),t("div",{staticClass:"text"},[e._v(e._s(e.$t(`color-scheme.${n}`)))])])}))],2)},p=[],f={name:"ColorSchemeToggle",data:()=>({appState:l["default"].state}),computed:{options:({supportsAutoColorScheme:e})=>[c.Z.light,c.Z.dark,...e?[c.Z.auto]:[]],preferredColorScheme:({appState:e})=>e.preferredColorScheme,supportsAutoColorScheme:({appState:e})=>e.supportsAutoColorScheme},methods:{setPreferredColorScheme:e=>{l["default"].setPreferredColorScheme(e.target.value)}},watch:{preferredColorScheme:{immediate:!0,handler(e){document.body.dataset.colorScheme=e}}}},h=f,g=n(1001),v=(0,g.Z)(h,m,p,!1,null,"0c0360ce",null),b=v.exports,w={name:"Footer",components:{ColorSchemeToggle:b}},y=w,S=(0,g.Z)(y,u,d,!1,null,"4e049dbd",null),C=S.exports,_=function(){var e=this,t=e._self._c;return e.loaded?e._e():t("div",{staticClass:"InitialLoadingPlaceholder",attrs:{id:"loading-placeholder"}})},E=[],k={name:"InitialLoadingPlaceholder",data(){return{loaded:!1}},created(){const e=()=>{this.loaded=!0};this.$router.onReady(e,e)}},A=k,P=(0,g.Z)(A,_,E,!1,null,"35c356b6",null),L=P.exports,T=n(1716),j=n(9089);function x(e,t){return e&&"object"===typeof e&&Object.prototype.hasOwnProperty.call(e,t)&&"string"===typeof e[t]}function I(e,t,n,r){if(!t||"object"!==typeof t||r&&(x(t,"light")||x(t,"dark"))){let o=t;if(x(t,r)&&(o=t[r]),"object"===typeof o)return;n[e]=o}else Object.entries(t).forEach((([t,o])=>{const i=[e,t].join("-");I(i,o,n,r)}))}function N(e,t="light"){const n={},r=e||{};return I("-",r,n,t),n}var $=n(2717),O=function(){var e=this,t=e._self._c;return e.displaySuggestLang?t("div",{staticClass:"suggest-lang"},[t("div",{staticClass:"suggest-lang__wrapper"},[t("router-link",{staticClass:"suggest-lang__link",attrs:{to:e.getLocaleParam(e.preferredLocale),lang:e.getCodeForSlug(e.preferredLocale)},nativeOn:{click:function(t){return e.setPreferredLocale(e.preferredLocale)}}},[e._v(e._s(e.$i18n.messages[e.preferredLocale]["view-in"])),t("InlineChevronRightIcon",{staticClass:"icon-inline"})],1),t("div",{staticClass:"suggest-lang__close-icon-wrapper"},[t("button",{staticClass:"suggest-lang__close-icon-button",attrs:{"aria-label":e.$t("continue-viewing")},on:{click:function(t){return e.setPreferredLocale(e.$i18n.locale)}}},[t("CloseIcon",{staticClass:"icon-inline"})],1)])],1)]):e._e()},R=[],D=n(8785),Z=n(1970),q=n(2412),U=n(9030),V={name:"SuggestLang",components:{InlineChevronRightIcon:D.Z,CloseIcon:Z.Z},computed:{preferredLocale:()=>{const e=l["default"].state.preferredLocale;if(e)return e;const t=q.find((e=>{const t=e.code.split("-")[0],n=window.navigator.language.split("-")[0];return n===t}));return t?t.slug:null},displaySuggestLang:({preferredLocale:e,$i18n:t})=>e&&t.locale!==e},methods:{setPreferredLocale:e=>{l["default"].setPreferredLocale(e)},getCodeForSlug:U.dZ,getLocaleParam:U.KP}},B=V,M=(0,g.Z)(B,O,R,!1,null,"768a347b",null),H=M.exports,F=function(){var e=this,t=e._self._c;return t("div",{staticClass:"locale-selector"},[t("select",{attrs:{"aria-label":e.$t("select-language")},domProps:{value:e.$i18n.locale},on:{change:e.updateRouter}},e._l(e.locales,(function({slug:n,name:r,code:o}){return t("option",{key:n,attrs:{lang:o},domProps:{value:n}},[e._v(" "+e._s(r)+" ")])})),0),t("ChevronThickIcon",{staticClass:"icon-inline"})],1)},W=[],J=function(){var e=this,t=e._self._c;return t("SVGIcon",{staticClass:"chevron-thick-icon",attrs:{viewBox:"0 0 14 10.5",themeId:"chevron-thick"}},[t("path",{attrs:{d:"M12.43,0l1.57,1.22L7,10.5,0,1.23,1.58,0,7,7,12.43,0Z"}})])},K=[],G=n(9742),z={name:"ChevronThickIcon",components:{SVGIcon:G.Z}},X=z,Y=(0,g.Z)(X,J,K,!1,null,null,null),Q=Y.exports,ee={name:"LocaleSelector",components:{ChevronThickIcon:Q},methods:{updateRouter({target:{value:e}}){this.$router.push((0,U.KP)(e)),l["default"].setPreferredLocale(e),(0,U.jk)(e,this)}},computed:{availableLocales:()=>l["default"].state.availableLocales,locales:({availableLocales:e})=>q.filter((({code:t})=>e.includes(t)))}},te=ee,ne=(0,g.Z)(te,F,W,!1,null,"d21858a2",null),re=ne.exports,oe={name:"CoreApp",components:{Footer:C,InitialLoadingPlaceholder:L,SuggestLang:H,LocaleSelector:re},provide(){return{isTargetIDE:this.isTargetIDE,performanceMetricsEnabled:"true"==={NODE_ENV:"production",VUE_APP_TITLE:"Documentation",BASE_URL:"{{BASE_PATH}}/"}.VUE_APP_PERFORMANCE_ENABLED}},data(){return{AppTopID:$.$,appState:l["default"].state,fromKeyboard:!1,isTargetIDE:"ide"==={NODE_ENV:"production",VUE_APP_TITLE:"Documentation",BASE_URL:"{{BASE_PATH}}/"}.VUE_APP_TARGET,themeSettings:j.S3,baseNavStickyAnchorId:T.EA}},computed:{currentColorScheme:({appState:e})=>e.systemColorScheme,preferredColorScheme:({appState:e})=>e.preferredColorScheme,availableLocales:({appState:e})=>e.availableLocales,CSSCustomProperties:({currentColorScheme:e,preferredColorScheme:t,themeSettings:n})=>N(n.theme,t===c.Z.auto?e:t),hasCustomHeader:()=>!!window.customElements.get("custom-header"),hasCustomFooter:()=>!!window.customElements.get("custom-footer"),enablei18n:({availableLocales:e})=>(0,j.$8)(["features","docs","i18n","enable"],!1)&&e.length>1},props:{enableThemeSettings:{type:Boolean,default:!0}},watch:{CSSCustomProperties:{immediate:!0,handler(e){this.detachStylesFromRoot(e),this.attachStylesToRoot(e)}}},async created(){window.addEventListener("keydown",this.onKeyDown),this.$bridge.on("navigation",this.handleNavigationRequest),this.enableThemeSettings&&Object.assign(this.themeSettings,await(0,j.Kx)()),window.addEventListener("pageshow",this.syncPreferredColorScheme),this.$once("hook:beforeDestroy",(()=>{window.removeEventListener("pageshow",this.syncPreferredColorScheme)}))},mounted(){(document.querySelector(".footer-current-year")||{}).innerText=(new Date).getFullYear(),this.attachColorSchemeListeners()},beforeDestroy(){this.fromKeyboard?window.removeEventListener("mousedown",this.onMouseDown):window.removeEventListener("keydown",this.onKeyDown),this.$bridge.off("navigation",this.handleNavigationRequest),this.detachStylesFromRoot(this.CSSCustomProperties)},methods:{onKeyDown(){this.fromKeyboard=!0,window.addEventListener("mousedown",this.onMouseDown),window.removeEventListener("keydown",this.onKeyDown)},onMouseDown(){this.fromKeyboard=!1,window.addEventListener("keydown",this.onKeyDown),window.removeEventListener("mousedown",this.onMouseDown)},handleNavigationRequest(e){this.$router.push(e)},attachColorSchemeListeners(){if(!window.matchMedia)return;const e=window.matchMedia("(prefers-color-scheme: dark)");e.addListener(this.onColorSchemePreferenceChange),this.$once("hook:beforeDestroy",(()=>{e.removeListener(this.onColorSchemePreferenceChange)})),this.onColorSchemePreferenceChange(e)},onColorSchemePreferenceChange({matches:e}){const t=e?c.Z.dark:c.Z.light;l["default"].setSystemColorScheme(t)},attachStylesToRoot(e){const t=document.body;Object.entries(e).filter((([,e])=>Boolean(e))).forEach((([e,n])=>{t.style.setProperty(e,n)}))},detachStylesFromRoot(e){const t=document.body;Object.entries(e).forEach((([e])=>{t.style.removeProperty(e)}))},syncPreferredColorScheme(){l["default"].syncPreferredColorScheme()}}},ie=oe,ae=(0,g.Z)(ie,a,s,!1,null,"3742c1d7",null),se=ae.exports;class le{constructor(){this.$send=()=>{}}send(e){this.$send(e)}}class ce{constructor(){const{webkit:{messageHandlers:{bridge:e={}}={}}={}}=window;this.bridge=e;const{postMessage:t=(()=>{})}=e;this.$send=t.bind(e)}send(e){this.$send(e)}}class ue{constructor(e=new le){this.backend=e,this.listeners={}}send(e){this.backend.send(e)}receive(e){this.emit(e.type,e.data)}emit(e,t){this.listeners[e]&&this.listeners[e].forEach((e=>e(t)))}on(e,t){this.listeners[e]||(this.listeners[e]=new Set),this.listeners[e].add(t)}off(e,t){this.listeners[e]&&this.listeners[e].delete(t)}}var de={install(e,t){let n;n=t.performanceMetricsEnabled||"ide"===t.appTarget?new ce:new le,e.prototype.$bridge=new ue(n)}};function me(e){return`custom-${e}`}function pe(e){return class extends HTMLElement{constructor(){super();const t=this.attachShadow({mode:"open"}),n=e.content.cloneNode(!0);t.appendChild(n)}}}function fe(e){const t=me(e),n=document.getElementById(t);n&&window.customElements.define(t,pe(n))}function he(e,t={names:["header","footer"]}){const{names:n}=t;e.config.ignoredElements=/^custom-/,n.forEach(fe)}function ge(e,t){const{value:n=!1}=t;e.style.display=n?"none":""}var ve={hide:ge};function be(e,{performanceMetrics:t=!1}={}){e.config.productionTip=!1,e.use(he),e.directive("hide",ve.hide),e.use(de,{appTarget:{NODE_ENV:"production",VUE_APP_TITLE:"Documentation",BASE_URL:"{{BASE_PATH}}/"}.VUE_APP_TARGET,performanceMetricsEnabled:t}),window.bridge=e.prototype.$bridge,e.config.performance=t}var we=n(4589),ye=n(5381),Se=n(5657),Ce=n(3208),_e=n(2449);const Ee=10;function ke(e){const{name:t}=e,n=t.includes(we.J_);return n?Ee:0}function Ae(){const{location:e}=window;return e.pathname+e.search+e.hash}function Pe(){const e=Math.max(document.documentElement.clientWidth||0,window.innerWidth||0);return ePromise.all([n.e(223),n.e(843)]).then(n.bind(n,5199))},{path:"/tutorials/:id/*",name:"topic",component:()=>Promise.all([n.e(223),n.e(842),n.e(162)]).then(n.bind(n,4104))},{path:"/documentation/*",name:we.J_,component:()=>Promise.all([n.e(223),n.e(976),n.e(842),n.e(982)]).then(n.bind(n,1350))},{path:"*",name:we.vL,component:Ke},{path:"*",name:we.Rp,component:Be}];const ze=[{pathPrefix:"/:locale?",nameSuffix:"-locale"}];function Xe(e,t=[],n=ze){return n.reduce(((n,r)=>n.concat(e.filter((e=>!t.includes(e.name))).map((e=>({...e,path:r.pathPrefix+e.path,name:e.name+r.nameSuffix}))))),[])}const Ye=[...Ge,...Xe(Ge,[we.vL,we.Rp])];function Qe(e={}){const t=new i.Z({mode:"history",base:j.FH,scrollBehavior:Le,...e,routes:e.routes||Ye});return t.onReady((()=>{"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual"),Te()})),"ide"!=={NODE_ENV:"production",VUE_APP_TITLE:"Documentation",BASE_URL:"{{BASE_PATH}}/"}.VUE_APP_TARGET&&t.onError((e=>{const{route:n={path:"/"}}=e;t.replace({name:"server-error",params:[n.path]})})),window.addEventListener("unload",je),t}var et=n(7788);function tt(e=et){const{defaultLocale:t,messages:n,dateTimeFormats:r={}}=e,i=new o.Z({dateTimeFormats:r,locale:t,fallbackLocale:t,messages:n});return i}r["default"].use(be),r["default"].use(i.Z),r["default"].use(o.Z),document.documentElement.classList.remove("no-js"),new r["default"]({router:Qe(),render:e=>e(se),i18n:tt()}).$mount("#app")},2717:function(e,t,n){"use strict";n.d(t,{$:function(){return r}});const r="app-top"},9804:function(e,t){"use strict";t["Z"]={auto:"auto",dark:"dark",light:"light"}},1265:function(e,t){"use strict";t["Z"]={eager:"eager",lazy:"lazy"}},1716:function(e,t,n){"use strict";n.d(t,{EA:function(){return i},L$:function(){return o},MenuLinkModifierClasses:function(){return s},RS:function(){return r},Yj:function(){return a}});const r=52,o=48,i="nav-sticky-anchor",a="nav-open-navigator",s={noClose:"noclose"}},4589:function(e,t,n){"use strict";n.d(t,{J_:function(){return i},Rp:function(){return o},vL:function(){return r}});const r="not-found",o="server-error",i="documentation-topic"},7788:function(e,t,n){"use strict";n.r(t),n.d(t,{defaultLocale:function(){return s},messages:function(){return l}});var r=JSON.parse('{"view-in":"View in English","continue-viewing":"Continue viewing in English","language":"Language","video":{"title":"Video","replay":"Replay","play":"Play","pause":"Pause","watch":"Watch intro video","description":"Content description of this video: {alt}","custom-controls":"Custom controls are available below"},"tutorials":{"title":"Tutorial | Tutorials","step":"Step {number}","submit":"Submit","next":"Next","preview":{"title":"No Preview | Preview | Previews","no-preview-available-step":"No preview available for this step."},"nav":{"chapters":"Chapters","current":"Current {thing}"},"assessment":{"check-your-understanding":"Check Your Understanding","success-message":"Great job, you\'ve answered all the questions for this tutorial.","answer-result":"Answer {answer} is {result}","correct":"correct","incorrect":"incorrect","next-question":"Next question","legend":"Possible answers"},"project-files":"Project files","estimated-time":"Estimated Time","sections":{"chapter":"Chapter {number}"},"question-of":"Question {index} of {total}","section-of":"{number} of {total}","overriding-title":"{newTitle} with {title}","time":{"format":"{number} {minutes}","minutes":{"full":"minute | minutes | {count} minutes","short":"min | mins"},"hours":{"full":"hour | hours"}}},"documentation":{"title":"Documentation","nav":{"breadcrumbs":"Breadcrumbs","menu":"Menu","open-menu":"Open Menu","close-menu":"Close Menu"},"current-page":"Current page is {title}","card":{"learn-more":"Learn More","read-article":"Read article","start-tutorial":"Start tutorial","view-api":"View API collection","view-symbol":"View symbol","view-sample-code":"View sample code"},"view-more":"View more"},"declarations":{"hide-other-declarations":"Hide other declarations","show-all-declarations":"Show all declarations"},"aside-kind":{"beta":"Beta","experiment":"Experiment","important":"Important","note":"Note","tip":"Tip","warning":"Warning","deprecated":"Deprecated"},"change-type":{"added":"Added","modified":"Modified","deprecated":"Deprecated"},"verbs":{"hide":"Hide","show":"Show","close":"Close"},"sections":{"title":"Section {number}","on-this-page":"On this page","topics":"Topics","default-implementations":"Default Implementations","relationships":"Relationships","see-also":"See Also","declaration":"Declaration","details":"Details","parameters":"Parameters","possible-values":"Possible Values","parts":"Parts","availability":"Availability","resources":"Resources"},"metadata":{"details":{"name":"Name","key":"Key","type":"Type"},"beta":{"legal":"This documentation refers to beta software and may be changed.","software":"Beta Software"},"default-implementation":"Default implementation provided. | Default implementations provided."},"availability":{"introduced-and-deprecated":"Introduced in {name} {introducedAt} and deprecated in {name} {deprecatedAt}","available-on":"Available on {name} {introducedAt} and later"},"more":"More","less":"Less","api-reference":"API Reference","filter":{"title":"Filter","search-symbols":"Search symbols in {technology}","suggested-tags":"Suggested tag | Suggested tags","selected-tags":"Selected tag | Selected tags","add-tag":"Add tag","tag-select-remove":"Tag. Select to remove from list.","navigate":"To navigate the symbols, press Up Arrow, Down Arrow, Left Arrow or Right Arrow","siblings-label":"{number-siblings} of {total-siblings} symbols inside {parent-siblings}","parent-label":"{number-siblings} of {total-siblings} symbols inside {parent-siblings} containing one symbol | {number-siblings} of {total-siblings} symbols inside {parent-siblings} containing {number-parent} symbols","reset-filter":"Reset Filter","tags":{"sample-code":"Sample Code","tutorials":"Tutorials","articles":"Articles","web-service-endpoints":"Web Service Endpoints","hide-deprecated":"Hide Deprecated"}},"navigator":{"title":"Documentation Navigator","open-navigator":"Open Documentation Navigator","close-navigator":"Close Documentation Navigator","no-results":"No results found.","no-children":"No data available.","error-fetching":"There was an error fetching the data.","items-found":"No items were found | 1 item was found | {number} items were found. Tab back to navigate through them.","navigator-is":"Navigator is {state}","state":{"loading":"loading","ready":"ready"}},"tab":{"request":"Request","response":"Response"},"required":"Required","parameters":{"default":"Default","minimum":"Minimum","maximum":"Maximum","possible-types":"Type | Possible types","possible-values":"Value | Possible Values"},"content-type":"Content-Type: {value}","read-only":"Read-only","error":{"unknown":"An unknown error occurred.","image":"Image failed to load","not-found":"The page you\'re looking for can\'t be found."},"color-scheme":{"select":"Select a color scheme preference","auto":"Auto","dark":"Dark","light":"Light"},"accessibility":{"strike":{"start":"start of stricken text","end":"end of stricken text"},"code":{"start":"start of code block","end":"end of code block"},"skip-navigation":"Skip Navigation","in-page-link":"in page link"},"select-language":"Select the language for this page","icons":{"clear":"Clear","web-service-endpoint":"Web Service Endpoint","search":"Search"},"formats":{"parenthesis":"({content})","colon":"{content}: "},"quicknav":{"button":{"label":"Open Quick Navigation","title":"Click or type / for quick navigation"},"preview-unavailable":"Preview unavailable"},"mentioned-in":"Mentioned in","pager":{"roledescription":"content slider","page":{"label":"content page {index} of {count}"},"control":{"navigate-previous":"navigate to previous page of content","navigate-next":"navigate to next page of content"}},"links-grid":{"label":"grid of links"}}'),o=JSON.parse('{"view-in":"以中文查看","continue-viewing":"继续以中文查看","language":"语言","video":{"replay":"重新播放","play":"播放","pause":"暂停","watch":"观看介绍视频"},"tutorials":{"title":"教程","step":"第 {number} 步","submit":"提交","next":"下一步","preview":{"title":"无预览 | 预览","no-preview-available-step":"这一步没有预览。"},"nav":{"chapters":"章节","current":"当前{thing}"},"assessment":{"check-your-understanding":"检查你的理解程度","success-message":"很棒,你回答了此教程的所有问题。","answer-result":"答案{answer}是{result}","correct":"正确","incorrect":"错误","next-question":"下一个问题","legend":"可能的答案"},"project-files":"项目文件","estimated-time":"预计时间","sections":{"chapter":"第 {number} 章"},"question-of":"第 {index} 个问题(共 {total} 个)","section-of":"{number}/{total}","overriding-title":"{newTitle}{title}","time":{"format":"{number} {minutes}","minutes":{"full":"分钟 | {count} 分钟","short":"分钟"},"hours":{"full":"小时"}}},"documentation":{"title":"文档","nav":{"breadcrumbs":"面包屑导航","menu":"菜单","open-menu":"打开菜单","close-menu":"关闭菜单"},"current-page":"当前页面为:{title}","card":{"learn-more":"进一步了解","read-article":"阅读文章","start-tutorial":"开始教程","view-api":"查看 API 集合","view-symbol":"查看符号","view-sample-code":"查看示例代码"},"view-more":"查看更多"},"aside-kind":{"beta":"Beta 版","experiment":"试验","important":"重要事项","note":"注","tip":"提示","warning":"警告","deprecated":"已弃用"},"change-type":{"added":"已添加","modified":"已修改","deprecated":"已弃用"},"verbs":{"hide":"隐藏","show":"显示","close":"关闭"},"sections":{"title":"第 {number} 部分","on-this-page":"在此页面上","topics":"主题","default-implementations":"默认实现","relationships":"关系","see-also":"另请参阅","declaration":"声明","details":"详细信息","parameters":"参数","possible-values":"可能值","parts":"部件","availability":"可用性","resources":"资源"},"metadata":{"details":{"name":"名称","key":"密钥","type":"类型"},"beta":{"legal":"此文档涉及 Beta 版软件且可能会改动。","software":"Beta 版软件"},"default-implementation":"提供默认实现。| 提供默认实现方法。"},"availability":{"introduced-and-deprecated":"{name} {introducedAt} 中引入,{name} {deprecatedAt} 中弃用","available-on":"{name} {introducedAt} 及更高版本中可用"},"more":"更多","less":"更少","api-reference":"API 参考","filter":{"title":"过滤","search-symbols":"在 {technology} 搜索符号","suggested-tags":"建议标签","selected-tags":"所选标签","add-tag":"添加标签","tag-select-remove":"标签。选择以从列表中移除。","navigate":"若要导航符号,请按下上箭头、下箭头、左箭头或右箭头。","siblings-label":"{parent-siblings} 内含 {number-siblings} 个符号(共 {total-siblings} 个)","parent-label":"{parent-siblings} 内含 {number-siblings} 个符号(共 {total-siblings} 个)包含一个符号 | {parent-siblings} 内含 {number-siblings} 个符号(共 {total-siblings} 个)包含 {number-parent} 个符号","reset-filter":"还原过滤条件"},"navigator":{"title":"文档导航器","open-navigator":"打开文档导航器","close-navigator":"关闭文档导航器","no-results":"未找到结果。","no-children":"无可用数据。","error-fetching":"获取数据时出错。","items-found":"未找到任何项目 | 找到 1 个项目 | 找到 {number} 个项目。按下 Tab 键导航。","navigator-is":"导航器{state}","state":{"loading":"正在载入","ready":"准备就绪"},"tags":{"hide-deprecated":"隐藏已弃用"}},"tab":{"request":"请求","response":"回复"},"required":"必需","parameters":{"default":"默认","minimum":"最小值","maximum":"最大值","possible-types":"类型 | 可能类型","possible-values":"值 | 可能值"},"content-type":"内容类型:{value}","read-only":"只读","error":{"unknown":"出现未知错误。","image":"图像无法载入","not-found":"找不到你所查找的页面。"},"color-scheme":{"select":"选择首选颜色方案","auto":"自动","dark":"深色","light":"浅色"},"accessibility":{"strike":{"start":"删除线文本开始","end":"删除线文本结束"},"code":{"start":"代码块开头","end":"代码块结尾"},"skip-navigation":"跳过导航","in-page-link":"在页面链接中"},"select-language":"选择此页面的语言","icons":{"clear":"清除","web-service-endpoint":"网络服务端点","search":"搜索"},"formats":{"parenthesis":"({content})","colon":"{content}: "},"quicknav":{"button":{"label":"打开快速导航","title":"点按或键入 / 进行快速导航"},"preview-unavailable":"预览不可用"}}'),i=JSON.parse('{"view-in":"日本語で表示","continue-viewing":"日本語で表示を続ける","language":"言語","video":{"replay":"リプレイ","play":"再生","pause":"一時停止","watch":"概要のビデオを観る"},"tutorials":{"title":"チュートリアル | チュートリアル","step":"手順{number}","submit":"送信","next":"次へ","preview":{"title":"プレビューなし | プレビュー | プレビュー","no-preview-available-step":"この手順では利用可能なプレビューがありません。"},"nav":{"chapters":"章","current":"現在の{thing}"},"assessment":{"check-your-understanding":"理解度を確認する","success-message":"よくできました。このチュートリアルの問題にすべて解答しました。","answer-result":"解答{answer}は{result}です","correct":"正解","incorrect":"不正解","next-question":"次の問題","legend":"解答例"},"project-files":"プロジェクトファイル","estimated-time":"予測時間","sections":{"chapter":"{number}章"},"question-of":"{total}問中の{index}問","section-of":"{total}件中の{number}件","overriding-title":"{title}の{newTitle}","time":{"format":"{number} {minutes}","minutes":{"full":"分 | 分 | {count}分","short":"分 | 分"},"hours":{"full":"時間 | 時間"}}},"documentation":{"title":"ドキュメント","nav":{"breadcrumbs":"パンくずリスト","menu":"メニュー","open-menu":"メニューを開く","close-menu":"メニューを閉じる"},"current-page":"現在のページは{title}です","card":{"learn-more":"詳しい情報","read-article":"記事を読む","start-tutorial":"チュートリアルを開始","view-api":"APIのコレクションを表示","view-symbol":"記号を表示","view-sample-code":"サンプルコードを表示"},"view-more":"さらに表示"},"aside-kind":{"beta":"ベータ版","experiment":"試験運用版","important":"重要","note":"注意","tip":"ヒント","warning":"警告","deprecated":"非推奨"},"change-type":{"added":"追加","modified":"変更","deprecated":"非推奨"},"verbs":{"hide":"非表示","show":"表示","close":"閉じる"},"sections":{"title":"セクション{number}","on-this-page":"このページの内容","topics":"トピック","default-implementations":"デフォルト実装","relationships":"関連項目","see-also":"参照","declaration":"宣言","details":"詳細","parameters":"パラメータ","possible-values":"使用できる値","parts":"パーツ","availability":"利用可能","resources":"リソース"},"metadata":{"details":{"name":"名前","key":"キー","type":"タイプ"},"beta":{"legal":"このドキュメントはベータ版のソフトウェアのもので、変更される可能性があります。","software":"ベータ版ソフトウェア"},"default-implementation":"デフォルト実装あり。| デフォルト実装あり。"},"availability":{"introduced-and-deprecated":"{name} {introducedAt}で導入され、{name} {deprecatedAt}で非推奨になりました","available-on":"{name} {introducedAt}以降で使用できます"},"more":"さらに表示","less":"表示を減らす","api-reference":"APIリファレンス","filter":{"title":"フィルタ","search-symbols":"{technology}でシンボルを検索","suggested-tags":"提案されたタグ | 提案されたタグ","selected-tags":"選択したタグ | 選択したタグ","add-tag":"タグを追加","tag-select-remove":"タグ。選択してリストから削除します。","navigate":"シンボルを移動するには、上下左右の矢印キーを押します。","siblings-label":"{total-siblings}個中{number-siblings}個のシンボルが{parent-siblings}の中にあります","parent-label":"{total-siblings}個中{number-siblings}個のシンボルが1個のシンボルを含む{parent-siblings}の中にあります | {total-siblings}個中{number-siblings}個のシンボルが{number-parent}個のシンボルを含む{parent-siblings}の中にあります","reset-filter":"フィルタをリセット"},"navigator":{"title":"ドキュメントナビゲータ","open-navigator":"ドキュメントナビゲータを開く","close-navigator":"ドキュメントナビゲータを閉じる","no-results":"結果が見つかりません。","no-children":"使用できるデータがありません。","error-fetching":"データを取得する際にエラーが起きました。","items-found":"項目が見つかりません | 1個の項目が見つかりました | {number}個の項目が見つかりましたTabキーを押すと項目をナビゲートできます。","navigator-is":"ナビゲータは{state}です","state":{"loading":"読み込み中","ready":"準備完了"},"tags":{"hide-deprecated":"非推奨の項目を非表示"}},"tab":{"request":"リクエスト","response":"レスポンス"},"required":"必須","parameters":{"default":"デフォルト","minimum":"最小","maximum":"最大","possible-types":"タイプ | 使用できるタイプ","possible-values":"値 | 使用できる値"},"content-type":"Content-Type: {value}","read-only":"読み出し専用","error":{"unknown":"原因不明のエラーが起きました。","image":"イメージを読み込めませんでした","not-found":"探しているページが見つかりません。"},"color-scheme":{"select":"カラースキーム環境設定を選択","auto":"自動","dark":"ダーク","light":"ライト"},"accessibility":{"strike":{"start":"取り消し線テキストの開始","end":"取り消し線テキストの終了"},"code":{"start":"コードブロックの開始","end":"コードブロックの終了"},"skip-navigation":"ナビゲーションをスキップ","in-page-link":"ページ内リンク"},"select-language":"このページの言語を選択","icons":{"clear":"消去","web-service-endpoint":"Webサービスのエンドポイント","search":"検索"},"formats":{"parenthesis":"({content})","colon":"{content}: "},"quicknav":{"button":{"label":"クイックナビゲーションを開く","title":"クリックするか「/」を入力すると素早く移動します"},"preview-unavailable":"プレビューできません"}}'),a=JSON.parse('{"view-in":"한국어로 보기","continue-viewing":"한국어로 계속 보기","language":"언어","video":{"replay":"다시 재생","play":"재생","pause":"일시 정지","watch":"소개 비디오 시청하기"},"tutorials":{"title":"튜토리얼 | 튜토리얼","step":"{number}단계","submit":"제출","next":"다음","preview":{"title":"미리보기 없음 | 미리보기 | 미리보기","no-preview-available-step":"이 단계에서는 사용 가능한 미리보기가 없습니다."},"nav":{"chapters":"챕터","current":"현재 {thing}"},"assessment":{"check-your-understanding":"얼마나 이해했는지 확인하기","success-message":"잘 하셨습니다. 이 튜토리얼에 대한 모든 질문에 답하셨습니다.","answer-result":"답 {answer}은(는) {result}입니다.","correct":"정답","incorrect":"오답","next-question":"다음 질문","legend":"가능한 답"},"project-files":"프로젝트 파일","estimated-time":"예상 시간","sections":{"chapter":"{number}챕터"},"question-of":"총 {total}개 중 {index}번째 질문","section-of":"{total} 중 {number}","overriding-title":"{title}의 {newTitle}","time":{"format":"{number}{minutes}","minutes":{"full":"분 | 분 | {count}분","short":"분 | 분"},"hours":{"full":"시간 | 시간"}}},"documentation":{"title":"문서","nav":{"breadcrumbs":"브레드크럼","menu":"메뉴","open-menu":"메뉴 열기","close-menu":"메뉴 닫기"},"current-page":"현재 {title} 페이지","card":{"learn-more":"더 알아보기","read-article":"문서 읽기","start-tutorial":"튜토리얼 시작","view-api":"API 모음 보기","view-symbol":"기호 보기","view-sample-code":"샘플 코드 보기"},"view-more":"더 보기"},"aside-kind":{"beta":"베타","experiment":"실험","important":"중요","note":"참고","tip":"팁","warning":"경고","deprecated":"제거됨"},"change-type":{"added":"추가됨","modified":"수정됨","deprecated":"제거됨"},"verbs":{"hide":"가리기","show":"보기","close":"닫기"},"sections":{"title":"{number}섹션","on-this-page":"이 페이지에서","topics":"주제","default-implementations":"기본 구현","relationships":"관계","see-also":"추가 정보","declaration":"선언","details":"세부사항","parameters":"매개변수","possible-values":"가능한 값","parts":"파트","availability":"사용 가능 여부","resources":"리소스"},"metadata":{"details":{"name":"이름","key":"키","type":"유형"},"beta":{"legal":"이 문서는 베타 소프트웨어에 대해서 다루고 있으며, 변경될 수 있습니다.","software":"베타 소프트웨어"},"default-implementation":"기본 구현 제공됨. | 기본 구현 제공됨."},"availability":{"introduced-and-deprecated":"{name} {introducedAt}에서 소개되었고 {name} {deprecatedAt}에서 제거됨","available-on":"{name} {introducedAt} 이상에서 사용할 수 있음"},"more":"더 보기","less":"간략히","api-reference":"API 참조","filter":{"title":"필터","search-symbols":"{technology}에서 기호 찾기","suggested-tags":"권장 태그 | 권장 태그","selected-tags":"선택한 태그 | 선택한 태그","add-tag":"태그 추가","tag-select-remove":"태그. 목록에서 제거하려면 선택하십시오.","navigate":"기호를 탐색하려면 위쪽 화살표, 아래쪽 화살표, 왼쪽 화살표 또는 오른쪽 화살표를 누르십시오.","siblings-label":"{parent-siblings} 내의 총 {total-siblings}개의 기호 중 {number-siblings}개","parent-label":"한 개의 기호를 포함하는 {parent-siblings} 내의 총 {total-siblings}개의 기호 중 {number-siblings}개 | {number-parent}개의 기호를 포함하는 {parent-siblings} 내의 총 {total-siblings}개의 기호 중 {number-siblings}개","reset-filter":"필터 재설정"},"navigator":{"title":"문서 탐색기","open-navigator":"문서 탐색기 열기","close-navigator":"문서 탐색기 닫기","no-results":"결과 찾을 수 없습니다.","no-children":"사용 가능한 데이터가 없습니다.","error-fetching":"데이터를 가져오는 동안 오류가 발생했습니다.","items-found":"항목을 찾을 수 없음 | 1개의 항목 발견됨 | {number}개의 항목이 발견됨. 다시 탭하여 탐색하십시오.","navigator-is":"내비게이터가 {state}입니다.","state":{"loading":"로드 중","ready":"준비 완료 상태"},"tags":{"hide-deprecated":"제거된 항목 가리기"}},"tab":{"request":"요청","response":"응답"},"required":"필수 사항","parameters":{"default":"기본","minimum":"최소","maximum":"최대","possible-types":"유형 | 가능한 유형","possible-values":"값 | 가능한 값"},"content-type":"콘텐츠 유형: {value}","read-only":"읽기 전용","error":{"unknown":"알 수 없는 오류가 발생했습니다.","image":"이미지를 로드하는 데 실패함","not-found":"해당 페이지를 찾을 수 없습니다."},"color-scheme":{"select":"색상 모드 환경설정 선택","auto":"자동","dark":"다크","light":"라이트"},"accessibility":{"strike":{"start":"취소선이 그어진 텍스트 시작","end":"취소선이 그어진 텍스트 종료"},"code":{"start":"코드 블록 시작","end":"코드 블록 종료"},"skip-navigation":"탐색 건너뛰기","in-page-link":"페이지 링크에서"},"select-language":"이 페이지의 언어 선택","icons":{"clear":"지우기","web-service-endpoint":"웹 서비스 엔드포인트","search":"검색"},"formats":{"parenthesis":"({content})","colon":"{content}: "},"quicknav":{"button":{"label":"빠른 이동 열기","title":"클릭하거나 /를 입력하여 빠르게 이동"},"preview-unavailable":"미리보기 사용할 수 없음"}}');const s="en-US",l={"en-US":r,"zh-CN":o,"ja-JP":i,"ko-KR":a}},4030:function(e,t,n){"use strict";var r=n(9804),o=n(1265),i=n(5394),a=n(2412);const s="undefined"!==typeof window.matchMedia&&[r.Z.light,r.Z.dark,"no-preference"].some((e=>window.matchMedia(`(prefers-color-scheme: ${e})`).matches)),l=s?r.Z.auto:r.Z.light;t["default"]={state:{imageLoadingStrategy:"ide"==={NODE_ENV:"production",VUE_APP_TITLE:"Documentation",BASE_URL:"{{BASE_PATH}}/"}.VUE_APP_TARGET?o.Z.eager:o.Z.lazy,preferredColorScheme:i.Z.preferredColorScheme||l,preferredLocale:i.Z.preferredLocale,supportsAutoColorScheme:s,systemColorScheme:r.Z.light,availableLocales:[]},reset(){this.state.imageLoadingStrategy="ide"==={NODE_ENV:"production",VUE_APP_TITLE:"Documentation",BASE_URL:"{{BASE_PATH}}/"}.VUE_APP_TARGET?o.Z.eager:o.Z.lazy,this.state.preferredColorScheme=i.Z.preferredColorScheme||l,this.state.supportsAutoColorScheme=s,this.state.systemColorScheme=r.Z.light},setImageLoadingStrategy(e){this.state.imageLoadingStrategy=e},setPreferredColorScheme(e){this.state.preferredColorScheme=e,i.Z.preferredColorScheme=e},setAllLocalesAreAvailable(){const e=a.map((e=>e.code));this.state.availableLocales=e},setAvailableLocales(e=[]){this.state.availableLocales=e},setPreferredLocale(e){this.state.preferredLocale=e,i.Z.preferredLocale=this.state.preferredLocale},setSystemColorScheme(e){this.state.systemColorScheme=e},syncPreferredColorScheme(){i.Z.preferredColorScheme&&i.Z.preferredColorScheme!==this.state.preferredColorScheme&&(this.state.preferredColorScheme=i.Z.preferredColorScheme)}}},5947:function(e,t,n){"use strict";function r(e){return e.reduce(((e,t)=>(t.traits.includes("dark")?e.dark.push(t):e.light.push(t),e)),{light:[],dark:[]})}function o(e){const t=["1x","2x","3x"];return t.reduce(((t,n)=>{const r=e.find((e=>e.traits.includes(n)));return r?t.concat({density:n,src:r.url,size:r.size}):t}),[])}function i(e){const t="/",n=new RegExp(`${t}+`,"g");return e.join(t).replace(n,t)}function a(e){const{baseUrl:t}=window,n=Array.isArray(e)?i(e):e;return n&&"string"===typeof n&&!n.startsWith(t)&&n.startsWith("/")?i([t,n]):n}function s(e){return e?e.startsWith("/")?e:`/${e}`:e}function l(e){return e?`url('${a(e)}')`:void 0}function c(e){return new Promise(((t,n)=>{const r=new Image;r.src=e,r.onerror=n,r.onload=()=>t({width:r.width,height:r.height})}))}n.d(t,{AH:function(){return a},Jf:function(){return s},RY:function(){return c},T8:function(){return d},XV:function(){return r},eZ:function(){return l},u:function(){return o}});const u={landscape:"landscape",portrait:"portrait",square:"square"};function d(e,t){return e&&t?et?u.landscape:u.square:null}},5381:function(e,t,n){"use strict";n.d(t,{L3:function(){return r},fr:function(){return s},kB:function(){return i},lU:function(){return o}});const r={large:"large",medium:"medium",small:"small"},o={default:"default",nav:"nav"},i={[o.default]:{[r.large]:{minWidth:1069,contentWidth:980},[r.medium]:{minWidth:736,maxWidth:1068,contentWidth:692},[r.small]:{minWidth:320,maxWidth:735,contentWidth:280}},[o.nav]:{[r.large]:{minWidth:1024},[r.medium]:{minWidth:768,maxWidth:1023},[r.small]:{minWidth:320,maxWidth:767}}},a={[r.small]:0,[r.medium]:1,[r.large]:2};function s(e,t){return a[e]>a[t]}},9030:function(e,t,n){"use strict";n.d(t,{KP:function(){return c},dZ:function(){return s},jk:function(){return u}});var r=n(2412),o=n(7788),i=n(3465);const a=r.reduce(((e,t)=>({...e,[t.slug]:t.code})),{});function s(e){return a[e]}function l(e){return!!a[e]}function c(e){return{params:{locale:e===o.defaultLocale?void 0:e}}}function u(e=o.defaultLocale,t={}){if(!l(e))return;t.$i18n.locale=e;const n=s(e);(0,i.e)(n)}},5657:function(e,t,n){"use strict";function r(e){let t=null,n=e-1;const r=new Promise((e=>{t=e}));return requestAnimationFrame((function e(){n-=1,n<=0?t():requestAnimationFrame(e)})),r}function o(e){return new Promise((t=>{setTimeout(t,e)}))}n.d(t,{J:function(){return r},X:function(){return o}})},3465:function(e,t,n){"use strict";n.d(t,{X:function(){return u},e:function(){return d}});var r=n(9089),o=n(2449);const i=(0,r.$8)(["meta","title"],"Documentation"),a=({title:e,description:t,url:n,currentLocale:r})=>[{name:"description",content:t},{property:"og:locale",content:r},{property:"og:site_name",content:i},{property:"og:type",content:"website"},{property:"og:title",content:e},{property:"og:description",content:t},{property:"og:url",content:n},{property:"og:image",content:(0,o.HH)("/developer-og.jpg")},{name:"twitter:image",content:(0,o.HH)("/developer-og-twitter.jpg")},{name:"twitter:card",content:"summary_large_image"},{name:"twitter:description",content:t},{name:"twitter:title",content:e},{name:"twitter:url",content:n}],s=e=>[e,i].filter(Boolean).join(" | "),l=e=>{const{content:t}=e,n=e.property?"property":"name",r=e[n],o=document.querySelector(`meta[${n}="${r}"]`);if(o&&t)o.setAttribute("content",t);else if(o&&!t)o.remove();else if(t){const t=document.createElement("meta");t.setAttribute(n,e[n]),t.setAttribute("content",e.content),document.getElementsByTagName("head")[0].appendChild(t)}},c=e=>{document.title=e};function u({title:e,description:t,url:n,currentLocale:r}){const o=s(e);c(o),a({title:o,description:t,url:n,currentLocale:r}).forEach((e=>l(e)))}function d(e){document.querySelector("html").setAttribute("lang",e)}},5394:function(e,t,n){"use strict";var r=n(7247);const o={preferredColorScheme:"developer.setting.preferredColorScheme",preferredLocale:"developer.setting.preferredLocale",preferredLanguage:"docs.setting.preferredLanguage"},i={preferredColorScheme:"docs.setting.preferredColorScheme"};t["Z"]=Object.defineProperties({},Object.keys(o).reduce(((e,t)=>({...e,[t]:{get:()=>{const e=i[t],n=r.mr.getItem(o[t]);return e?n||r.mr.getItem(e):n},set:e=>r.mr.setItem(o[t],e)}})),{}))},7247:function(e,t,n){"use strict";n.d(t,{mr:function(){return a},tO:function(){return l},y7:function(){return c}});const r="developer.setting.";function o(e=localStorage){return{getItem:t=>{try{return e.getItem(t)}catch(n){return null}},setItem:(t,n)=>{try{e.setItem(t,n)}catch(r){}},removeItem:t=>{try{e.removeItem(t)}catch(n){}}}}function i(e){return{get:(t,n)=>{const o=JSON.parse(e.getItem(r+t));return null!==o?o:n},set:(t,n)=>e.setItem(r+t,JSON.stringify(n)),remove:t=>e.removeItem(r+t)}}const a=o(window.localStorage),s=o(window.sessionStorage),l=i(a),c=i(s)},3208:function(e,t,n){"use strict";n.d(t,{HA:function(){return a},RL:function(){return u},Xv:function(){return s},ZQ:function(){return d},hr:function(){return c},id:function(){return m},sj:function(){return l}});n(8269);const r=/(?:\s+|[`"<>])/g,o=/^-+/,i=/["'&<>]/g;function a(e){return e.trim().replace(r,"-").replace(o,"").toLowerCase()}function s(e){const t=e=>({'"':""","'":"'","&":"&","<":"<",">":">"}[e]||e);return e.replace(i,t)}function l(e){return e.replace(/#(.*)/,((e,t)=>`#${CSS.escape(t)}`))}function c(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function u(e){let t,n;const r="\\s*",o=" ",i=e.trim(),a=i.length;if(!a)return o;const s=[];for(t=0;te.json())).catch((()=>({})))}const l=(e,t)=>r(i,e,t)},2449:function(e,t,n){"use strict";n.d(t,{Lp:function(){return s},Q2:function(){return a},WN:function(){return l},Ex:function(){return i},HH:function(){return c}});var r=n(5947),o={input:"input",tags:"tags"};function i(e={}){return Object.entries(e).reduce(((e,[t,n])=>n?e.concat(`${encodeURIComponent(t)}=${encodeURIComponent(n)}`):e),[]).join("&")}function a(e,{changes:t,language:n,context:r}={}){const[o,a]=e.split("#"),s=o.match(/\?.*/),l=i({changes:t,language:n,context:r}),c=s?"&":"?",u=a?o:e,d=l?`${c}${l}`:"",m=a?`#${a}`:"";return`${u}${d}${m}`}function s(e,t){const{query:{changes:n,[o.input]:r,[o.tags]:i,...a}={}}=e,{query:{changes:s,[o.input]:l,[o.tags]:c,...u}={}}=t;return e.name===t.name&&JSON.stringify({path:e.path,query:a})===JSON.stringify({path:t.path,query:u})}function l(e,t=window.location.href){return new URL((0,r.AH)(e),t)}function c(e,t){return l(e,t).href}},647:function(e,t,n){n.p=window.baseUrl},2412:function(e){"use strict";e.exports=JSON.parse('[{"code":"en-US","name":"English","slug":"en-US"},{"code":"zh-CN","name":"简体中文","slug":"zh-CN"},{"code":"ja-JP","name":"日本語","slug":"ja-JP"},{"code":"ko-KR","name":"한국어","slug":"ko-KR"}]')}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.m=e,function(){var e=[];n.O=function(t,r,o,i){if(!r){var a=1/0;for(u=0;u=i)&&Object.keys(n.O).every((function(e){return n.O[e](r[l])}))?r.splice(l--,1):(s=!1,i0&&e[u-1][2]>i;u--)e[u]=e[u-1];e[u]=[r,o,i]}}(),function(){n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,{a:t}),t}}(),function(){var e,t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};n.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"===typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"===typeof r.then)return r}var i=Object.create(null);n.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&o&&r;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((function(e){a[e]=function(){return r[e]}}));return a["default"]=function(){return r},n.d(i,a),i}}(),function(){n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}}(),function(){n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,r){return n.f[r](e,t),t}),[]))}}(),function(){n.u=function(e){return"js/"+({82:"highlight-js-json-js",113:"highlight-js-markdown-js",133:"highlight-js-llvm-js",162:"topic",176:"highlight-js-shell-js",213:"highlight-js-diff-js",217:"highlight-js-custom-swift",392:"highlight-js-scss-js",393:"highlight-js-bash-js",435:"highlight-js-python-js",490:"highlight-js-xml-js",527:"highlight-js-swift-js",546:"highlight-js-c-js",596:"highlight-js-php-js",621:"highlight-js-cpp-js",623:"highlight-js-ruby-js",637:"highlight-js-objectivec-js",642:"highlight-js-custom-markdown",645:"highlight-js-perl-js",788:"highlight-js-java-js",814:"highlight-js-javascript-js",843:"tutorials-overview",864:"highlight-js-css-js",878:"highlight-js-http-js",982:"documentation-topic"}[e]||e)+"."+{82:"2a1856ba",113:"a2f456af",133:"26121771",162:"eb715ffc",176:"0ad5b20f",213:"4db9a783",217:"738731d1",223:"87634d14",337:"274a8ccc",392:"adcd11a2",393:"702f0c5c",427:"3c1b9c17",435:"60354774",490:"0d78f903",527:"bdd5bff5",546:"063069d3",596:"c458ffa4",621:"458a9ae4",623:"7272231f",637:"74dea052",642:"78c9f6ed",645:"da6eda82",788:"4fe21e94",814:"dfc9d16d",842:"9b3ff1dd",843:"5395cca1",864:"bfc4251f",878:"f78e83c2",976:"d7eb6b79",982:"88ad182d"}[e]+".js"}}(),function(){n.miniCssF=function(e){return"css/"+({162:"topic",843:"tutorials-overview",982:"documentation-topic"}[e]||e)+"."+{162:"7ff1c1f8",223:"5ab1188f",427:"ee43802d",843:"e4891d45",982:"5ce24f8e"}[e]+".css"}}(),function(){n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){var e={},t="swift-docc-render:";n.l=function(r,o,i,a){if(e[r])e[r].push(o);else{var s,l;if(void 0!==i)for(var c=document.getElementsByTagName("script"),u=0;ue.anchor===t.anchor?{...t,visibility:e.visibility}:t))},updateBreakpoint(e){this.state.breakpoint=e},setReferences(e){this.state.references=e}},d=function(){var e=this,t=e._self._c;return t("div",{staticClass:"article"},[e.isTargetIDE?e._e():t("NavigationBar",{attrs:{chapters:e.hierarchy.modules,technology:e.metadata.category,topic:e.heroTitle||"",rootReference:e.hierarchy.reference,identifierUrl:e.identifierUrl}}),t("main",{attrs:{id:"main",tabindex:"0"}},[e._t("above-hero"),e._l(e.sections,(function(n,s){return t(e.componentFor(n),e._b({key:s,tag:"component"},"component",e.propsFor(n),!1))}))],2),t("PortalTarget",{attrs:{name:"modal-destination",multiple:""}})],1)},p=[],h=n(2433),m=n(4030),v=function(){var e=this,t=e._self._c;return t("NavBase",{attrs:{id:"nav","aria-label":e.technology,hasSolidBackground:""},scopedSlots:e._u([{key:"default",fn:function(){return[t("ReferenceUrlProvider",{attrs:{reference:e.rootReference},scopedSlots:e._u([{key:"default",fn:function({urlWithParams:n}){return[t("NavTitleContainer",{attrs:{to:n},scopedSlots:e._u([{key:"default",fn:function(){return[e._v(e._s(e.technology))]},proxy:!0},{key:"subhead",fn:function(){return[e._v(e._s(e.$tc("tutorials.title",2)))]},proxy:!0}],null,!0)})]}}])})]},proxy:!0},{key:"after-title",fn:function(){return[t("div",{staticClass:"separator"})]},proxy:!0},{key:"tray",fn:function(){return[t("div",{staticClass:"mobile-dropdown-container"},[t("MobileDropdown",{attrs:{options:e.chapters,sections:e.optionsForSections,currentOption:e.currentSection?e.currentSection.title:""},on:{"select-section":e.onSelectSection}})],1),t("div",{staticClass:"dropdown-container"},[t("PrimaryDropdown",{staticClass:"primary-dropdown",attrs:{options:e.chapters,currentOption:e.topic}}),t("ChevronIcon",{staticClass:"icon-inline"}),e.currentSection?t("SecondaryDropdown",{staticClass:"secondary-dropdown",attrs:{options:e.optionsForSections,currentOption:e.currentSection.title,sectionTracker:e.sectionIndicatorText},on:{"select-section":e.onSelectSection}}):e._e()],1),e._t("tray",null,{siblings:e.chapters.length+e.optionsForSections.length})]},proxy:!0}],null,!0)})},f=[],g=function(){var e=this,t=e._self._c;return t("SVGIcon",{staticClass:"chevron-icon",attrs:{viewBox:"0 0 14 14",themeId:"chevron"}},[t("path",{attrs:{d:"M3.22 1.184l0.325-0.38 7.235 6.201-7.235 6.19-0.325-0.38 6.792-5.811-6.792-5.82z"}})])},y=[],C=n(9742),b={name:"ChevronIcon",components:{SVGIcon:C.Z}},_=b,w=n(1001),k=(0,w.Z)(_,g,y,!1,null,null,null),S=k.exports,x=n(2449),A=n(5953),T={name:"ReferenceUrlProvider",mixins:[A.Z],props:{reference:{type:String,required:!0}},computed:{resolvedReference:({references:e,reference:t})=>e[t]||{},url:({resolvedReference:e})=>e.url,title:({resolvedReference:e})=>e.title},render(){return this.$scopedSlots.default({url:this.url,urlWithParams:(0,x.Q2)(this.url,this.$route.query),title:this.title,reference:this.resolvedReference})}},I=T,$=(0,w.Z)(I,l,c,!1,null,null,null),N=$.exports,q=n(3704),P=n(1253),D=n(2573),Z=function(){var e=this,t=e._self._c;return t("NavMenuItems",{staticClass:"mobile-dropdown"},e._l(e.options,(function(n){return t("ReferenceUrlProvider",{key:n.reference,attrs:{reference:n.reference},scopedSlots:e._u([{key:"default",fn:function({title:s}){return[t("NavMenuItemBase",{staticClass:"chapter-list",attrs:{role:"group"}},[t("p",{staticClass:"chapter-name"},[e._v(e._s(s))]),t("ul",{staticClass:"tutorial-list"},e._l(n.projects,(function(n){return t("ReferenceUrlProvider",{key:n.reference,attrs:{reference:n.reference},scopedSlots:e._u([{key:"default",fn:function({url:n,urlWithParams:s,title:i}){return[t("li",{staticClass:"tutorial-list-item"},[t("router-link",{staticClass:"option tutorial",attrs:{to:s,value:i}},[e._v(" "+e._s(i)+" ")]),n===e.$route.path?t("ul",{staticClass:"section-list",attrs:{role:"listbox"}},e._l(e.sections,(function(n){return t("li",{key:n.title},[t("router-link",{class:e.classesFor(n),attrs:{to:{path:n.path,query:e.$route.query},value:n.title},nativeOn:{click:function(t){return e.onClick(n)}}},[e._v(" "+e._s(n.title)+" ")])],1)})),0):e._e()],1)]}}],null,!0)})})),1)])]}}],null,!0)})})),1)},R=[],O=n(535),L=n(2853),B={name:"MobileDropdown",components:{NavMenuItems:L.Z,NavMenuItemBase:O.Z,ReferenceUrlProvider:N},props:{options:{type:Array,required:!0},currentOption:{type:String,required:!0},sections:{type:Array,required:!1,default:()=>[]}},methods:{classesFor(e){return["option","section",{active:this.currentOption===e.title},this.depthClass(e)]},depthClass(e){const{depth:t=0}=e;return`depth${t}`},onClick(e){this.$emit("select-section",e.path)}}},M=B,F=(0,w.Z)(M,Z,R,!1,null,"2c27d339",null),V=F.exports,j=function(){var e=this,t=e._self._c;return t("DropdownCustom",{staticClass:"tutorial-dropdown",attrs:{value:e.currentOption,"aria-label":e.$t("tutorials.nav.current",{thing:e.$t("sections.title")}),isSmall:""},scopedSlots:e._u([{key:"toggle-post-content",fn:function(){return[t("span",{staticClass:"section-tracker"},[e._v(e._s(e.sectionTracker))])]},proxy:!0},{key:"default",fn:function({closeAndFocusToggler:n,contentClasses:s,navigateOverOptions:i,OptionClass:r,ActiveOptionClass:o}){return[t("ul",{staticClass:"options",class:s,attrs:{role:"listbox",tabindex:"0"}},e._l(e.options,(function(s){return t("router-link",{key:s.title,attrs:{to:{path:s.path,query:e.$route.query},custom:""},scopedSlots:e._u([{key:"default",fn:function({navigate:a}){return[t("li",{class:[r,{[o]:e.currentOption===s.title}],attrs:{value:s.title,"aria-selected":e.currentOption===s.title,"aria-current":e.ariaCurrent(s.title),tabindex:-1},on:{click:function(t){return e.setActive(s,a,n,t)},keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.setActive(s,a,n,t)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:n.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"tab",9,t.key,"Tab")?null:n.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(t.preventDefault(),i(t,1))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(t.preventDefault(),i(t,-1))}]}},[e._v(" "+e._s(s.title)+" ")])]}}],null,!0)})})),1)]}}])})},E=[],H=function(){var e=this,t=e._self._c;return t("BaseDropdown",{staticClass:"dropdown-custom",class:{[e.OpenedClass]:e.isOpen,"dropdown-small":e.isSmall},attrs:{value:e.value},scopedSlots:e._u([{key:"dropdown",fn:function({dropdownClasses:n}){return[t("span",{staticClass:"visuallyhidden",attrs:{id:`DropdownLabel_${e._uid}`}},[e._v(e._s(e.ariaLabel))]),t("button",{ref:"dropdownToggle",staticClass:"form-dropdown-toggle",class:n,attrs:{id:`DropdownToggle_${e._uid}`,"aria-labelledby":`DropdownLabel_${e._uid} DropdownToggle_${e._uid}`,"aria-expanded":e.isOpen?"true":"false","aria-haspopup":"true"},on:{click:e.toggleDropdown,keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.openDropdown.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.closeAndFocusToggler.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(t.preventDefault(),e.openDropdown.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(t.preventDefault(),e.openDropdown.apply(null,arguments))}]}},[t("span",{staticClass:"form-dropdown-title"},[e._v(e._s(e.value))]),e._t("toggle-post-content")],2)]}},{key:"eyebrow",fn:function(){return[e._t("eyebrow")]},proxy:!0},{key:"after",fn:function(){return[e._t("default",null,null,{value:e.value,isOpen:e.isOpen,contentClasses:["form-dropdown-content",{"is-open":e.isOpen}],closeDropdown:e.closeDropdown,onChangeAction:e.onChangeAction,closeAndFocusToggler:e.closeAndFocusToggler,navigateOverOptions:e.navigateOverOptions,OptionClass:e.OptionClass,ActiveOptionClass:e.ActiveOptionClass})]},proxy:!0}],null,!0)})},U=[],z=function(){var e=this,t=e._self._c;return t("div",{staticClass:"form-element"},[e._t("dropdown",(function(){return[t("select",e._b({directives:[{name:"model",rawName:"v-model",value:e.modelValue,expression:"modelValue"}],class:e.dropdownClasses,on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.modelValue=t.target.multiple?n:n[0]}}},"select",e.$attrs,!1),[e._t("default")],2)]}),{dropdownClasses:e.dropdownClasses,value:e.value}),t("InlineChevronDownIcon",{staticClass:"form-icon",attrs:{"aria-hidden":"true"}}),e.$slots.eyebrow?t("span",{staticClass:"form-label",attrs:{"aria-hidden":"true"}},[e._t("eyebrow")],2):e._e(),e._t("after")],2)},G=[],W=n(5151),Q={name:"BaseDropdown",inheritAttrs:!1,props:{value:{type:String,default:""}},components:{InlineChevronDownIcon:W.Z},computed:{modelValue:{get:({value:e})=>e,set(e){this.$emit("input",e)}},dropdownClasses({value:e}){return["form-dropdown",{"form-dropdown-selectnone":""===e,"no-eyebrow":!this.$slots.eyebrow}]}}},K=Q,X=(0,w.Z)(K,z,G,!1,null,"f934959a",null),Y=X.exports;const J="is-open",ee="option",te="option-active";var ne={name:"DropdownCustom",components:{BaseDropdown:Y},constants:{OpenedClass:J,OptionClass:ee,ActiveOptionClass:te},props:{value:{type:String,default:""},ariaLabel:{type:String,default:""},isSmall:{type:Boolean,default:!1}},data(){return{isOpen:!1,OpenedClass:J,OptionClass:ee,ActiveOptionClass:te}},mounted(){document.addEventListener("click",this.closeOnLoseFocus)},beforeDestroy(){document.removeEventListener("click",this.closeOnLoseFocus)},methods:{onChangeAction(e){this.$emit("input",e)},toggleDropdown(){this.isOpen?this.closeDropdown():this.openDropdown()},async closeAndFocusToggler(){this.closeDropdown(),await this.$nextTick(),this.$refs.dropdownToggle.focus({preventScroll:!0})},closeDropdown(){this.isOpen=!1,this.$emit("close")},openDropdown(){this.isOpen=!0,this.$emit("open"),this.focusActiveLink()},closeOnLoseFocus(e){!this.$el.contains(e.target)&&this.isOpen&&this.closeDropdown()},navigateOverOptions({target:e},t){const n=this.$el.querySelectorAll(`.${ee}`),s=Array.from(n),i=s.indexOf(e),r=s[i+t];r&&r.focus({preventScroll:!0})},async focusActiveLink(){const e=this.$el.querySelector(`.${te}`);e&&(await this.$nextTick(),e.focus({preventScroll:!0}))}}},se=ne,ie=(0,w.Z)(se,H,U,!1,null,"6adda760",null),re=ie.exports,oe={name:"SecondaryDropdown",components:{DropdownCustom:re},props:{options:{type:Array,required:!0},currentOption:{type:String,required:!0},sectionTracker:{type:String,required:!1}},methods:{ariaCurrent(e){return this.currentOption===e&&"section"},setActive(e,t,n,s){t(s),this.$emit("select-section",e.path),n()}}},ae=oe,le=(0,w.Z)(ae,j,E,!1,null,"618ff780",null),ce=le.exports,ue=function(){var e=this,t=e._self._c;return t("DropdownCustom",{staticClass:"tutorial-dropdown",attrs:{value:e.currentOption,"aria-label":e.$t("tutorials.nav.current",{thing:e.$tc("tutorials.title",1)}),isSmall:""},scopedSlots:e._u([{key:"default",fn:function({closeAndFocusToggler:n,contentClasses:s,closeDropdown:i,navigateOverOptions:r,OptionClass:o,ActiveOptionClass:a}){return[t("ul",{staticClass:"options",class:s,attrs:{tabindex:"0"}},e._l(e.options,(function(s){return t("ReferenceUrlProvider",{key:s.reference,attrs:{reference:s.reference},scopedSlots:e._u([{key:"default",fn:function({title:l}){return[t("li",{staticClass:"chapter-list",attrs:{role:"group"}},[t("p",{staticClass:"chapter-name"},[e._v(e._s(l))]),t("ul",{attrs:{role:"listbox"}},e._l(s.projects,(function(s){return t("ReferenceUrlProvider",{key:s.reference,attrs:{reference:s.reference},scopedSlots:e._u([{key:"default",fn:function({urlWithParams:s,title:l}){return[t("router-link",{attrs:{to:s,custom:""},scopedSlots:e._u([{key:"default",fn:function({navigate:s,isActive:c}){return[t("li",{class:{[o]:!0,[a]:c},attrs:{value:l,"aria-selected":c,"aria-current":!!c&&"tutorial",tabindex:-1},on:{click:function(t){return e.setActive(s,i,t)},keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.setActive(s,i,t)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:n.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"tab",9,t.key,"Tab")?null:n.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(t.preventDefault(),r(t,1))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(t.preventDefault(),r(t,-1))}]}},[e._v(" "+e._s(l)+" ")])]}}],null,!0)})]}}],null,!0)})})),1)])]}}],null,!0)})})),1)]}}])})},de=[],pe={name:"PrimaryDropdown",components:{DropdownCustom:re,ReferenceUrlProvider:N},props:{options:{type:Array,required:!0},currentOption:{type:String,required:!0}},methods:{setActive(e,t,n){e(n),t()}}},he=pe,me=(0,w.Z)(he,ue,de,!1,null,"03cbd7f7",null),ve=me.exports;const fe={title:"Introduction",url:"#introduction",reference:"introduction",sectionNumber:0,depth:0};var ge={name:"NavigationBar",components:{NavTitleContainer:D.Z,NavBase:P.Z,ReferenceUrlProvider:N,PrimaryDropdown:ve,SecondaryDropdown:ce,MobileDropdown:V,ChevronIcon:S},mixins:[q.Z,A.Z],props:{chapters:{type:Array,required:!0},technology:{type:String,required:!0},topic:{type:String,required:!0},rootReference:{type:String,required:!0},identifierUrl:{type:String,required:!0}},data(){return{currentSection:fe,tutorialState:this.store.state}},watch:{pageSectionWithHighestVisibility(e){e&&(this.currentSection=e)}},computed:{currentProject(){return this.chapters.reduce(((e,{projects:t})=>e.concat(t)),[]).find((e=>e.reference===this.identifierUrl))},pageSections(){if(!this.currentProject)return[];const e=[fe].concat(this.currentProject.sections);return this.tutorialState.linkableSections.map(((t,n)=>{const s=e[n],i=this.references[s.reference],{url:r,title:o}=i||s;return{...t,title:o,path:r}}))},optionsForSections(){return this.pageSections.map((({depth:e,path:t,title:n})=>({depth:e,path:t,title:n})))},pageSectionWithHighestVisibility(){return[...this.pageSections].sort(((e,t)=>t.visibility-e.visibility)).find((e=>e.visibility>0))},sectionIndicatorText(){const e=this.tutorialState.linkableSections.length-1,{sectionNumber:t}=this.currentSection||{};if(0!==t)return this.$t("tutorials.section-of",{number:t,total:e})}},methods:{onSelectSection(e){const t=e.split("#")[1];this.handleFocusAndScroll(t)}}},ye=ge,Ce=(0,w.Z)(ye,v,f,!1,null,"1d3fe8ed",null),be=Ce.exports,_e=n(2974),we=function(){var e=this,t=e._self._c;return t("div",{staticClass:"body"},[t("BodyContent",{attrs:{content:e.content}})],1)},ke=[],Se=function(){var e=this,t=e._self._c;return t("article",{staticClass:"body-content"},e._l(e.content,(function(n,s){return t(e.componentFor(n),e._b({key:s,tag:"component",staticClass:"layout"},"component",e.propsFor(n),!1))})),1)},xe=[],Ae=function(){var e=this,t=e._self._c;return t("div",{staticClass:"columns",class:e.classes},[e._l(e.columns,(function(n,s){return[t("Asset",{key:n.media,attrs:{identifier:n.media,videoAutoplays:!1}}),n.content?t("ContentNode",{key:s,attrs:{content:n.content}}):e._e()]}))],2)},Te=[],Ie=n(1467),$e=function(){var e=this,t=e._self._c;return t("BaseContentNode",{attrs:{content:e.articleContent}})},Ne=[],qe=n(2549),Pe={name:"ContentNode",components:{BaseContentNode:qe["default"]},props:qe["default"].props,computed:{articleContent(){return this.map((e=>{switch(e.type){case qe["default"].BlockType.codeListing:return{...e,showLineNumbers:!0};case qe["default"].BlockType.heading:{const{anchor:t,...n}=e;return n}default:return e}}))}},methods:qe["default"].methods,BlockType:qe["default"].BlockType,InlineType:qe["default"].InlineType},De=Pe,Ze=(0,w.Z)(De,$e,Ne,!1,null,"0861b5be",null),Re=Ze.exports,Oe={name:"Columns",components:{Asset:Ie.Z,ContentNode:Re},props:{columns:{type:Array,required:!0}},computed:{classes(){return{"cols-2":2===this.columns.length,"cols-3":3===this.columns.length}}}},Le=Oe,Be=(0,w.Z)(Le,Ae,Te,!1,null,"30edf911",null),Me=Be.exports,Fe=function(){var e=this,t=e._self._c;return t("div",{staticClass:"content-and-media",class:e.classes},[t("ContentNode",{attrs:{content:e.content}}),t("Asset",{attrs:{identifier:e.media}})],1)},Ve=[];const je={leading:"leading",trailing:"trailing"};var Ee={name:"ContentAndMedia",components:{Asset:Ie.Z,ContentNode:Re},props:{content:Re.props.content,media:Ie.Z.props.identifier,mediaPosition:{type:String,default:()=>je.trailing,validator:e=>Object.prototype.hasOwnProperty.call(je,e)}},computed:{classes(){return{"media-leading":this.mediaPosition===je.leading,"media-trailing":this.mediaPosition===je.trailing}}},MediaPosition:je},He=Ee,Ue=(0,w.Z)(He,Fe,Ve,!1,null,"3fa44f9e",null),ze=Ue.exports,Ge=function(){var e=this,t=e._self._c;return t("div",{staticClass:"full-width"},e._l(e.groups,(function(n,s){return t(e.componentFor(n),e._b({key:s,tag:"component",staticClass:"group"},"component",e.propsFor(n),!1),[t("ContentNode",{attrs:{content:n.content}})],1)})),1)},We=[],Qe=function(){var e=this,t=e._self._c;return t(e.tag,{tag:"component",attrs:{id:e.anchor}},[e._t("default")],2)},Ke=[],Xe=n(9146),Ye={name:"LinkableElement",mixins:[Xe["default"]],inject:{navigationBarHeight:{default(){}},store:{default(){return{addLinkableSection(){},updateLinkableSection(){}}}}},props:{anchor:{type:String,required:!0},depth:{type:Number,default:()=>0},tag:{type:String,default:()=>"div"},title:{type:String,required:!0}},computed:{intersectionRootMargin(){const e=this.navigationBarHeight?`-${this.navigationBarHeight}px`:"0%";return`${e} 0% -50% 0%`}},created(){this.store.addLinkableSection({anchor:this.anchor,depth:this.depth,title:this.title,visibility:0})},methods:{onIntersect(e){const t=Math.min(1,e.intersectionRatio);this.store.updateLinkableSection({anchor:this.anchor,depth:this.depth,title:this.title,visibility:t})}}},Je=Ye,et=(0,w.Z)(Je,Qe,Ke,!1,null,null,null),tt=et.exports;const{BlockType:nt}=Re;var st={name:"FullWidth",components:{ContentNode:Re,LinkableElement:tt},props:Re.props,computed:{groups:({content:e})=>e.reduce(((e,t)=>0===e.length||t.type===nt.heading?[...e,{heading:t.type===nt.heading?t:null,content:[t]}]:[...e.slice(0,e.length-1),{heading:e[e.length-1].heading,content:e[e.length-1].content.concat(t)}]),[])},methods:{componentFor(e){return e.heading?tt:"div"},depthFor(e){switch(e.level){case 1:case 2:return 0;default:return 1}},propsFor(e){return e.heading?{anchor:e.heading.anchor,depth:this.depthFor(e.heading),title:e.heading.text}:{}}}},it=st,rt=(0,w.Z)(it,Ge,We,!1,null,"5b4a8b3c",null),ot=rt.exports;const at={columns:"columns",contentAndMedia:"contentAndMedia",fullWidth:"fullWidth"};var lt={name:"BodyContent",props:{content:{type:Array,required:!0,validator:e=>e.every((({kind:e})=>Object.prototype.hasOwnProperty.call(at,e)))}},methods:{componentFor(e){return{[at.columns]:Me,[at.contentAndMedia]:ze,[at.fullWidth]:ot}[e.kind]},propsFor(e){const{content:t,kind:n,media:s,mediaPosition:i}=e;return{[at.columns]:{columns:t},[at.contentAndMedia]:{content:t,media:s,mediaPosition:i},[at.fullWidth]:{content:t}}[n]}},LayoutKind:at},ct=lt,ut=(0,w.Z)(ct,Se,xe,!1,null,"4d5a806e",null),dt=ut.exports,pt={name:"Body",components:{BodyContent:dt},props:dt.props},ht=pt,mt=(0,w.Z)(ht,we,ke,!1,null,"20dca692",null),vt=mt.exports,ft=function(){var e=this,t=e._self._c;return t("TutorialCTA",e._b({},"TutorialCTA",e.$props,!1))},gt=[],yt=function(){var e=this,t=e._self._c;return t("BaseCTA",e._b({attrs:{label:e.$t("tutorials.next")}},"BaseCTA",e.baseProps,!1))},Ct=[],bt=function(){var e=this,t=e._self._c;return t("div",{staticClass:"call-to-action"},[t("Row",[t("LeftColumn",[t("span",{staticClass:"label"},[e._v(e._s(e.label))]),t("h2",[e._v(" "+e._s(e.title)+" ")]),e.abstract?t("ContentNode",{staticClass:"description",attrs:{content:[e.abstractParagraph]}}):e._e(),e.action?t("Button",{attrs:{action:e.action}}):e._e()],1),t("RightColumn",{staticClass:"right-column"},[e.media?t("Asset",{staticClass:"media",attrs:{identifier:e.media}}):e._e()],1)],1)],1)},_t=[],wt=n(9649),kt=n(1576),St=n(7605),xt={name:"CallToAction",components:{Asset:Ie.Z,Button:St.Z,ContentNode:qe["default"],LeftColumn:{render(e){return e(kt.Z,{props:{span:{large:5,small:12}}},this.$slots.default)}},RightColumn:{render(e){return e(kt.Z,{props:{span:{large:6,small:12}}},this.$slots.default)}},Row:wt.Z},props:{title:{type:String,required:!0},label:{type:String,required:!0},abstract:{type:Array,required:!1},action:{type:Object,required:!1},media:{type:String,required:!1}},computed:{abstractParagraph(){return{type:"paragraph",inlineContent:this.abstract}}}},At=xt,Tt=(0,w.Z)(At,bt,_t,!1,null,"2bfdf182",null),It=Tt.exports,$t={name:"CallToAction",components:{BaseCTA:It},computed:{baseProps(){return{title:this.title,abstract:this.abstract,action:this.action,media:this.media}}},props:{title:{type:String,required:!0},abstract:{type:Array,required:!1},action:{type:Object,required:!1},media:{type:String,required:!1}}},Nt=$t,qt=(0,w.Z)(Nt,yt,Ct,!1,null,null,null),Pt=qt.exports,Dt={name:"CallToAction",components:{TutorialCTA:Pt},props:Pt.props},Zt=Dt,Rt=(0,w.Z)(Zt,ft,gt,!1,null,"426a965c",null),Ot=Rt.exports,Lt=function(){var e=this,t=e._self._c;return t("TutorialHero",e._b({},"TutorialHero",e.$props,!1))},Bt=[],Mt=function(){var e=this,t=e._self._c;return t("LinkableSection",{staticClass:"tutorial-hero",attrs:{anchor:"introduction",title:e.sectionTitle}},[t("div",{staticClass:"hero dark"},[e.backgroundImageUrl?t("div",{staticClass:"bg",style:e.bgStyle}):e._e(),e._t("above-title"),t("Row",[t("Column",[t("Headline",{attrs:{level:1},scopedSlots:e._u([e.chapter?{key:"eyebrow",fn:function(){return[e._v(e._s(e.chapter))]},proxy:!0}:null],null,!0)},[e._v(" "+e._s(e.title)+" ")]),e.content||e.video?t("div",{staticClass:"intro"},[e.content?t("ContentNode",{attrs:{content:e.content}}):e._e(),e.video?[t("p",[t("a",{staticClass:"call-to-action",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.toggleCallToActionModal.apply(null,arguments)}}},[e._v(" Watch intro video "),t("PlayIcon",{staticClass:"cta-icon icon-inline"})],1)]),t("GenericModal",{attrs:{visible:e.callToActionModalVisible,isFullscreen:"",theme:"dark"},on:{"update:visible":function(t){e.callToActionModalVisible=t}}},[t("Asset",{directives:[{name:"show",rawName:"v-show",value:e.callToActionModalVisible,expression:"callToActionModalVisible"}],ref:"asset",staticClass:"video-asset",attrs:{identifier:e.video},on:{videoEnded:e.handleVideoEnd}})],1)]:e._e()],2):e._e(),t("Metadata",{staticClass:"metadata",attrs:{projectFilesUrl:e.projectFilesUrl,estimatedTimeInMinutes:e.estimatedTimeInMinutes,xcodeRequirement:e.xcodeRequirementData}})],1)],1)],2)])},Ft=[],Vt=function(){var e=this,t=e._self._c;return t("div",{staticClass:"headline"},[e.$slots.eyebrow?t("span",{staticClass:"eyebrow"},[e._t("eyebrow")],2):e._e(),t("Heading",{staticClass:"heading",attrs:{level:e.level}},[e._t("default")],2)],1)},jt=[];const Et=1,Ht=6,Ut={type:Number,required:!0,validator:e=>e>=Et&&e<=Ht},zt={name:"Heading",render:function(e){return e(`h${this.level}`,this.$slots.default)},props:{level:Ut}};var Gt={name:"Headline",components:{Heading:zt},props:{level:Ut}},Wt=Gt,Qt=(0,w.Z)(Wt,Vt,jt,!1,null,"d46a1474",null),Kt=Qt.exports,Xt=n(5590),Yt=n(6698),Jt=n(5947),en=function(){var e=this,t=e._self._c;return t("div",{staticClass:"metadata"},[e.estimatedTimeInMinutes?t("div",{staticClass:"item",attrs:{"aria-label":`\n ${e.$tc("tutorials.time.minutes.full",e.estimatedTimeInMinutes,{count:e.estimatedTimeInMinutes})}\n ${e.$t("tutorials.estimated-time")}\n `}},[t("div",{staticClass:"content",attrs:{"aria-hidden":"true"}},[t("i18n",{staticClass:"duration",attrs:{path:"tutorials.time.format",tag:"div"},scopedSlots:e._u([{key:"number",fn:function(){return[e._v(" "+e._s(e.estimatedTimeInMinutes)+" ")]},proxy:!0},{key:"minutes",fn:function(){return[t("div",{staticClass:"minutes"},[e._v(e._s(e.$tc("tutorials.time.minutes.short",e.estimatedTimeInMinutes))+" ")])]},proxy:!0}],null,!1,3313752798)})],1),t("div",{staticClass:"bottom",attrs:{"aria-hidden":"true"}},[e._v(e._s(e.$t("tutorials.estimated-time")))])]):e._e(),e.projectFilesUrl?t("div",{staticClass:"item"},[t("DownloadIcon",{staticClass:"item-large-icon icon-inline"}),t("div",{staticClass:"content bottom"},[t("a",{staticClass:"content-link project-download",attrs:{href:e.projectFilesUrl}},[e._v(" "+e._s(e.$t("tutorials.project-files"))+" "),t("InlineDownloadIcon",{staticClass:"small-icon icon-inline"})],1)])],1):e._e(),e.xcodeRequirement?t("div",{staticClass:"item"},[t("XcodeIcon",{staticClass:"item-large-icon icon-inline"}),t("div",{staticClass:"content bottom"},[e.isTargetIDE?t("span",[e._v(e._s(e.xcodeRequirement.title))]):t("a",{staticClass:"content-link",attrs:{href:e.xcodeRequirement.url}},[e._v(" "+e._s(e.xcodeRequirement.title)+" "),t("InlineChevronRightIcon",{staticClass:"icon-inline small-icon xcode-icon"})],1)])],1):e._e()])},tn=[],nn=n(7214),sn=function(){var e=this,t=e._self._c;return t("SVGIcon",{staticClass:"xcode-icon",attrs:{viewBox:"0 0 14 14",themeId:"xcode"}},[t("path",{attrs:{d:"M2.668 4.452l-1.338-2.229 0.891-0.891 2.229 1.338 1.338 2.228 3.667 3.666 0.194-0.194 2.933 2.933c0.13 0.155 0.209 0.356 0.209 0.576 0 0.497-0.403 0.9-0.9 0.9-0.22 0-0.421-0.079-0.577-0.209l0.001 0.001-2.934-2.933 0.181-0.181-3.666-3.666z"}}),t("path",{attrs:{d:"M11.824 1.277l-0.908 0.908c-0.091 0.091-0.147 0.216-0.147 0.354 0 0.106 0.033 0.205 0.090 0.286l-0.001-0.002 0.058 0.069 0.185 0.185c0.090 0.090 0.215 0.146 0.353 0.146 0.107 0 0.205-0.033 0.286-0.090l-0.002 0.001 0.069-0.057 0.909-0.908c0.118 0.24 0.187 0.522 0.187 0.82 0 1.045-0.848 1.893-1.893 1.893-0.296 0-0.577-0.068-0.826-0.189l0.011 0.005-5.5 5.5c0.116 0.238 0.184 0.518 0.184 0.813 0 1.045-0.848 1.893-1.893 1.893-0.296 0-0.576-0.068-0.826-0.189l0.011 0.005 0.908-0.909c0.090-0.090 0.146-0.215 0.146-0.353 0-0.107-0.033-0.205-0.090-0.286l0.001 0.002-0.057-0.069-0.185-0.185c-0.091-0.091-0.216-0.147-0.354-0.147-0.106 0-0.205 0.033-0.286 0.090l0.002-0.001-0.069 0.058-0.908 0.908c-0.116-0.238-0.184-0.518-0.184-0.813 0-1.045 0.847-1.892 1.892-1.892 0.293 0 0.571 0.067 0.819 0.186l-0.011-0.005 5.5-5.5c-0.116-0.238-0.184-0.519-0.184-0.815 0-1.045 0.847-1.892 1.892-1.892 0.296 0 0.577 0.068 0.827 0.19l-0.011-0.005z"}})])},rn=[],on={name:"XcodeIcon",components:{SVGIcon:C.Z}},an=on,ln=(0,w.Z)(an,sn,rn,!1,null,null,null),cn=ln.exports,un=n(8785),dn=function(){var e=this,t=e._self._c;return t("SVGIcon",{staticClass:"inline-download-icon",attrs:{viewBox:"0 0 14 14",themeId:"inline-download"}},[t("path",{attrs:{d:"M7 0.5c3.59 0 6.5 2.91 6.5 6.5s-2.91 6.5-6.5 6.5c-3.59 0-6.5-2.91-6.5-6.5s2.91-6.5 6.5-6.5zM7 1.5c-3.038 0-5.5 2.462-5.5 5.5s2.462 5.5 5.5 5.5c3.038 0 5.5-2.462 5.5-5.5s-2.462-5.5-5.5-5.5z"}}),t("path",{attrs:{d:"M7.51 2.964l-0.001 5.431 1.308-2.041 0.842 0.539-2.664 4.162-2.633-4.164 0.845-0.534 1.303 2.059 0.001-5.452z"}})])},pn=[],hn={name:"InlineDownloadIcon",components:{SVGIcon:C.Z}},mn=hn,vn=(0,w.Z)(mn,dn,pn,!1,null,null,null),fn=vn.exports,gn={name:"HeroMetadata",components:{InlineDownloadIcon:fn,InlineChevronRightIcon:un.Z,DownloadIcon:nn.Z,XcodeIcon:cn},inject:["isTargetIDE"],props:{projectFilesUrl:{type:String},estimatedTimeInMinutes:{type:Number},xcodeRequirement:{type:Object,required:!1}}},yn=gn,Cn=(0,w.Z)(yn,en,tn,!1,null,"94ff76c0",null),bn=Cn.exports,_n={name:"Hero",components:{PlayIcon:Yt.Z,GenericModal:Xt.Z,Column:{render(e){return e(kt.Z,{props:{span:{large:7,medium:9,small:12}}},this.$slots.default)}},ContentNode:qe["default"],Headline:Kt,Metadata:bn,Row:wt.Z,Asset:Ie.Z,LinkableSection:tt},mixins:[A.Z],props:{title:{type:String,required:!0},chapter:{type:String},content:{type:Array},projectFiles:{type:String},estimatedTimeInMinutes:{type:Number},xcodeRequirement:{type:String,required:!1},video:{type:String},backgroundImage:{type:String}},computed:{backgroundImageUrl(){const e=this.references[this.backgroundImage]||{},{variants:t=[]}=e,n=t.find((e=>e.traits.includes("light")));return(0,Jt.AH)((n||{}).url)},projectFilesUrl(){return this.projectFiles?(0,Jt.AH)(this.references[this.projectFiles].url):null},bgStyle(){return{backgroundImage:(0,Jt.eZ)(this.backgroundImageUrl)}},xcodeRequirementData(){return this.references[this.xcodeRequirement]},sectionTitle(){return"Introduction"}},data(){return{callToActionModalVisible:!1}},methods:{async toggleCallToActionModal(){this.callToActionModalVisible=!0,await this.$nextTick();const e=this.$refs.asset.$el.querySelector("video");if(e)try{await e.play(),e.muted=!1}catch(t){}},handleVideoEnd(){this.callToActionModalVisible=!1}}},wn=_n,kn=(0,w.Z)(wn,Mt,Ft,!1,null,"2a434750",null),Sn=kn.exports,xn={name:"Hero",components:{TutorialHero:Sn},props:Sn.props},An=xn,Tn=(0,w.Z)(An,Lt,Bt,!1,null,"35a9482f",null),In=Tn.exports,$n=function(){var e=this,t=e._self._c;return t("TutorialAssessments",e._b({scopedSlots:e._u([{key:"success",fn:function(){return[t("p",[e._v("Great job, you've answered all the questions for this article.")])]},proxy:!0}])},"TutorialAssessments",e.$props,!1))},Nn=[],qn=function(){var e=this,t=e._self._c;return t("LinkableSection",{staticClass:"assessments-wrapper",attrs:{anchor:e.anchor,title:e.title}},[t("Row",{ref:"assessments",staticClass:"assessments"},[t("MainColumn",[t("Row",{staticClass:"banner"},[t("HeaderColumn",[t("h2",{staticClass:"title"},[e._v(e._s(e.title))])])],1),e.completed?t("div",{staticClass:"success"},[e._t("success",(function(){return[t("p",[e._v(e._s(e.SuccessMessage))])]}))],2):t("div",[t("Progress",e._b({ref:"progress"},"Progress",e.progress,!1)),t("Quiz",{key:e.activeIndex,attrs:{choices:e.activeAssessment.choices,content:e.activeAssessment.content,isLast:e.isLast,title:e.activeAssessment.title},on:{submit:e.onSubmit,advance:e.onAdvance,"see-results":e.onSeeResults}})],1),t("div",{staticClass:"visuallyhidden",attrs:{"aria-live":"assertive"}},[e.completed?e._t("success",(function(){return[e._v(" "+e._s(e.SuccessMessage)+" ")]})):e._e()],2)],1)],1)],1)},Pn=[],Dn=function(){var e=this,t=e._self._c;return t("Row",[t("p",{staticClass:"title"},[e._v(e._s(e.$t("tutorials.question-of",{index:e.index,total:e.total})))])])},Zn=[],Rn={name:"AssessmentsProgress",components:{Row:wt.Z},props:{index:{type:Number,required:!0},total:{type:Number,required:!0}}},On=Rn,Ln=(0,w.Z)(On,Dn,Zn,!1,null,"28135d78",null),Bn=Ln.exports,Mn=function(){var e=this,t=e._self._c;return t("div",{staticClass:"quiz"},[t("ContentNode",{staticClass:"title",attrs:{content:e.title}}),e.content?t("ContentNode",{staticClass:"question-content",attrs:{content:e.content}}):e._e(),t("fieldset",{staticClass:"choices"},[t("legend",{staticClass:"visuallyhidden"},[e._v(e._s(e.$t("tutorials.assessment.legend")))]),e._l(e.choices,(function(n,s){return t("label",{key:s,class:e.choiceClasses[s]},[t(e.getIconComponent(s),{tag:"component",staticClass:"choice-icon"}),t("input",{directives:[{name:"model",rawName:"v-model",value:e.selectedIndex,expression:"selectedIndex"}],attrs:{type:"radio",name:"assessment"},domProps:{value:s,checked:e._q(e.selectedIndex,s)},on:{change:function(t){e.selectedIndex=s}}}),t("ContentNode",{staticClass:"question",attrs:{content:n.content}}),e.userChoices[s].checked?[t("ContentNode",{staticClass:"answer",attrs:{content:n.justification}}),n.reaction?t("p",{staticClass:"answer"},[e._v(e._s(n.reaction))]):e._e()]:e._e()],2)}))],2),t("div",{staticClass:"visuallyhidden",attrs:{"aria-live":"assertive"}},[null!=e.checkedIndex?t("i18n",{attrs:{path:"tutorials.assessment.answer-result",tag:"span"},scopedSlots:e._u([{key:"answer",fn:function(){return[t("ContentNode",{staticClass:"question",attrs:{content:e.choices[e.checkedIndex].content}})]},proxy:!0},{key:"result",fn:function(){return[e._v(e._s(e.choices[e.checkedIndex].isCorrect?e.$t("tutorials.assessment.correct"):e.$t("tutorials.assessment.incorrect")))]},proxy:!0}],null,!1,511264553)}):e._e()],1),t("div",{staticClass:"controls"},[t("ButtonLink",{staticClass:"check",attrs:{disabled:null===e.selectedIndex||e.showNextQuestion},nativeOn:{click:function(t){return e.submit.apply(null,arguments)}}},[e._v(" "+e._s(e.$t("tutorials.submit"))+" ")]),e.isLast?t("ButtonLink",{staticClass:"results",attrs:{disabled:!e.showNextQuestion},nativeOn:{click:function(t){return e.seeResults.apply(null,arguments)}}},[e._v(" "+e._s(e.$t("tutorials.next"))+" ")]):t("ButtonLink",{staticClass:"next",attrs:{disabled:!e.showNextQuestion},nativeOn:{click:function(t){return e.advance.apply(null,arguments)}}},[e._v(" "+e._s(e.$t("tutorials.assessment.next-question"))+" ")])],1)],1)},Fn=[],Vn=n(5281),jn=function(){var e=this,t=e._self._c;return t("SVGIcon",{staticClass:"reset-circle-icon",attrs:{viewBox:"0 0 14 14",themeId:"reset-circle"}},[t("path",{attrs:{d:"M7 0.5c3.59 0 6.5 2.91 6.5 6.5s-2.91 6.5-6.5 6.5c-3.59 0-6.5-2.91-6.5-6.5v0c0-3.59 2.91-6.5 6.5-6.5v0zM7 1.5c-3.038 0-5.5 2.462-5.5 5.5s2.462 5.5 5.5 5.5c3.038 0 5.5-2.462 5.5-5.5v0c0-3.038-2.462-5.5-5.5-5.5v0z"}}),t("path",{attrs:{d:"M3.828 4.539l0.707-0.707 5.657 5.657-0.707 0.707-5.657-5.657z"}}),t("path",{attrs:{d:"M3.828 9.489l5.657-5.657 0.707 0.707-5.657 5.657-0.707-0.707z"}})])},En=[],Hn={name:"ResetCircleIcon",components:{SVGIcon:C.Z}},Un=Hn,zn=(0,w.Z)(Un,jn,En,!1,null,null,null),Gn=zn.exports,Wn=function(){var e=this,t=e._self._c;return t("SVGIcon",{staticClass:"check-circle-icon",attrs:{viewBox:"0 0 14 14",themeId:"check-circle"}},[t("path",{attrs:{d:"M7 0.5c3.59 0 6.5 2.91 6.5 6.5s-2.91 6.5-6.5 6.5c-3.59 0-6.5-2.91-6.5-6.5v0c0-3.59 2.91-6.5 6.5-6.5v0zM7 1.5c-3.038 0-5.5 2.462-5.5 5.5s2.462 5.5 5.5 5.5c3.038 0 5.5-2.462 5.5-5.5v0c0-3.038-2.462-5.5-5.5-5.5v0z"}}),t("path",{attrs:{d:"M9.626 3.719l0.866 0.5-3.5 6.062-3.464-2 0.5-0.866 2.6 1.5z"}})])},Qn=[],Kn={name:"CheckCircleIcon",components:{SVGIcon:C.Z}},Xn=Kn,Yn=(0,w.Z)(Xn,Wn,Qn,!1,null,null,null),Jn=Yn.exports,es={name:"Quiz",components:{CheckCircleIcon:Jn,ResetCircleIcon:Gn,ContentNode:qe["default"],ButtonLink:Vn.Z},props:{content:{type:Array,required:!1},choices:{type:Array,required:!0},isLast:{type:Boolean,default:!1},title:{type:Array,required:!0}},data(){return{userChoices:this.choices.map((()=>({checked:!1}))),selectedIndex:null,checkedIndex:null}},computed:{correctChoices(){return this.choices.reduce(((e,t,n)=>t.isCorrect?e.add(n):e),new Set)},choiceClasses(){return this.userChoices.map(((e,t)=>({choice:!0,active:this.selectedIndex===t,disabled:e.checked||this.showNextQuestion,correct:e.checked&&this.choices[t].isCorrect,incorrect:e.checked&&!this.choices[t].isCorrect})))},showNextQuestion(){return Array.from(this.correctChoices).every((e=>this.userChoices[e].checked))}},methods:{getIconComponent(e){const t=this.userChoices[e];if(t&&t.checked)return this.choices[e].isCorrect?Jn:Gn},submit(){this.$set(this.userChoices,this.selectedIndex,{checked:!0}),this.checkedIndex=this.selectedIndex,this.$emit("submit")},advance(){this.$emit("advance")},seeResults(){this.$emit("see-results")}}},ts=es,ns=(0,w.Z)(ts,Mn,Fn,!1,null,"61b03ec2",null),ss=ns.exports;const is=12,rs="tutorials.assessment.success-message";var os={name:"Assessments",constants:{SuccessMessage:rs},components:{LinkableSection:tt,Quiz:ss,Progress:Bn,Row:wt.Z,HeaderColumn:{render(e){return e(kt.Z,{props:{isCentered:{large:!0},span:{large:10}}},this.$slots.default)}},MainColumn:{render(e){return e(kt.Z,{props:{isCentered:{large:!0},span:{large:10,medium:10,small:12}}},this.$slots.default)}}},props:{assessments:{type:Array,required:!0},anchor:{type:String,required:!0}},inject:["navigationBarHeight"],data(){return{activeIndex:0,completed:!1,SuccessMessage:this.$t(rs)}},computed:{activeAssessment(){return this.assessments[this.activeIndex]},isLast(){return this.activeIndex===this.assessments.length-1},progress(){return{index:this.activeIndex+1,total:this.assessments.length}},title(){return this.$t("tutorials.assessment.check-your-understanding")}},methods:{scrollTo(e,t=0){e.scrollIntoView(!0),window.scrollBy(0,-this.navigationBarHeight-t)},onSubmit(){this.$nextTick((()=>{this.scrollTo(this.$refs.progress.$el,is)}))},onAdvance(){this.activeIndex+=1,this.$nextTick((()=>{this.scrollTo(this.$refs.progress.$el,is)}))},onSeeResults(){this.completed=!0,this.$nextTick((()=>{this.scrollTo(this.$refs.assessments.$el,is)}))}}},as=os,ls=(0,w.Z)(as,qn,Pn,!1,null,"65e3c02c",null),cs=ls.exports,us={name:"Assessments",components:{TutorialAssessments:cs},props:cs.props},ds=us,ps=(0,w.Z)(ds,$n,Nn,!1,null,"6db06128",null),hs=ps.exports;const ms={articleBody:"articleBody",callToAction:"callToAction",hero:"hero",assessments:"assessments"};var vs={name:"Article",components:{NavigationBar:be,PortalTarget:h.YC},mixins:[_e.Z],inject:{isTargetIDE:{default:!1},store:{default(){return{reset(){},setReferences(){}}}}},props:{hierarchy:{type:Object,required:!0},metadata:{type:Object,required:!0},references:{type:Object,required:!0},sections:{type:Array,required:!0,validator:e=>e.every((({kind:e})=>Object.prototype.hasOwnProperty.call(ms,e)))},identifierUrl:{type:String,required:!0}},computed:{heroSection(){return this.sections.find(this.isHero)},heroTitle(){return(this.heroSection||{}).title},pageTitle(){return this.heroTitle?`${this.heroTitle} — ${this.metadata.category} Tutorials`:void 0},pageDescription:({heroSection:e,extractFirstParagraphText:t})=>e?t(e.content):null},methods:{componentFor(e){const{kind:t}=e;return{[ms.articleBody]:vt,[ms.callToAction]:Ot,[ms.hero]:In,[ms.assessments]:hs}[t]},isHero(e){return e.kind===ms.hero},propsFor(e){const{abstract:t,action:n,anchor:s,assessments:i,backgroundImage:r,chapter:o,content:a,estimatedTimeInMinutes:l,kind:c,media:u,projectFiles:d,title:p,video:h,xcodeRequirement:m}=e;return{[ms.articleBody]:{content:a},[ms.callToAction]:{abstract:t,action:n,media:u,title:p},[ms.hero]:{backgroundImage:r,chapter:o,content:a,estimatedTimeInMinutes:l,projectFiles:d,title:p,video:h,xcodeRequirement:m},[ms.assessments]:{anchor:s,assessments:i}}[c]}},created(){m["default"].setAvailableLocales(this.metadata.availableLocales),this.store.reset(),this.store.setReferences(this.references)},watch:{references(e){this.store.setReferences(e)},"metadata.availableLocales":function(e){m["default"].setAvailableLocales(e)}},SectionKind:ms},fs=vs,gs=(0,w.Z)(fs,d,p,!1,null,"1b2e3b6a",null),ys=gs.exports,Cs=function(){var e=this,t=e._self._c;return t("div",{staticClass:"tutorial"},[e.isTargetIDE?e._e():t("NavigationBar",{attrs:{technology:e.metadata.category,chapters:e.hierarchy.modules,topic:e.tutorialTitle||"",rootReference:e.hierarchy.reference,identifierUrl:e.identifierUrl}}),t("main",{attrs:{id:"main",tabindex:"0"}},[e._l(e.sections,(function(e,n){return t("Section",{key:n,attrs:{section:e}})})),t("BreakpointEmitter",{on:{change:e.handleBreakpointChange}})],2),t("PortalTarget",{attrs:{name:"modal-destination",multiple:""}})],1)},bs=[],_s=n(8571),ws=function(){var e=this,t=e._self._c;return t("div",{staticClass:"sections"},e._l(e.tasks,(function(n,s){return t("Section",e._b({key:s,attrs:{id:n.anchor,sectionNumber:s+1,isRuntimePreviewVisible:e.isRuntimePreviewVisible},on:{"runtime-preview-toggle":e.onRuntimePreviewToggle}},"Section",n,!1))})),1)},ks=[],Ss=function(){var e=this,t=e._self._c;return t("LinkableSection",{staticClass:"section",attrs:{anchor:e.anchor,title:e.introProps.title}},[t("Intro",e._b({},"Intro",e.introProps,!1)),e.stepsSection.length>0?t("Steps",{attrs:{content:e.stepsSection,isRuntimePreviewVisible:e.isRuntimePreviewVisible,sectionNumber:e.sectionNumber},on:{"runtime-preview-toggle":e.onRuntimePreviewToggle}}):e._e()],1)},xs=[],As=function(){var e=this,t=e._self._c;return t("div",{staticClass:"intro-container"},[t("Row",{class:["intro",`intro-${e.sectionNumber}`,{ide:e.isTargetIDE}]},[t("Column",{staticClass:"left"},[t("Headline",{attrs:{level:2},scopedSlots:e._u([{key:"eyebrow",fn:function(){return[t("router-link",{attrs:{to:e.sectionLink}},[e._v(" "+e._s(e.$t("sections.title",{number:e.sectionNumber}))+" ")])]},proxy:!0}])},[e._v(" "+e._s(e.title)+" ")]),t("ContentNode",{attrs:{content:e.content}})],1),t("Column",{staticClass:"right"},[t("div",{staticClass:"media"},[e.media?t("Asset",{attrs:{videoAutoplays:"",videoMuted:"",identifier:e.media}}):e._e()],1)])],1),e.expandedSections.length>0?t("ExpandedIntro",{staticClass:"expanded-intro",attrs:{content:e.expandedSections}}):e._e()],1)},Ts=[],Is={name:"SectionIntro",inject:{isTargetIDE:{default:()=>!1}},components:{Asset:Ie.Z,ContentNode:qe["default"],ExpandedIntro:dt,Headline:Kt,Row:wt.Z,Column:{render(e){return e(kt.Z,{props:{span:{large:6,small:12}}},this.$slots.default)}}},props:{sectionAnchor:{type:String,required:!0},content:{type:Array,required:!0},media:{type:String,required:!0},title:{type:String,required:!0},sectionNumber:{type:Number,required:!0},expandedSections:{type:Array,default:()=>[]}},methods:{focus(){this.$emit("focus",this.media)}},computed:{sectionLink(){return{path:this.$route.path,hash:this.sectionAnchor,query:this.$route.query}}}},$s=Is,Ns=(0,w.Z)($s,As,Ts,!1,null,"7dcf2d10",null),qs=Ns.exports,Ps=function(){var e=this,t=e._self._c;return t("div",{staticClass:"steps"},[t("div",{staticClass:"content-container"},e._l(e.contentNodes,(function(n,s){return t(n.component,e._b({key:s,ref:"contentNodes",refInFor:!0,tag:"component",class:e.contentClass(s),attrs:{currentIndex:e.activeStep}},"component",n.props,!1))})),1),e.isBreakpointSmall?e._e():t("BackgroundTheme",{staticClass:"asset-container",class:e.assetContainerClasses},[t("transition",{attrs:{name:"fade"}},[e.visibleAsset.media?t("div",{key:e.visibleAsset.media,class:["asset-wrapper",{ide:e.isTargetIDE}]},[t("Asset",{ref:"asset",staticClass:"step-asset",attrs:{videoAutoplays:"",videoMuted:"",identifier:e.visibleAsset.media}})],1):e._e(),e.visibleAsset.code?t("CodePreview",{attrs:{code:e.visibleAsset.code,preview:e.visibleAsset.runtimePreview,isRuntimePreviewVisible:e.isRuntimePreviewVisible},on:{"runtime-preview-toggle":e.onRuntimePreviewToggle}},[e.visibleAsset.runtimePreview?t("transition",{attrs:{name:"fade"}},[t("Asset",{key:e.visibleAsset.runtimePreview,attrs:{identifier:e.visibleAsset.runtimePreview}})],1):e._e()],1):e._e()],1)],1)],1)},Ds=[],Zs=function(){var e=this,t=e._self._c;return t("div",{class:["code-preview",{ide:e.isTargetIDE}]},[t("CodeTheme",[e.code?t("CodeListing",e._b({attrs:{showLineNumbers:""}},"CodeListing",e.codeProps,!1)):e._e()],1),t("div",{staticClass:"runtime-preview",class:e.runtimePreviewClasses,style:e.previewStyles},[t("div",{staticClass:"runtimve-preview__container"},[t("button",{staticClass:"header",attrs:{disabled:!e.hasRuntimePreview,title:e.runtimePreviewTitle},on:{click:e.togglePreview}},[t("span",{staticClass:"runtime-preview-label",attrs:{"aria-label":e.textAriaLabel}},[e._v(e._s(e.togglePreviewText))]),t("DiagonalArrowIcon",{staticClass:"icon-inline preview-icon",class:[e.shouldDisplayHideLabel?"preview-hide":"preview-show"]})],1),t("transition",{on:{leave:e.handleLeave}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.shouldDisplayHideLabel,expression:"shouldDisplayHideLabel"}],staticClass:"runtime-preview-asset"},[e._t("default")],2)])],1)])],1)},Rs=[],Os=n(5996),Ls=n(6817),Bs=n(8093);const{BreakpointName:Ms}=o["default"].constants;function Fs({width:e,height:t},n=1){const s=400,i=e<=s?1.75:3;return{width:e/(i/n),height:t/(i/n)}}var Vs={name:"CodePreview",inject:{isTargetIDE:{default:!1},store:{default(){return{state:{references:{}}}}}},components:{DiagonalArrowIcon:Ls.Z,CodeListing:Os.Z,CodeTheme:Bs.Z},props:{code:{type:String,required:!0},preview:{type:String,required:!1},isRuntimePreviewVisible:{type:Boolean,required:!0}},data(){return{tutorialState:this.store.state}},computed:{references:({tutorialState:e})=>e.references,currentBreakpoint(){return this.tutorialState.breakpoint},hasRuntimePreview(){return!!this.preview},previewAssetSize(){const e=this.hasRuntimePreview?this.references[this.preview]:{},t=(e.variants||[{}])[0]||{},n={width:900};let s=t.size||{};s.width||s.height||(s=n);const i=this.currentBreakpoint===Ms.medium?.8:1;return Fs(s,i)},previewSize(){const e={width:102};return this.shouldDisplayHideLabel&&this.previewAssetSize?{width:this.previewAssetSize.width}:e},previewStyles(){const{width:e}=this.previewSize;return{width:`${e}px`}},codeProps(){return this.references[this.code]},runtimePreviewClasses(){return{collapsed:!this.shouldDisplayHideLabel,disabled:!this.hasRuntimePreview,"runtime-preview-ide":this.isTargetIDE}},shouldDisplayHideLabel(){return this.hasRuntimePreview&&this.isRuntimePreviewVisible},runtimePreviewTitle(){return this.hasRuntimePreview?null:this.$t("tutorials.preview.no-preview-available-step")},togglePreviewText(){return this.$tc("tutorials.preview.title",this.hasRuntimePreview?1:0)},textAriaLabel(){return`${this.togglePreviewText}, ${this.shouldDisplayHideLabel?this.$t("verbs.hide"):this.$t("verbs.show")}`}},methods:{handleLeave(e,t){setTimeout(t,200)},togglePreview(){this.hasRuntimePreview&&this.$emit("runtime-preview-toggle",!this.isRuntimePreviewVisible)}}},js=Vs,Es=(0,w.Z)(js,Zs,Rs,!1,null,"395e30cd",null),Hs=Es.exports,Us=n(5657),zs=function(){var e=this,t=e._self._c;return t("div",{style:e.backgroundStyle},[e._t("default")],2)},Gs=[],Ws={name:"BackgroundTheme",data(){return{codeThemeState:_s.Z.state}},computed:{backgroundStyle(){const{codeColors:e}=this.codeThemeState;return e?{"--background":e.background}:null}}},Qs=Ws,Ks=(0,w.Z)(Qs,zs,Gs,!1,null,null,null),Xs=Ks.exports,Ys=function(){var e=this,t=e._self._c;return t("div",{class:["step-container",`step-${e.stepNumber}`]},[t("div",{ref:"step",staticClass:"step",class:{focused:e.isActive},attrs:{"data-index":e.index}},[t("p",{staticClass:"step-label"},[e._v(e._s(e.$t("tutorials.step",{number:e.stepNumber})))]),t("ContentNode",{attrs:{content:e.content}}),e.caption&&e.caption.length>0?t("ContentNode",{staticClass:"caption",attrs:{content:e.caption}}):e._e()],1),e.isBreakpointSmall||!e.isTargetIDE?t("div",{staticClass:"media-container"},[e.media?t("Asset",{attrs:{identifier:e.media,videoAutoplays:"",videoMuted:""}}):e._e(),e.code?t("MobileCodePreview",{attrs:{code:e.code}},[e.runtimePreview?t("Asset",{staticClass:"preview",attrs:{identifier:e.runtimePreview}}):e._e()],1):e._e()],1):e._e()])},Js=[],ei=function(){var e=this,t=e._self._c;return t("BackgroundTheme",{staticClass:"mobile-code-preview"},[e.code?t("GenericModal",{staticClass:"full-code-listing-modal",attrs:{theme:e.isTargetIDE?"code":"light",codeBackgroundColorOverride:e.modalBackgroundColor,isFullscreen:"",visible:e.fullCodeIsVisible},on:{"update:visible":function(t){e.fullCodeIsVisible=t}}},[t("div",{staticClass:"full-code-listing-modal-content"},[t("CodeTheme",[t("CodeListing",e._b({staticClass:"full-code-listing",attrs:{showLineNumbers:""}},"CodeListing",e.codeProps,!1))],1)],1)]):e._e(),t("CodeTheme",[e.code?t("MobileCodeListing",e._b({attrs:{showLineNumbers:""},on:{"file-name-click":e.toggleFullCode}},"MobileCodeListing",e.codeProps,!1)):e._e()],1),t("CodeTheme",{staticClass:"preview-toggle-container"},[t("PreviewToggle",{attrs:{isActionable:!!e.$slots.default},on:{click:e.togglePreview}})],1),e.$slots.default?t("GenericModal",{staticClass:"runtime-preview-modal",attrs:{theme:e.isTargetIDE?"dynamic":"light",isFullscreen:"",visible:e.previewIsVisible},on:{"update:visible":function(t){e.previewIsVisible=t}}},[t("div",{staticClass:"runtime-preview-modal-content"},[t("span",{staticClass:"runtime-preview-label"},[e._v(e._s(e.$tc("tutorials.preview.title",1)))]),e._t("default")],2)]):e._e()],1)},ti=[],ni=function(){var e=this,t=e._self._c;return t("div",{staticClass:"code-listing-preview",attrs:{"data-syntax":e.syntax}},[t("CodeListing",{attrs:{fileName:e.fileName,syntax:e.syntax,fileType:e.fileType,content:e.previewedLines,startLineNumber:e.displayedRange.start,highlights:e.highlights,showLineNumbers:"",isFileNameActionable:""},on:{"file-name-click":function(t){return e.$emit("file-name-click")}}})],1)},si=[],ii={name:"MobileCodeListing",components:{CodeListing:Os.Z},props:{fileName:String,syntax:String,fileType:String,content:{type:Array,required:!0},highlights:{type:Array,default:()=>[]}},computed:{highlightedLineNumbers(){return new Set(this.highlights.map((({line:e})=>e)))},firstHighlightRange(){if(0===this.highlightedLineNumbers.size)return{start:1,end:this.content.length};const e=Math.min(...this.highlightedLineNumbers.values());let t=e;while(this.highlightedLineNumbers.has(t+1))t+=1;return{start:e,end:t}},displayedRange(){const e=this.firstHighlightRange,t=e.start-2<1?1:e.start-2,n=e.end+3>=this.content.length+1?this.content.length+1:e.end+3;return{start:t,end:n}},previewedLines(){return this.content.slice(this.displayedRange.start-1,this.displayedRange.end-1)}}},ri=ii,oi=(0,w.Z)(ri,ni,si,!1,null,"0bdf2f26",null),ai=oi.exports,li=function(){var e=this,t=e._self._c;return t("span",{staticClass:"toggle-preview"},[e.isActionable?t("a",{staticClass:"toggle-text",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.$emit("click")}}},[e._v(" "+e._s(e.$tc("tutorials.preview.title",1))+" "),t("InlinePlusCircleIcon",{staticClass:"toggle-icon icon-inline"})],1):t("span",{staticClass:"toggle-text"},[e._v(" "+e._s(e.$tc("tutorials.preview.title",0))+" ")])])},ci=[],ui=n(6772),di={name:"MobileCodePreviewToggle",components:{InlinePlusCircleIcon:ui.Z},props:{isActionable:{type:Boolean,required:!0}}},pi=di,hi=(0,w.Z)(pi,li,ci,!1,null,"78763c14",null),mi=hi.exports,vi={name:"MobileCodePreview",inject:["isTargetIDE"],mixins:[A.Z],components:{GenericModal:Xt.Z,CodeListing:Os.Z,MobileCodeListing:ai,PreviewToggle:mi,CodeTheme:Bs.Z,BackgroundTheme:Xs},props:{code:{type:String,required:!0}},computed:{codeProps(){return this.references[this.code]},modalBackgroundColor(){const{codeColors:e}=this.store.state;return e?e.background:null}},data(){return{previewIsVisible:!1,fullCodeIsVisible:!1}},methods:{togglePreview(){this.previewIsVisible=!this.previewIsVisible},toggleFullCode(){this.fullCodeIsVisible=!this.fullCodeIsVisible}}},fi=vi,gi=(0,w.Z)(fi,ei,ti,!1,null,"b1691954",null),yi=gi.exports;const{BreakpointName:Ci}=o["default"].constants;var bi={name:"Step",components:{Asset:Ie.Z,MobileCodePreview:yi,ContentNode:qe["default"]},inject:["isTargetIDE","store"],props:{code:{type:String,required:!1},content:{type:Array,required:!0},caption:{type:Array,required:!1},media:{type:String,required:!1},runtimePreview:{type:String,required:!1},sectionNumber:{type:Number,required:!0},stepNumber:{type:Number,required:!0},numberOfSteps:{type:Number,required:!0},index:{type:Number,required:!0},currentIndex:{type:Number,required:!0}},data(){return{tutorialState:this.store.state}},computed:{isBreakpointSmall(){return this.tutorialState.breakpoint===Ci.small},isActive:({index:e,currentIndex:t})=>e===t}},_i=bi,wi=(0,w.Z)(_i,Ys,Js,!1,null,"d0198556",null),ki=wi.exports;const{BreakpointName:Si}=o["default"].constants,{IntersectionDirections:xi}=Xe["default"].constants,Ai="-35% 0% -65% 0%";var Ti={name:"SectionSteps",components:{ContentNode:qe["default"],Step:ki,Asset:Ie.Z,CodePreview:Hs,BackgroundTheme:Xs},mixins:[Xe["default"]],constants:{IntersectionMargins:Ai},inject:["isTargetIDE","store"],data(){const e=this.content.findIndex(this.isStepNode),{code:t,media:n,runtimePreview:s}=this.content[e]||{};return{tutorialState:this.store.state,visibleAsset:{media:n,code:t,runtimePreview:s},activeStep:e}},computed:{assetContainerClasses(){return{"for-step-code":!!this.visibleAsset.code,ide:this.isTargetIDE}},numberOfSteps(){return this.content.filter(this.isStepNode).length},contentNodes(){return this.content.reduce((({stepCounter:e,nodes:t},n,s)=>{const{type:i,...r}=n,o=this.isStepNode(n),a=o?e+1:e;return o?{stepCounter:e+1,nodes:t.concat({component:ki,type:i,props:{...r,stepNumber:a,index:s,numberOfSteps:this.numberOfSteps,sectionNumber:this.sectionNumber}})}:{stepCounter:e,nodes:t.concat({component:qe["default"],type:i,props:{content:[n]}})}}),{stepCounter:0,nodes:[]}).nodes},isBreakpointSmall(){return this.tutorialState.breakpoint===Si.small},stepNodes:({contentNodes:e,isStepNode:t})=>e.filter(t),intersectionRootMargin:()=>Ai},async mounted(){await(0,Us.J)(8),this.findClosestStepNode()},methods:{isStepNode({type:e}){return"step"===e},contentClass(e){return{[`interstitial interstitial-${e+1}`]:!this.isStepNode(this.content[e])}},onReverseIntoLastStep(){const{asset:e}=this.$refs;if(e){const t=e.$el.querySelector("video");t&&(t.currentTime=0,t.play().catch((()=>{})))}},onFocus(e){const{code:t,media:n,runtimePreview:s}=this.content[e];this.activeStep=e,this.visibleAsset={code:t,media:n,runtimePreview:s}},onRuntimePreviewToggle(e){this.$emit("runtime-preview-toggle",e)},findClosestStepNode(){const e=.333*window.innerHeight;let t=null,n=0;this.stepNodes.forEach((s=>{const{index:i}=s.props,r=this.$refs.contentNodes[i].$refs.step;if(!r)return;const{top:o,bottom:a}=r.getBoundingClientRect(),l=o-e,c=a-e,u=Math.abs(l+c);(0===n||u<=n)&&(n=u,t=i)})),null!==t&&this.onFocus(t)},getIntersectionTargets(){const{stepNodes:e,$refs:t}=this;return e.map((({props:{index:e}})=>t.contentNodes[e].$refs.step))},onIntersect(e){const{target:t,isIntersecting:n}=e;if(!n)return;const s=parseFloat(t.getAttribute("data-index"));this.intersectionScrollDirection===xi.down&&s===this.stepNodes[this.stepNodes.length-1].props.index&&this.onReverseIntoLastStep(),this.onFocus(s)}},props:{content:{type:Array,required:!0},isRuntimePreviewVisible:{type:Boolean,require:!0},sectionNumber:{type:Number,required:!0}}},Ii=Ti,$i=(0,w.Z)(Ii,Ps,Ds,!1,null,"e3061a7c",null),Ni=$i.exports,qi={name:"Section",components:{Intro:qs,LinkableSection:tt,Steps:Ni},computed:{introProps(){const[{content:e,media:t},...n]=this.contentSection;return{content:e,expandedSections:n,media:t,sectionAnchor:this.anchor,sectionNumber:this.sectionNumber,title:this.title}}},props:{anchor:{type:String,required:!0},title:{type:String,required:!0},contentSection:{type:Array,required:!0},stepsSection:{type:Array,required:!0},sectionNumber:{type:Number,required:!0},isRuntimePreviewVisible:{type:Boolean,required:!0}},methods:{onRuntimePreviewToggle(e){this.$emit("runtime-preview-toggle",e)}}},Pi=qi,Di=(0,w.Z)(Pi,Ss,xs,!1,null,"6b3a0b3a",null),Zi=Di.exports,Ri={name:"SectionList",components:{Section:Zi},data(){return{isRuntimePreviewVisible:!0}},props:{tasks:{type:Array,required:!0}},methods:{onRuntimePreviewToggle(e){this.isRuntimePreviewVisible=e}}},Oi=Ri,Li=(0,w.Z)(Oi,ws,ks,!1,null,"79a75e9e",null),Bi=Li.exports;const Mi={assessments:cs,hero:Sn,tasks:Bi,callToAction:Pt},Fi=new Set(Object.keys(Mi)),Vi={name:"TutorialSection",render:function(e){const{kind:t,...n}=this.section,s=Mi[t];return s?e(s,{props:n}):null},props:{section:{type:Object,required:!0,validator:e=>Fi.has(e.kind)}}};var ji={name:"Tutorial",mixins:[_e.Z],components:{NavigationBar:be,Section:Vi,PortalTarget:h.YC,BreakpointEmitter:o["default"]},inject:["isTargetIDE","store"],computed:{heroSection(){return this.sections.find((({kind:e})=>"hero"===e))},tutorialTitle(){return(this.heroSection||{}).title},pageTitle(){return this.tutorialTitle?`${this.tutorialTitle} — ${this.metadata.category} Tutorials`:void 0},pageDescription:({heroSection:e,extractFirstParagraphText:t})=>e?t(e.content):null},props:{sections:{type:Array,required:!0},references:{type:Object,required:!0},hierarchy:{type:Object,required:!0},metadata:{type:Object,required:!0},identifierUrl:{type:String,required:!0}},methods:{handleBreakpointChange(e){this.store.updateBreakpoint(e)},handleCodeColorsChange(e){_s.Z.updateCodeColors(e)}},created(){m["default"].setAvailableLocales(this.metadata.availableLocales),this.store.reset(),this.store.setReferences(this.references)},watch:{references(e){this.store.setReferences(e)},"metadata.availableLocales":function(e){m["default"].setAvailableLocales(e)}},mounted(){this.$bridge.on("codeColors",this.handleCodeColorsChange),this.$bridge.send({type:"requestCodeColors"})},beforeDestroy(){this.$bridge.off("codeColors",this.handleCodeColorsChange)}},Ei=ji,Hi=(0,w.Z)(Ei,Cs,bs,!1,null,"70ce4177",null),Ui=Hi.exports,zi=n(1789),Gi=n(5184);const Wi={article:"article",tutorial:"project"};var Qi={name:"Topic",inject:{isTargetIDE:{default:!1}},mixins:[zi.Z,Gi.Z],data(){return{topicData:null}},computed:{navigationBarHeight(){return this.isTargetIDE?0:52},store(){return u},hierarchy(){const{hierarchy:e={}}=this.topicData,{technologyNavigation:t=["overview","tutorials","resources"]}=e||{};return{...e,technologyNavigation:t}},topicKey:({$route:e,topicData:t})=>[e.path,t.identifier.interfaceLanguage].join()},beforeRouteEnter(e,t,n){e.meta.skipFetchingData?n((e=>e.newContentMounted())):(0,r.Ek)(e,t,n).then((e=>n((t=>{t.topicData=e})))).catch(n)},beforeRouteUpdate(e,t,n){(0,r.Us)(e,t)?(0,r.Ek)(e,t,n).then((e=>{this.topicData=e,n()})).catch(n):n()},created(){this.store.reset()},mounted(){this.$bridge.on("contentUpdate",this.handleContentUpdateFromBridge)},beforeDestroy(){this.$bridge.off("contentUpdate",this.handleContentUpdateFromBridge)},methods:{componentFor(e){const{kind:t}=e;return{[Wi.article]:ys,[Wi.tutorial]:Ui}[t]},propsFor(e){const{hierarchy:t,kind:n,metadata:s,references:i,sections:r,identifier:o}=e;return{[Wi.article]:{hierarchy:t,metadata:s,references:i,sections:r,identifierUrl:o.url},[Wi.tutorial]:{hierarchy:t,metadata:s,references:i,sections:r,identifierUrl:o.url}}[n]}},provide(){return{navigationBarHeight:this.navigationBarHeight,store:this.store}},watch:{topicData(){this.$nextTick((()=>{this.newContentMounted()}))}}},Ki=Qi,Xi=(0,w.Z)(Ki,s,i,!1,null,null,null),Yi=Xi.exports}}]); \ No newline at end of file diff --git a/docs/js/tutorials-overview.5395cca1.js b/docs/js/tutorials-overview.5395cca1.js new file mode 100644 index 00000000..ebe9281e --- /dev/null +++ b/docs/js/tutorials-overview.5395cca1.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +"use strict";(self["webpackChunkswift_docc_render"]=self["webpackChunkswift_docc_render"]||[]).push([[843],{7214:function(t,e,n){n.d(e,{Z:function(){return u}});var i=function(){var t=this,e=t._self._c;return e("SVGIcon",{staticClass:"download-icon",attrs:{viewBox:"0 0 14 14",themeId:"download"}},[e("path",{attrs:{d:"M7 0.5c3.59 0 6.5 2.91 6.5 6.5s-2.91 6.5-6.5 6.5c-3.59 0-6.5-2.91-6.5-6.5s2.91-6.5 6.5-6.5zM7 1.5c-3.038 0-5.5 2.462-5.5 5.5s2.462 5.5 5.5 5.5c3.038 0 5.5-2.462 5.5-5.5s-2.462-5.5-5.5-5.5z"}}),e("path",{attrs:{d:"M7.51 2.964l-0.001 5.431 1.308-2.041 0.842 0.539-2.664 4.162-2.633-4.164 0.845-0.534 1.303 2.059 0.001-5.452z"}})])},s=[],o=n(9742),a={name:"DownloadIcon",components:{SVGIcon:o.Z}},r=a,l=n(1001),c=(0,l.Z)(r,i,s,!1,null,null,null),u=c.exports},7181:function(t,e,n){n.d(e,{Z:function(){return u}});var i=function(){var t=this,e=t._self._c;return e("SVGIcon",{staticClass:"inline-close-icon",attrs:{viewBox:"0 0 14 14",themeId:"inline-close"}},[e("path",{attrs:{d:"M11.91 1l1.090 1.090-4.917 4.915 4.906 4.905-1.090 1.090-4.906-4.905-4.892 4.894-1.090-1.090 4.892-4.894-4.903-4.904 1.090-1.090 4.903 4.904z"}})])},s=[],o=n(9742),a={name:"InlineCloseIcon",components:{SVGIcon:o.Z}},r=a,l=n(1001),c=(0,l.Z)(r,i,s,!1,null,null,null),u=c.exports},2573:function(t,e,n){n.d(e,{Z:function(){return c}});var i=function(){var t=this,e=t._self._c;return e("router-link",{staticClass:"nav-title-content",attrs:{to:t.to}},[e("span",{staticClass:"title"},[t._t("default")],2),e("span",{staticClass:"subhead"},[t._v(" "),t._t("subhead")],2)])},s=[],o={name:"NavTitleContainer",props:{to:{type:[String,Object],required:!0}}},a=o,r=n(1001),l=(0,r.Z)(a,i,s,!1,null,"854b4dd6",null),c=l.exports},9732:function(t,e,n){n.d(e,{Z:function(){return c}});var i,s,o={name:"TransitionExpand",functional:!0,render(t,e){const n={props:{name:"expand"},on:{afterEnter(t){t.style.height="auto"},enter(t){const{width:e}=getComputedStyle(t);t.style.width=e,t.style.position="absolute",t.style.visibility="hidden",t.style.height="auto";const{height:n}=getComputedStyle(t);t.style.width=null,t.style.position=null,t.style.visibility=null,t.style.height=0,getComputedStyle(t).height,requestAnimationFrame((()=>{t.style.height=n}))},leave(t){const{height:e}=getComputedStyle(t);t.style.height=e,getComputedStyle(t).height,requestAnimationFrame((()=>{t.style.height=0}))}}};return t("transition",n,e.children)}},a=o,r=n(1001),l=(0,r.Z)(a,i,s,!1,null,null,null),c=l.exports},5199:function(t,e,n){n.r(e),n.d(e,{default:function(){return Ee}});var i=function(){var t=this,e=t._self._c;return t.topicData?e("Overview",t._b({key:t.topicKey},"Overview",t.overviewProps,!1)):t._e()},s=[],o=n(8841),a=n(1789),r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"tutorials-overview"},[t.isTargetIDE?t._e():e("Nav",{staticClass:"theme-dark",attrs:{sections:t.otherSections}},[t._v(" "+t._s(t.title)+" ")]),e("main",{staticClass:"main",attrs:{id:"main",tabindex:"0"}},[e("div",{staticClass:"radial-gradient"},[t._t("above-hero"),t.heroSection?e("Hero",{attrs:{action:t.heroSection.action,content:t.heroSection.content,estimatedTime:t.metadata.estimatedTime,image:t.heroSection.image,title:t.heroSection.title}}):t._e()],2),t.otherSections.length>0?e("LearningPath",{attrs:{sections:t.otherSections}}):t._e()],1)],1)},l=[],c=n(4030),u={state:{activeTutorialLink:null,activeVolume:null,references:{}},reset(){this.state.activeTutorialLink=null,this.state.activeVolume=null,this.state.references={}},setActiveSidebarLink(t){this.state.activeTutorialLink=t},setActiveVolume(t){this.state.activeVolume=t},setReferences(t){this.state.references=t}},m=function(){var t=this,e=t._self._c;return e("NavBase",{scopedSlots:t._u([{key:"menu-items",fn:function(){return[e("NavMenuItemBase",{staticClass:"in-page-navigation"},[e("TutorialsNavigation",{attrs:{sections:t.sections}})],1),t._t("menu-items")]},proxy:!0}],null,!0)},[e("NavTitleContainer",{attrs:{to:t.buildUrl(t.$route.path,t.$route.query)},scopedSlots:t._u([{key:"default",fn:function(){return[t._t("default")]},proxy:!0},{key:"subhead",fn:function(){return[t._v(t._s(t.$tc("tutorials.title",2)))]},proxy:!0}],null,!0)})],1)},d=[],p=n(1253),h=function(){var t=this,e=t._self._c;return e("nav",{staticClass:"tutorials-navigation"},[e("TutorialsNavigationList",t._l(t.sections,(function(n,i){return e("li",{key:`${n.name}_${i}`,class:t.sectionClasses(n)},[t.isVolume(n)?e(t.componentForVolume(n),t._b({tag:"component",on:{"select-menu":t.onSelectMenu,"deselect-menu":t.onDeselectMenu}},"component",t.propsForVolume(n),!1),t._l(n.chapters,(function(n){return e("li",{key:n.name},[e("TutorialsNavigationLink",[t._v(" "+t._s(n.name)+" ")])],1)})),0):t.isResources(n)?e("TutorialsNavigationLink",[t._v(" "+t._s(t.$t("sections.resources"))+" ")]):t._e()],1)})),0)],1)},v=[],f=function(){var t=this,e=t._self._c;return e("router-link",{staticClass:"tutorials-navigation-link",class:{active:t.active},attrs:{to:t.fragment},nativeOn:{click:function(e){return t.handleFocusAndScroll(t.fragment.hash)}}},[t._t("default")],2)},_=[],g=n(3208),C=n(3704),y={name:"TutorialsNavigationLink",mixins:[C.Z],inject:{store:{default:()=>({state:{}})}},data(){return{state:this.store.state}},computed:{active:({state:{activeTutorialLink:t},text:e})=>e===t,fragment:({text:t,$route:e})=>({hash:(0,g.HA)(t),query:e.query}),text:({$slots:{default:[{text:t}]}})=>t.trim()}},b=y,T=n(1001),S=(0,T.Z)(b,f,_,!1,null,"e9f9b59c",null),k=S.exports,V=function(){var t=this,e=t._self._c;return e("ol",{staticClass:"tutorials-navigation-list"},[t._t("default")],2)},Z=[],x={name:"TutorialsNavigationList"},I=x,N=(0,T.Z)(I,V,Z,!1,null,"4e0180fa",null),A=N.exports,w=function(){var t=this,e=t._self._c;return e("div",{staticClass:"tutorials-navigation-menu",class:{collapsed:t.collapsed}},[e("button",{staticClass:"toggle",attrs:{"aria-expanded":t.collapsed?"false":"true",type:"button"},on:{click:function(e){return e.stopPropagation(),t.onClick.apply(null,arguments)}}},[e("span",{staticClass:"text"},[t._v(t._s(t.title))]),e("InlineCloseIcon",{staticClass:"toggle-icon icon-inline"})],1),e("transition-expand",[t.collapsed?t._e():e("div",{staticClass:"tutorials-navigation-menu-content"},[e("TutorialsNavigationList",{attrs:{"aria-label":t.$t("tutorials.nav.chapters")}},[t._t("default")],2)],1)])],1)},q=[],$=n(7181),L=n(9732),M={name:"TutorialsNavigationMenu",components:{InlineCloseIcon:$.Z,TransitionExpand:L.Z,TutorialsNavigationList:A},props:{collapsed:{type:Boolean,default:!0},title:{type:String,required:!0}},methods:{onClick(){this.collapsed?this.$emit("select-menu",this.title):this.$emit("deselect-menu")}}},D=M,F=(0,T.Z)(D,w,q,!1,null,"489416f8",null),R=F.exports;const O={resources:"resources",volume:"volume"};var j={name:"TutorialsNavigation",components:{TutorialsNavigationLink:k,TutorialsNavigationList:A,TutorialsNavigationMenu:R},constants:{SectionKind:O},inject:{store:{default:()=>({setActiveVolume(){}})}},data(){return{state:this.store.state}},props:{sections:{type:Array,required:!0}},computed:{activeVolume:({state:t})=>t.activeVolume},methods:{sectionClasses(t){return{volume:this.isVolume(t),"volume--named":this.isNamedVolume(t),resource:this.isResources(t)}},componentForVolume:({name:t})=>t?R:A,isResources:({kind:t})=>t===O.resources,isVolume:({kind:t})=>t===O.volume,activateFirstNamedVolume(){const{isNamedVolume:t,sections:e}=this,n=e.find(t);n&&this.store.setActiveVolume(n.name)},isNamedVolume(t){return this.isVolume(t)&&t.name},onDeselectMenu(){this.store.setActiveVolume(null)},onSelectMenu(t){this.store.setActiveVolume(t)},propsForVolume({name:t}){const{activeVolume:e}=this;return t?{collapsed:t!==e,title:t}:{"aria-label":"Chapters"}}},created(){this.activateFirstNamedVolume()}},B=j,G=(0,T.Z)(B,h,v,!1,null,"79093ed6",null),H=G.exports,z=n(2573),P=n(2449),E=n(535);const U={resources:"resources",volume:"volume"};var K={name:"Nav",constants:{SectionKind:U},components:{NavMenuItemBase:E.Z,NavTitleContainer:z.Z,TutorialsNavigation:H,NavBase:p.Z},props:{sections:{type:Array,require:!0}},methods:{buildUrl:P.Q2}},Q=K,J=(0,T.Z)(Q,m,d,!1,null,"54bcce6d",null),W=J.exports,X=n(2974),Y=function(){var t=this,e=t._self._c;return e("section",{staticClass:"hero"},[e("div",{staticClass:"copy-container"},[e("h1",{staticClass:"title"},[t._v(t._s(t.title))]),t.content?e("ContentNode",{attrs:{content:t.content}}):t._e(),t.estimatedTime?e("p",{staticClass:"meta"},[e("TimerIcon"),e("span",{staticClass:"meta-content"},[e("strong",{staticClass:"time"},[t._v(t._s(t.estimatedTime))]),e("span",[t._v(" "+t._s(t.$t("tutorials.estimated-time")))])])],1):t._e(),t.action?e("CallToActionButton",{attrs:{action:t.action,"aria-label":t.$t("tutorials.overriding-title",{newTitle:t.action.overridingTitle,title:t.title}),isDark:""}}):t._e()],1),t.image?e("Asset",{attrs:{identifier:t.image}}):t._e()],1)},tt=[],et=n(1467),nt=n(7605),it=n(2549),st=function(){var t=this,e=t._self._c;return e("SVGIcon",{staticClass:"timer-icon",attrs:{viewBox:"0 0 14 14",themeId:"timer"}},[e("path",{attrs:{d:"M7 0.5c3.59 0 6.5 2.91 6.5 6.5s-2.91 6.5-6.5 6.5c-3.59 0-6.5-2.91-6.5-6.5v0c0-3.59 2.91-6.5 6.5-6.5v0zM7 2c-2.761 0-5 2.239-5 5s2.239 5 5 5c2.761 0 5-2.239 5-5v0c0-2.761-2.239-5-5-5v0z"}}),e("path",{attrs:{d:"M6.51 3.51h1.5v3.5h-1.5v-3.5z"}}),e("path",{attrs:{d:"M6.51 7.010h4v1.5h-4v-1.5z"}})])},ot=[],at=n(9742),rt={name:"TimerIcon",components:{SVGIcon:at.Z}},lt=rt,ct=(0,T.Z)(lt,st,ot,!1,null,null,null),ut=ct.exports,mt={name:"Hero",components:{Asset:et.Z,CallToActionButton:nt.Z,ContentNode:it["default"],TimerIcon:ut},props:{action:{type:Object,required:!1},content:{type:Array,required:!1},estimatedTime:{type:String,required:!1},image:{type:String,required:!1},title:{type:String,required:!0}}},dt=mt,pt=(0,T.Z)(dt,Y,tt,!1,null,"383dab71",null),ht=pt.exports,vt=function(){var t=this,e=t._self._c;return e("div",{staticClass:"learning-path",class:t.classes},[e("div",{staticClass:"main-container"},[t.isTargetIDE?t._e():e("div",{staticClass:"secondary-content-container"},[e("TutorialsNavigation",{attrs:{sections:t.sections,"aria-label":t.$t("sections.on-this-page")}})],1),e("div",{staticClass:"primary-content-container"},[e("div",{staticClass:"content-sections-container"},[t._l(t.volumes,(function(n,i){return e("Volume",t._b({key:`volume_${i}`,staticClass:"content-section"},"Volume",t.propsFor(n),!1))})),t._l(t.otherSections,(function(n,i){return e(t.componentFor(n),t._b({key:`resource_${i}`,tag:"component",staticClass:"content-section"},"component",t.propsFor(n),!1))}))],2)])])])},ft=[],_t=function(){var t=this,e=t._self._c;return e("section",{staticClass:"resources",attrs:{id:"resources",tabindex:"-1"}},[e("VolumeName",{attrs:{name:t.$t("sections.resources"),content:t.content}}),e("TileGroup",{attrs:{tiles:t.tiles}})],1)},gt=[],Ct=n(9146);const yt={topOneThird:"-30% 0% -70% 0%",center:"-50% 0% -50% 0%"};var bt={mixins:[Ct["default"]],computed:{intersectionRoot(){return null},intersectionRootMargin(){return yt.center}},methods:{onIntersect(t){if(!t.isIntersecting)return;const e=this.onIntersectViewport;e?e():console.warn("onIntersectViewportCenter not implemented")}}},Tt=function(){var t=this,e=t._self._c;return e("div",{staticClass:"volume-name"},[t.image?e("Asset",{staticClass:"image",attrs:{identifier:t.image,"aria-hidden":"true"}}):t._e(),e("h2",{staticClass:"name"},[t._v(" "+t._s(t.name)+" ")]),t.content?e("ContentNode",{attrs:{content:t.content}}):t._e()],1)},St=[],kt={name:"VolumeName",components:{ContentNode:it["default"],Asset:et.Z},props:{image:{type:String,required:!1},content:{type:Array,required:!1},name:{type:String,required:!1}}},Vt=kt,Zt=(0,T.Z)(Vt,Tt,St,!1,null,"569db166",null),xt=Zt.exports,It=function(){var t=this,e=t._self._c;return e("div",{staticClass:"tile-group",class:t.countClass},t._l(t.tiles,(function(n){return e("Tile",t._b({key:n.title},"Tile",t.propsFor(n),!1))})),1)},Nt=[],At=function(){var t=this,e=t._self._c;return e("div",{staticClass:"tile"},[t.identifier?e("div",{staticClass:"icon"},[e(t.iconComponent,{tag:"component"})],1):t._e(),e("div",{staticClass:"title"},[t._v(t._s(t.title))]),e("ContentNode",{attrs:{content:t.content}}),t.action?e("DestinationDataProvider",{attrs:{destination:t.action},scopedSlots:t._u([{key:"default",fn:function({url:n,title:i}){return[e("Reference",{staticClass:"link",attrs:{url:n}},[t._v(" "+t._s(i)+" "),e("InlineChevronRightIcon",{staticClass:"link-icon icon-inline"})],1)]}}],null,!1,2081312588)}):t._e()],1)},wt=[],qt=n(7775),$t=function(){var t=this,e=t._self._c;return e("SVGIcon",{staticClass:"document-icon",attrs:{viewBox:"0 0 14 14",themeId:"document"}},[e("path",{attrs:{d:"M11.2,5.3,8,2l-.1-.1H2.8V12.1h8.5V6.3l-.1-1ZM8,3.2l2,2.1H8Zm2.4,8H3.6V2.8H7V6.3h3.4Z"}})])},Lt=[],Mt={name:"DocumentIcon",components:{SVGIcon:at.Z}},Dt=Mt,Ft=(0,T.Z)(Dt,$t,Lt,!1,null,"3a80772b",null),Rt=Ft.exports,Ot=n(7214),jt=function(){var t=this,e=t._self._c;return e("SVGIcon",{staticClass:"forum-icon",attrs:{viewBox:"0 0 14 14",themeId:"forum"}},[e("path",{attrs:{d:"M13 1v9h-7l-1.5 3-1.5-3h-2v-9zM12 2h-10v7h1.616l0.884 1.763 0.88-1.763h6.62z"}}),e("path",{attrs:{d:"M3 4h8.001v1h-8.001v-1z"}}),e("path",{attrs:{d:"M3 6h8.001v1h-8.001v-1z"}})])},Bt=[],Gt={name:"ForumIcon",components:{SVGIcon:at.Z}},Ht=Gt,zt=(0,T.Z)(Ht,jt,Bt,!1,null,null,null),Pt=zt.exports,Et=n(6698),Ut=n(9882),Kt=n(8785),Qt=n(1295);const Jt={documentation:"documentation",downloads:"downloads",featured:"featured",forums:"forums",sampleCode:"sampleCode",videos:"videos"};var Wt={name:"Tile",constants:{Identifier:Jt},components:{DestinationDataProvider:Qt.Z,InlineChevronRightIcon:Kt.Z,ContentNode:it["default"],CurlyBracketsIcon:qt.Z,DocumentIcon:Rt,DownloadIcon:Ot.Z,ForumIcon:Pt,PlayIcon:Et.Z,Reference:Ut.Z},props:{action:{type:Object,required:!1},content:{type:Array,required:!0},identifier:{type:String,required:!1},title:{type:String,require:!0}},computed:{iconComponent:({identifier:t})=>({[Jt.documentation]:Rt,[Jt.downloads]:Ot.Z,[Jt.forums]:Pt,[Jt.sampleCode]:qt.Z,[Jt.videos]:Et.Z}[t])}},Xt=Wt,Yt=(0,T.Z)(Xt,At,wt,!1,null,"74dbeb68",null),te=Yt.exports,ee={name:"TileGroup",components:{Tile:te},props:{tiles:{type:Array,required:!0}},computed:{countClass:({tiles:t})=>`count-${t.length}`},methods:{propsFor:({action:t,content:e,identifier:n,title:i})=>({action:t,content:e,identifier:n,title:i})}},ne=ee,ie=(0,T.Z)(ne,It,Nt,!1,null,"4cacce0a",null),se=ie.exports,oe={name:"Resources",mixins:[bt],inject:{store:{default:()=>({setActiveSidebarLink(){},setActiveVolume(){}})}},components:{VolumeName:xt,TileGroup:se},computed:{intersectionRootMargin:()=>yt.topOneThird},props:{content:{type:Array,required:!1},tiles:{type:Array,required:!0}},methods:{onIntersectViewport(){this.store.setActiveSidebarLink("Resources"),this.store.setActiveVolume(null)}}},ae=oe,re=(0,T.Z)(ae,_t,gt,!1,null,"7f8022c1",null),le=re.exports,ce=function(){var t=this,e=t._self._c;return e("section",{staticClass:"volume"},[t.name?e("VolumeName",t._b({},"VolumeName",{name:t.name,image:t.image,content:t.content},!1)):t._e(),t._l(t.chapters,(function(n,i){return e("Chapter",{key:n.name,staticClass:"tile",attrs:{content:n.content,image:n.image,name:n.name,number:i+1,topics:t.lookupTopics(n.tutorials),volumeHasName:!!t.name}})}))],2)},ue=[],me=function(){var t=this,e=t._self._c;return e("section",{staticClass:"chapter",attrs:{id:t.anchor,tabindex:"-1"}},[e("div",{staticClass:"info"},[e("Asset",{attrs:{identifier:t.image,"aria-hidden":"true"}}),e("div",{staticClass:"intro"},[e(t.volumeHasName?"h3":"h2",{tag:"component",staticClass:"name",attrs:{"aria-label":`${t.name} - ${t.$tc("tutorials.sections.chapter",{number:t.number})}`}},[e("span",{staticClass:"eyebrow",attrs:{"aria-hidden":"true"}},[t._v(" "+t._s(t.$t("tutorials.sections.chapter",{number:t.number}))+" ")]),e("span",{staticClass:"name-text",attrs:{"aria-hidden":"true"}},[t._v(t._s(t.name))])]),t.content?e("ContentNode",{attrs:{content:t.content}}):t._e()],1)],1),e("TopicList",{attrs:{topics:t.topics}})],1)},de=[],pe=function(){var t=this,e=t._self._c;return e("ol",{staticClass:"topic-list"},t._l(t.topics,(function(n){return e("li",{key:n.url,staticClass:"topic",class:[t.kindClassFor(n),{"no-time-estimate":!n.estimatedTime}]},[e("div",{staticClass:"topic-icon"},[e(t.iconComponent(n),{tag:"component"})],1),e("router-link",{staticClass:"container",attrs:{to:t.buildUrl(n.url,t.$route.query),"aria-label":t.ariaLabelFor(n)}},[e("div",{staticClass:"link"},[t._v(t._s(n.title))]),n.estimatedTime?e("div",{staticClass:"time"},[e("TimerIcon"),e("span",{staticClass:"time-label"},[t._v(t._s(n.estimatedTime))])],1):t._e()])],1)})),0)},he=[],ve=n(5692),fe=n(8638);const _e={article:"article",tutorial:"project"},ge={article:"article",tutorial:"tutorial"},Ce={[_e.article]:"Article",[_e.tutorial]:"Tutorial"};var ye={name:"ChapterTopicList",components:{TimerIcon:ut},constants:{TopicKind:_e,TopicKindClass:ge,TopicKindIconLabel:Ce},props:{topics:{type:Array,required:!0}},methods:{buildUrl:P.Q2,iconComponent:({kind:t})=>({[_e.article]:ve.Z,[_e.tutorial]:fe.Z}[t]),kindClassFor:({kind:t})=>({[_e.article]:ge.article,[_e.tutorial]:ge.tutorial}[t]),formatTime(t){return t.replace("min",` ${this.$t("tutorials.time.minutes.full")}`).replace("hrs",` ${this.$t("tutorials.time.hours.full")}`)},ariaLabelFor(t){const{title:e,estimatedTime:n,kind:i}=t,s=[e,Ce[i]];return n&&s.push(`${this.formatTime(n)} ${this.$t("tutorials.estimated-time")}`),s.join(" - ")}}},be=ye,Te=(0,T.Z)(be,pe,he,!1,null,"0589dc3b",null),Se=Te.exports,ke={name:"Chapter",mixins:[bt],inject:{store:{default:()=>({setActiveSidebarLink(){},setActiveVolume(){}})}},components:{Asset:et.Z,ContentNode:it["default"],TopicList:Se},props:{content:{type:Array,required:!1},image:{type:String,required:!0},name:{type:String,required:!0},number:{type:Number,required:!0},topics:{type:Array,required:!0},volumeHasName:{type:Boolean,default:!1}},computed:{anchor:({name:t})=>(0,g.HA)(t),intersectionRootMargin:()=>yt.topOneThird},methods:{onIntersectViewport(){this.store.setActiveSidebarLink(this.name),this.volumeHasName||this.store.setActiveVolume(null)}}},Ve=ke,Ze=(0,T.Z)(Ve,me,de,!1,null,"7468bc5e",null),xe=Ze.exports,Ie={name:"Volume",mixins:[bt],components:{VolumeName:xt,Chapter:xe},computed:{references:({store:t})=>t.state.references,intersectionRootMargin:()=>yt.topOneThird},inject:{store:{default:()=>({setActiveVolume(){},state:{references:{}}})}},props:{chapters:{type:Array,required:!0},content:{type:Array,required:!1},image:{type:String,required:!1},name:{type:String,required:!1}},methods:{lookupTopics(t){return t.reduce(((t,e)=>t.concat(this.references[e]||[])),[])},onIntersectViewport(){this.name&&this.store.setActiveVolume(this.name)}}},Ne=Ie,Ae=(0,T.Z)(Ne,ce,ue,!1,null,"540dbf10",null),we=Ae.exports;const qe={resources:"resources",volume:"volume"};var $e={name:"LearningPath",components:{Resources:le,TutorialsNavigation:H,Volume:we},constants:{SectionKind:qe},inject:{isTargetIDE:{default:!1}},props:{sections:{type:Array,required:!0,validator:t=>t.every((t=>Object.prototype.hasOwnProperty.call(qe,t.kind)))}},computed:{classes:({isTargetIDE:t})=>({ide:t}),partitionedSections:({sections:t})=>t.reduce((([t,e],n)=>n.kind===qe.volume?[t.concat(n),e]:[t,e.concat(n)]),[[],[]]),volumes:({partitionedSections:t})=>t[0],otherSections:({partitionedSections:t})=>t[1]},methods:{componentFor:({kind:t})=>({[qe.resources]:le,[qe.volume]:we}[t]),propsFor:({chapters:t,content:e,image:n,kind:i,name:s,tiles:o})=>({[qe.resources]:{content:e,tiles:o},[qe.volume]:{chapters:t,content:e,image:n,name:s}}[i])}},Le=$e,Me=(0,T.Z)(Le,vt,ft,!1,null,"69a72bbc",null),De=Me.exports;const Fe={hero:"hero",resources:"resources",volume:"volume"};var Re={name:"TutorialsOverview",components:{Hero:ht,LearningPath:De,Nav:W},mixins:[X.Z],constants:{SectionKind:Fe},inject:{isTargetIDE:{default:!1}},props:{metadata:{type:Object,default:()=>({})},references:{type:Object,default:()=>({})},sections:{type:Array,default:()=>[],validator:t=>t.every((t=>Object.prototype.hasOwnProperty.call(Fe,t.kind)))}},computed:{pageTitle:({title:t})=>[t,"Tutorials"].filter(Boolean).join(" "),pageDescription:({heroSection:t,extractFirstParagraphText:e})=>t?e(t.content):null,partitionedSections:({sections:t})=>t.reduce((([t,e],n)=>n.kind===Fe.hero?[t.concat(n),e]:[t,e.concat(n)]),[[],[]]),heroSections:({partitionedSections:t})=>t[0],otherSections:({partitionedSections:t})=>t[1],heroSection:({heroSections:t})=>t[0],store:()=>u,title:({metadata:{category:t=""}})=>t},provide(){return{store:this.store}},created(){c["default"].setAvailableLocales(this.metadata.availableLocales),this.store.reset(),this.store.setReferences(this.references)},watch:{references(t){this.store.setReferences(t)},"metadata.availableLocales":function(t){c["default"].setAvailableLocales(t)}}},Oe=Re,je=(0,T.Z)(Oe,r,l,!1,null,"40c62c57",null),Be=je.exports,Ge=n(5184),He={name:"TutorialsOverview",components:{Overview:Be},mixins:[a.Z,Ge.Z],data(){return{topicData:null}},computed:{overviewProps:({topicData:{metadata:t,references:e,sections:n}})=>({metadata:t,references:e,sections:n}),topicKey:({$route:t,topicData:e})=>[t.path,e.identifier.interfaceLanguage].join()},beforeRouteEnter(t,e,n){t.meta.skipFetchingData?n((t=>t.newContentMounted())):(0,o.Ek)(t,e,n).then((t=>n((e=>{e.topicData=t})))).catch(n)},beforeRouteUpdate(t,e,n){(0,o.Us)(t,e)?(0,o.Ek)(t,e,n).then((t=>{this.topicData=t,n()})).catch(n):n()},mounted(){this.$bridge.on("contentUpdate",this.handleContentUpdateFromBridge)},beforeDestroy(){this.$bridge.off("contentUpdate",this.handleContentUpdateFromBridge)},watch:{topicData(){this.$nextTick((()=>{this.newContentMounted()}))}}},ze=He,Pe=(0,T.Z)(ze,i,s,!1,null,null,null),Ee=Pe.exports}}]); \ No newline at end of file diff --git a/docs/metadata.json b/docs/metadata.json new file mode 100644 index 00000000..37263f1d --- /dev/null +++ b/docs/metadata.json @@ -0,0 +1 @@ +{"schemaVersion":{"major":0,"minor":1,"patch":0},"bundleDisplayName":"PlaydateKit","bundleIdentifier":"PlaydateKit"} \ No newline at end of file