tida ~master (2021-10-06T18:27:09Z)
Home
Dub
Repo
Shape.RectangleLine
tida
shape
Shape
Create a non-solid rectangle.
struct
Shape
(T : float)
@
safe
nothrow pure static
Shape
!
T
RectangleLine
(
Vector
!
T
begin
,
Vector
!
T
end
)
if
(
isNumeric
!
T
&&
isMutable
!
T
&&
isSigned
!
T
)
Parameters
begin
Vector
!
T
Rectangle begin.
end
Vector
!
T
Rectangle end.
Return Value
Type:
Shape
!
T
Non-solid rectangle
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
Create a non-solid rectangle.