Skip to content

Commit

Permalink
Dotted.
Browse files Browse the repository at this point in the history
  • Loading branch information
massimo-nocentini committed Nov 3, 2023
1 parent ef44be6 commit eccdb0d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Roassal3-Shapes/RSAbstractLine.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,12 @@ RSAbstractLine >> dashed [
self dashArray: #(4)
]

{ #category : 'style - dashes' }
RSAbstractLine >> dotted [

self dashArray: { Float goldenRatio }
]

{ #category : 'accessing' }
RSAbstractLine >> endPoint [
^ self subclassResponsibility
Expand Down
6 changes: 6 additions & 0 deletions src/Roassal3-Shapes/RSTLine.trait.st
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,12 @@ RSTLine >> dashed [
self shape dashed
]

{ #category : 'public - shape' }
RSTLine >> dotted [

self dashArray: { Float goldenRatio }
]

{ #category : 'public - shape' }
RSTLine >> format [
^ formatString
Expand Down

0 comments on commit eccdb0d

Please sign in to comment.