diff --git a/radius.go b/radius.go index bf3862c..7f4b298 100644 --- a/radius.go +++ b/radius.go @@ -331,6 +331,17 @@ func (radius *radiusPropertyData) Get(tag string) interface{} { } } + switch tag { + case TopLeftX, TopRightX, BottomLeftX, BottomRightX: + if value, ok := radius.properties[X]; ok { + return value + } + case TopLeftY, TopRightY, BottomLeftY, BottomRightY: + if value, ok := radius.properties[Y]; ok { + return value + } + } + return nil }