1
0
mirror of https://github.com/lxsang/Diya-API.git synced 2024-12-27 20:08:22 +01:00
Diya-API/Diya/DiyaDefaultStyle.class.st

21 lines
709 B
Smalltalk
Raw Normal View History

2022-03-21 22:39:52 +01:00
Class {
#name : #DiyaDefaultStyle,
2022-03-23 00:52:15 +01:00
#superclass : #DiyaNodeStyle,
2022-03-21 22:39:52 +01:00
#category : #'Diya-Graphics'
}
{ #category : #initialization }
DiyaDefaultStyle >> initialize [
super initialize.
2022-03-23 00:52:15 +01:00
self set: #bgcolor value:(Color r: 0.2118 g: 0.2118 b: 0.2118).
self set: #color value: Color white.
self set: #border value: 0.
2022-03-23 00:52:15 +01:00
self set: #fontSize value: 18.
self set: #fontFamily value: DiyaFontManager uniqueInstance defaultFamily.
self set: #fontStyle value: DiyaFontManager uniqueInstance defaultStyle.
self set: #borderColor value: (Color r: 0.051 g: 0.051 b: 0.051).
self set: #bgcolor2 value: (Color r: 0.1529 g: 0.1529 b: 0.1529).
self set: #textAlign value: #left.
self set: #textVAlign value: #top
2022-03-21 22:39:52 +01:00
]