Create a sp_lineend
object that describes
line end properties.
Arguments
- type
single character value specifying the line end type. Expected value is one of the following : default
'none'
or'triangle'
or'stealth'
or'diamond'
or'oval'
or'arrow'
- width
single character value specifying the line end width Expected value is one of the following : default
'sm'
or'med'
or'lg'
- length
single character value specifying the line end length Expected value is one of the following : default
'sm'
or'med'
or'lg'
- x, object
sp_lineend
object- ...
further arguments - not used
Examples
sp_lineend()
#> type width length
#> 1 none med med
sp_lineend(type = "triangle")
#> type width length
#> 1 triangle med med
sp_lineend(type = "arrow", width = "lg", length = "lg")
#> type width length
#> 1 arrow lg lg
print( sp_lineend (type="triangle", width = "lg") )
#> type width length
#> 1 triangle lg med
obj <- sp_lineend (type="triangle", width = "lg")
update( obj, type = "arrow" )
#> type width length
#> 1 arrow lg med