View source: R/shape_properties.R
sp_lineend | R Documentation |
Create a sp_lineend
object that describes
line end properties.
sp_lineend(type = "none", width = "med", length = "med")
## S3 method for class 'sp_lineend'
print(x, ...)
## S3 method for class 'sp_lineend'
update(object, type, width, length, ...)
type |
single character value specifying the line end type.
Expected value is one of the following : default |
width |
single character value specifying the line end width
Expected value is one of the following : default |
length |
single character value specifying the line end length
Expected value is one of the following : default |
x , object |
|
... |
further arguments - not used |
a sp_lineend
object
sp_line
Other functions for defining shape properties:
sp_line()
sp_lineend()
sp_lineend(type = "triangle")
sp_lineend(type = "arrow", width = "lg", length = "lg")
print( sp_lineend (type="triangle", width = "lg") )
obj <- sp_lineend (type="triangle", width = "lg")
update( obj, type = "arrow" )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.