canvasandroidexample

package
v0.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2019 License: BSD-3-Clause Imports: 3 Imported by: 0

README

As of this writing, gomobile does not support go modules. In this case this project can only be compiled while it is in the GOPATH/src directory.

The go bindings are generated with the gomobile bind -target android command, which results in a .aar and a .jar file. These should be placed in the CanvasAndroidExample/app/libs directory, and then the project should compile.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OnDrawFrame

func OnDrawFrame()

func OnSurfaceChanged

func OnSurfaceChanged(w, h int)

func OnSurfaceCreated

func OnSurfaceCreated()

func TouchEvent

func TouchEvent(typ string, x, y int)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL