En esta página

Qt3DRender::QLineWidth Class

class Qt3DRender::QLineWidth

Especifica la anchura de las líneas rasterizadas. Más...

Cabecera: #include <QLineWidth>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
qmake: QT += 3drender
En QML: LineWidth
Hereda: Qt3DRender::QRenderState
Status: Obsoleto

Propiedades

Funciones públicas

bool smooth() const
float value() const

Ranuras públicas

void setSmooth(bool enabled)
void setValue(float value)

Señales

void smoothChanged(bool enabled)
void valueChanged(float value)

Descripción detallada

Documentación de propiedades

smooth : bool

Esta propiedad indica si el suavizado de líneas está activado.

Cuando está habilitado, el suavizado de líneas proporciona un renderizado de líneas antialiasing. El valor por defecto es false.

Funciones de acceso:

bool smooth() const
void setSmooth(bool enabled)

Señal del notificador:

void smoothChanged(bool enabled)

value : float

Especifica el valor de anchura que debe utilizarse.

Funciones de acceso:

float value() const
void setValue(float value)

Señal del notificador:

void valueChanged(float value)

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.