Skip to content

Commit

Permalink
Set default vborder and background to SVG geometry when converted to …
Browse files Browse the repository at this point in the history
…element
  • Loading branch information
tinchodias committed May 28, 2024
1 parent ac90bde commit 46058ce
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Bloc-SVG/BlSvgPath.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,16 @@ BlSvgPath class >> pathString: aString [
yourself
]

{ #category : #converting }
BlSvgPath >> asElement [
"Answer the default element for this geometry. The answer should comply the SVG default style."

^ super asElement
background: Color black;
border: BlBorder empty;
yourself
]

{ #category : #'geometry testing' }
BlSvgPath >> containsPoint: aPoint alreadyInGeometryBoundsOf: aBlElement [

Expand Down

0 comments on commit 46058ce

Please sign in to comment.