pub struct OnionSkin {
pub enabled: bool,
pub previous: i64,
pub next: i64,
pub use_opacity: bool,
pub start_opacity: i64,
pub step_opacity: i64,
pub use_color: bool,
pub half_color: bool,
pub front_color: [u8; 3],
pub behind_color: [u8; 3],
}Expand description
オニオンスキン settings (Canvas.OnionSkin*).
Fields§
§enabled: boolOnion skin is on (OnionSkinStatus).
previous: i64Previous frames shown.
next: i64Next frames shown.
use_opacity: boolFade the frames (OnionSkinUseOpacity).
start_opacity: i64Percent.
step_opacity: i64Opacity step in percent (OnionSkinStepOpaciy, misspelled in CSP).
use_color: boolTint the frames with the colours below.
half_color: boolOnionSkinHalfColor.
front_color: [u8; 3]Previous frames’ colour.
behind_color: [u8; 3]Next frames’ colour.
Trait Implementations§
impl StructuralPartialEq for OnionSkin
Auto Trait Implementations§
impl Freeze for OnionSkin
impl RefUnwindSafe for OnionSkin
impl Send for OnionSkin
impl Sync for OnionSkin
impl Unpin for OnionSkin
impl UnsafeUnpin for OnionSkin
impl UnwindSafe for OnionSkin
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