Rectangle

Rectangle

Przegląd

Rectangle jest klasą w Aspose.PDF FOSS dla C++.

Ta klasa udostępnia 28 metod do pracy z obiektami Rectangle w programach C++. Dostępne metody to: Center, Contains, ContainsLine, ContainsPoint, Empty, Equals, Height, Intersect, IsEmpty, IsIntersect, IsPoint, IsTrivial oraz 11 dodatkowych metod. Wszystkie publiczne elementy są dostępne dla dowolnej aplikacji C++ po zainstalowaniu pakietu Aspose.PDF FOSS dla C++.

Metody

SygnaturaOpis
Equals(other: Rectangle) → boolWywołuje Equals(other) na tej instancji Rectangle.
NearEquals(other: Rectangle, delta: double) → boolWywołuje NearEquals(other, delta) na tej instancji Rectangle.
Intersect(otherRect: Rectangle) → RectangleWywołuje Intersect(otherRect) na tej instancji Rectangle.
Join(otherRect: Rectangle) → RectangleWywołuje Join(otherRect) na tej instancji Rectangle.
IsIntersect(otherRect: Rectangle) → boolWywołuje IsIntersect(otherRect) na tej instancji Rectangle.
Contains(point: Point, inclusive: bool) → boolWywołuje Contains(point, inclusive) na tej instancji Rectangle.
ContainsPoint(x: double, y: double) → boolWywołuje ContainsPoint(x, y) na tej instancji Rectangle.
ContainsLine(x1: double, y1: double, x2: double, y2: double) → boolWywołuje ContainsLine(x1, y1, x2, y2) na tej instancji Rectangle.
Center() → PointWywołuje metodę Center na tej instancji Rectangle.
Rotate(angle: Rotation)Wywołuje Rotate(angle) na tej instancji Rectangle.
Rotate(angle: int)Wywołuje Rotate(angle) na tej instancji Rectangle.
ToPoints() → std::vector<Point>Wywołuje ToPoints na tej instancji Rectangle.
MoveBy(dx: double, dy: double)Wywołuje MoveBy(dx, dy) na tej instancji Rectangle.
Width() → doubleWywołuje Width na tej instancji Rectangle.
Height() → doubleWywołuje Height na tej instancji Rectangle.
LLX() → doubleWywołuje LLX na tej instancji Rectangle.
LLX(value: double)Wywołuje LLX(value) na tej instancji Rectangle.
LLY() → doubleWywołuje LLY na tej instancji Rectangle.
LLY(value: double)Wywołuje LLY(value) na tej instancji Rectangle.
URX() → doubleWywołuje URX na tej instancji Rectangle.
URX(value: double)Wywołuje URX(value) na tej instancji klasy Rectangle.
URY() → doubleWywołuje URY na tej instancji klasy Rectangle.
URY(value: double)Wywołuje URY(value) na tej instancji klasy Rectangle.
Empty() → RectangleWywołuje Empty na tej instancji klasy Rectangle.
Trivial() → RectangleWywołuje Trivial na tej instancji Rectangle.
IsTrivial() → boolZwraca true, jeśli ustawiono trivial.
IsEmpty() → boolZwraca true, jeśli ustawiono empty.
IsPoint() → boolZwraca true, jeśli ustawiono point.

Zobacz także

 Polski