tida ~master (2021-10-06T18:27:09Z)
Home
Dub
Repo
Shape.end
tida
shape
Shape
The end of the figure.
Vector
!
T
end
[@property getter]
void
end
(Vector!T vec)
struct
Shape
(T : float)
@
safe
nothrow pure @
safe
@
property
nothrow pure
void
end
(
Vector
!
T
vec
)
in (type != ShapeType.point && type != ShapeType.circle && type != ShapeType.polygon, "This shape does not support end coordinates!")
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
The end of the figure.