Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CS346-project-fall-2023
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Khang Tieu
CS346-project-fall-2023
Merge requests
!11
Add sketches into model, controller and service for the backend
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add sketches into model, controller and service for the backend
store-whiteboard-state
into
main
Overview
1
Commits
5
Pipelines
0
Changes
18
Merged
Khang Tieu
requested to merge
store-whiteboard-state
into
main
1 year ago
Overview
1
Commits
5
Pipelines
0
Changes
18
Expand
0
0
Merge request reports
Compare
main
version 4
58b2576e
1 year ago
version 3
5b1597fd
1 year ago
version 2
be4a8c06
1 year ago
version 1
7f17a612
1 year ago
main (base)
and
latest version
latest version
a03bc799
5 commits,
1 year ago
version 4
58b2576e
4 commits,
1 year ago
version 3
5b1597fd
3 commits,
1 year ago
version 2
be4a8c06
2 commits,
1 year ago
version 1
7f17a612
1 commit,
1 year ago
18 files
+
295
−
54
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
18
Search (e.g. *.vue) (Ctrl+P)
application/src/main/kotlin/canvas/Sketch.kt
+
9
−
8
Options
package
canvas
import
androidx.compose.ui.geometry.Offset
import
androidx.compose.ui.graphics.Color
import
androidx.compose.ui.unit.Dp
import
androidx.compose.ui.unit.dp
import
kotlinx.serialization.Serializable
@Serializable
data class
Sketch
(
val
start
:
Offset
,
val
end
:
Offset
,
val
color
:
Color
=
Color
.
Black
,
val
width
:
Dp
=
1
.
dp
,
val
startX
:
Float
,
val
startY
:
Float
,
val
endX
:
Float
,
val
endY
:
Float
,
val
color
:
Int
,
val
width
:
Int
,
)
\ No newline at end of file
Loading