pub struct IvgToolShapeAttributes { /* private fields */ }Expand description
CorelDRAW IVGToolShape 对象的后期绑定包装(工具图形属性)。
所有属性与方法通过 IDispatch::Invoke 按名称调用,调用失败时一般返回 None 或 false。
Implementations§
Source§impl IvgToolShapeAttributes
impl IvgToolShapeAttributes
Sourcepub fn as_variant(&self) -> Variant
pub fn as_variant(&self) -> Variant
把底层 COM 对象包装成 VARIANT,用于传给其它 COM 调用。
Sourcepub fn set_can_resize(&self, v: bool) -> bool
pub fn set_can_resize(&self, v: bool) -> bool
设置是否可以 resize。
Sourcepub fn set_can_rotate(&self, v: bool) -> bool
pub fn set_can_rotate(&self, v: bool) -> bool
设置是否可以 rotate。
Sourcepub fn set_can_skew(&self, v: bool) -> bool
pub fn set_can_skew(&self, v: bool) -> bool
设置是否可以倾斜。
Sourcepub fn set_can_size_disproportionally(&self, v: bool) -> bool
pub fn set_can_size_disproportionally(&self, v: bool) -> bool
设置 COM 属性。
Sourcepub fn set_can_apply_nonlinear_transforms(&self, v: bool) -> bool
pub fn set_can_apply_nonlinear_transforms(&self, v: bool) -> bool
设置 COM 属性。
Sourcepub fn set_regenerate_on_transform(&self, v: bool) -> bool
pub fn set_regenerate_on_transform(&self, v: bool) -> bool
设置 COM 属性。
Sourcepub fn set_regenerate_on_style_change(&self, v: bool) -> bool
pub fn set_regenerate_on_style_change(&self, v: bool) -> bool
设置 COM 属性。
Sourcepub fn set_property_bar_guid(&self, v: impl Into<String>) -> bool
pub fn set_property_bar_guid(&self, v: impl Into<String>) -> bool
设置属性栏 GUID。
设置上下文菜单 GUID。
Sourcepub fn set_object_manager_bitmap_guid(&self, v: impl Into<String>) -> bool
pub fn set_object_manager_bitmap_guid(&self, v: impl Into<String>) -> bool
设置对象管理器位图 GUID。
Sourcepub fn set_edit_state_guid(&self, v: impl Into<String>) -> bool
pub fn set_edit_state_guid(&self, v: impl Into<String>) -> bool
设置编辑状态 GUID。
Sourcepub fn set_default_shape_name(&self, v: impl Into<String>) -> bool
pub fn set_default_shape_name(&self, v: impl Into<String>) -> bool
设置默认值图形名称。
Auto Trait Implementations§
impl !Send for IvgToolShapeAttributes
impl !Sync for IvgToolShapeAttributes
impl Freeze for IvgToolShapeAttributes
impl RefUnwindSafe for IvgToolShapeAttributes
impl Unpin for IvgToolShapeAttributes
impl UnsafeUnpin for IvgToolShapeAttributes
impl UnwindSafe for IvgToolShapeAttributes
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