Class uiFontStyle


  • public class uiFontStyle
    extends CFacade
    Generated facet for DNA struct type 'uiFontStyle'.

    Class Documentation

    Blender Source Code

    This state defines appearance of text.

    • Field Detail

      • __DNA__SDNA_INDEX

        public static final int __DNA__SDNA_INDEX
        This is the sdna index of the struct uiFontStyle.

        It is required when allocating a new block to store data for uiFontStyle.

        See Also:
        StructDNA, BlockTable, Constant Field Values
      • __DNA__FIELD__uifont_id

        public static final long[] __DNA__FIELD__uifont_id
        Field descriptor (offset) for struct member 'uifont_id'.

        Field Documentation

        Blender Source Code

        Saved in file, 0 is default.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         uiFontStyle uifontstyle = ...;
         CPointer<Object> p = uifontstyle.__dna__addressof(uiFontStyle.__DNA__FIELD__uifont_id);
         CPointer<Short> p_uifont_id = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'uifont_id'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD___pad1

        public static final long[] __DNA__FIELD___pad1
        Field descriptor (offset) for struct member '_pad1'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         uiFontStyle uifontstyle = ...;
         CPointer<Object> p = uifontstyle.__dna__addressof(uiFontStyle.__DNA__FIELD___pad1);
         CPointer<CArrayFacade<Byte>> p__pad1 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad1'
        • Signature: 'char[2]'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__points

        public static final long[] __DNA__FIELD__points
        Field descriptor (offset) for struct member 'points'.

        Field Documentation

        Blender Source Code

        Actual size depends on 'global' DPI.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         uiFontStyle uifontstyle = ...;
         CPointer<Object> p = uifontstyle.__dna__addressof(uiFontStyle.__DNA__FIELD__points);
         CPointer<Float> p_points = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'points'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__italic

        public static final long[] __DNA__FIELD__italic
        Field descriptor (offset) for struct member 'italic'.

        Field Documentation

        Blender Source Code

        Style hint.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         uiFontStyle uifontstyle = ...;
         CPointer<Object> p = uifontstyle.__dna__addressof(uiFontStyle.__DNA__FIELD__italic);
         CPointer<Short> p_italic = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'italic'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__bold

        public static final long[] __DNA__FIELD__bold
        Field descriptor (offset) for struct member 'bold'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         uiFontStyle uifontstyle = ...;
         CPointer<Object> p = uifontstyle.__dna__addressof(uiFontStyle.__DNA__FIELD__bold);
         CPointer<Short> p_bold = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'bold'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__shadow

        public static final long[] __DNA__FIELD__shadow
        Field descriptor (offset) for struct member 'shadow'.

        Field Documentation

        Blender Source Code

        Value is amount of pixels blur.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         uiFontStyle uifontstyle = ...;
         CPointer<Object> p = uifontstyle.__dna__addressof(uiFontStyle.__DNA__FIELD__shadow);
         CPointer<Short> p_shadow = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'shadow'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__shadx

        public static final long[] __DNA__FIELD__shadx
        Field descriptor (offset) for struct member 'shadx'.

        Field Documentation

        Blender Source Code

        Shadow offset in pixels.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         uiFontStyle uifontstyle = ...;
         CPointer<Object> p = uifontstyle.__dna__addressof(uiFontStyle.__DNA__FIELD__shadx);
         CPointer<Short> p_shadx = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'shadx'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__shady

        public static final long[] __DNA__FIELD__shady
        Field descriptor (offset) for struct member 'shady'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         uiFontStyle uifontstyle = ...;
         CPointer<Object> p = uifontstyle.__dna__addressof(uiFontStyle.__DNA__FIELD__shady);
         CPointer<Short> p_shady = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'shady'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD___pad0

        public static final long[] __DNA__FIELD___pad0
        Field descriptor (offset) for struct member '_pad0'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         uiFontStyle uifontstyle = ...;
         CPointer<Object> p = uifontstyle.__dna__addressof(uiFontStyle.__DNA__FIELD___pad0);
         CPointer<CArrayFacade<Byte>> p__pad0 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad0'
        • Signature: 'char[2]'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__shadowalpha

        public static final long[] __DNA__FIELD__shadowalpha
        Field descriptor (offset) for struct member 'shadowalpha'.

        Field Documentation

        Blender Source Code

        Total alpha.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         uiFontStyle uifontstyle = ...;
         CPointer<Object> p = uifontstyle.__dna__addressof(uiFontStyle.__DNA__FIELD__shadowalpha);
         CPointer<Float> p_shadowalpha = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'shadowalpha'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__shadowcolor

        public static final long[] __DNA__FIELD__shadowcolor
        Field descriptor (offset) for struct member 'shadowcolor'.

        Field Documentation

        Blender Source Code

        1 value, typically white or black anyway.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         uiFontStyle uifontstyle = ...;
         CPointer<Object> p = uifontstyle.__dna__addressof(uiFontStyle.__DNA__FIELD__shadowcolor);
         CPointer<Float> p_shadowcolor = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'shadowcolor'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD___pad2

        public static final long[] __DNA__FIELD___pad2
        Field descriptor (offset) for struct member '_pad2'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         uiFontStyle uifontstyle = ...;
         CPointer<Object> p = uifontstyle.__dna__addressof(uiFontStyle.__DNA__FIELD___pad2);
         CPointer<CArrayFacade<Byte>> p__pad2 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad2'
        • Signature: 'char[4]'
        • Actual Size (32bit/64bit): 4/4
    • Constructor Detail

      • uiFontStyle

        public uiFontStyle​(long __address,
                           Block __block,
                           BlockTable __blockTable)
      • uiFontStyle

        protected uiFontStyle​(uiFontStyle that)
    • Method Detail

      • getUifont_id

        public short getUifont_id()
                           throws java.io.IOException
        Get method for struct member 'uifont_id'.

        Field Documentation

        Blender Source Code

        Saved in file, 0 is default.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__uifont_id
      • setUifont_id

        public void setUifont_id​(short uifont_id)
                          throws java.io.IOException
        Set method for struct member 'uifont_id'.

        Field Documentation

        Blender Source Code

        Saved in file, 0 is default.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__uifont_id
      • get_pad1

        public CArrayFacade<java.lang.Byte> get_pad1()
                                              throws java.io.IOException
        Get method for struct member '_pad1'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad1
      • set_pad1

        public void set_pad1​(CArrayFacade<java.lang.Byte> _pad1)
                      throws java.io.IOException
        Set method for struct member '_pad1'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad1
      • getPoints

        public float getPoints()
                        throws java.io.IOException
        Get method for struct member 'points'.

        Field Documentation

        Blender Source Code

        Actual size depends on 'global' DPI.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__points
      • setPoints

        public void setPoints​(float points)
                       throws java.io.IOException
        Set method for struct member 'points'.

        Field Documentation

        Blender Source Code

        Actual size depends on 'global' DPI.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__points
      • getItalic

        public short getItalic()
                        throws java.io.IOException
        Get method for struct member 'italic'.

        Field Documentation

        Blender Source Code

        Style hint.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__italic
      • setItalic

        public void setItalic​(short italic)
                       throws java.io.IOException
        Set method for struct member 'italic'.

        Field Documentation

        Blender Source Code

        Style hint.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__italic
      • getBold

        public short getBold()
                      throws java.io.IOException
        Get method for struct member 'bold'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bold
      • setBold

        public void setBold​(short bold)
                     throws java.io.IOException
        Set method for struct member 'bold'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bold
      • getShadow

        public short getShadow()
                        throws java.io.IOException
        Get method for struct member 'shadow'.

        Field Documentation

        Blender Source Code

        Value is amount of pixels blur.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__shadow
      • setShadow

        public void setShadow​(short shadow)
                       throws java.io.IOException
        Set method for struct member 'shadow'.

        Field Documentation

        Blender Source Code

        Value is amount of pixels blur.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__shadow
      • getShadx

        public short getShadx()
                       throws java.io.IOException
        Get method for struct member 'shadx'.

        Field Documentation

        Blender Source Code

        Shadow offset in pixels.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__shadx
      • setShadx

        public void setShadx​(short shadx)
                      throws java.io.IOException
        Set method for struct member 'shadx'.

        Field Documentation

        Blender Source Code

        Shadow offset in pixels.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__shadx
      • getShady

        public short getShady()
                       throws java.io.IOException
        Get method for struct member 'shady'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__shady
      • setShady

        public void setShady​(short shady)
                      throws java.io.IOException
        Set method for struct member 'shady'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__shady
      • get_pad0

        public CArrayFacade<java.lang.Byte> get_pad0()
                                              throws java.io.IOException
        Get method for struct member '_pad0'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad0
      • set_pad0

        public void set_pad0​(CArrayFacade<java.lang.Byte> _pad0)
                      throws java.io.IOException
        Set method for struct member '_pad0'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad0
      • getShadowalpha

        public float getShadowalpha()
                             throws java.io.IOException
        Get method for struct member 'shadowalpha'.

        Field Documentation

        Blender Source Code

        Total alpha.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__shadowalpha
      • setShadowalpha

        public void setShadowalpha​(float shadowalpha)
                            throws java.io.IOException
        Set method for struct member 'shadowalpha'.

        Field Documentation

        Blender Source Code

        Total alpha.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__shadowalpha
      • getShadowcolor

        public float getShadowcolor()
                             throws java.io.IOException
        Get method for struct member 'shadowcolor'.

        Field Documentation

        Blender Source Code

        1 value, typically white or black anyway.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__shadowcolor
      • setShadowcolor

        public void setShadowcolor​(float shadowcolor)
                            throws java.io.IOException
        Set method for struct member 'shadowcolor'.

        Field Documentation

        Blender Source Code

        1 value, typically white or black anyway.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__shadowcolor
      • get_pad2

        public CArrayFacade<java.lang.Byte> get_pad2()
                                              throws java.io.IOException
        Get method for struct member '_pad2'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad2
      • set_pad2

        public void set_pad2​(CArrayFacade<java.lang.Byte> _pad2)
                      throws java.io.IOException
        Set method for struct member '_pad2'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad2
      • __io__addressof

        public CPointer<uiFontStyle> __io__addressof()
        Instantiates a pointer on this instance.