tida ~master (2021-10-06T18:27:09Z)
Home
Dub
Repo
Shape.length
tida
shape
Shape
Line length.
T
length
[@property getter]
T
length
[@property setter]
struct
Shape
(T : float)
@
safe
nothrow pure @
property
void
length
(
T
value
)
in (type == ShapeType.line, "This is not a line!")
if
(
isNumeric
!
T
&&
isMutable
!
T
&&
isSigned
!
T
)
Meta
Source
See Implementation
tida
shape
Shape
aliases
Type
bottom
left
right
top
functions
move
scale
to
toString
properties
begin
end
endX
endY
height
length
radius
vertex
vertexs
width
x
y
static functions
Circle
CircleLine
Line
Multi
Point
Polygon
Rectangle
RectangleLine
RoundRectangle
RoundRectangleLine
Square
Triangle
TriangleLine
variables
data
isSolid
shapes
type
Line length.