some
This commit is contained in:
1 parent
82eb0df773
commit
8398c07966
3 files changed
+11
-1
No files matched your search
@@ -0,0 +1,9 @@
|
|||||||
|
import AppKit
|
||||||
|
|
||||||
|
func chkgfxOutlineText(_ text: String) -> AttributedString {
|
||||||
|
var att = AttributedString(text)
|
||||||
|
att.foregroundColor = .clear
|
||||||
|
att.strokeColor = .white
|
||||||
|
att.strokeWidth = 4
|
||||||
|
return att
|
||||||
|
}
|
||||||
@@ -9,7 +9,7 @@ struct ChkgfxView: View {
|
|||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
VStack(spacing: 16) {
|
VStack(spacing: 16) {
|
||||||
Text("Check graphics")
|
Text(chkgfxOutlineText("Check graphics"))
|
||||||
.font(.largeTitle)
|
.font(.largeTitle)
|
||||||
}
|
}
|
||||||
.padding(40)
|
.padding(40)
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
../../../../components/chkgfx/chkgfxAux.swift
|
||||||
Reference in new issue
Block a user