pub struct PenJoinStyle(/* private fields */);
Expand description
This enum type defines the pen join styles supported by Qt, i.e. which joins between two connected lines can be drawn using QPainter.
C++ enum: Qt::PenJoinStyle
.
Implementations§
Source§impl PenJoinStyle
impl PenJoinStyle
Sourcepub const MiterJoin: PenJoinStyle
pub const MiterJoin: PenJoinStyle
The outer edges of the lines are extended to meet at an angle, and this area is filled. (C++ enum variant: MiterJoin = 0
)
Sourcepub const BevelJoin: PenJoinStyle
pub const BevelJoin: PenJoinStyle
The triangular notch between the two lines is filled. (C++ enum variant: BevelJoin = 64
)
Sourcepub const RoundJoin: PenJoinStyle
pub const RoundJoin: PenJoinStyle
A circular arc between the two lines is filled. (C++ enum variant: RoundJoin = 128
)
Sourcepub const SvgMiterJoin: PenJoinStyle
pub const SvgMiterJoin: PenJoinStyle
A miter join corresponding to the definition of a miter join in the SVG 1.2 Tiny specification. (C++ enum variant: SvgMiterJoin = 256
)
Sourcepub const MPenJoinStyle: PenJoinStyle
pub const MPenJoinStyle: PenJoinStyle
C++ enum variant: MPenJoinStyle = 448
Trait Implementations§
Source§impl Clone for PenJoinStyle
impl Clone for PenJoinStyle
Source§fn clone(&self) -> PenJoinStyle
fn clone(&self) -> PenJoinStyle
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PenJoinStyle
impl Debug for PenJoinStyle
Source§impl From<PenJoinStyle> for c_int
impl From<PenJoinStyle> for c_int
Source§fn from(value: PenJoinStyle) -> Self
fn from(value: PenJoinStyle) -> Self
Converts to this type from the input type.
Source§impl From<i32> for PenJoinStyle
impl From<i32> for PenJoinStyle
Source§impl PartialEq for PenJoinStyle
impl PartialEq for PenJoinStyle
impl Copy for PenJoinStyle
impl Eq for PenJoinStyle
impl StructuralPartialEq for PenJoinStyle
Auto Trait Implementations§
impl Freeze for PenJoinStyle
impl RefUnwindSafe for PenJoinStyle
impl Send for PenJoinStyle
impl Sync for PenJoinStyle
impl Unpin for PenJoinStyle
impl UnwindSafe for PenJoinStyle
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more