from Line Stipple
Constructs a bitmap image source with a line stipple pattern. The result is a one-dimensional bitmap with pixels representing the specified stipple factor and stipple pattern. Line stipple images can be used for displaying dashed shape outlines. See earth.worldwind.shape.ShapeAttributes.outlineImageSource.
Return
the new image source
Parameters
specifies the number of times each bit in the pattern is repeated before the next bit is used. For example, if the factor is 3, each bit is repeated three times before using the next bit. The specified factor must be either 0 or an integer greater than 0. A factor of 0 indicates no stippling.
specifies a number whose lower 16 bits define a pattern of which pixels in the image are white and which are transparent. Each bit corresponds to a pixel, and the pattern repeats after every n*16 pixels, where n is the factor. For example, if the factor is 3, each bit in the pattern is repeated three times before using the next bit.
Constructs a stipple-pattern image source. Same algorithm as JS: a 1-row UIImage with factor-pixel-wide white segments drawn whenever the corresponding bit in pattern is set. Width is rounded up to the next power-of-two so GLES 2 / WebGL 1 GL_REPEAT works on the texture.
Constructs an image source with a line stipple pattern. The result is a one-dimensional image with pixels representing the specified stipple factor and stipple pattern. Line stipple images can be used for displaying dashed shape outlines. See earth.worldwind.shape.ShapeAttributes.outlineImageSource.
Return
the new image source
Parameters
specifies the number of times each bit in the pattern is repeated before the next bit is used. For example, if the factor is 3, each bit is repeated three times before using the next bit. The specified factor must be either 0 or an integer greater than 0. A factor of 0 indicates no stippling.
specifies a number whose lower 16 bits define a pattern of which pixels in the image are white and which are transparent. Each bit corresponds to a pixel, and the pattern repeats after every n*16 pixels, where n is the factor. For example, if the factor is 3, each bit in the pattern is repeated three times before using the next bit.
Constructs an image source with a line stipple pattern. The result is a one-dimensional image with pixels representing the specified stipple factor and stipple pattern. Line stipple images can be used for displaying dashed shape outlines. See earth.worldwind.shape.ShapeAttributes.outlineImageSource.
Return
the new image source
Parameters
specifies the number of times each bit in the pattern is repeated before the next bit is used. For example, if the factor is 3, each bit is repeated three times before using the next bit. The specified factor must be either 0 or an integer greater than 0. A factor of 0 indicates no stippling.
specifies a number whose lower 16 bits define a pattern of which pixels in the image are white and which are transparent. Each bit corresponds to a pixel, and the pattern repeats after every n*16 pixels, where n is the factor. For example, if the factor is 3, each bit in the pattern is repeated three times before using the next bit.