MIT App Inventor (9.3.2022)
MIT App Inventor (9.3.2022)
u3_list_photo Screen1 ▾ Add Screen ... Remove Screen Publish to Gallery Designer Blocks
Blocks Viewer
Red
initialize global color to make a list 0
Blue 0
0
255
HorizontalArrangeme
when Green ▾ .PositionChanged when Transparency3N06 ▾ .PositionChanged
thumbPosition thumbPosition
Label1 do replace list item list get global color ▾ do replace list item list get global color ▾
index 2 index 4
replacement floor ▾ get thumbPosition ▾ replacement floor ▾ get thumbPosition ▾
Line_Width set Canvas1 ▾ . BackgroundColor ▾ to make color get global color ▾ set Canvas1 ▾ . BackgroundColor ▾ to make color get global color ▾
set Canvas2 ▾ . PaintColor ▾ to make color get global color ▾ set Canvas2 ▾ . PaintColor ▾ to make color get global color ▾
startX startY prevX prevY currentX currentY draggedAnySprite when Camera1 ▾ .AfterPicture
do call Canvas2 ▾ .DrawLine image
Img_picker x1 get prevX ▾ do set Canvas2 ▾ . BackgroundImage ▾ to get image ▾
y1 get prevY ▾
x2 get currentX ▾
Save3N06 y2 get currentY ▾
when Save3N06 ▾ .Click
do call Notifier1 ▾ .ShowMessageDialog
Rename Delete
Media
ai2.appinventor.mit.edu/#6530928293052416 1/2
3/9/22, 2:36 PM MIT App Inventor
ai2.appinventor.mit.edu/#6530928293052416 2/2