mirror of
https://github.com/SimpleMobileTools/Simple-Draw.git
synced 2025-06-05 21:59:17 +02:00
convert MyCanvas to kotlin
This commit is contained in:
@ -12,7 +12,7 @@ import java.security.InvalidParameterException
|
||||
import java.util.*
|
||||
|
||||
// https://stackoverflow.com/a/8127953
|
||||
internal class MyPath : Path(), Serializable {
|
||||
class MyPath : Path(), Serializable {
|
||||
|
||||
private val actions = LinkedList<Action>()
|
||||
|
||||
|
@ -2,7 +2,7 @@ package com.simplemobiletools.draw
|
||||
|
||||
import android.graphics.Color
|
||||
|
||||
internal class PaintOptions {
|
||||
class PaintOptions {
|
||||
var color = Color.BLACK
|
||||
var strokeWidth = 5f
|
||||
|
||||
|
Reference in New Issue
Block a user