Learn R Programming

officer (version 0.6.7)

sp_lineend: Line end properties

Description

Create a sp_lineend object that describes line end properties.

Usage

sp_lineend(type = "none", width = "med", length = "med")

# S3 method for sp_lineend print(x, ...)

# S3 method for sp_lineend update(object, type, width, length, ...)

Value

a sp_lineend object

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

See Also

sp_line

Other functions for defining shape properties: sp_line()

Examples

Run this code
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" )

Run the code above in your browser using DataLab